From 071aeb23d4520d91d07a5faf4ba1d8f7e688afd0 Mon Sep 17 00:00:00 2001 From: helinfeng <82085299+itfxl@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:18:38 +0800 Subject: [PATCH] 1 --- 10477.async.js | 2778 +++ 10658.async.js | 5670 +++++ 10975.async.js | 1740 ++ 11030.async.js | 4 +- 11246.async.js | 1954 ++ 1141.async.js | 1611 ++ 11955.async.js | 827 + 12034.async.js | 130 +- 12763.async.js | 639 + 12768.async.js | 10 +- 13917.async.js | 917 + 14044.async.js | 910 + 14341.async.js | 4 +- 14364.async.js | 1890 ++ 14563.async.js | 2477 ++ 15105.async.js | 807 + 15190.async.js | 4 +- 15485.async.js | 2043 ++ 15804.async.js | 180 +- 16035.async.js | 930 + 16078.async.js | 2172 ++ 16677.async.js | 1820 ++ 18077.async.js | 12 +- 18229.async.js | 1369 ++ 18358.async.js | 6 +- 19458.async.js | 716 + 1967.async.js | 8006 ++++++ 20139.async.js | 84 +- 20812.async.js | 7861 ++++++ 21286.async.js | 2 +- 2156.async.js | 1563 ++ 21788.async.js | 749 + 23281.async.js | 1485 ++ 2441.async.js | 4 +- 2487.async.js | 4 +- 25371.async.js | 1130 + 25771.async.js | 1576 ++ 25820.async.js | 2 +- 27129.async.js | 807 + 2727.async.js | 24 +- 2751.async.js | 3263 +++ 27946.async.js | 148 + 28502.async.js | 900 + 28787.async.js | 1334 + 2935.async.js | 700 + 29418.async.js | 1545 ++ 29455.async.js | 1789 ++ 29581.async.js | 807 + 29823.async.js | 807 + 29997.async.js | 7812 ++++++ 30210.async.js | 72 +- 30715.async.js | 726 + 30847.async.js | 1334 + 31805.async.js | 1209 + 32053.async.js | 649 + 32454.async.js | 1121 + 32482.async.js | 807 + 32834.async.js | 2541 ++ 33127.async.js | 748 + 33411.async.js | 1214 + 3363.async.js | 8 +- 33815.async.js | 120 +- 33826.async.js | 116 +- 34435.async.js | 1718 ++ 34598.async.js | 1003 + 34646.async.js | 766 + 35170.async.js | 749 + 35464.async.js | 4 +- 35574.async.js | 78 +- 35874.async.js | 4 +- 36120.async.js | 826 + 37110.async.js | 180 +- 37177.async.js | 1061 + 37871.async.js | 1275 + 37949.async.js | 1563 ++ 38206.async.js | 2186 ++ 38520.async.js | 1251 + 38979.async.js | 962 + 39428.async.js | 2094 ++ 39828.async.js | 2081 ++ 39991.async.js | 1629 ++ 40542.async.js | 2 +- 40649.async.js | 1605 ++ 41087.async.js | 2280 ++ 41552.async.js | 1605 ++ 41720.async.js | 6 +- 41751.async.js | 8093 ++++++ 41794.async.js | 54 +- 41892.async.js | 541 + 4197.async.js | 2475 ++ 42167.async.js | 4 +- 42405.async.js | 1966 ++ 42628.async.js | 1740 ++ 42959.async.js | 1214 + 4310.async.js | 769 + 4461.async.js | 3280 +++ 44788.async.js | 633 + 44838.async.js | 156 +- 44852.async.js | 6281 +++++ 45022.async.js | 906 + 46446.async.js | 695 + 46619.async.js | 856 + 46944.async.js | 2049 ++ 47221.async.js | 4 +- 4751.async.js | 650 + 47897.async.js | 4 +- 49410.async.js | 4 +- 49516.async.js | 917 + 49603.async.js | 1070 + 49944.async.js | 2772 +++ 50081.async.js | 82 +- 50691.async.js | 1762 ++ 50976.async.js | 8146 +++--- 51696.async.js | 1605 ++ 52546.async.js | 208 +- 52750.async.js | 1530 ++ 53764.async.js | 650 + 53898.async.js | 650 + 53962.async.js | 1021 + 54485.async.js | 264 +- 54694.async.js | 934 + 55537.async.js | 977 + 56369.async.js | 4 +- 56387.async.js | 2061 ++ 56768.async.js | 959 + 56987.async.js | 977 + 57348.async.js | 917 + 57410.async.js | 832 + 58846.async.js | 1479 ++ 59267.async.js | 20 +- 59688.async.js | 977 + 60010.async.js | 977 + 60696.async.js | 10 +- 61968.async.js | 14543 +++++++++++ 62422.async.js | 1728 ++ 64491.async.js | 811 + 66114.async.js | 1526 ++ 66379.async.js | 4 +- 66390.async.js | 52 +- 67046.async.js | 615 + 67265.async.js | 1317 + 68508.async.js | 6 +- 68806.async.js | 12 +- 6936.async.js | 1994 ++ 69814.async.js | 16 +- 70353.async.js | 1530 ++ 70368.async.js | 4 +- 70446.async.js | 977 + 70559.async.js | 1946 ++ 71058.async.js | 977 + 71270.async.js | 2540 ++ 72226.async.js | 20 +- 74685.async.js | 2889 +++ 74720.async.js | 1605 ++ 7477.async.js | 1177 + 75158.async.js | 1251 + 77003.async.js | 1334 + 77824.async.js | 1701 ++ 77883.async.js | 2822 +++ 78536.async.js | 1925 ++ 78626.async.js | 1210 + 78917.async.js | 1016 + 79086.async.js | 12 +- 79407.async.js | 1646 ++ 80316.async.js | 12 +- 8162.async.js | 1003 + 8164.async.js | 1011 + 82762.async.js | 397 + 84170.async.js | 519 + 84551.async.js | 650 + 84567.async.js | 804 + 84899.async.js | 3564 +++ 85410.async.js | 4 +- 86132.async.js | 5376 ++++ 86407.async.js | 88 +- 87891.async.js | 160 + 87954.async.js | 1063 + 87993.async.js | 2429 ++ 88176.async.js | 1820 ++ 88511.async.js | 4 +- 8852.async.js | 958 + 88628.async.js | 977 + 88671.async.js | 1619 ++ 89195.async.js | 682 + 89244.async.js | 1743 ++ 89484.async.js | 1347 + 89746.async.js | 1605 ++ 90391.async.js | 1172 + 91075.async.js | 1041 + 91229.async.js | 10 +- 91486.async.js | 808 + 9170.async.js | 491 +- 91708.async.js | 650 + 91897.async.js | 1766 ++ 92044.async.js | 839 + 92421.async.js | 2437 ++ 92774.async.js | 3253 +++ 92836.async.js | 2081 ++ 93068.async.js | 906 + 93497.async.js | 4157 ++++ 9482.async.js | 1526 ++ 95914.async.js | 1776 ++ 96578.async.js | 8127 ++++++ 97595.async.js | 1590 ++ 97642.async.js | 10 +- 99363.async.js | 15250 ++++++------ 99566.async.js | 38 +- 99820.async.js | 935 + color.less | 3029 +++ layouts__ShixunDetail__index.async.js | 1194 +- layouts__SimpleLayouts.async.js | 8 +- layouts__index.async.js | 281 +- layouts__virtualDetail__index.async.js | 525 +- monaco-editor.async.js | 1090 +- p__Account__Certification__index.async.js | 22 +- p__Account__Profile__index.async.js | 8 +- p__Account__Results__index.async.js | 104 +- p__Account__Secure__index.async.js | 108 +- p__Account__index.async.js | 200 +- p__Administration__College__index.async.js | 24 +- ...inistration__Student__Edit__index.async.js | 108 +- p__Administration__Student__index.async.js | 32 +- p__Classrooms__ClassicCases__index.async.js | 2 +- p__Classrooms__ExamList__index.async.js | 270 +- p__Classrooms__Index__index.async.js | 46 +- ...rooms__Lists__Announcement__index.async.js | 8 +- ...assrooms__Lists__Assistant__index.async.js | 52 +- ...ssrooms__Lists__Attachment__index.async.js | 62 +- ..._Lists__Attendance__Detail__index.async.js | 504 +- ...ssrooms__Lists__Attendance__index.async.js | 154 +- ...ssrooms__Lists__Board__Add__index.async.js | 22 +- ...ooms__Lists__Board__Detail__index.async.js | 82 +- ...srooms__Lists__Board__Edit__index.async.js | 22 +- p__Classrooms__Lists__Board__index.async.js | 579 +- ...Lists__CommonHomework__Add__index.async.js | 22 +- ...onents__CodeReview__Detail__index.async.js | 16 +- ...ts__CommonHomework__Detail__index.async.js | 592 +- ...__CommonHomework__EditWork__index.async.js | 20 +- ...ists__CommonHomework__Edit__index.async.js | 22 +- ...ts__CommonHomework__Review__index.async.js | 26 +- ...CommonHomework__SubmitWork__index.async.js | 20 +- ...oms__Lists__CommonHomework__index.async.js | 40 +- ...Lists__CourseGroup__Detail__index.async.js | 553 +- ...__Lists__CourseGroup__List__index.async.js | 1086 +- ...ists__CourseGroup__NotList__index.async.js | 561 +- ...Lists__Engineering__Detail__index.async.js | 531 +- ...srooms__Lists__Engineering__index.async.js | 561 +- ...ooms__Lists__Exercise__Add__index.async.js | 320 +- ...sts__Exercise__AnswerCheck__index.async.js | 62 +- ...s__Lists__Exercise__Answer__index.async.js | 174 +- ...sts__Exercise__CodeDetails__index.async.js | 94 +- ...icateChecking__CheckDetail__index.async.js | 16 +- ...s__Lists__Exercise__Detail__index.async.js | 226 +- ...Exercise__DetailedAnalysis__index.async.js | 501 +- ...s__Lists__Exercise__Export__index.async.js | 389 +- ...s__Exercise__ImitateAnswer__index.async.js | 122 +- ...s__Lists__Exercise__Notice__index.async.js | 120 +- ...sts__Exercise__ReviewGroup__index.async.js | 6 +- ...s__Lists__Exercise__Review__index.async.js | 198 +- ...lassrooms__Lists__Exercise__index.async.js | 1039 +- ...ssrooms__Lists__ExportList__index.async.js | 535 +- ...ts__Graduation__Tasks__Add__index.async.js | 22 +- ..._Graduation__Tasks__Detail__index.async.js | 86 +- ...s__Graduation__Tasks__Edit__index.async.js | 22 +- ...__Lists__Graduation__Tasks__index.async.js | 144 +- ...s__Graduation__Topics__Add__index.async.js | 6 +- ...Graduation__Topics__Detail__index.async.js | 86 +- ...__Graduation__Topics__Edit__index.async.js | 6 +- ..._Lists__Graduation__Topics__index.async.js | 124 +- ..._Lists__GroupHomework__Add__index.async.js | 26 +- ...sts__GroupHomework__Detail__index.async.js | 575 +- ...s__GroupHomework__EditWork__index.async.js | 22 +- ...Lists__GroupHomework__Edit__index.async.js | 26 +- ...sts__GroupHomework__Review__index.async.js | 26 +- ..._GroupHomework__SubmitWork__index.async.js | 22 +- ...ooms__Lists__GroupHomework__index.async.js | 26 +- ...assrooms__Lists__LiveVideo__index.async.js | 28 +- ...oms__Lists__OnlineLearning__index.async.js | 394 +- ...ssrooms__Lists__Polls__Add__index.async.js | 6 +- ...ooms__Lists__Polls__Answer__index.async.js | 2 +- ...ooms__Lists__Polls__Detail__index.async.js | 242 +- p__Classrooms__Lists__Polls__index.async.js | 591 +- ...__ProgramHomework__Comment__index.async.js | 66 +- ...mHomework__Detail__Ranking__index.async.js | 88 +- ...ework__Detail__answer__Add__index.async.js | 44 +- ...rk__Detail__answer__Detail__index.async.js | 106 +- ...work__Detail__answer__Edit__index.async.js | 50 +- ...amHomework__Detail__answer__index.async.js | 92 +- ...onents__CodeReview__Detail__index.async.js | 20 +- ...s__ProgramHomework__Detail__index.async.js | 490 +- ...__ProgramHomework__Ranking__index.async.js | 549 +- ...ms__Lists__ProgramHomework__index.async.js | 89 +- ...__ShixunHomeworks__Comment__index.async.js | 106 +- ...unHomeworks__Commitsummary__index.async.js | 4 +- ...onents__CodeReview__Detail__index.async.js | 20 +- ...s__ShixunHomeworks__Detail__index.async.js | 436 +- ...ms__Lists__ShixunHomeworks__index.async.js | 232 +- ...tistics__StatisticsQuality__index.async.js | 86 +- ..._Statistics__StudentDetail__index.async.js | 543 +- ...atistics__StudentSituation__index.async.js | 14 +- ..._StudentStatistics__Detail__index.async.js | 4 +- ...tistics__StudentStatistics__index.async.js | 16 +- ...__Statistics__StudentVideo__index.async.js | 313 +- ...tatistics__VideoStatistics__index.async.js | 261 +- ...ssrooms__Lists__Statistics__index.async.js | 563 +- ...lassrooms__Lists__Students__index.async.js | 1592 +- ...lassrooms__Lists__Teachers__index.async.js | 607 +- ...s__Lists__Template__detail__index.async.js | 90 +- ...lassrooms__Lists__Template__index.async.js | 272 +- ...__Lists__Template__student__index.async.js | 46 +- ...__Lists__Template__teacher__index.async.js | 6 +- ..._Video__Statistics__Detail__index.async.js | 535 +- ..._Statistics__StudentDetail__index.async.js | 531 +- ...__Lists__Video__Statistics__index.async.js | 535 +- ...ooms__Lists__Video__Upload__index.async.js | 293 +- p__Classrooms__Lists__Video__index.async.js | 43 +- ...lassrooms__New__StartClass__index.async.js | 22 +- p__Classrooms__New__index.async.js | 186 +- p__Colleges__index.async.js | 18 +- p__Competitions__Detail__index.async.js | 260 +- p__Competitions__Edit__index.async.js | 204 +- ...ns__Entered__Assembly__TeamDateil.async.js | 36 +- p__Competitions__Entered__index.async.js | 78 +- p__Competitions__Index__index.async.js | 230 +- p__Competitions__Update__index.async.js | 188 +- p__Demo__index.async.js | 188 +- ...ineering__Evaluate__Detail__index.async.js | 4 +- ...ngineering__Evaluate__List__index.async.js | 8 +- ...neering__Lists__CourseList__index.async.js | 18 +- ...ering__Lists__CourseMatrix__index.async.js | 12 +- ...ering__Lists__CurseSetting__index.async.js | 40 +- ...gineering__Lists__Document__index.async.js | 24 +- ...ng__Lists__GraduatedMatrix__index.async.js | 90 +- ...ng__Lists__GraduationIndex__index.async.js | 636 +- ...eering__Lists__StudentList__index.async.js | 305 +- ...eering__Lists__TeacherList__index.async.js | 309 +- ..._Lists__TrainingObjectives__index.async.js | 577 +- ...ists__TrainingProgram__Add__index.async.js | 18 +- ...sts__TrainingProgram__Edit__index.async.js | 18 +- ...ng__Lists__TrainingProgram__index.async.js | 22 +- ...ineering__Navigation__Home__index.async.js | 549 +- p__Engineering__Norm__List__index.async.js | 20 +- p__Forums__Detail__id.async.js | 2 +- p__Forums__Index__index.async.js | 20 +- p__Forums__Index__redirect.async.js | 6 +- p__Forums__New__index.async.js | 22 +- p__Guidance__index.async.js | 2 +- p__Help__Index.async.js | 114 +- p__HttpStatus__403.async.js | 14 +- p__HttpStatus__404.async.js | 12 +- p__HttpStatus__500.async.js | 6 +- p__HttpStatus__HpcCourse.async.js | 108 +- p__HttpStatus__SixActivities.async.js | 10 +- p__HttpStatus__UserAgents.async.js | 256 +- p__Ideology__Case__CourseInfo__index.async.js | 98 +- ...deology__Case__CourseInfo__index.chunk.css | 5 + p__Ideology__Case__index.async.js | 16 +- ...eology__CollegePolicy__Add__index.async.js | 22 +- ...ology__CollegePolicy__Info__index.async.js | 88 +- p__Ideology__CollegePolicy__index.async.js | 88 +- ...__CollegeRequirements__Add__index.async.js | 22 +- ..._CollegeRequirements__Info__index.async.js | 88 +- ...ology__CollegeRequirements__index.async.js | 88 +- ...ology__EducationFiles__Add__index.async.js | 22 +- ...logy__EducationFiles__Info__index.async.js | 88 +- p__Ideology__EducationFiles__index.async.js | 88 +- ...logy__Elements__CourseInfo__index.async.js | 32 +- p__Ideology__Elements__index.async.js | 16 +- p__Ideology__Index__index.async.js | 22 +- ...y__ModelCourse__CourseInfo__index.async.js | 50 +- p__Ideology__ModelCourse__index.async.js | 188 +- p__Ideology__ResearchCenter__index.async.js | 106 +- ...eology__TroopTraining__Add__index.async.js | 22 +- ...ology__TroopTraining__Info__index.async.js | 88 +- p__Ideology__TroopTraining__index.async.js | 88 +- p__Innovation__Detail__index.async.js | 699 +- p__Innovation__Edit__index.async.js | 547 +- p__Innovation__MyDataSet__index.async.js | 22 +- p__Innovation__MyMirror__index.async.js | 60 +- p__Innovation__MyProject__index.async.js | 635 +- p__Innovation__PublicDataSet__index.async.js | 555 +- p__Innovation__PublicMirror__index.async.js | 34 +- p__Innovation__PublicProject__index.async.js | 643 +- p__Innovation__Tasks__index.async.js | 206 +- p__Innovation__index.async.js | 489 +- p__IntrainCourse__index.async.js | 16 +- p__Message__index.async.js | 2 +- p__Messages__Detail__index.async.js | 4 +- p__Messages__Private__index.async.js | 116 +- p__Messages__Tidings__index.async.js | 92 +- p__MoopCases__FormPanel__index.async.js | 22 +- p__MoopCases__InfoPanel__index.async.js | 40 +- p__MoopCases__index.async.js | 276 +- p__MyProblem__RecordDetail__index.async.js | 118 +- p__MyProblem__index.async.js | 100 +- p__Paperlibrary__Add__index.async.js | 338 +- ...ibrary__Random__AddAndEdit__index.async.js | 16 +- ...perlibrary__Random__Detail__index.async.js | 10 +- ...om__ExchangeFromProblemSet__index.async.js | 10 +- ...rary__Random__ExerciseEdit__index.async.js | 114 +- ...brary__Random__PreviewEdit__index.async.js | 316 +- p__Paperlibrary__See__index.async.js | 58 +- p__Paperlibrary__index.async.js | 509 +- p__Paths__Detail__Statistics__index.async.js | 76 +- p__Paths__Detail__id.async.js | 180 +- ..._HigherVocationalEducation__index.async.js | 116 +- p__Paths__Index__index.async.js | 16 +- p__Paths__New__index.async.js | 10 +- p__Problems__OjForm__NewEdit__index.async.js | 206 +- p__Problems__OjForm__index.async.js | 260 +- p__Problemset__NewItem__index.async.js | 266 +- p__Problemset__Preview__New__index.async.js | 118 +- p__Problemset__Preview__index.async.js | 92 +- p__Problemset__index.async.js | 254 +- ...stion__AddOrEdit__BatchAdd__index.async.js | 172 +- p__Question__AddOrEdit__index.async.js | 70 +- p__Question__Index__index.async.js | 10 +- ...n__OjProblem__RecordDetail__index.async.js | 114 +- p__Question__OjProblem__index.async.js | 172 +- p__Report__index.async.js | 2 +- p__RestFul__Edit__index.async.js | 156 +- p__RestFul__index.async.js | 122 +- p__Search__index.async.js | 286 +- ...ns__Detail__AuditSituation__index.async.js | 256 +- ...hixuns__Detail__Challenges__index.async.js | 10 +- ...uns__Detail__Collaborators__index.async.js | 132 +- p__Shixuns__Detail__Dataset__index.async.js | 92 +- p__Shixuns__Detail__Discuss__index.async.js | 130 +- p__Shixuns__Detail__ForkList__index.async.js | 4 +- p__Shixuns__Detail__Merge__index.async.js | 28 +- ...ixuns__Detail__RankingList__index.async.js | 84 +- ...etail__Repository__AddFile__index.async.js | 126 +- ...Detail__Repository__Commit__index.async.js | 84 +- ...il__Repository__UploadFile__index.async.js | 202 +- ...hixuns__Detail__Repository__index.async.js | 214 +- p__Shixuns__Detail__Settings__index.async.js | 86 +- p__Shixuns__Detail__id.async.js | 615 +- p__Shixuns__Detail__id.chunk.css | 28 + ...lenges__EditPracticeAnswer__index.async.js | 6 +- ...enges__EditPracticeSetting__index.async.js | 88 +- ...__Challenges__EditQuestion__index.async.js | 54 +- ...l__Challenges__NewPractice__index.async.js | 6 +- ...l__Challenges__NewQuestion__index.async.js | 112 +- ...Challenges__RankingSetting__index.async.js | 108 +- ...uns__Edit__body__Warehouse__index.async.js | 662 +- p__Shixuns__Edit__index.async.js | 274 +- p__Shixuns__Index__index.async.js | 14 +- p__Shixuns__New__CreateImg__index.async.js | 112 +- p__Shixuns__New__index.async.js | 24 +- p__Terminal__index.async.js | 278 +- p__Three__index.async.js | 6 +- p__User__Detail__Certificate__index.async.js | 52 +- p__User__Detail__Classrooms__index.async.js | 52 +- p__User__Detail__Competitions__index.async.js | 20 +- ...ser__Detail__ExperImentImg__index.async.js | 4 +- p__User__Detail__LearningPath__index.async.js | 493 +- p__User__Detail__Order__index.async.js | 20 +- ...etail__Order__pages__apply__index.async.js | 16 +- ...ail__Order__pages__invoice__index.async.js | 12 +- ...r__pages__orderInformation__index.async.js | 2 +- ...il__Order__pages__orderPay__index.async.js | 2 +- ...ail__Order__pages__records__index.async.js | 16 +- ...tail__Order__pages__result__index.async.js | 2 +- ...Detail__Order__pages__view__index.async.js | 16 +- ...er__Detail__OtherResources__index.async.js | 20 +- p__User__Detail__Paths__index.async.js | 20 +- p__User__Detail__Projects__index.async.js | 16 +- p__User__Detail__Shixuns__index.async.js | 22 +- p__User__Detail__TeachGroup__index.async.js | 74 +- p__User__Detail__Topicbank__index.async.js | 22 +- ...er__Detail__Topics__Detail__index.async.js | 10 +- ...__Topics__Exercise__Detail__index.async.js | 68 +- ...il__Topics__Exercise__Edit__index.async.js | 58 +- ...ser__Detail__Topics__Group__index.async.js | 14 +- ...er__Detail__Topics__Normal__index.async.js | 10 +- ...tail__Topics__Poll__Detail__index.async.js | 16 +- ...Detail__Topics__Poll__Edit__index.async.js | 6 +- p__User__Detail__Topics__index.async.js | 22 +- p__User__Detail__UserPortrait__index.async.js | 30 +- ...__Detail__Videos__Protocol__index.async.js | 88 +- ...r__Detail__Videos__Success__index.async.js | 88 +- ...er__Detail__Videos__Upload__index.async.js | 1526 +- p__User__Detail__Videos__index.async.js | 32 +- ...ser__Detail__virtualSpaces__index.async.js | 20 +- p__User__Login__index.async.js | 278 +- p__User__OtherLogin__index.async.js | 87 +- p__User__QQLogin__index.async.js | 24 +- p__User__Register__index.async.js | 6 +- p__User__ResetPassword__index.async.js | 545 +- p__User__WechatLogin__index.async.js | 22 +- p__Video__Detail__id.async.js | 14 +- p__index.async.js | 811 +- p__tasks__Jupyter__index.async.js | 74 +- p__tasks__index.async.js | 136 +- p__virtualSpaces__Index__index.async.js | 705 +- ...__Announcement__AddAndEdit__index.async.js | 6 +- ...paces__Lists__Announcement__index.async.js | 4 +- ...rtualSpaces__Lists__Course__index.async.js | 20 +- ...lSpaces__Lists__Experiment__index.async.js | 8 +- ...ualSpaces__Lists__Homepage__index.async.js | 6 +- ...sts__Knowledge__AddAndEdit__index.async.js | 10 +- ...Spaces__Lists__Managements__index.async.js | 1063 +- ...s__Lists__Material__Detail__index.async.js | 10 +- ...ualSpaces__Lists__Material__index.async.js | 96 +- ...rtualSpaces__Lists__Member__index.async.js | 28 +- ...tualSpaces__Lists__Notices__index.async.js | 8 +- ...paces__Lists__Plan__Detail__index.async.js | 10 +- p__virtualSpaces__Lists__Plan__index.async.js | 20 +- ...__Lists__Resources__Detail__index.async.js | 38 +- ...alSpaces__Lists__Resources__index.async.js | 501 +- ...ualSpaces__Lists__Settings__index.async.js | 28 +- ...tualSpaces__Lists__Shixuns__index.async.js | 278 +- ...ces__Lists__Survey__Detail__index.async.js | 10 +- ...rtualSpaces__Lists__Survey__index.async.js | 28 +- ...sts__Syllabuses__AddOrEdit__index.async.js | 26 +- ...lSpaces__Lists__Syllabuses__index.async.js | 288 +- ...aces__Lists__Video__Upload__index.async.js | 291 +- ...irtualSpaces__Lists__Video__index.async.js | 714 +- umi.js | 20412 ++++++++-------- 519 files changed, 331107 insertions(+), 44210 deletions(-) create mode 100644 10477.async.js create mode 100644 10658.async.js create mode 100644 10975.async.js create mode 100644 11246.async.js create mode 100644 1141.async.js create mode 100644 11955.async.js create mode 100644 12763.async.js create mode 100644 13917.async.js create mode 100644 14044.async.js create mode 100644 14364.async.js create mode 100644 14563.async.js create mode 100644 15105.async.js create mode 100644 15485.async.js create mode 100644 16035.async.js create mode 100644 16078.async.js create mode 100644 16677.async.js create mode 100644 18229.async.js create mode 100644 19458.async.js create mode 100644 1967.async.js create mode 100644 20812.async.js create mode 100644 2156.async.js create mode 100644 21788.async.js create mode 100644 23281.async.js create mode 100644 25371.async.js create mode 100644 25771.async.js create mode 100644 27129.async.js create mode 100644 2751.async.js create mode 100644 27946.async.js create mode 100644 28502.async.js create mode 100644 28787.async.js create mode 100644 2935.async.js create mode 100644 29418.async.js create mode 100644 29455.async.js create mode 100644 29581.async.js create mode 100644 29823.async.js create mode 100644 29997.async.js create mode 100644 30715.async.js create mode 100644 30847.async.js create mode 100644 31805.async.js create mode 100644 32053.async.js create mode 100644 32454.async.js create mode 100644 32482.async.js create mode 100644 32834.async.js create mode 100644 33127.async.js create mode 100644 33411.async.js create mode 100644 34435.async.js create mode 100644 34598.async.js create mode 100644 34646.async.js create mode 100644 35170.async.js create mode 100644 36120.async.js create mode 100644 37177.async.js create mode 100644 37871.async.js create mode 100644 37949.async.js create mode 100644 38206.async.js create mode 100644 38520.async.js create mode 100644 38979.async.js create mode 100644 39428.async.js create mode 100644 39828.async.js create mode 100644 39991.async.js create mode 100644 40649.async.js create mode 100644 41087.async.js create mode 100644 41552.async.js create mode 100644 41751.async.js create mode 100644 41892.async.js create mode 100644 4197.async.js create mode 100644 42405.async.js create mode 100644 42628.async.js create mode 100644 42959.async.js create mode 100644 4310.async.js create mode 100644 4461.async.js create mode 100644 44788.async.js create mode 100644 44852.async.js create mode 100644 45022.async.js create mode 100644 46446.async.js create mode 100644 46619.async.js create mode 100644 46944.async.js create mode 100644 4751.async.js create mode 100644 49516.async.js create mode 100644 49603.async.js create mode 100644 49944.async.js create mode 100644 50691.async.js create mode 100644 51696.async.js create mode 100644 52750.async.js create mode 100644 53764.async.js create mode 100644 53898.async.js create mode 100644 53962.async.js create mode 100644 54694.async.js create mode 100644 55537.async.js create mode 100644 56387.async.js create mode 100644 56768.async.js create mode 100644 56987.async.js create mode 100644 57348.async.js create mode 100644 57410.async.js create mode 100644 58846.async.js create mode 100644 59688.async.js create mode 100644 60010.async.js create mode 100644 61968.async.js create mode 100644 62422.async.js create mode 100644 64491.async.js create mode 100644 66114.async.js create mode 100644 67046.async.js create mode 100644 67265.async.js create mode 100644 6936.async.js create mode 100644 70353.async.js create mode 100644 70446.async.js create mode 100644 70559.async.js create mode 100644 71058.async.js create mode 100644 71270.async.js create mode 100644 74685.async.js create mode 100644 74720.async.js create mode 100644 7477.async.js create mode 100644 75158.async.js create mode 100644 77003.async.js create mode 100644 77824.async.js create mode 100644 77883.async.js create mode 100644 78536.async.js create mode 100644 78626.async.js create mode 100644 78917.async.js create mode 100644 79407.async.js create mode 100644 8162.async.js create mode 100644 8164.async.js create mode 100644 82762.async.js create mode 100644 84170.async.js create mode 100644 84551.async.js create mode 100644 84567.async.js create mode 100644 84899.async.js create mode 100644 86132.async.js create mode 100644 87891.async.js create mode 100644 87954.async.js create mode 100644 87993.async.js create mode 100644 88176.async.js create mode 100644 8852.async.js create mode 100644 88628.async.js create mode 100644 88671.async.js create mode 100644 89195.async.js create mode 100644 89244.async.js create mode 100644 89484.async.js create mode 100644 89746.async.js create mode 100644 90391.async.js create mode 100644 91075.async.js create mode 100644 91486.async.js create mode 100644 91708.async.js create mode 100644 91897.async.js create mode 100644 92044.async.js create mode 100644 92421.async.js create mode 100644 92774.async.js create mode 100644 92836.async.js create mode 100644 93068.async.js create mode 100644 93497.async.js create mode 100644 9482.async.js create mode 100644 95914.async.js create mode 100644 96578.async.js create mode 100644 97595.async.js create mode 100644 99820.async.js create mode 100644 color.less diff --git a/10477.async.js b/10477.async.js new file mode 100644 index 0000000000..e48ce6b80b --- /dev/null +++ b/10477.async.js @@ -0,0 +1,2778 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[10477,9170,84567,30715,64491,34598,8162],{ + +/***/ 43387: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ AntdIcon; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@ant-design/colors/es/index.js + 1 modules +var es = __webpack_require__(16397); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js + +var IconContext = /*#__PURE__*/(0,react.createContext)({}); +/* harmony default export */ var Context = (IconContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/warning.js +/* eslint-disable no-console */ +var warned = {}; +var preWarningFns = []; + +/** + * Pre warning enable you to parse content before console.error. + * Modify to null will prevent warning. + */ +var preMessage = function preMessage(fn) { + preWarningFns.push(fn); +}; +function warning(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function note(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function resetWarned() { + warned = {}; +} +function call(method, valid, message) { + if (!valid && !warned[message]) { + method(false, message); + warned[message] = true; + } +} +function warningOnce(valid, message) { + call(warning, valid, message); +} +function noteOnce(valid, message) { + call(note, valid, message); +} +warningOnce.preMessage = preMessage; +warningOnce.resetWarned = resetWarned; +warningOnce.noteOnce = noteOnce; +/* harmony default export */ var es_warning = (warningOnce); +/* eslint-enable */ +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/contains.js +function contains(root, n) { + if (!root) { + return false; + } + + // Use native if support + if (root.contains) { + return root.contains(n); + } + + // `document.contains` not support with IE11 + var node = n; + while (node) { + if (node === root) { + return true; + } + node = node.parentNode; + } + return false; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/dynamicCSS.js + + +var APPEND_ORDER = 'data-rc-order'; +var MARK_KEY = "rc-util-key"; +var containerCache = new Map(); +function getMark() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + mark = _ref.mark; + if (mark) { + return mark.startsWith('data-') ? mark : "data-".concat(mark); + } + return MARK_KEY; +} +function getContainer(option) { + if (option.attachTo) { + return option.attachTo; + } + var head = document.querySelector('head'); + return head || document.body; +} +function getOrder(prepend) { + if (prepend === 'queue') { + return 'prependQueue'; + } + return prepend ? 'prepend' : 'append'; +} + +/** + * Find style which inject by rc-util + */ +function findStyles(container) { + return Array.from((containerCache.get(container) || container).children).filter(function (node) { + return node.tagName === 'STYLE'; + }); +} +function injectCSS(css) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + if (!canUseDom()) { + return null; + } + var csp = option.csp, + prepend = option.prepend; + var styleNode = document.createElement('style'); + styleNode.setAttribute(APPEND_ORDER, getOrder(prepend)); + if (csp !== null && csp !== void 0 && csp.nonce) { + styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce; + } + styleNode.innerHTML = css; + var container = getContainer(option); + var firstChild = container.firstChild; + if (prepend) { + // If is queue `prepend`, it will prepend first style and then append rest style + if (prepend === 'queue') { + var existStyle = findStyles(container).filter(function (node) { + return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER)); + }); + if (existStyle.length) { + container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling); + return styleNode; + } + } + + // Use `insertBefore` as `prepend` + container.insertBefore(styleNode, firstChild); + } else { + container.appendChild(styleNode); + } + return styleNode; +} +function findExistNode(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var container = getContainer(option); + return findStyles(container).find(function (node) { + return node.getAttribute(getMark(option)) === key; + }); +} +function removeCSS(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var existNode = findExistNode(key, option); + if (existNode) { + var container = getContainer(option); + container.removeChild(existNode); + } +} + +/** + * qiankun will inject `appendChild` to insert into other + */ +function syncRealContainer(container, option) { + var cachedRealContainer = containerCache.get(container); + + // Find real container when not cached or cached container removed + if (!cachedRealContainer || !contains(document, cachedRealContainer)) { + var placeholderStyle = injectCSS('', option); + var parentNode = placeholderStyle.parentNode; + containerCache.set(container, parentNode); + container.removeChild(placeholderStyle); + } +} + +/** + * manually clear container cache to avoid global cache in unit testes + */ +function clearContainerCache() { + containerCache.clear(); +} +function updateCSS(css, key) { + var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var container = getContainer(option); + + // Sync real parent + syncRealContainer(container, option); + var existNode = findExistNode(key, option); + if (existNode) { + var _option$csp, _option$csp2; + if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) { + var _option$csp3; + existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce; + } + if (existNode.innerHTML !== css) { + existNode.innerHTML = css; + } + return existNode; + } + var newNode = injectCSS(css, option); + newNode.setAttribute(getMark(option), key); + return newNode; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/shadow.js +function getRoot(ele) { + var _ele$getRootNode; + return ele === null || ele === void 0 ? void 0 : (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele); +} + +/** + * Check if is in shadowRoot + */ +function inShadow(ele) { + return getRoot(ele) !== (ele === null || ele === void 0 ? void 0 : ele.ownerDocument); +} + +/** + * Return shadowRoot if possible + */ +function getShadowRoot(ele) { + return inShadow(ele) ? getRoot(ele) : null; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js + + + + + + + + +function utils_warning(valid, message) { + es_warning(valid, "[@ant-design/icons] ".concat(message)); +} +function isIconDefinition(target) { + return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); +} +function normalizeAttrs() { + var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return Object.keys(attrs).reduce(function (acc, key) { + var val = attrs[key]; + switch (key) { + case 'class': + acc.className = val; + delete acc.class; + break; + default: + acc[key] = val; + } + return acc; + }, {}); +} +function generate(node, key, rootProps) { + if (!rootProps) { + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); + } + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); +} +function getSecondaryColor(primaryColor) { + // choose the second color + return (0,es.generate)(primaryColor)[0]; +} +function normalizeTwoToneColors(twoToneColor) { + if (!twoToneColor) { + return []; + } + return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; +} + +// These props make sure that the SVG behaviours like general text. +// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 +var svgBaseProps = { + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true', + focusable: 'false' +}; +var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; +var useInsertStyles = function useInsertStyles(eleRef) { + var _useContext = (0,react.useContext)(Context), + csp = _useContext.csp, + prefixCls = _useContext.prefixCls; + var mergedStyleStr = iconStyles; + if (prefixCls) { + mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); + } + (0,react.useEffect)(function () { + var ele = eleRef.current; + var shadowRoot = getShadowRoot(ele); + updateCSS(mergedStyleStr, '@ant-design-icons', { + prepend: true, + csp: csp, + attachTo: shadowRoot + }); + }, []); +}; +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js + + +var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; + + +var twoToneColorPalette = { + primaryColor: '#333', + secondaryColor: '#E6E6E6', + calculated: false +}; +function setTwoToneColors(_ref) { + var primaryColor = _ref.primaryColor, + secondaryColor = _ref.secondaryColor; + twoToneColorPalette.primaryColor = primaryColor; + twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); + twoToneColorPalette.calculated = !!secondaryColor; +} +function getTwoToneColors() { + return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); +} +var IconBase = function IconBase(props) { + var icon = props.icon, + className = props.className, + onClick = props.onClick, + style = props.style, + primaryColor = props.primaryColor, + secondaryColor = props.secondaryColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var svgRef = react.useRef(); + var colors = twoToneColorPalette; + if (primaryColor) { + colors = { + primaryColor: primaryColor, + secondaryColor: secondaryColor || getSecondaryColor(primaryColor) + }; + } + useInsertStyles(svgRef); + utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); + if (!isIconDefinition(icon)) { + return null; + } + var target = icon; + if (target && typeof target.icon === 'function') { + target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { + icon: target.icon(colors.primaryColor, colors.secondaryColor) + }); + } + return generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + className: className, + onClick: onClick, + style: style, + 'data-icon': target.name, + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true' + }, restProps), {}, { + ref: svgRef + })); +}; +IconBase.displayName = 'IconReact'; +IconBase.getTwoToneColors = getTwoToneColors; +IconBase.setTwoToneColors = setTwoToneColors; +/* harmony default export */ var components_IconBase = (IconBase); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js + + + +function setTwoToneColor(twoToneColor) { + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return components_IconBase.setTwoToneColors({ + primaryColor: primaryColor, + secondaryColor: secondaryColor + }); +} +function getTwoToneColor() { + var colors = components_IconBase.getTwoToneColors(); + if (!colors.calculated) { + return colors.primaryColor; + } + return [colors.primaryColor, colors.secondaryColor]; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + + + + +var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; + + + + + + + +// Initial setting +// should move it to antd main repo? +setTwoToneColor(es.blue.primary); + +// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757#issuecomment-488848720 + +var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var className = props.className, + icon = props.icon, + spin = props.spin, + rotate = props.rotate, + tabIndex = props.tabIndex, + onClick = props.onClick, + twoToneColor = props.twoToneColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); + var _React$useContext = react.useContext(Context), + _React$useContext$pre = _React$useContext.prefixCls, + prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, + rootClassName = _React$useContext.rootClassName; + var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); + var iconTabIndex = tabIndex; + if (iconTabIndex === undefined && onClick) { + iconTabIndex = -1; + } + var svgStyle = rotate ? { + msTransform: "rotate(".concat(rotate, "deg)"), + transform: "rotate(".concat(rotate, "deg)") + } : undefined; + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + role: "img", + "aria-label": icon.name + }, restProps, { + ref: ref, + tabIndex: iconTabIndex, + onClick: onClick, + className: classString + }), /*#__PURE__*/react.createElement(components_IconBase, { + icon: icon, + primaryColor: primaryColor, + secondaryColor: secondaryColor, + style: svgStyle + })); +}); +Icon.displayName = 'AntdIcon'; +Icon.getTwoToneColor = getTwoToneColor; +Icon.setTwoToneColor = setTwoToneColor; +/* harmony default export */ var AntdIcon = (Icon); + +/***/ }), + +/***/ 11475: +/*!******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.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 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + +/***/ 4393: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/card/index.js + 4 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ card; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules +var skeleton = __webpack_require__(4310); +// EXTERNAL MODULE: ./node_modules/antd/es/tabs/index.js + 30 modules +var es_tabs = __webpack_require__(74685); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Grid.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +const Grid = _a => { + var { + prefixCls, + className, + hoverable = true + } = _a, + props = __rest(_a, ["prefixCls", "className", "hoverable"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefix = getPrefixCls('card', prefixCls); + const classString = classnames_default()(`${prefix}-grid`, className, { + [`${prefix}-grid-hoverable`]: hoverable + }); + return /*#__PURE__*/react.createElement("div", Object.assign({}, props, { + className: classString + })); +}; +/* harmony default export */ var card_Grid = (Grid); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/style/index.js + + +// ============================== Styles ============================== +// ============================== Head ============================== +const genCardHeadStyle = token => { + const { + antCls, + componentCls, + headerHeight, + cardPaddingBase, + tabsMarginBottom + } = token; + return Object.assign(Object.assign({ + display: 'flex', + justifyContent: 'center', + flexDirection: 'column', + minHeight: headerHeight, + marginBottom: -1, + padding: `0 ${cardPaddingBase}px`, + color: token.colorTextHeading, + fontWeight: token.fontWeightStrong, + fontSize: token.headerFontSize, + background: token.headerBg, + borderBottom: `${token.lineWidth}px ${token.lineType} ${token.colorBorderSecondary}`, + borderRadius: `${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0` + }, (0,style/* clearFix */.dF)()), { + '&-wrapper': { + width: '100%', + display: 'flex', + alignItems: 'center' + }, + '&-title': Object.assign(Object.assign({ + display: 'inline-block', + flex: 1 + }, style/* textEllipsis */.vS), { + [` + > ${componentCls}-typography, + > ${componentCls}-typography-edit-content + `]: { + insetInlineStart: 0, + marginTop: 0, + marginBottom: 0 + } + }), + [`${antCls}-tabs-top`]: { + clear: 'both', + marginBottom: tabsMarginBottom, + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize, + '&-bar': { + borderBottom: `${token.lineWidth}px ${token.lineType} ${token.colorBorderSecondary}` + } + } + }); +}; +// ============================== Grid ============================== +const genCardGridStyle = token => { + const { + cardPaddingBase, + colorBorderSecondary, + cardShadow, + lineWidth + } = token; + return { + width: '33.33%', + padding: cardPaddingBase, + border: 0, + borderRadius: 0, + boxShadow: ` + ${lineWidth}px 0 0 0 ${colorBorderSecondary}, + 0 ${lineWidth}px 0 0 ${colorBorderSecondary}, + ${lineWidth}px ${lineWidth}px 0 0 ${colorBorderSecondary}, + ${lineWidth}px 0 0 0 ${colorBorderSecondary} inset, + 0 ${lineWidth}px 0 0 ${colorBorderSecondary} inset; + `, + transition: `all ${token.motionDurationMid}`, + '&-hoverable:hover': { + position: 'relative', + zIndex: 1, + boxShadow: cardShadow + } + }; +}; +// ============================== Actions ============================== +const genCardActionsStyle = token => { + const { + componentCls, + iconCls, + actionsLiMargin, + cardActionsIconSize, + colorBorderSecondary, + actionsBg + } = token; + return Object.assign(Object.assign({ + margin: 0, + padding: 0, + listStyle: 'none', + background: actionsBg, + borderTop: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}`, + display: 'flex', + borderRadius: `0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px ` + }, (0,style/* clearFix */.dF)()), { + '& > li': { + margin: actionsLiMargin, + color: token.colorTextDescription, + textAlign: 'center', + '> span': { + position: 'relative', + display: 'block', + minWidth: token.cardActionsIconSize * 2, + fontSize: token.fontSize, + lineHeight: token.lineHeight, + cursor: 'pointer', + '&:hover': { + color: token.colorPrimary, + transition: `color ${token.motionDurationMid}` + }, + [`a:not(${componentCls}-btn), > ${iconCls}`]: { + display: 'inline-block', + width: '100%', + color: token.colorTextDescription, + lineHeight: `${token.fontSize * token.lineHeight}px`, + transition: `color ${token.motionDurationMid}`, + '&:hover': { + color: token.colorPrimary + } + }, + [`> ${iconCls}`]: { + fontSize: cardActionsIconSize, + lineHeight: `${cardActionsIconSize * token.lineHeight}px` + } + }, + '&:not(:last-child)': { + borderInlineEnd: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}` + } + } + }); +}; +// ============================== Meta ============================== +const genCardMetaStyle = token => Object.assign(Object.assign({ + margin: `-${token.marginXXS}px 0`, + display: 'flex' +}, (0,style/* clearFix */.dF)()), { + '&-avatar': { + paddingInlineEnd: token.padding + }, + '&-detail': { + overflow: 'hidden', + flex: 1, + '> div:not(:last-child)': { + marginBottom: token.marginXS + } + }, + '&-title': Object.assign({ + color: token.colorTextHeading, + fontWeight: token.fontWeightStrong, + fontSize: token.fontSizeLG + }, style/* textEllipsis */.vS), + '&-description': { + color: token.colorTextDescription + } +}); +// ============================== Inner ============================== +const genCardTypeInnerStyle = token => { + const { + componentCls, + cardPaddingBase, + colorFillAlter + } = token; + return { + [`${componentCls}-head`]: { + padding: `0 ${cardPaddingBase}px`, + background: colorFillAlter, + '&-title': { + fontSize: token.fontSize + } + }, + [`${componentCls}-body`]: { + padding: `${token.padding}px ${cardPaddingBase}px` + } + }; +}; +// ============================== Loading ============================== +const genCardLoadingStyle = token => { + const { + componentCls + } = token; + return { + overflow: 'hidden', + [`${componentCls}-body`]: { + userSelect: 'none' + } + }; +}; +// ============================== Basic ============================== +const genCardStyle = token => { + const { + antCls, + componentCls, + cardShadow, + cardHeadPadding, + colorBorderSecondary, + boxShadowTertiary, + cardPaddingBase, + extraColor + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + position: 'relative', + background: token.colorBgContainer, + borderRadius: token.borderRadiusLG, + [`&:not(${componentCls}-bordered)`]: { + boxShadow: boxShadowTertiary + }, + [`${componentCls}-head`]: genCardHeadStyle(token), + [`${componentCls}-extra`]: { + // https://stackoverflow.com/a/22429853/3040605 + marginInlineStart: 'auto', + color: extraColor, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`${componentCls}-body`]: Object.assign({ + padding: cardPaddingBase, + borderRadius: ` 0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px` + }, (0,style/* clearFix */.dF)()), + [`${componentCls}-grid`]: genCardGridStyle(token), + [`${componentCls}-cover`]: { + '> *': { + display: 'block', + width: '100%' + }, + [`img, img + ${antCls}-image-mask`]: { + borderRadius: `${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0` + } + }, + [`${componentCls}-actions`]: genCardActionsStyle(token), + [`${componentCls}-meta`]: genCardMetaStyle(token) + }), + [`${componentCls}-bordered`]: { + border: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}`, + [`${componentCls}-cover`]: { + marginTop: -1, + marginInlineStart: -1, + marginInlineEnd: -1 + } + }, + [`${componentCls}-hoverable`]: { + cursor: 'pointer', + transition: `box-shadow ${token.motionDurationMid}, border-color ${token.motionDurationMid}`, + '&:hover': { + borderColor: 'transparent', + boxShadow: cardShadow + } + }, + [`${componentCls}-contain-grid`]: { + [`${componentCls}-body`]: { + display: 'flex', + flexWrap: 'wrap' + }, + [`&:not(${componentCls}-loading) ${componentCls}-body`]: { + marginBlockStart: -token.lineWidth, + marginInlineStart: -token.lineWidth, + padding: 0 + } + }, + [`${componentCls}-contain-tabs`]: { + [`> ${componentCls}-head`]: { + [`${componentCls}-head-title, ${componentCls}-extra`]: { + paddingTop: cardHeadPadding + } + } + }, + [`${componentCls}-type-inner`]: genCardTypeInnerStyle(token), + [`${componentCls}-loading`]: genCardLoadingStyle(token), + [`${componentCls}-rtl`]: { + direction: 'rtl' + } + }; +}; +// ============================== Size ============================== +const genCardSizeStyle = token => { + const { + componentCls, + cardPaddingSM, + headerHeightSM, + headerFontSizeSM + } = token; + return { + [`${componentCls}-small`]: { + [`> ${componentCls}-head`]: { + minHeight: headerHeightSM, + padding: `0 ${cardPaddingSM}px`, + fontSize: headerFontSizeSM, + [`> ${componentCls}-head-wrapper`]: { + [`> ${componentCls}-extra`]: { + fontSize: token.fontSize + } + } + }, + [`> ${componentCls}-body`]: { + padding: cardPaddingSM + } + }, + [`${componentCls}-small${componentCls}-contain-tabs`]: { + [`> ${componentCls}-head`]: { + [`${componentCls}-head-title, ${componentCls}-extra`]: { + minHeight: headerHeightSM, + paddingTop: 0, + display: 'flex', + alignItems: 'center' + } + } + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var card_style = ((0,genComponentStyleHook/* default */.Z)('Card', token => { + const cardToken = (0,statistic/* merge */.TS)(token, { + cardShadow: token.boxShadowCard, + cardHeadPadding: token.padding, + cardPaddingBase: token.paddingLG, + cardActionsIconSize: token.fontSize, + cardPaddingSM: 12 // Fixed padding. + }); + + return [ + // Style + genCardStyle(cardToken), + // Size + genCardSizeStyle(cardToken)]; +}, token => ({ + headerBg: 'transparent', + headerFontSize: token.fontSizeLG, + headerFontSizeSM: token.fontSize, + headerHeight: token.fontSizeLG * token.lineHeightLG + token.padding * 2, + headerHeightSM: token.fontSize * token.lineHeight + token.paddingXS * 2, + actionsBg: token.colorBgContainer, + actionsLiMargin: `${token.paddingSM}px 0`, + tabsMarginBottom: -token.padding - token.lineWidth, + extraColor: token.colorText +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Card.js +var Card_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +function getAction(actions) { + return actions.map((action, index) => + /*#__PURE__*/ + // eslint-disable-next-line react/no-array-index-key + react.createElement("li", { + style: { + width: `${100 / actions.length}%` + }, + key: `action-${index}` + }, /*#__PURE__*/react.createElement("span", null, action))); +} +const Card = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + extra, + headStyle = {}, + bodyStyle = {}, + title, + loading, + bordered = true, + size: customizeSize, + type, + cover, + actions, + tabList, + children, + activeTabKey, + defaultActiveTabKey, + tabBarExtraContent, + hoverable, + tabProps = {} + } = props, + others = Card_rest(props, ["prefixCls", "className", "rootClassName", "style", "extra", "headStyle", "bodyStyle", "title", "loading", "bordered", "size", "type", "cover", "actions", "tabList", "children", "activeTabKey", "defaultActiveTabKey", "tabBarExtraContent", "hoverable", "tabProps"]); + const { + getPrefixCls, + direction, + card + } = react.useContext(context/* ConfigContext */.E_); + const onTabChange = key => { + var _a; + (_a = props.onTabChange) === null || _a === void 0 ? void 0 : _a.call(props, key); + }; + const isContainGrid = react.useMemo(() => { + let containGrid = false; + react.Children.forEach(children, element => { + if (element && element.type && element.type === card_Grid) { + containGrid = true; + } + }); + return containGrid; + }, [children]); + const prefixCls = getPrefixCls('card', customizePrefixCls); + const [wrapSSR, hashId] = card_style(prefixCls); + const loadingBlock = /*#__PURE__*/react.createElement(skeleton/* default */.Z, { + loading: true, + active: true, + paragraph: { + rows: 4 + }, + title: false + }, children); + const hasActiveTabKey = activeTabKey !== undefined; + const extraProps = Object.assign(Object.assign({}, tabProps), { + [hasActiveTabKey ? 'activeKey' : 'defaultActiveKey']: hasActiveTabKey ? activeTabKey : defaultActiveTabKey, + tabBarExtraContent + }); + let head; + const mergedSize = (0,useSize/* default */.Z)(customizeSize); + const tabSize = !mergedSize || mergedSize === 'default' ? 'large' : mergedSize; + const tabs = tabList ? /*#__PURE__*/react.createElement(es_tabs/* default */.Z, Object.assign({ + size: tabSize + }, extraProps, { + className: `${prefixCls}-head-tabs`, + onChange: onTabChange, + items: tabList.map(_a => { + var { + tab + } = _a, + item = Card_rest(_a, ["tab"]); + return Object.assign({ + label: tab + }, item); + }) + })) : null; + if (title || extra || tabs) { + head = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head`, + style: headStyle + }, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head-wrapper` + }, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head-title` + }, title), extra && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-extra` + }, extra)), tabs); + } + const coverDom = cover ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-cover` + }, cover) : null; + const body = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-body`, + style: bodyStyle + }, loading ? loadingBlock : children); + const actionDom = actions && actions.length ? /*#__PURE__*/react.createElement("ul", { + className: `${prefixCls}-actions` + }, getAction(actions)) : null; + const divProps = (0,omit/* default */.Z)(others, ['onTabChange']); + const classString = classnames_default()(prefixCls, card === null || card === void 0 ? void 0 : card.className, { + [`${prefixCls}-loading`]: loading, + [`${prefixCls}-bordered`]: bordered, + [`${prefixCls}-hoverable`]: hoverable, + [`${prefixCls}-contain-grid`]: isContainGrid, + [`${prefixCls}-contain-tabs`]: tabList && tabList.length, + [`${prefixCls}-${mergedSize}`]: mergedSize, + [`${prefixCls}-type-${type}`]: !!type, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, card === null || card === void 0 ? void 0 : card.style), style); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + ref: ref + }, divProps, { + className: classString, + style: mergedStyle + }), head, coverDom, body, actionDom)); +}); +/* harmony default export */ var card_Card = (Card); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Meta.js +var Meta_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +const Meta = props => { + const { + prefixCls: customizePrefixCls, + className, + avatar, + title, + description + } = props, + others = Meta_rest(props, ["prefixCls", "className", "avatar", "title", "description"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('card', customizePrefixCls); + const classString = classnames_default()(`${prefixCls}-meta`, className); + const avatarDom = avatar ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-avatar` + }, avatar) : null; + const titleDom = title ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-title` + }, title) : null; + const descriptionDom = description ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-description` + }, description) : null; + const MetaDetail = titleDom || descriptionDom ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-detail` + }, titleDom, descriptionDom) : null; + return /*#__PURE__*/react.createElement("div", Object.assign({}, others, { + className: classString + }), avatarDom, MetaDetail); +}; +/* harmony default export */ var card_Meta = (Meta); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/index.js +'use client'; + + + + +const es_card_Card = card_Card; +es_card_Card.Grid = card_Grid; +es_card_Card.Meta = card_Meta; +if (false) {} +/* harmony default export */ var card = (es_card_Card); + +/***/ }), + +/***/ 84567: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 3 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js + 5 modules +var es = __webpack_require__(95860); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/GroupContext.js + +const GroupContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var checkbox_GroupContext = (GroupContext); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js +var checkbox_style = __webpack_require__(63185); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const InternalCheckbox = (props, ref) => { + var _a; + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + children, + indeterminate = false, + style, + onMouseEnter, + onMouseLeave, + skipGroup = false, + disabled + } = props, + restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + const { + getPrefixCls, + direction, + checkbox + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const checkboxGroup = react.useContext(checkbox_GroupContext); + const { + isFormItemInput + } = react.useContext(context/* FormItemInputContext */.aM); + const contextDisabled = react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled; + const prevValue = react.useRef(restProps.value); + react.useEffect(() => { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(() => { + if (skipGroup) { + return; + } + if (restProps.value !== prevValue.current) { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current); + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + prevValue.current = restProps.value; + } + return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }, [restProps.value]); + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const checkboxProps = Object.assign({}, restProps); + if (checkboxGroup && !skipGroup) { + checkboxProps.onChange = function () { + if (restProps.onChange) { + restProps.onChange.apply(restProps, arguments); + } + if (checkboxGroup.toggleOption) { + checkboxGroup.toggleOption({ + label: children, + value: restProps.value + }); + } + }; + checkboxProps.name = checkboxGroup.name; + checkboxProps.checked = checkboxGroup.value.includes(restProps.value); + } + const classString = classnames_default()(`${prefixCls}-wrapper`, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-wrapper-checked`]: checkboxProps.checked, + [`${prefixCls}-wrapper-disabled`]: mergedDisabled, + [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput + }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId); + const checkboxClass = classnames_default()({ + [`${prefixCls}-indeterminate`]: indeterminate + }, hashId); + const ariaChecked = indeterminate ? 'mixed' : undefined; + return wrapSSR( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, Object.assign({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children))); +}; +const Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + +var Group_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalGroup = (props, ref) => { + const { + defaultValue, + children, + options = [], + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + onChange + } = props, + restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]); + const { + getPrefixCls, + direction + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const [value, setValue] = react.useState(restProps.value || defaultValue || []); + const [registeredValues, setRegisteredValues] = react.useState([]); + react.useEffect(() => { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + const memoOptions = react.useMemo(() => options.map(option => { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }), [options]); + const cancelValue = val => { + setRegisteredValues(prevValues => prevValues.filter(v => v !== val)); + }; + const registerValue = val => { + setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val])); + }; + const toggleOption = option => { + const optionIndex = value.indexOf(option.value); + const newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => { + const indexA = memoOptions.findIndex(opt => opt.value === a); + const indexB = memoOptions.findIndex(opt => opt.value === b); + return indexA - indexB; + })); + }; + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const groupPrefixCls = `${prefixCls}-group`; + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/react.createElement(checkbox_Checkbox, { + prefixCls: prefixCls, + key: option.value.toString(), + disabled: 'disabled' in option ? option.disabled : restProps.disabled, + value: option.value, + checked: value.includes(option.value), + onChange: option.onChange, + className: `${groupPrefixCls}-item`, + style: option.style, + title: option.title + }, option.label)) : children; + // eslint-disable-next-line react/jsx-no-constructed-context-values + const context = { + toggleOption, + value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue, + cancelValue + }; + const classString = classnames_default()(groupPrefixCls, { + [`${groupPrefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(checkbox_GroupContext.Provider, { + value: context + }, childrenNode))); +}; + +const CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js +'use client'; + + + +const es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +if (false) {} +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 63185: +/*!******************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "C2": function() { return /* binding */ getStyle; } +/* harmony export */ }); +/* unused harmony export genCheckboxStyle */ +/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 73559); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 45503); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); + + + +// ============================== Motion ============================== +const antCheckboxEffect = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antCheckboxEffect', { + '0%': { + transform: 'scale(1)', + opacity: 0.5 + }, + '100%': { + transform: 'scale(1.6)', + opacity: 0 + } +}); +// ============================== Styles ============================== +const genCheckboxStyle = token => { + const { + checkboxCls + } = token; + const wrapperCls = `${checkboxCls}-wrapper`; + return [ + // ===================== Basic ===================== + { + // Group + [`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + flexWrap: 'wrap', + columnGap: token.marginXS, + // Group > Grid + [`> ${token.antCls}-row`]: { + flex: 1 + } + }), + // Wrapper + [wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + alignItems: 'baseline', + cursor: 'pointer', + // Fix checkbox & radio in flex align #30260 + '&:after': { + display: 'inline-block', + width: 0, + overflow: 'hidden', + content: "'\\a0'" + }, + // Checkbox near checkbox + [`& + ${wrapperCls}`]: { + marginInlineStart: 0 + }, + [`&${wrapperCls}-in-form-item`]: { + 'input[type="checkbox"]': { + width: 14, + height: 14 // FIXME: magic + } + } + }), + + // Wrapper > Checkbox + [checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + position: 'relative', + whiteSpace: 'nowrap', + lineHeight: 1, + cursor: 'pointer', + // To make alignment right when `controlHeight` is changed + // Ref: https://github.com/ant-design/ant-design/issues/41564 + alignSelf: 'center', + // Wrapper > Checkbox > input + [`${checkboxCls}-input`]: { + position: 'absolute', + // Since baseline align will get additional space offset, + // we need to move input to top to make it align with text. + // Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799 + inset: 0, + zIndex: 1, + cursor: 'pointer', + opacity: 0, + margin: 0, + [`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .genFocusOutline */ .oN)(token)) + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + boxSizing: 'border-box', + position: 'relative', + top: 0, + insetInlineStart: 0, + display: 'block', + width: token.checkboxSize, + height: token.checkboxSize, + direction: 'ltr', + backgroundColor: token.colorBgContainer, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + borderCollapse: 'separate', + transition: `all ${token.motionDurationSlow}`, + '&:after': { + boxSizing: 'border-box', + position: 'absolute', + top: '50%', + insetInlineStart: '21.5%', + display: 'table', + width: token.checkboxSize / 14 * 5, + height: token.checkboxSize / 14 * 8, + border: `${token.lineWidthBold}px solid ${token.colorWhite}`, + borderTop: 0, + borderInlineStart: 0, + transform: 'rotate(45deg) scale(0) translate(-50%,-50%)', + opacity: 0, + content: '""', + transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}` + } + }, + // Wrapper > Checkbox + Text + '& + span': { + paddingInlineStart: token.paddingXS, + paddingInlineEnd: token.paddingXS + } + }) + }, + // ===================== Hover ===================== + { + // Wrapper + [`${wrapperCls}:hover ${checkboxCls}:after`]: { + visibility: 'visible' + }, + // Wrapper & Wrapper > Checkbox + [` + ${wrapperCls}:not(${wrapperCls}-disabled), + ${checkboxCls}:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + borderColor: token.colorPrimary + } + }, + [`${wrapperCls}:not(${wrapperCls}-disabled)`]: { + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ==================== Checked ==================== + { + // Wrapper > Checkbox + [`${checkboxCls}-checked`]: { + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimary, + borderColor: token.colorPrimary, + '&:after': { + opacity: 1, + transform: 'rotate(45deg) scale(1) translate(-50%,-50%)', + transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}` + } + }, + // Checked Effect + '&:after': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '100%', + height: '100%', + borderRadius: token.borderRadiusSM, + visibility: 'hidden', + border: `${token.lineWidthBold}px solid ${token.colorPrimary}`, + animationName: antCheckboxEffect, + animationDuration: token.motionDurationSlow, + animationTimingFunction: 'ease-in-out', + animationFillMode: 'backwards', + content: '""', + transition: `all ${token.motionDurationSlow}` + } + }, + [` + ${wrapperCls}-checked:not(${wrapperCls}-disabled), + ${checkboxCls}-checked:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}:after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ================= Indeterminate ================= + { + [checkboxCls]: { + '&-indeterminate': { + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorBgContainer, + borderColor: token.colorBorder, + '&:after': { + top: '50%', + insetInlineStart: '50%', + width: token.fontSizeLG / 2, + height: token.fontSizeLG / 2, + backgroundColor: token.colorPrimary, + border: 0, + transform: 'translate(-50%, -50%) scale(1)', + opacity: 1, + content: '""' + } + } + } + } + }, + // ==================== Disable ==================== + { + // Wrapper + [`${wrapperCls}-disabled`]: { + cursor: 'not-allowed' + }, + // Wrapper > Checkbox + [`${checkboxCls}-disabled`]: { + // Wrapper > Checkbox > input + [`&, ${checkboxCls}-input`]: { + cursor: 'not-allowed', + // Disabled for native input to enable Tooltip event handler + // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901 + pointerEvents: 'none' + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + background: token.colorBgContainerDisabled, + borderColor: token.colorBorder, + '&:after': { + borderColor: token.colorTextDisabled + } + }, + '&:after': { + display: 'none' + }, + '& + span': { + color: token.colorTextDisabled + }, + [`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: { + background: token.colorTextDisabled + } + } + }]; +}; +// ============================== Export ============================== +function getStyle(prefixCls, token) { + const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .merge */ .TS)(token, { + checkboxCls: `.${prefixCls}`, + checkboxSize: token.controlInteractiveSize + }); + return [genCheckboxStyle(checkboxToken)]; +} +/* harmony default export */ __webpack_exports__["ZP"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Checkbox', (token, _ref) => { + let { + prefixCls + } = _ref; + return [getStyle(prefixCls, token)]; +})); + +/***/ }), + +/***/ 96074: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/divider/index.js + 1 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ divider; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js + + +// ============================== Shared ============================== +const genSharedDividerStyle = token => { + const { + componentCls, + sizePaddingEdgeHorizontal, + colorSplit, + lineWidth + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + borderBlockStart: `${lineWidth}px solid ${colorSplit}`, + // vertical + '&-vertical': { + position: 'relative', + top: '-0.06em', + display: 'inline-block', + height: '0.9em', + margin: `0 ${token.dividerVerticalGutterMargin}px`, + verticalAlign: 'middle', + borderTop: 0, + borderInlineStart: `${lineWidth}px solid ${colorSplit}` + }, + '&-horizontal': { + display: 'flex', + clear: 'both', + width: '100%', + minWidth: '100%', + margin: `${token.dividerHorizontalGutterMargin}px 0` + }, + [`&-horizontal${componentCls}-with-text`]: { + display: 'flex', + alignItems: 'center', + margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`, + color: token.colorTextHeading, + fontWeight: 500, + fontSize: token.fontSizeLG, + whiteSpace: 'nowrap', + textAlign: 'center', + borderBlockStart: `0 ${colorSplit}`, + '&::before, &::after': { + position: 'relative', + width: '50%', + borderBlockStart: `${lineWidth}px solid transparent`, + // Chrome not accept `inherit` in `border-top` + borderBlockStartColor: 'inherit', + borderBlockEnd: 0, + transform: 'translateY(50%)', + content: "''" + } + }, + [`&-horizontal${componentCls}-with-text-left`]: { + '&::before': { + width: '5%' + }, + '&::after': { + width: '95%' + } + }, + [`&-horizontal${componentCls}-with-text-right`]: { + '&::before': { + width: '95%' + }, + '&::after': { + width: '5%' + } + }, + [`${componentCls}-inner-text`]: { + display: 'inline-block', + padding: '0 1em' + }, + '&-dashed': { + background: 'none', + borderColor: colorSplit, + borderStyle: 'dashed', + borderWidth: `${lineWidth}px 0 0` + }, + [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: { + '&::before, &::after': { + borderStyle: 'dashed none none' + } + }, + [`&-vertical${componentCls}-dashed`]: { + borderInlineStartWidth: lineWidth, + borderInlineEnd: 0, + borderBlockStart: 0, + borderBlockEnd: 0 + }, + [`&-plain${componentCls}-with-text`]: { + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: { + '&::before': { + width: 0 + }, + '&::after': { + width: '100%' + }, + [`${componentCls}-inner-text`]: { + paddingInlineStart: sizePaddingEdgeHorizontal + } + }, + [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: { + '&::before': { + width: '100%' + }, + '&::after': { + width: 0 + }, + [`${componentCls}-inner-text`]: { + paddingInlineEnd: sizePaddingEdgeHorizontal + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => { + const dividerToken = (0,statistic/* merge */.TS)(token, { + dividerVerticalGutterMargin: token.marginXS, + dividerHorizontalWithTextGutterMargin: token.margin, + dividerHorizontalGutterMargin: token.marginLG + }); + return [genSharedDividerStyle(dividerToken)]; +}, { + sizePaddingEdgeHorizontal: 0 +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +const Divider = props => { + const { + getPrefixCls, + direction, + divider + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'horizontal', + orientation = 'center', + orientationMargin, + className, + rootClassName, + children, + dashed, + plain, + style + } = props, + restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]); + const prefixCls = getPrefixCls('divider', customizePrefixCls); + const [wrapSSR, hashId] = divider_style(prefixCls); + const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation; + const hasChildren = !!children; + const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; + const hasCustomMarginRight = orientation === 'right' && orientationMargin != null; + const classString = classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, { + [`${prefixCls}-with-text`]: hasChildren, + [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren, + [`${prefixCls}-dashed`]: !!dashed, + [`${prefixCls}-plain`]: !!plain, + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft, + [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight + }, className, rootClassName); + const memoizedOrientationMargin = react.useMemo(() => { + if (typeof orientationMargin === 'number') { + return orientationMargin; + } + if (/^\d+$/.test(orientationMargin)) { + return Number(orientationMargin); + } + return orientationMargin; + }, [orientationMargin]); + const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && { + marginLeft: memoizedOrientationMargin + }), hasCustomMarginRight && { + marginRight: memoizedOrientationMargin + }); + // Warning children not work in vertical mode + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style) + }, restProps, { + role: "separator" + }), children && type !== 'vertical' && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-inner-text`, + style: innerStyle + }, children))); +}; +if (false) {} +/* harmony default export */ var divider = (Divider); + +/***/ }), + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 33507: +/*!*******************************************************!*\ + !*** ./node_modules/antd/es/style/motion/collapse.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +const genCollapseMotion = token => ({ + [token.componentCls]: { + // For common/openAnimation + [`${token.antCls}-motion-collapse-legacy`]: { + overflow: 'hidden', + '&-active': { + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + }, + [`${token.antCls}-motion-collapse`]: { + overflow: 'hidden', + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + } +}); +/* harmony default export */ __webpack_exports__["Z"] = (genCollapseMotion); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }), + +/***/ 55007: +/*!***********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_LeftOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +// This icon file is generated automatically. +var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" }; +/* harmony default export */ var asn_LeftOutlined = (LeftOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var LeftOutlined_LeftOutlined = function LeftOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_LeftOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_LeftOutlined = (/*#__PURE__*/react.forwardRef(LeftOutlined_LeftOutlined)); + +/***/ }), + +/***/ 79269: +/*!************************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js + 1 modules ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_RightOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +// This icon file is generated automatically. +var RightOutlined = { "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" }; +/* harmony default export */ var asn_RightOutlined = (RightOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var RightOutlined_RightOutlined = function RightOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_RightOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_RightOutlined = (/*#__PURE__*/react.forwardRef(RightOutlined_RightOutlined)); + +/***/ }), + +/***/ 95860: +/*!**********************************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js + 5 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es; } +}); + +// UNUSED EXPORTS: Checkbox + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/node_modules/rc-util/es/hooks/useEvent.js + +function useEvent(callback) { + var fnRef = react.useRef(); + fnRef.current = callback; + var memoFn = react.useCallback(function () { + var _fnRef$current; + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args)); + }, []); + return memoFn; +} +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/node_modules/rc-util/es/hooks/useLayoutEffect.js + + + +/** + * Wrap `React.useLayoutEffect` which will not throw warning message in test env + */ +var useInternalLayoutEffect = true && canUseDom() ? react.useLayoutEffect : react.useEffect; +var useLayoutEffect = function useLayoutEffect(callback, deps) { + var firstMountRef = react.useRef(true); + useInternalLayoutEffect(function () { + return callback(firstMountRef.current); + }, deps); + + // We tell react that first mount has passed + useInternalLayoutEffect(function () { + firstMountRef.current = false; + return function () { + firstMountRef.current = true; + }; + }, []); +}; +var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) { + useLayoutEffect(function (firstMount) { + if (!firstMount) { + return callback(); + } + }, deps); +}; +/* harmony default export */ var hooks_useLayoutEffect = ((/* unused pure expression or super */ null && (useLayoutEffect))); +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/node_modules/rc-util/es/hooks/useState.js + + +/** + * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed. + * We do not make this auto is to avoid real memory leak. + * Developer should confirm it's safe to ignore themselves. + */ +function useSafeState(defaultValue) { + var destroyRef = react.useRef(false); + var _React$useState = react.useState(defaultValue), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + react.useEffect(function () { + destroyRef.current = false; + return function () { + destroyRef.current = true; + }; + }, []); + function safeSetState(updater, ignoreDestroy) { + if (ignoreDestroy && destroyRef.current) { + return; + } + setValue(updater); + } + return [value, safeSetState]; +} +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/node_modules/rc-util/es/hooks/useMergedState.js + + + + +/** We only think `undefined` is empty */ +function hasValue(value) { + return value !== undefined; +} + +/** + * Similar to `useState` but will use props value if provided. + * Note that internal use rc-util `useState` hook. + */ +function useMergedState(defaultStateValue, option) { + var _ref = option || {}, + defaultValue = _ref.defaultValue, + value = _ref.value, + onChange = _ref.onChange, + postState = _ref.postState; + + // ======================= Init ======================= + var _useState = useSafeState(function () { + if (hasValue(value)) { + return value; + } else if (hasValue(defaultValue)) { + return typeof defaultValue === 'function' ? defaultValue() : defaultValue; + } else { + return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue; + } + }), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + innerValue = _useState2[0], + setInnerValue = _useState2[1]; + var mergedValue = value !== undefined ? value : innerValue; + var postMergedValue = postState ? postState(mergedValue) : mergedValue; + + // ====================== Change ====================== + var onChangeFn = useEvent(onChange); + var _useState3 = useSafeState([mergedValue]), + _useState4 = (0,slicedToArray/* default */.Z)(_useState3, 2), + prevValue = _useState4[0], + setPrevValue = _useState4[1]; + useLayoutUpdateEffect(function () { + var prev = prevValue[0]; + if (innerValue !== prev) { + onChangeFn(innerValue, prev); + } + }, [prevValue]); + + // Sync value back to `undefined` when it from control to un-control + useLayoutUpdateEffect(function () { + if (!hasValue(value)) { + setInnerValue(value); + } + }, [value]); + + // ====================== Update ====================== + var triggerChange = useEvent(function (updater, ignoreDestroy) { + setInnerValue(updater, ignoreDestroy); + setPrevValue([mergedValue], ignoreDestroy); + }); + return [postMergedValue, triggerChange]; +} +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/es/index.js + + + + + +var _excluded = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "title", "onChange"]; + + + + +var Checkbox = /*#__PURE__*/(0,react.forwardRef)(function (props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-checkbox' : _props$prefixCls, + className = props.className, + style = props.style, + checked = props.checked, + disabled = props.disabled, + _props$defaultChecked = props.defaultChecked, + defaultChecked = _props$defaultChecked === void 0 ? false : _props$defaultChecked, + _props$type = props.type, + type = _props$type === void 0 ? 'checkbox' : _props$type, + title = props.title, + onChange = props.onChange, + inputProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var inputRef = (0,react.useRef)(null); + var _useMergedState = useMergedState(defaultChecked, { + value: checked + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + rawValue = _useMergedState2[0], + setRawValue = _useMergedState2[1]; + (0,react.useImperativeHandle)(ref, function () { + return { + focus: function focus() { + var _inputRef$current; + (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus(); + }, + blur: function blur() { + var _inputRef$current2; + (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.blur(); + }, + input: inputRef.current + }; + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), rawValue), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + var handleChange = function handleChange(e) { + if (disabled) { + return; + } + if (!('checked' in props)) { + setRawValue(e.target.checked); + } + onChange === null || onChange === void 0 ? void 0 : onChange({ + target: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + type: type, + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + }; + return /*#__PURE__*/react.createElement("span", { + className: classString, + title: title, + style: style + }, /*#__PURE__*/react.createElement("input", (0,esm_extends/* default */.Z)({}, inputProps, { + className: "".concat(prefixCls, "-input"), + ref: inputRef, + onChange: handleChange, + disabled: disabled, + checked: !!rawValue, + type: type + })), /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); +}); +/* harmony default export */ var es = (Checkbox); + +/***/ }), + +/***/ 64217: +/*!**********************************************!*\ + !*** ./node_modules/rc-util/es/pickAttrs.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/10658.async.js b/10658.async.js new file mode 100644 index 0000000000..e2e46aee14 --- /dev/null +++ b/10658.async.js @@ -0,0 +1,5670 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[10658,35479,47897],{ + +/***/ 97937: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +// This icon file is generated automatically. +var CloseOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, "name": "close", "theme": "outlined" }; +/* harmony default export */ var asn_CloseOutlined = (CloseOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseOutlined_CloseOutlined = function CloseOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseOutlined = (/*#__PURE__*/react.forwardRef(CloseOutlined_CloseOutlined)); + +/***/ }), + +/***/ 80882: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DownOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +// This icon file is generated automatically. +var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" }; +/* harmony default export */ var asn_DownOutlined = (DownOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DownOutlined_DownOutlined = function DownOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DownOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DownOutlined = (/*#__PURE__*/react.forwardRef(DownOutlined_DownOutlined)); + +/***/ }), + +/***/ 23430: +/*!*********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DownloadOutlined.js + 1 modules ***! + \*********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DownloadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DownloadOutlined.js +// This icon file is generated automatically. +var DownloadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "download", "theme": "outlined" }; +/* harmony default export */ var asn_DownloadOutlined = (DownloadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DownloadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DownloadOutlined_DownloadOutlined = function DownloadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DownloadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DownloadOutlined = (/*#__PURE__*/react.forwardRef(DownloadOutlined_DownloadOutlined)); + +/***/ }), + +/***/ 89705: +/*!*********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules ***! + \*********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EllipsisOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js +// This icon file is generated automatically. +var EllipsisOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "ellipsis", "theme": "outlined" }; +/* harmony default export */ var asn_EllipsisOutlined = (EllipsisOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EllipsisOutlined_EllipsisOutlined = function EllipsisOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EllipsisOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EllipsisOutlined = (/*#__PURE__*/react.forwardRef(EllipsisOutlined_EllipsisOutlined)); + +/***/ }), + +/***/ 33160: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ReloadOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ReloadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.js +// This icon file is generated automatically. +var ReloadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" } }] }, "name": "reload", "theme": "outlined" }; +/* harmony default export */ var asn_ReloadOutlined = (ReloadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ReloadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ReloadOutlined_ReloadOutlined = function ReloadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ReloadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ReloadOutlined = (/*#__PURE__*/react.forwardRef(ReloadOutlined_ReloadOutlined)); + +/***/ }), + +/***/ 88484: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_UploadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.js +// This icon file is generated automatically. +var UploadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" }; +/* harmony default export */ var asn_UploadOutlined = (UploadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var UploadOutlined_UploadOutlined = function UploadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_UploadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_UploadOutlined = (/*#__PURE__*/react.forwardRef(UploadOutlined_UploadOutlined)); + +/***/ }), + +/***/ 81643: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getRenderPropValue.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getRenderPropValue; } +/* harmony export */ }); +const getRenderPropValue = propValue => { + if (!propValue) { + return null; + } + if (typeof propValue === 'function') { + return propValue(); + } + return propValue; +}; + +/***/ }), + +/***/ 96074: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/divider/index.js + 1 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ divider; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js + + +// ============================== Shared ============================== +const genSharedDividerStyle = token => { + const { + componentCls, + sizePaddingEdgeHorizontal, + colorSplit, + lineWidth + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + borderBlockStart: `${lineWidth}px solid ${colorSplit}`, + // vertical + '&-vertical': { + position: 'relative', + top: '-0.06em', + display: 'inline-block', + height: '0.9em', + margin: `0 ${token.dividerVerticalGutterMargin}px`, + verticalAlign: 'middle', + borderTop: 0, + borderInlineStart: `${lineWidth}px solid ${colorSplit}` + }, + '&-horizontal': { + display: 'flex', + clear: 'both', + width: '100%', + minWidth: '100%', + margin: `${token.dividerHorizontalGutterMargin}px 0` + }, + [`&-horizontal${componentCls}-with-text`]: { + display: 'flex', + alignItems: 'center', + margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`, + color: token.colorTextHeading, + fontWeight: 500, + fontSize: token.fontSizeLG, + whiteSpace: 'nowrap', + textAlign: 'center', + borderBlockStart: `0 ${colorSplit}`, + '&::before, &::after': { + position: 'relative', + width: '50%', + borderBlockStart: `${lineWidth}px solid transparent`, + // Chrome not accept `inherit` in `border-top` + borderBlockStartColor: 'inherit', + borderBlockEnd: 0, + transform: 'translateY(50%)', + content: "''" + } + }, + [`&-horizontal${componentCls}-with-text-left`]: { + '&::before': { + width: '5%' + }, + '&::after': { + width: '95%' + } + }, + [`&-horizontal${componentCls}-with-text-right`]: { + '&::before': { + width: '95%' + }, + '&::after': { + width: '5%' + } + }, + [`${componentCls}-inner-text`]: { + display: 'inline-block', + padding: '0 1em' + }, + '&-dashed': { + background: 'none', + borderColor: colorSplit, + borderStyle: 'dashed', + borderWidth: `${lineWidth}px 0 0` + }, + [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: { + '&::before, &::after': { + borderStyle: 'dashed none none' + } + }, + [`&-vertical${componentCls}-dashed`]: { + borderInlineStartWidth: lineWidth, + borderInlineEnd: 0, + borderBlockStart: 0, + borderBlockEnd: 0 + }, + [`&-plain${componentCls}-with-text`]: { + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: { + '&::before': { + width: 0 + }, + '&::after': { + width: '100%' + }, + [`${componentCls}-inner-text`]: { + paddingInlineStart: sizePaddingEdgeHorizontal + } + }, + [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: { + '&::before': { + width: '100%' + }, + '&::after': { + width: 0 + }, + [`${componentCls}-inner-text`]: { + paddingInlineEnd: sizePaddingEdgeHorizontal + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => { + const dividerToken = (0,statistic/* merge */.TS)(token, { + dividerVerticalGutterMargin: token.marginXS, + dividerHorizontalWithTextGutterMargin: token.margin, + dividerHorizontalGutterMargin: token.marginLG + }); + return [genSharedDividerStyle(dividerToken)]; +}, { + sizePaddingEdgeHorizontal: 0 +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +const Divider = props => { + const { + getPrefixCls, + direction, + divider + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'horizontal', + orientation = 'center', + orientationMargin, + className, + rootClassName, + children, + dashed, + plain, + style + } = props, + restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]); + const prefixCls = getPrefixCls('divider', customizePrefixCls); + const [wrapSSR, hashId] = divider_style(prefixCls); + const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation; + const hasChildren = !!children; + const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; + const hasCustomMarginRight = orientation === 'right' && orientationMargin != null; + const classString = classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, { + [`${prefixCls}-with-text`]: hasChildren, + [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren, + [`${prefixCls}-dashed`]: !!dashed, + [`${prefixCls}-plain`]: !!plain, + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft, + [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight + }, className, rootClassName); + const memoizedOrientationMargin = react.useMemo(() => { + if (typeof orientationMargin === 'number') { + return orientationMargin; + } + if (/^\d+$/.test(orientationMargin)) { + return Number(orientationMargin); + } + return orientationMargin; + }, [orientationMargin]); + const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && { + marginLeft: memoizedOrientationMargin + }), hasCustomMarginRight && { + marginRight: memoizedOrientationMargin + }); + // Warning children not work in vertical mode + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style) + }, restProps, { + role: "separator" + }), children && type !== 'vertical' && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-inner-text`, + style: innerStyle + }, children))); +}; +if (false) {} +/* harmony default export */ var divider = (Divider); + +/***/ }), + +/***/ 35479: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/drawer/index.js + 16 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ drawer; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/react-dom/index.js +var react_dom = __webpack_require__(73935); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/canUseDom.js +var Dom_canUseDom = __webpack_require__(98924); +// EXTERNAL MODULE: ./node_modules/rc-util/es/warning.js +var es_warning = __webpack_require__(80334); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/Context.js + +var OrderContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var Context = (OrderContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useLayoutEffect.js +var useLayoutEffect = __webpack_require__(8410); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/useDom.js + + + + + + +var EMPTY_LIST = []; + +/** + * Will add `div` to document. Nest call will keep order + * @param render Render DOM in document + */ +function useDom(render, debug) { + var _React$useState = react.useState(function () { + if (!(0,Dom_canUseDom/* default */.Z)()) { + return null; + } + var defaultEle = document.createElement('div'); + if (false) {} + return defaultEle; + }), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 1), + ele = _React$useState2[0]; + + // ========================== Order ========================== + var appendedRef = react.useRef(false); + var queueCreate = react.useContext(Context); + var _React$useState3 = react.useState(EMPTY_LIST), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + queue = _React$useState4[0], + setQueue = _React$useState4[1]; + var mergedQueueCreate = queueCreate || (appendedRef.current ? undefined : function (appendFn) { + setQueue(function (origin) { + var newQueue = [appendFn].concat((0,toConsumableArray/* default */.Z)(origin)); + return newQueue; + }); + }); + + // =========================== DOM =========================== + function append() { + if (!ele.parentElement) { + document.body.appendChild(ele); + } + appendedRef.current = true; + } + function cleanup() { + var _ele$parentElement; + (_ele$parentElement = ele.parentElement) === null || _ele$parentElement === void 0 ? void 0 : _ele$parentElement.removeChild(ele); + appendedRef.current = false; + } + (0,useLayoutEffect/* default */.Z)(function () { + if (render) { + if (queueCreate) { + queueCreate(append); + } else { + append(); + } + } else { + cleanup(); + } + return cleanup; + }, [render]); + (0,useLayoutEffect/* default */.Z)(function () { + if (queue.length) { + queue.forEach(function (appendFn) { + return appendFn(); + }); + setQueue(EMPTY_LIST); + } + }, [queue]); + return [ele, mergedQueueCreate]; +} +// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/dynamicCSS.js + 1 modules +var dynamicCSS = __webpack_require__(48981); +// EXTERNAL MODULE: ./node_modules/rc-util/es/getScrollBarSize.js +var getScrollBarSize = __webpack_require__(74204); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/util.js +/** + * Test usage export. Do not use in your production + */ +function isBodyOverflowing() { + return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth; +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/useScrollLocker.js + + + + + + +var UNIQUE_ID = "rc-util-locker-".concat(Date.now()); +var uuid = 0; +function useScrollLocker(lock) { + var mergedLock = !!lock; + var _React$useState = react.useState(function () { + uuid += 1; + return "".concat(UNIQUE_ID, "_").concat(uuid); + }), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 1), + id = _React$useState2[0]; + (0,useLayoutEffect/* default */.Z)(function () { + if (mergedLock) { + var scrollbarSize = (0,getScrollBarSize/* getTargetScrollBarSize */.o)(document.body).width; + var isOverflow = isBodyOverflowing(); + (0,dynamicCSS/* updateCSS */.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(isOverflow ? "width: calc(100% - ".concat(scrollbarSize, "px);") : '', "\n}"), id); + } else { + (0,dynamicCSS/* removeCSS */.jL)(id); + } + return function () { + (0,dynamicCSS/* removeCSS */.jL)(id); + }; + }, [mergedLock, id]); +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/mock.js +var inline = false; +function inlineMock(nextInline) { + if (typeof nextInline === 'boolean') { + inline = nextInline; + } + return inline; +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/Portal.js + + + + + + + + + + +var getPortalContainer = function getPortalContainer(getContainer) { + if (getContainer === false) { + return false; + } + if (!(0,Dom_canUseDom/* default */.Z)() || !getContainer) { + return null; + } + if (typeof getContainer === 'string') { + return document.querySelector(getContainer); + } + if (typeof getContainer === 'function') { + return getContainer(); + } + return getContainer; +}; +var Portal = /*#__PURE__*/react.forwardRef(function (props, ref) { + var open = props.open, + autoLock = props.autoLock, + getContainer = props.getContainer, + debug = props.debug, + _props$autoDestroy = props.autoDestroy, + autoDestroy = _props$autoDestroy === void 0 ? true : _props$autoDestroy, + children = props.children; + var _React$useState = react.useState(open), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + shouldRender = _React$useState2[0], + setShouldRender = _React$useState2[1]; + var mergedRender = shouldRender || open; + + // ========================= Warning ========================= + if (false) {} + + // ====================== Should Render ====================== + react.useEffect(function () { + if (autoDestroy || open) { + setShouldRender(open); + } + }, [open, autoDestroy]); + + // ======================== Container ======================== + var _React$useState3 = react.useState(function () { + return getPortalContainer(getContainer); + }), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + innerContainer = _React$useState4[0], + setInnerContainer = _React$useState4[1]; + react.useEffect(function () { + var customizeContainer = getPortalContainer(getContainer); + + // Tell component that we check this in effect which is safe to be `null` + setInnerContainer(customizeContainer !== null && customizeContainer !== void 0 ? customizeContainer : null); + }); + var _useDom = useDom(mergedRender && !innerContainer, debug), + _useDom2 = (0,slicedToArray/* default */.Z)(_useDom, 2), + defaultContainer = _useDom2[0], + queueCreate = _useDom2[1]; + var mergedContainer = innerContainer !== null && innerContainer !== void 0 ? innerContainer : defaultContainer; + + // ========================= Locker ========================== + useScrollLocker(autoLock && open && (0,Dom_canUseDom/* default */.Z)() && (mergedContainer === defaultContainer || mergedContainer === document.body)); + + // =========================== Ref =========================== + var childRef = null; + if (children && (0,es_ref/* supportRef */.Yr)(children) && ref) { + var _ref = children; + childRef = _ref.ref; + } + var mergedRef = (0,es_ref/* useComposeRef */.x1)(childRef, ref); + + // ========================= Render ========================== + // Do not render when nothing need render + // When innerContainer is `undefined`, it may not ready since user use ref in the same render + if (!mergedRender || !(0,Dom_canUseDom/* default */.Z)() || innerContainer === undefined) { + return null; + } + + // Render inline + var renderInline = mergedContainer === false || inlineMock(); + var reffedChildren = children; + if (ref) { + reffedChildren = /*#__PURE__*/react.cloneElement(children, { + ref: mergedRef + }); + } + return /*#__PURE__*/react.createElement(Context.Provider, { + value: queueCreate + }, renderInline ? reffedChildren : /*#__PURE__*/(0,react_dom.createPortal)(reffedChildren, mergedContainer)); +}); +if (false) {} +/* harmony default export */ var es_Portal = (Portal); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/index.js + + + +/* harmony default export */ var es = (es_Portal); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/rc-motion/es/index.js + 11 modules +var rc_motion_es = __webpack_require__(62874); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/context.js + +var DrawerContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var context = (DrawerContext); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/DrawerPanel.js + + + + +var DrawerPanel = function DrawerPanel(props) { + var prefixCls = props.prefixCls, + className = props.className, + style = props.style, + children = props.children, + containerRef = props.containerRef, + onMouseEnter = props.onMouseEnter, + onMouseOver = props.onMouseOver, + onMouseLeave = props.onMouseLeave, + onClick = props.onClick, + onKeyDown = props.onKeyDown, + onKeyUp = props.onKeyUp; + var eventHandlers = { + onMouseEnter: onMouseEnter, + onMouseOver: onMouseOver, + onMouseLeave: onMouseLeave, + onClick: onClick, + onKeyDown: onKeyDown, + onKeyUp: onKeyUp + }; + // =============================== Render =============================== + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classnames_default()("".concat(prefixCls, "-content"), className), + style: (0,objectSpread2/* default */.Z)({}, style), + "aria-modal": "true", + role: "dialog", + ref: containerRef + }, eventHandlers), children)); +}; +if (false) {} +/* harmony default export */ var es_DrawerPanel = (DrawerPanel); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/util.js + + +function parseWidthHeight(value) { + if (typeof value === 'string' && String(Number(value)) === value) { + (0,es_warning/* default */.ZP)(false, 'Invalid value type of `width` or `height` which should be number type instead.'); + return Number(value); + } + return value; +} +function warnCheck(props) { + warning(!('wrapperClassName' in props), "'wrapperClassName' is removed. Please use 'rootClassName' instead."); + warning(canUseDom() || !props.open, "Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead."); +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/DrawerPopup.js + + + + + + + + + + + + +var sentinelStyle = { + width: 0, + height: 0, + overflow: 'hidden', + outline: 'none', + position: 'absolute' +}; +function DrawerPopup(props, ref) { + var _ref, _pushConfig$distance, _pushConfig, _classNames; + var prefixCls = props.prefixCls, + open = props.open, + placement = props.placement, + inline = props.inline, + push = props.push, + forceRender = props.forceRender, + autoFocus = props.autoFocus, + keyboard = props.keyboard, + rootClassName = props.rootClassName, + rootStyle = props.rootStyle, + zIndex = props.zIndex, + className = props.className, + style = props.style, + motion = props.motion, + width = props.width, + height = props.height, + children = props.children, + contentWrapperStyle = props.contentWrapperStyle, + mask = props.mask, + maskClosable = props.maskClosable, + maskMotion = props.maskMotion, + maskClassName = props.maskClassName, + maskStyle = props.maskStyle, + afterOpenChange = props.afterOpenChange, + onClose = props.onClose, + onMouseEnter = props.onMouseEnter, + onMouseOver = props.onMouseOver, + onMouseLeave = props.onMouseLeave, + onClick = props.onClick, + onKeyDown = props.onKeyDown, + onKeyUp = props.onKeyUp; + // ================================ Refs ================================ + var panelRef = react.useRef(); + var sentinelStartRef = react.useRef(); + var sentinelEndRef = react.useRef(); + react.useImperativeHandle(ref, function () { + return panelRef.current; + }); + var onPanelKeyDown = function onPanelKeyDown(event) { + var keyCode = event.keyCode, + shiftKey = event.shiftKey; + switch (keyCode) { + // Tab active + case KeyCode/* default.TAB */.Z.TAB: + { + if (keyCode === KeyCode/* default.TAB */.Z.TAB) { + if (!shiftKey && document.activeElement === sentinelEndRef.current) { + var _sentinelStartRef$cur; + (_sentinelStartRef$cur = sentinelStartRef.current) === null || _sentinelStartRef$cur === void 0 ? void 0 : _sentinelStartRef$cur.focus({ + preventScroll: true + }); + } else if (shiftKey && document.activeElement === sentinelStartRef.current) { + var _sentinelEndRef$curre; + (_sentinelEndRef$curre = sentinelEndRef.current) === null || _sentinelEndRef$curre === void 0 ? void 0 : _sentinelEndRef$curre.focus({ + preventScroll: true + }); + } + } + break; + } + // Close + case KeyCode/* default.ESC */.Z.ESC: + { + if (onClose && keyboard) { + event.stopPropagation(); + onClose(event); + } + break; + } + } + }; + // ========================== Control =========================== + // Auto Focus + react.useEffect(function () { + if (open && autoFocus) { + var _panelRef$current; + (_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 ? void 0 : _panelRef$current.focus({ + preventScroll: true + }); + } + }, [open]); + // ============================ Push ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + pushed = _React$useState2[0], + setPushed = _React$useState2[1]; + var parentContext = react.useContext(context); + // Merge push distance + var pushConfig; + if (push === false) { + pushConfig = { + distance: 0 + }; + } else if (push === true) { + pushConfig = {}; + } else { + pushConfig = push || {}; + } + var pushDistance = (_ref = (_pushConfig$distance = (_pushConfig = pushConfig) === null || _pushConfig === void 0 ? void 0 : _pushConfig.distance) !== null && _pushConfig$distance !== void 0 ? _pushConfig$distance : parentContext === null || parentContext === void 0 ? void 0 : parentContext.pushDistance) !== null && _ref !== void 0 ? _ref : 180; + var mergedContext = react.useMemo(function () { + return { + pushDistance: pushDistance, + push: function push() { + setPushed(true); + }, + pull: function pull() { + setPushed(false); + } + }; + }, [pushDistance]); + // ========================= ScrollLock ========================= + // Tell parent to push + react.useEffect(function () { + if (open) { + var _parentContext$push; + parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$push = parentContext.push) === null || _parentContext$push === void 0 ? void 0 : _parentContext$push.call(parentContext); + } else { + var _parentContext$pull; + parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull = parentContext.pull) === null || _parentContext$pull === void 0 ? void 0 : _parentContext$pull.call(parentContext); + } + }, [open]); + // Clean up + react.useEffect(function () { + return function () { + var _parentContext$pull2; + parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull2 = parentContext.pull) === null || _parentContext$pull2 === void 0 ? void 0 : _parentContext$pull2.call(parentContext); + }; + }, []); + // ============================ Mask ============================ + var maskNode = mask && /*#__PURE__*/react.createElement(rc_motion_es/* default */.Z, (0,esm_extends/* default */.Z)({ + key: "mask" + }, maskMotion, { + visible: open + }), function (_ref2, maskRef) { + var motionMaskClassName = _ref2.className, + motionMaskStyle = _ref2.style; + return /*#__PURE__*/react.createElement("div", { + className: classnames_default()("".concat(prefixCls, "-mask"), motionMaskClassName, maskClassName), + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, motionMaskStyle), maskStyle), + onClick: maskClosable && open ? onClose : undefined, + ref: maskRef + }); + }); + // =========================== Panel ============================ + var motionProps = typeof motion === 'function' ? motion(placement) : motion; + var wrapperStyle = {}; + if (pushed && pushDistance) { + switch (placement) { + case 'top': + wrapperStyle.transform = "translateY(".concat(pushDistance, "px)"); + break; + case 'bottom': + wrapperStyle.transform = "translateY(".concat(-pushDistance, "px)"); + break; + case 'left': + wrapperStyle.transform = "translateX(".concat(pushDistance, "px)"); + break; + default: + wrapperStyle.transform = "translateX(".concat(-pushDistance, "px)"); + break; + } + } + if (placement === 'left' || placement === 'right') { + wrapperStyle.width = parseWidthHeight(width); + } else { + wrapperStyle.height = parseWidthHeight(height); + } + var eventHandlers = { + onMouseEnter: onMouseEnter, + onMouseOver: onMouseOver, + onMouseLeave: onMouseLeave, + onClick: onClick, + onKeyDown: onKeyDown, + onKeyUp: onKeyUp + }; + var panelNode = /*#__PURE__*/react.createElement(rc_motion_es/* default */.Z, (0,esm_extends/* default */.Z)({ + key: "panel" + }, motionProps, { + visible: open, + forceRender: forceRender, + onVisibleChanged: function onVisibleChanged(nextVisible) { + afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible); + }, + removeOnLeave: false, + leavedClassName: "".concat(prefixCls, "-content-wrapper-hidden") + }), function (_ref3, motionRef) { + var motionClassName = _ref3.className, + motionStyle = _ref3.style; + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classnames_default()("".concat(prefixCls, "-content-wrapper"), motionClassName), + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, wrapperStyle), motionStyle), contentWrapperStyle) + }, (0,pickAttrs/* default */.Z)(props, { + data: true + })), /*#__PURE__*/react.createElement(es_DrawerPanel, (0,esm_extends/* default */.Z)({ + containerRef: motionRef, + prefixCls: prefixCls, + className: className, + style: style + }, eventHandlers), children)); + }); + // =========================== Render =========================== + var containerStyle = (0,objectSpread2/* default */.Z)({}, rootStyle); + if (zIndex) { + containerStyle.zIndex = zIndex; + } + return /*#__PURE__*/react.createElement(context.Provider, { + value: mergedContext + }, /*#__PURE__*/react.createElement("div", { + className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(placement), rootClassName, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-open"), open), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-inline"), inline), _classNames)), + style: containerStyle, + tabIndex: -1, + ref: panelRef, + onKeyDown: onPanelKeyDown + }, maskNode, /*#__PURE__*/react.createElement("div", { + tabIndex: 0, + ref: sentinelStartRef, + style: sentinelStyle, + "aria-hidden": "true", + "data-sentinel": "start" + }), panelNode, /*#__PURE__*/react.createElement("div", { + tabIndex: 0, + ref: sentinelEndRef, + style: sentinelStyle, + "aria-hidden": "true", + "data-sentinel": "end" + }))); +} +var RefDrawerPopup = /*#__PURE__*/react.forwardRef(DrawerPopup); +if (false) {} +/* harmony default export */ var es_DrawerPopup = (RefDrawerPopup); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/Drawer.js + + + + + + + +var Drawer = function Drawer(props) { + var _props$open = props.open, + open = _props$open === void 0 ? false : _props$open, + _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-drawer' : _props$prefixCls, + _props$placement = props.placement, + placement = _props$placement === void 0 ? 'right' : _props$placement, + _props$autoFocus = props.autoFocus, + autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus, + _props$keyboard = props.keyboard, + keyboard = _props$keyboard === void 0 ? true : _props$keyboard, + _props$width = props.width, + width = _props$width === void 0 ? 378 : _props$width, + _props$mask = props.mask, + mask = _props$mask === void 0 ? true : _props$mask, + _props$maskClosable = props.maskClosable, + maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable, + getContainer = props.getContainer, + forceRender = props.forceRender, + afterOpenChange = props.afterOpenChange, + destroyOnClose = props.destroyOnClose, + onMouseEnter = props.onMouseEnter, + onMouseOver = props.onMouseOver, + onMouseLeave = props.onMouseLeave, + onClick = props.onClick, + onKeyDown = props.onKeyDown, + onKeyUp = props.onKeyUp; + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + animatedVisible = _React$useState2[0], + setAnimatedVisible = _React$useState2[1]; + // ============================= Warn ============================= + if (false) {} + // ============================= Open ============================= + var _React$useState3 = react.useState(false), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + mounted = _React$useState4[0], + setMounted = _React$useState4[1]; + (0,useLayoutEffect/* default */.Z)(function () { + setMounted(true); + }, []); + var mergedOpen = mounted ? open : false; + // ============================ Focus ============================= + var panelRef = react.useRef(); + var lastActiveRef = react.useRef(); + (0,useLayoutEffect/* default */.Z)(function () { + if (mergedOpen) { + lastActiveRef.current = document.activeElement; + } + }, [mergedOpen]); + // ============================= Open ============================= + var internalAfterOpenChange = function internalAfterOpenChange(nextVisible) { + var _panelRef$current; + setAnimatedVisible(nextVisible); + afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible); + if (!nextVisible && lastActiveRef.current && !((_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 ? void 0 : _panelRef$current.contains(lastActiveRef.current))) { + var _lastActiveRef$curren; + (_lastActiveRef$curren = lastActiveRef.current) === null || _lastActiveRef$curren === void 0 ? void 0 : _lastActiveRef$curren.focus({ + preventScroll: true + }); + } + }; + // ============================ Render ============================ + if (!forceRender && !animatedVisible && !mergedOpen && destroyOnClose) { + return null; + } + var eventHandlers = { + onMouseEnter: onMouseEnter, + onMouseOver: onMouseOver, + onMouseLeave: onMouseLeave, + onClick: onClick, + onKeyDown: onKeyDown, + onKeyUp: onKeyUp + }; + var drawerPopupProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + open: mergedOpen, + prefixCls: prefixCls, + placement: placement, + autoFocus: autoFocus, + keyboard: keyboard, + width: width, + mask: mask, + maskClosable: maskClosable, + inline: getContainer === false, + afterOpenChange: internalAfterOpenChange, + ref: panelRef + }, eventHandlers); + return /*#__PURE__*/react.createElement(es, { + open: mergedOpen || forceRender || animatedVisible, + autoDestroy: false, + getContainer: getContainer, + autoLock: mask && (mergedOpen || animatedVisible) + }, /*#__PURE__*/react.createElement(es_DrawerPopup, drawerPopupProps)); +}; +if (false) {} +/* harmony default export */ var es_Drawer = (Drawer); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/index.js +// export this package's api + +/* harmony default export */ var rc_drawer_es = (es_Drawer); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/motion.js +var motion = __webpack_require__(33603); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useClosable.js +var useClosable = __webpack_require__(69760); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/DrawerPanel.js + + + +const DrawerPanel_DrawerPanel = props => { + const { + prefixCls, + title, + footer, + extra, + closeIcon, + closable, + onClose, + headerStyle, + drawerStyle, + bodyStyle, + footerStyle, + children + } = props; + const customCloseIconRender = react.useCallback(icon => /*#__PURE__*/react.createElement("button", { + type: "button", + onClick: onClose, + "aria-label": "Close", + className: `${prefixCls}-close` + }, icon), [onClose]); + const [mergedClosable, mergedCloseIcon] = (0,useClosable/* default */.Z)(closable, closeIcon, customCloseIconRender, undefined, true); + const headerNode = react.useMemo(() => { + if (!title && !mergedClosable) { + return null; + } + return /*#__PURE__*/react.createElement("div", { + style: headerStyle, + className: classnames_default()(`${prefixCls}-header`, { + [`${prefixCls}-header-close-only`]: mergedClosable && !title && !extra + }) + }, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-header-title` + }, mergedCloseIcon, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-title` + }, title)), extra && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-extra` + }, extra)); + }, [mergedClosable, mergedCloseIcon, extra, headerStyle, prefixCls, title]); + const footerNode = react.useMemo(() => { + if (!footer) { + return null; + } + const footerClassName = `${prefixCls}-footer`; + return /*#__PURE__*/react.createElement("div", { + className: footerClassName, + style: footerStyle + }, footer); + }, [footer, footerStyle, prefixCls]); + return /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-wrapper-body`, + style: drawerStyle + }, headerNode, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-body`, + style: bodyStyle + }, children), footerNode); +}; +/* harmony default export */ var drawer_DrawerPanel = (DrawerPanel_DrawerPanel); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/style/motion.js +const genMotionStyle = token => { + const { + componentCls, + motionDurationSlow + } = token; + const sharedPanelMotion = { + '&-enter, &-appear, &-leave': { + '&-start': { + transition: 'none' + }, + '&-active': { + transition: `all ${motionDurationSlow}` + } + } + }; + return { + [componentCls]: { + // ======================== Mask ======================== + [`${componentCls}-mask-motion`]: { + '&-enter, &-appear, &-leave': { + '&-active': { + transition: `all ${motionDurationSlow}` + } + }, + '&-enter, &-appear': { + opacity: 0, + '&-active': { + opacity: 1 + } + }, + '&-leave': { + opacity: 1, + '&-active': { + opacity: 0 + } + } + }, + // ======================= Panel ======================== + [`${componentCls}-panel-motion`]: { + // Left + '&-left': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateX(-100%) !important' + }, + '&-active': { + transform: 'translateX(0)' + } + }, + '&-leave': { + transform: 'translateX(0)', + '&-active': { + transform: 'translateX(-100%)' + } + } + }], + // Right + '&-right': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateX(100%) !important' + }, + '&-active': { + transform: 'translateX(0)' + } + }, + '&-leave': { + transform: 'translateX(0)', + '&-active': { + transform: 'translateX(100%)' + } + } + }], + // Top + '&-top': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateY(-100%) !important' + }, + '&-active': { + transform: 'translateY(0)' + } + }, + '&-leave': { + transform: 'translateY(0)', + '&-active': { + transform: 'translateY(-100%)' + } + } + }], + // Bottom + '&-bottom': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateY(100%) !important' + }, + '&-active': { + transform: 'translateY(0)' + } + }, + '&-leave': { + transform: 'translateY(0)', + '&-active': { + transform: 'translateY(100%)' + } + } + }] + } + } + }; +}; +/* harmony default export */ var style_motion = (genMotionStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/style/index.js + + +// =============================== Base =============================== +const genDrawerStyle = token => { + const { + componentCls, + zIndexPopup, + colorBgMask, + colorBgElevated, + motionDurationSlow, + motionDurationMid, + padding, + paddingLG, + fontSizeLG, + lineHeightLG, + lineWidth, + lineType, + colorSplit, + marginSM, + colorIcon, + colorIconHover, + colorText, + fontWeightStrong, + footerPaddingBlock, + footerPaddingInline + } = token; + const wrapperCls = `${componentCls}-content-wrapper`; + return { + [componentCls]: { + position: 'fixed', + inset: 0, + zIndex: zIndexPopup, + pointerEvents: 'none', + '&-pure': { + position: 'relative', + background: colorBgElevated, + [`&${componentCls}-left`]: { + boxShadow: token.boxShadowDrawerLeft + }, + [`&${componentCls}-right`]: { + boxShadow: token.boxShadowDrawerRight + }, + [`&${componentCls}-top`]: { + boxShadow: token.boxShadowDrawerUp + }, + [`&${componentCls}-bottom`]: { + boxShadow: token.boxShadowDrawerDown + } + }, + '&-inline': { + position: 'absolute' + }, + // ====================== Mask ====================== + [`${componentCls}-mask`]: { + position: 'absolute', + inset: 0, + zIndex: zIndexPopup, + background: colorBgMask, + pointerEvents: 'auto' + }, + // ==================== Content ===================== + [wrapperCls]: { + position: 'absolute', + zIndex: zIndexPopup, + maxWidth: '100vw', + transition: `all ${motionDurationSlow}`, + '&-hidden': { + display: 'none' + } + }, + // Placement + [`&-left > ${wrapperCls}`]: { + top: 0, + bottom: 0, + left: { + _skip_check_: true, + value: 0 + }, + boxShadow: token.boxShadowDrawerLeft + }, + [`&-right > ${wrapperCls}`]: { + top: 0, + right: { + _skip_check_: true, + value: 0 + }, + bottom: 0, + boxShadow: token.boxShadowDrawerRight + }, + [`&-top > ${wrapperCls}`]: { + top: 0, + insetInline: 0, + boxShadow: token.boxShadowDrawerUp + }, + [`&-bottom > ${wrapperCls}`]: { + bottom: 0, + insetInline: 0, + boxShadow: token.boxShadowDrawerDown + }, + [`${componentCls}-content`]: { + width: '100%', + height: '100%', + overflow: 'auto', + background: colorBgElevated, + pointerEvents: 'auto' + }, + // ===================== Panel ====================== + [`${componentCls}-wrapper-body`]: { + display: 'flex', + flexDirection: 'column', + width: '100%', + height: '100%' + }, + // Header + [`${componentCls}-header`]: { + display: 'flex', + flex: 0, + alignItems: 'center', + padding: `${padding}px ${paddingLG}px`, + fontSize: fontSizeLG, + lineHeight: lineHeightLG, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`, + '&-title': { + display: 'flex', + flex: 1, + alignItems: 'center', + minWidth: 0, + minHeight: 0 + } + }, + [`${componentCls}-extra`]: { + flex: 'none' + }, + [`${componentCls}-close`]: { + display: 'inline-block', + marginInlineEnd: marginSM, + color: colorIcon, + fontWeight: fontWeightStrong, + fontSize: fontSizeLG, + fontStyle: 'normal', + lineHeight: 1, + textAlign: 'center', + textTransform: 'none', + textDecoration: 'none', + background: 'transparent', + border: 0, + outline: 0, + cursor: 'pointer', + transition: `color ${motionDurationMid}`, + textRendering: 'auto', + '&:focus, &:hover': { + color: colorIconHover, + textDecoration: 'none' + } + }, + [`${componentCls}-title`]: { + flex: 1, + margin: 0, + color: colorText, + fontWeight: token.fontWeightStrong, + fontSize: fontSizeLG, + lineHeight: lineHeightLG + }, + // Body + [`${componentCls}-body`]: { + flex: 1, + minWidth: 0, + minHeight: 0, + padding: paddingLG, + overflow: 'auto' + }, + // Footer + [`${componentCls}-footer`]: { + flexShrink: 0, + padding: `${footerPaddingBlock}px ${footerPaddingInline}px`, + borderTop: `${lineWidth}px ${lineType} ${colorSplit}` + }, + // ====================== RTL ======================= + '&-rtl': { + direction: 'rtl' + } + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var drawer_style = ((0,genComponentStyleHook/* default */.Z)('Drawer', token => { + const drawerToken = (0,statistic/* merge */.TS)(token, {}); + return [genDrawerStyle(drawerToken), style_motion(drawerToken)]; +}, token => ({ + zIndexPopup: token.zIndexPopupBase, + footerPaddingBlock: token.paddingXS, + footerPaddingInline: token.padding +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + +// CSSINJS + + +const SizeTypes = (/* unused pure expression or super */ null && (['default', 'large'])); +const defaultPushState = { + distance: 180 +}; +function drawer_Drawer(props) { + var _a; + const { + rootClassName, + width, + height, + size = 'default', + mask = true, + push = defaultPushState, + open, + afterOpenChange, + onClose, + prefixCls: customizePrefixCls, + getContainer: customizeGetContainer, + style, + className, + // Deprecated + visible, + afterVisibleChange + } = props, + rest = __rest(props, ["rootClassName", "width", "height", "size", "mask", "push", "open", "afterOpenChange", "onClose", "prefixCls", "getContainer", "style", "className", "visible", "afterVisibleChange"]); + const { + getPopupContainer, + getPrefixCls, + direction, + drawer + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('drawer', customizePrefixCls); + // Style + const [wrapSSR, hashId] = drawer_style(prefixCls); + const getContainer = + // 有可能为 false,所以不能直接判断 + customizeGetContainer === undefined && getPopupContainer ? () => getPopupContainer(document.body) : customizeGetContainer; + const drawerClassName = classnames_default()({ + 'no-mask': !mask, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, rootClassName, hashId); + // ========================== Warning =========================== + if (false) {} + // ============================ Size ============================ + const mergedWidth = react.useMemo(() => width !== null && width !== void 0 ? width : size === 'large' ? 736 : 378, [width, size]); + const mergedHeight = react.useMemo(() => height !== null && height !== void 0 ? height : size === 'large' ? 736 : 378, [height, size]); + // =========================== Motion =========================== + const maskMotion = { + motionName: (0,motion/* getTransitionName */.mL)(prefixCls, 'mask-motion'), + motionAppear: true, + motionEnter: true, + motionLeave: true, + motionDeadline: 500 + }; + const panelMotion = motionPlacement => ({ + motionName: (0,motion/* getTransitionName */.mL)(prefixCls, `panel-motion-${motionPlacement}`), + motionAppear: true, + motionEnter: true, + motionLeave: true, + motionDeadline: 500 + }); + // =========================== Render =========================== + return wrapSSR( /*#__PURE__*/react.createElement(Compact/* NoCompactStyle */.BR, null, /*#__PURE__*/react.createElement(form_context/* NoFormStyle */.Ux, { + status: true, + override: true + }, /*#__PURE__*/react.createElement(rc_drawer_es, Object.assign({ + prefixCls: prefixCls, + onClose: onClose, + maskMotion: maskMotion, + motion: panelMotion + }, rest, { + open: open !== null && open !== void 0 ? open : visible, + mask: mask, + push: push, + width: mergedWidth, + height: mergedHeight, + style: Object.assign(Object.assign({}, drawer === null || drawer === void 0 ? void 0 : drawer.style), style), + className: classnames_default()(drawer === null || drawer === void 0 ? void 0 : drawer.className, className), + rootClassName: drawerClassName, + getContainer: getContainer, + afterOpenChange: afterOpenChange !== null && afterOpenChange !== void 0 ? afterOpenChange : afterVisibleChange + }), /*#__PURE__*/react.createElement(drawer_DrawerPanel, Object.assign({ + prefixCls: prefixCls + }, rest, { + onClose: onClose + })))))); +} +if (false) {} +function PurePanel(_a) { + var { + prefixCls: customizePrefixCls, + style, + className, + placement = 'right' + } = _a, + restProps = __rest(_a, ["prefixCls", "style", "className", "placement"]); + const { + getPrefixCls + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('drawer', customizePrefixCls); + // Style + const [wrapSSR, hashId] = drawer_style(prefixCls); + return wrapSSR( /*#__PURE__*/react.createElement("div", { + className: classnames_default()(prefixCls, `${prefixCls}-pure`, `${prefixCls}-${placement}`, hashId, className), + style: style + }, /*#__PURE__*/react.createElement(drawer_DrawerPanel, Object.assign({ + prefixCls: prefixCls + }, restProps)))); +} +drawer_Drawer._InternalPanelDoNotUseOrYouWillBeFired = PurePanel; +/* harmony default export */ var drawer = (drawer_Drawer); + +/***/ }), + +/***/ 86738: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/popconfirm/index.js + 2 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ popconfirm; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js + 1 modules +var ExclamationCircleFilled = __webpack_require__(39291); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(92389); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(5663); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/popover/index.js +var popover = __webpack_require__(55241); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/ActionButton.js +var ActionButton = __webpack_require__(86743); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/getRenderPropValue.js +var getRenderPropValue = __webpack_require__(81643); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/button/button.js + 7 modules +var button_button = __webpack_require__(85432); +// EXTERNAL MODULE: ./node_modules/antd/es/locale/useLocale.js +var useLocale = __webpack_require__(10110); +// EXTERNAL MODULE: ./node_modules/antd/es/locale/en_US.js + 1 modules +var en_US = __webpack_require__(24457); +// EXTERNAL MODULE: ./node_modules/antd/es/popover/PurePanel.js +var PurePanel = __webpack_require__(66330); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +;// CONCATENATED MODULE: ./node_modules/antd/es/popconfirm/style/index.js + +// =============================== Base =============================== +const genBaseStyle = token => { + const { + componentCls, + iconCls, + antCls, + zIndexPopup, + colorText, + colorWarning, + marginXXS, + marginXS, + fontSize, + fontWeightStrong, + colorTextHeading + } = token; + return { + [componentCls]: { + zIndex: zIndexPopup, + [`&${antCls}-popover`]: { + fontSize + }, + [`${componentCls}-message`]: { + marginBottom: marginXS, + display: 'flex', + flexWrap: 'nowrap', + alignItems: 'start', + [`> ${componentCls}-message-icon ${iconCls}`]: { + color: colorWarning, + fontSize, + lineHeight: 1, + marginInlineEnd: marginXS + }, + [`${componentCls}-title`]: { + fontWeight: fontWeightStrong, + color: colorTextHeading, + '&:only-child': { + fontWeight: 'normal' + } + }, + [`${componentCls}-description`]: { + marginTop: marginXXS, + color: colorText + } + }, + [`${componentCls}-buttons`]: { + textAlign: 'end', + button: { + marginInlineStart: marginXS + } + } + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var popconfirm_style = ((0,genComponentStyleHook/* default */.Z)('Popconfirm', token => genBaseStyle(token), token => { + const { + zIndexPopupBase + } = token; + return { + zIndexPopup: zIndexPopupBase + 60 + }; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/popconfirm/PurePanel.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + +const Overlay = props => { + const { + prefixCls, + okButtonProps, + cancelButtonProps, + title, + description, + cancelText, + okText, + okType = 'primary', + icon = /*#__PURE__*/react.createElement(ExclamationCircleFilled/* default */.Z, null), + showCancel = true, + close, + onConfirm, + onCancel, + onPopupClick + } = props; + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const [contextLocale] = (0,useLocale/* default */.Z)('Popconfirm', en_US/* default.Popconfirm */.Z.Popconfirm); + const theTitle = (0,getRenderPropValue/* getRenderPropValue */.Z)(title); + const theDescription = (0,getRenderPropValue/* getRenderPropValue */.Z)(description); + return /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-inner-content`, + onClick: onPopupClick + }, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-message` + }, icon && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-message-icon` + }, icon), /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-message-text` + }, theTitle && /*#__PURE__*/react.createElement("div", { + className: classnames_default()(`${prefixCls}-title`) + }, theTitle), theDescription && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-description` + }, theDescription))), /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-buttons` + }, showCancel && /*#__PURE__*/react.createElement(es_button/* default */.ZP, Object.assign({ + onClick: onCancel, + size: "small" + }, cancelButtonProps), cancelText !== null && cancelText !== void 0 ? cancelText : contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.cancelText), /*#__PURE__*/react.createElement(ActionButton/* default */.Z, { + buttonProps: Object.assign(Object.assign({ + size: 'small' + }, (0,button_button/* convertLegacyProps */.n)(okType)), okButtonProps), + actionFn: onConfirm, + close: close, + prefixCls: getPrefixCls('btn'), + quitOnNullishReturnValue: true, + emitEvent: true + }, okText !== null && okText !== void 0 ? okText : contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.okText))); +}; +const PurePanel_PurePanel = props => { + const { + prefixCls: customizePrefixCls, + placement, + className, + style + } = props, + restProps = __rest(props, ["prefixCls", "placement", "className", "style"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('popconfirm', customizePrefixCls); + const [wrapSSR] = popconfirm_style(prefixCls); + return wrapSSR( /*#__PURE__*/react.createElement(PurePanel/* default */.ZP, { + placement: placement, + className: classnames_default()(prefixCls, className), + style: style, + content: /*#__PURE__*/react.createElement(Overlay, Object.assign({ + prefixCls: prefixCls + }, restProps)) + })); +}; +/* harmony default export */ var popconfirm_PurePanel = (PurePanel_PurePanel); +;// CONCATENATED MODULE: ./node_modules/antd/es/popconfirm/index.js +'use client'; + +var popconfirm_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + +const Popconfirm = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + placement = 'top', + trigger = 'click', + okType = 'primary', + icon = /*#__PURE__*/react.createElement(ExclamationCircleFilled/* default */.Z, null), + children, + overlayClassName, + onOpenChange, + onVisibleChange + } = props, + restProps = popconfirm_rest(props, ["prefixCls", "placement", "trigger", "okType", "icon", "children", "overlayClassName", "onOpenChange", "onVisibleChange"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const [open, setOpen] = (0,useMergedState/* default */.Z)(false, { + value: props.open, + defaultValue: props.defaultOpen + }); + // const isDestroyed = useDestroyed(); + const settingOpen = (value, e) => { + setOpen(value, true); + onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(value); + onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(value, e); + }; + const close = e => { + settingOpen(false, e); + }; + const onConfirm = e => { + var _a; + return (_a = props.onConfirm) === null || _a === void 0 ? void 0 : _a.call(undefined, e); + }; + const onCancel = e => { + var _a; + settingOpen(false, e); + (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(undefined, e); + }; + const onKeyDown = e => { + if (e.keyCode === KeyCode/* default.ESC */.Z.ESC && open) { + settingOpen(false, e); + } + }; + const onInternalOpenChange = value => { + const { + disabled = false + } = props; + if (disabled) { + return; + } + settingOpen(value); + }; + const prefixCls = getPrefixCls('popconfirm', customizePrefixCls); + const overlayClassNames = classnames_default()(prefixCls, overlayClassName); + const [wrapSSR] = popconfirm_style(prefixCls); + return wrapSSR( /*#__PURE__*/react.createElement(popover/* default */.Z, Object.assign({}, (0,omit/* default */.Z)(restProps, ['title']), { + trigger: trigger, + placement: placement, + onOpenChange: onInternalOpenChange, + open: open, + ref: ref, + overlayClassName: overlayClassNames, + content: /*#__PURE__*/react.createElement(Overlay, Object.assign({ + okType: okType, + icon: icon + }, props, { + prefixCls: prefixCls, + close: close, + onConfirm: onConfirm, + onCancel: onCancel + })), + "data-popover-inject": true + }), (0,reactNode/* cloneElement */.Tm)(children, { + onKeyDown: e => { + var _a, _b; + if ( /*#__PURE__*/react.isValidElement(children)) { + (_b = children === null || children === void 0 ? void 0 : (_a = children.props).onKeyDown) === null || _b === void 0 ? void 0 : _b.call(_a, e); + } + onKeyDown(e); + } + }))); +}); +// We don't care debug panel +/* istanbul ignore next */ +Popconfirm._InternalPanelDoNotUseOrYouWillBeFired = popconfirm_PurePanel; +if (false) {} +/* harmony default export */ var popconfirm = (Popconfirm); + +/***/ }), + +/***/ 66330: +/*!***************************************************!*\ + !*** ./node_modules/antd/es/popover/PurePanel.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony exports getOverlay, RawPurePanel */ +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 92419); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 20136); +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + +const getOverlay = (prefixCls, title, content) => { + if (!title && !content) return undefined; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(content))); +}; +const RawPurePanel = props => { + const { + hashId, + prefixCls, + className, + style, + placement = 'top', + title, + content, + children + } = props; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className), + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-arrow` + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_tooltip__WEBPACK_IMPORTED_MODULE_1__/* .Popup */ .G, Object.assign({}, props, { + className: hashId, + prefixCls: prefixCls + }), children || getOverlay(prefixCls, title, content))); +}; +const PurePanel = props => { + const { + prefixCls: customizePrefixCls + } = props, + restProps = __rest(props, ["prefixCls"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(RawPurePanel, Object.assign({}, restProps, { + prefixCls: prefixCls, + hashId: hashId + }))); +}; +/* harmony default export */ __webpack_exports__["ZP"] = (PurePanel); + +/***/ }), + +/***/ 55241: +/*!***********************************************!*\ + !*** ./node_modules/antd/es/popover/index.js ***! + \***********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/motion */ 33603); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ 83062); +/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PurePanel */ 66330); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 20136); +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +// CSSINJS + +const Overlay = _ref => { + let { + title, + content, + prefixCls + } = _ref; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(content))); +}; +const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + title, + content, + overlayClassName, + placement = 'top', + trigger = 'hover', + mouseEnterDelay = 0.1, + mouseLeaveDelay = 0.1, + overlayStyle = {} + } = props, + otherProps = __rest(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(prefixCls); + const rootPrefixCls = getPrefixCls(); + const overlayCls = classnames__WEBPACK_IMPORTED_MODULE_0___default()(overlayClassName, hashId); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, Object.assign({ + placement: placement, + trigger: trigger, + mouseEnterDelay: mouseEnterDelay, + mouseLeaveDelay: mouseLeaveDelay, + overlayStyle: overlayStyle + }, otherProps, { + prefixCls: prefixCls, + overlayClassName: overlayCls, + ref: ref, + overlay: title || content ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Overlay, { + prefixCls: prefixCls, + title: title, + content: content + }) : null, + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_6__/* .getTransitionName */ .mL)(rootPrefixCls, 'zoom-big', otherProps.transitionName), + "data-popover-inject": true + }))); +}); +if (false) {} +Popover._InternalPanelDoNotUseOrYouWillBeFired = _PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP; +/* harmony default export */ __webpack_exports__["Z"] = (Popover); + +/***/ }), + +/***/ 20136: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/popover/style/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 50438); +/* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/placementArrow */ 97414); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 8796); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/internal */ 45503); + + + + +const genBaseStyle = token => { + const { + componentCls, + popoverColor, + minWidth, + fontWeightStrong, + popoverPadding, + boxShadowSecondary, + colorTextHeading, + borderRadiusLG: borderRadius, + zIndexPopup, + marginXS, + colorBgElevated, + popoverBg + } = token; + return [{ + [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + position: 'absolute', + top: 0, + // use `left` to fix https://github.com/ant-design/ant-design/issues/39195 + left: { + _skip_check_: true, + value: 0 + }, + zIndex: zIndexPopup, + fontWeight: 'normal', + whiteSpace: 'normal', + textAlign: 'start', + cursor: 'auto', + userSelect: 'text', + transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, + '--antd-arrow-background-color': colorBgElevated, + '&-rtl': { + direction: 'rtl' + }, + '&-hidden': { + display: 'none' + }, + [`${componentCls}-content`]: { + position: 'relative' + }, + [`${componentCls}-inner`]: { + backgroundColor: popoverBg, + backgroundClip: 'padding-box', + borderRadius, + boxShadow: boxShadowSecondary, + padding: popoverPadding + }, + [`${componentCls}-title`]: { + minWidth, + marginBottom: marginXS, + color: colorTextHeading, + fontWeight: fontWeightStrong + }, + [`${componentCls}-inner-content`]: { + color: popoverColor + } + }) + }, + // Arrow Style + (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(token, { + colorBg: 'var(--antd-arrow-background-color)' + }), + // Pure Render + { + [`${componentCls}-pure`]: { + position: 'relative', + maxWidth: 'none', + margin: token.sizePopupArrow, + display: 'inline-block', + [`${componentCls}-content`]: { + display: 'inline-block' + } + } + }]; +}; +const genColorStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: _theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .PresetColors.map */ .i.map(colorKey => { + const lightColor = token[`${colorKey}6`]; + return { + [`&${componentCls}-${colorKey}`]: { + '--antd-arrow-background-color': lightColor, + [`${componentCls}-inner`]: { + backgroundColor: lightColor + }, + [`${componentCls}-arrow`]: { + background: 'transparent' + } + } + }; + }) + }; +}; +const genWireframeStyle = token => { + const { + componentCls, + lineWidth, + lineType, + colorSplit, + paddingSM, + controlHeight, + fontSize, + lineHeight, + padding + } = token; + const titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight); + const popoverTitlePaddingBlockTop = titlePaddingBlockDist / 2; + const popoverTitlePaddingBlockBottom = titlePaddingBlockDist / 2 - lineWidth; + const popoverPaddingHorizontal = padding; + return { + [componentCls]: { + [`${componentCls}-inner`]: { + padding: 0 + }, + [`${componentCls}-title`]: { + margin: 0, + padding: `${popoverTitlePaddingBlockTop}px ${popoverPaddingHorizontal}px ${popoverTitlePaddingBlockBottom}px`, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}` + }, + [`${componentCls}-inner-content`]: { + padding: `${paddingSM}px ${popoverPaddingHorizontal}px` + } + } + }; +}; +/* harmony default export */ __webpack_exports__["Z"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Popover', token => { + const { + colorBgElevated, + colorText, + wireframe + } = token; + const popoverToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_4__/* .merge */ .TS)(token, { + popoverPadding: 12, + popoverBg: colorBgElevated, + popoverColor: colorText + }); + return [genBaseStyle(popoverToken), genColorStyle(popoverToken), wireframe && genWireframeStyle(popoverToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* .initZoomMotion */ ._y)(popoverToken, 'zoom-big')]; +}, token => ({ + width: 177, + minWidth: 177, + zIndexPopup: token.zIndexPopupBase + 30 +}), { + deprecatedTokens: [['width', 'minWidth']] +})); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 47897: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/switch/index.js + 27 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_switch; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules +var LoadingOutlined = __webpack_require__(77322); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/extends.js +function _extends() { + _extends = Object.assign ? Object.assign.bind() : function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + return target; + }; + return _extends.apply(this, arguments); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/typeof.js +function _typeof(obj) { + "@babel/helpers - typeof"; + + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { + return typeof obj; + } : function (obj) { + return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }, _typeof(obj); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/toPrimitive.js + +function _toPrimitive(input, hint) { + if (_typeof(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (_typeof(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js + + +function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return _typeof(key) === "symbol" ? key : String(key); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/defineProperty.js + +function _defineProperty(obj, key, value) { + key = _toPropertyKey(key); + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + return obj; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +function _iterableToArrayLimit(arr, i) { + var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; + if (null != _i) { + var _s, + _e, + _x, + _r, + _arr = [], + _n = !0, + _d = !1; + try { + if (_x = (_i = _i.call(arr)).next, 0 === i) { + if (Object(_i) !== _i) return; + _n = !1; + } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); + } catch (err) { + _d = !0, _e = err; + } finally { + try { + if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; + } finally { + if (_d) throw _e; + } + } + return _arr; + } +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + return arr2; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js + +function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/slicedToArray.js + + + + +function _slicedToArray(arr, i) { + return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + return target; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + +function _objectWithoutProperties(source, excluded) { + if (source == null) return {}; + var target = _objectWithoutPropertiesLoose(source, excluded); + var key, i; + if (Object.getOwnPropertySymbols) { + var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + for (i = 0; i < sourceSymbolKeys.length; i++) { + key = sourceSymbolKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; + target[key] = source[key]; + } + } + return target; +} +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +function arrayWithHoles_arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +function iterableToArrayLimit_iterableToArrayLimit(arr, i) { + var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; + if (null != _i) { + var _s, + _e, + _x, + _r, + _arr = [], + _n = !0, + _d = !1; + try { + if (_x = (_i = _i.call(arr)).next, 0 === i) { + if (Object(_i) !== _i) return; + _n = !1; + } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); + } catch (err) { + _d = !0, _e = err; + } finally { + try { + if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; + } finally { + if (_d) throw _e; + } + } + return _arr; + } +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +function arrayLikeToArray_arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + return arr2; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js + +function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +function nonIterableRest_nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/slicedToArray.js + + + + +function slicedToArray_slicedToArray(arr, i) { + return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest(); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/hooks/useEvent.js + +function useEvent(callback) { + var fnRef = react.useRef(); + fnRef.current = callback; + var memoFn = react.useCallback(function () { + var _fnRef$current; + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args)); + }, []); + return memoFn; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/hooks/useLayoutEffect.js + + + +/** + * Wrap `React.useLayoutEffect` which will not throw warning message in test env + */ +var useInternalLayoutEffect = true && canUseDom() ? react.useLayoutEffect : react.useEffect; +var useLayoutEffect = function useLayoutEffect(callback, deps) { + var firstMountRef = react.useRef(true); + useInternalLayoutEffect(function () { + return callback(firstMountRef.current); + }, deps); + + // We tell react that first mount has passed + useInternalLayoutEffect(function () { + firstMountRef.current = false; + return function () { + firstMountRef.current = true; + }; + }, []); +}; +var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) { + useLayoutEffect(function (firstMount) { + if (!firstMount) { + return callback(); + } + }, deps); +}; +/* harmony default export */ var hooks_useLayoutEffect = ((/* unused pure expression or super */ null && (useLayoutEffect))); +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/hooks/useState.js + + +/** + * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed. + * We do not make this auto is to avoid real memory leak. + * Developer should confirm it's safe to ignore themselves. + */ +function useSafeState(defaultValue) { + var destroyRef = react.useRef(false); + var _React$useState = react.useState(defaultValue), + _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + react.useEffect(function () { + destroyRef.current = false; + return function () { + destroyRef.current = true; + }; + }, []); + function safeSetState(updater, ignoreDestroy) { + if (ignoreDestroy && destroyRef.current) { + return; + } + setValue(updater); + } + return [value, safeSetState]; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/hooks/useMergedState.js + + + + +/** We only think `undefined` is empty */ +function hasValue(value) { + return value !== undefined; +} + +/** + * Similar to `useState` but will use props value if provided. + * Note that internal use rc-util `useState` hook. + */ +function useMergedState(defaultStateValue, option) { + var _ref = option || {}, + defaultValue = _ref.defaultValue, + value = _ref.value, + onChange = _ref.onChange, + postState = _ref.postState; + + // ======================= Init ======================= + var _useState = useSafeState(function () { + if (hasValue(value)) { + return value; + } else if (hasValue(defaultValue)) { + return typeof defaultValue === 'function' ? defaultValue() : defaultValue; + } else { + return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue; + } + }), + _useState2 = slicedToArray_slicedToArray(_useState, 2), + innerValue = _useState2[0], + setInnerValue = _useState2[1]; + var mergedValue = value !== undefined ? value : innerValue; + var postMergedValue = postState ? postState(mergedValue) : mergedValue; + + // ====================== Change ====================== + var onChangeFn = useEvent(onChange); + var _useState3 = useSafeState([mergedValue]), + _useState4 = slicedToArray_slicedToArray(_useState3, 2), + prevValue = _useState4[0], + setPrevValue = _useState4[1]; + useLayoutUpdateEffect(function () { + var prev = prevValue[0]; + if (innerValue !== prev) { + onChangeFn(innerValue, prev); + } + }, [prevValue]); + + // Sync value back to `undefined` when it from control to un-control + useLayoutUpdateEffect(function () { + if (!hasValue(value)) { + setInnerValue(value); + } + }, [value]); + + // ====================== Update ====================== + var triggerChange = useEvent(function (updater, ignoreDestroy) { + setInnerValue(updater, ignoreDestroy); + setPrevValue([mergedValue], ignoreDestroy); + }); + return [postMergedValue, triggerChange]; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/KeyCode.js +/** + * @ignore + * some key-codes definition and utils from closure-library + * @author yiminghe@gmail.com + */ + +var KeyCode = { + /** + * MAC_ENTER + */ + MAC_ENTER: 3, + /** + * BACKSPACE + */ + BACKSPACE: 8, + /** + * TAB + */ + TAB: 9, + /** + * NUMLOCK on FF/Safari Mac + */ + NUM_CENTER: 12, + // NUMLOCK on FF/Safari Mac + /** + * ENTER + */ + ENTER: 13, + /** + * SHIFT + */ + SHIFT: 16, + /** + * CTRL + */ + CTRL: 17, + /** + * ALT + */ + ALT: 18, + /** + * PAUSE + */ + PAUSE: 19, + /** + * CAPS_LOCK + */ + CAPS_LOCK: 20, + /** + * ESC + */ + ESC: 27, + /** + * SPACE + */ + SPACE: 32, + /** + * PAGE_UP + */ + PAGE_UP: 33, + // also NUM_NORTH_EAST + /** + * PAGE_DOWN + */ + PAGE_DOWN: 34, + // also NUM_SOUTH_EAST + /** + * END + */ + END: 35, + // also NUM_SOUTH_WEST + /** + * HOME + */ + HOME: 36, + // also NUM_NORTH_WEST + /** + * LEFT + */ + LEFT: 37, + // also NUM_WEST + /** + * UP + */ + UP: 38, + // also NUM_NORTH + /** + * RIGHT + */ + RIGHT: 39, + // also NUM_EAST + /** + * DOWN + */ + DOWN: 40, + // also NUM_SOUTH + /** + * PRINT_SCREEN + */ + PRINT_SCREEN: 44, + /** + * INSERT + */ + INSERT: 45, + // also NUM_INSERT + /** + * DELETE + */ + DELETE: 46, + // also NUM_DELETE + /** + * ZERO + */ + ZERO: 48, + /** + * ONE + */ + ONE: 49, + /** + * TWO + */ + TWO: 50, + /** + * THREE + */ + THREE: 51, + /** + * FOUR + */ + FOUR: 52, + /** + * FIVE + */ + FIVE: 53, + /** + * SIX + */ + SIX: 54, + /** + * SEVEN + */ + SEVEN: 55, + /** + * EIGHT + */ + EIGHT: 56, + /** + * NINE + */ + NINE: 57, + /** + * QUESTION_MARK + */ + QUESTION_MARK: 63, + // needs localization + /** + * A + */ + A: 65, + /** + * B + */ + B: 66, + /** + * C + */ + C: 67, + /** + * D + */ + D: 68, + /** + * E + */ + E: 69, + /** + * F + */ + F: 70, + /** + * G + */ + G: 71, + /** + * H + */ + H: 72, + /** + * I + */ + I: 73, + /** + * J + */ + J: 74, + /** + * K + */ + K: 75, + /** + * L + */ + L: 76, + /** + * M + */ + M: 77, + /** + * N + */ + N: 78, + /** + * O + */ + O: 79, + /** + * P + */ + P: 80, + /** + * Q + */ + Q: 81, + /** + * R + */ + R: 82, + /** + * S + */ + S: 83, + /** + * T + */ + T: 84, + /** + * U + */ + U: 85, + /** + * V + */ + V: 86, + /** + * W + */ + W: 87, + /** + * X + */ + X: 88, + /** + * Y + */ + Y: 89, + /** + * Z + */ + Z: 90, + /** + * META + */ + META: 91, + // WIN_KEY_LEFT + /** + * WIN_KEY_RIGHT + */ + WIN_KEY_RIGHT: 92, + /** + * CONTEXT_MENU + */ + CONTEXT_MENU: 93, + /** + * NUM_ZERO + */ + NUM_ZERO: 96, + /** + * NUM_ONE + */ + NUM_ONE: 97, + /** + * NUM_TWO + */ + NUM_TWO: 98, + /** + * NUM_THREE + */ + NUM_THREE: 99, + /** + * NUM_FOUR + */ + NUM_FOUR: 100, + /** + * NUM_FIVE + */ + NUM_FIVE: 101, + /** + * NUM_SIX + */ + NUM_SIX: 102, + /** + * NUM_SEVEN + */ + NUM_SEVEN: 103, + /** + * NUM_EIGHT + */ + NUM_EIGHT: 104, + /** + * NUM_NINE + */ + NUM_NINE: 105, + /** + * NUM_MULTIPLY + */ + NUM_MULTIPLY: 106, + /** + * NUM_PLUS + */ + NUM_PLUS: 107, + /** + * NUM_MINUS + */ + NUM_MINUS: 109, + /** + * NUM_PERIOD + */ + NUM_PERIOD: 110, + /** + * NUM_DIVISION + */ + NUM_DIVISION: 111, + /** + * F1 + */ + F1: 112, + /** + * F2 + */ + F2: 113, + /** + * F3 + */ + F3: 114, + /** + * F4 + */ + F4: 115, + /** + * F5 + */ + F5: 116, + /** + * F6 + */ + F6: 117, + /** + * F7 + */ + F7: 118, + /** + * F8 + */ + F8: 119, + /** + * F9 + */ + F9: 120, + /** + * F10 + */ + F10: 121, + /** + * F11 + */ + F11: 122, + /** + * F12 + */ + F12: 123, + /** + * NUMLOCK + */ + NUMLOCK: 144, + /** + * SEMICOLON + */ + SEMICOLON: 186, + // needs localization + /** + * DASH + */ + DASH: 189, + // needs localization + /** + * EQUALS + */ + EQUALS: 187, + // needs localization + /** + * COMMA + */ + COMMA: 188, + // needs localization + /** + * PERIOD + */ + PERIOD: 190, + // needs localization + /** + * SLASH + */ + SLASH: 191, + // needs localization + /** + * APOSTROPHE + */ + APOSTROPHE: 192, + // needs localization + /** + * SINGLE_QUOTE + */ + SINGLE_QUOTE: 222, + // needs localization + /** + * OPEN_SQUARE_BRACKET + */ + OPEN_SQUARE_BRACKET: 219, + // needs localization + /** + * BACKSLASH + */ + BACKSLASH: 220, + // needs localization + /** + * CLOSE_SQUARE_BRACKET + */ + CLOSE_SQUARE_BRACKET: 221, + // needs localization + /** + * WIN_KEY + */ + WIN_KEY: 224, + /** + * MAC_FF_META + */ + MAC_FF_META: 224, + // Firefox (Gecko) fires this for the meta key instead of 91 + /** + * WIN_IME + */ + WIN_IME: 229, + // ======================== Function ======================== + /** + * whether text and modified key is entered at the same time. + */ + isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) { + var keyCode = e.keyCode; + if (e.altKey && !e.ctrlKey || e.metaKey || + // Function keys don't generate text + keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) { + return false; + } + + // The following keys are quite harmless, even in combination with + // CTRL, ALT or SHIFT. + switch (keyCode) { + case KeyCode.ALT: + case KeyCode.CAPS_LOCK: + case KeyCode.CONTEXT_MENU: + case KeyCode.CTRL: + case KeyCode.DOWN: + case KeyCode.END: + case KeyCode.ESC: + case KeyCode.HOME: + case KeyCode.INSERT: + case KeyCode.LEFT: + case KeyCode.MAC_FF_META: + case KeyCode.META: + case KeyCode.NUMLOCK: + case KeyCode.NUM_CENTER: + case KeyCode.PAGE_DOWN: + case KeyCode.PAGE_UP: + case KeyCode.PAUSE: + case KeyCode.PRINT_SCREEN: + case KeyCode.RIGHT: + case KeyCode.SHIFT: + case KeyCode.UP: + case KeyCode.WIN_KEY: + case KeyCode.WIN_KEY_RIGHT: + return false; + default: + return true; + } + }, + /** + * whether character is entered. + */ + isCharacterKey: function isCharacterKey(keyCode) { + if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) { + return true; + } + if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) { + return true; + } + if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) { + return true; + } + + // Safari sends zero key code for non-latin characters. + if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) { + return true; + } + switch (keyCode) { + case KeyCode.SPACE: + case KeyCode.QUESTION_MARK: + case KeyCode.NUM_PLUS: + case KeyCode.NUM_MINUS: + case KeyCode.NUM_PERIOD: + case KeyCode.NUM_DIVISION: + case KeyCode.SEMICOLON: + case KeyCode.DASH: + case KeyCode.EQUALS: + case KeyCode.COMMA: + case KeyCode.PERIOD: + case KeyCode.SLASH: + case KeyCode.APOSTROPHE: + case KeyCode.SINGLE_QUOTE: + case KeyCode.OPEN_SQUARE_BRACKET: + case KeyCode.BACKSLASH: + case KeyCode.CLOSE_SQUARE_BRACKET: + return true; + default: + return false; + } + } +}; +/* harmony default export */ var es_KeyCode = (KeyCode); +;// CONCATENATED MODULE: ./node_modules/rc-switch/es/index.js + + + + +var _excluded = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"]; + + + + +var Switch = /*#__PURE__*/react.forwardRef(function (_ref, ref) { + var _classNames; + var _ref$prefixCls = _ref.prefixCls, + prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls, + className = _ref.className, + checked = _ref.checked, + defaultChecked = _ref.defaultChecked, + disabled = _ref.disabled, + loadingIcon = _ref.loadingIcon, + checkedChildren = _ref.checkedChildren, + unCheckedChildren = _ref.unCheckedChildren, + onClick = _ref.onClick, + onChange = _ref.onChange, + onKeyDown = _ref.onKeyDown, + restProps = _objectWithoutProperties(_ref, _excluded); + var _useMergedState = useMergedState(false, { + value: checked, + defaultValue: defaultChecked + }), + _useMergedState2 = _slicedToArray(_useMergedState, 2), + innerChecked = _useMergedState2[0], + setInnerChecked = _useMergedState2[1]; + function triggerChange(newChecked, event) { + var mergedChecked = innerChecked; + if (!disabled) { + mergedChecked = newChecked; + setInnerChecked(mergedChecked); + onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event); + } + return mergedChecked; + } + function onInternalKeyDown(e) { + if (e.which === es_KeyCode.LEFT) { + triggerChange(false, e); + } else if (e.which === es_KeyCode.RIGHT) { + triggerChange(true, e); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e); + } + function onInternalClick(e) { + var ret = triggerChange(!innerChecked, e); + // [Legacy] trigger onClick with value + onClick === null || onClick === void 0 ? void 0 : onClick(ret, e); + } + var switchClassName = classnames_default()(prefixCls, className, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-checked"), innerChecked), _defineProperty(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react.createElement("button", _extends({}, restProps, { + type: "button", + role: "switch", + "aria-checked": innerChecked, + disabled: disabled, + className: switchClassName, + ref: ref, + onKeyDown: onInternalKeyDown, + onClick: onInternalClick + }), loadingIcon, /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-inner") + }, /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-inner-checked") + }, checkedChildren), /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-inner-unchecked") + }, unCheckedChildren))); +}); +Switch.displayName = 'Switch'; +/* harmony default export */ var es = (Switch); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/wave/index.js + 4 modules +var wave = __webpack_require__(45353); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/@ctrl/tinycolor/dist/module/index.js +var dist_module = __webpack_require__(10274); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/switch/style/index.js + + + +const genSwitchSmallStyle = token => { + const { + componentCls + } = token; + const switchInnerCls = `${componentCls}-inner`; + return { + [componentCls]: { + [`&${componentCls}-small`]: { + minWidth: token.switchMinWidthSM, + height: token.switchHeightSM, + lineHeight: `${token.switchHeightSM}px`, + [`${componentCls}-inner`]: { + paddingInlineStart: token.switchInnerMarginMaxSM, + paddingInlineEnd: token.switchInnerMarginMinSM, + [`${switchInnerCls}-checked`]: { + marginInlineStart: `calc(-100% + ${token.switchPinSizeSM + token.switchPadding * 2}px - ${token.switchInnerMarginMaxSM * 2}px)`, + marginInlineEnd: `calc(100% - ${token.switchPinSizeSM + token.switchPadding * 2}px + ${token.switchInnerMarginMaxSM * 2}px)` + }, + [`${switchInnerCls}-unchecked`]: { + marginTop: -token.switchHeightSM, + marginInlineStart: 0, + marginInlineEnd: 0 + } + }, + [`${componentCls}-handle`]: { + width: token.switchPinSizeSM, + height: token.switchPinSizeSM + }, + [`${componentCls}-loading-icon`]: { + top: (token.switchPinSizeSM - token.switchLoadingIconSize) / 2, + fontSize: token.switchLoadingIconSize + }, + [`&${componentCls}-checked`]: { + [`${componentCls}-inner`]: { + paddingInlineStart: token.switchInnerMarginMinSM, + paddingInlineEnd: token.switchInnerMarginMaxSM, + [`${switchInnerCls}-checked`]: { + marginInlineStart: 0, + marginInlineEnd: 0 + }, + [`${switchInnerCls}-unchecked`]: { + marginInlineStart: `calc(100% - ${token.switchPinSizeSM + token.switchPadding * 2}px + ${token.switchInnerMarginMaxSM * 2}px)`, + marginInlineEnd: `calc(-100% + ${token.switchPinSizeSM + token.switchPadding * 2}px - ${token.switchInnerMarginMaxSM * 2}px)` + } + }, + [`${componentCls}-handle`]: { + insetInlineStart: `calc(100% - ${token.switchPinSizeSM + token.switchPadding}px)` + } + }, + [`&:not(${componentCls}-disabled):active`]: { + [`&:not(${componentCls}-checked) ${switchInnerCls}`]: { + [`${switchInnerCls}-unchecked`]: { + marginInlineStart: token.marginXXS / 2, + marginInlineEnd: -token.marginXXS / 2 + } + }, + [`&${componentCls}-checked ${switchInnerCls}`]: { + [`${switchInnerCls}-checked`]: { + marginInlineStart: -token.marginXXS / 2, + marginInlineEnd: token.marginXXS / 2 + } + } + } + } + } + }; +}; +const genSwitchLoadingStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: { + [`${componentCls}-loading-icon${token.iconCls}`]: { + position: 'relative', + top: (token.switchPinSize - token.fontSize) / 2, + color: token.switchLoadingIconColor, + verticalAlign: 'top' + }, + [`&${componentCls}-checked ${componentCls}-loading-icon`]: { + color: token.switchColor + } + } + }; +}; +const genSwitchHandleStyle = token => { + const { + componentCls, + motion + } = token; + const switchHandleCls = `${componentCls}-handle`; + return { + [componentCls]: { + [switchHandleCls]: { + position: 'absolute', + top: token.switchPadding, + insetInlineStart: token.switchPadding, + width: token.switchPinSize, + height: token.switchPinSize, + transition: `all ${token.switchDuration} ease-in-out`, + '&::before': { + position: 'absolute', + top: 0, + insetInlineEnd: 0, + bottom: 0, + insetInlineStart: 0, + backgroundColor: token.colorWhite, + borderRadius: token.switchPinSize / 2, + boxShadow: token.switchHandleShadow, + transition: `all ${token.switchDuration} ease-in-out`, + content: '""' + } + }, + [`&${componentCls}-checked ${switchHandleCls}`]: { + insetInlineStart: `calc(100% - ${token.switchPinSize + token.switchPadding}px)` + }, + [`&:not(${componentCls}-disabled):active`]: motion ? { + [`${switchHandleCls}::before`]: { + insetInlineEnd: token.switchHandleActiveInset, + insetInlineStart: 0 + }, + [`&${componentCls}-checked ${switchHandleCls}::before`]: { + insetInlineEnd: 0, + insetInlineStart: token.switchHandleActiveInset + } + } : /* istanbul ignore next */ + {} + } + }; +}; +const genSwitchInnerStyle = token => { + const { + componentCls + } = token; + const switchInnerCls = `${componentCls}-inner`; + return { + [componentCls]: { + [switchInnerCls]: { + display: 'block', + overflow: 'hidden', + borderRadius: 100, + height: '100%', + paddingInlineStart: token.switchInnerMarginMax, + paddingInlineEnd: token.switchInnerMarginMin, + transition: `padding-inline-start ${token.switchDuration} ease-in-out, padding-inline-end ${token.switchDuration} ease-in-out`, + [`${switchInnerCls}-checked, ${switchInnerCls}-unchecked`]: { + display: 'block', + color: token.colorTextLightSolid, + fontSize: token.fontSizeSM, + transition: `margin-inline-start ${token.switchDuration} ease-in-out, margin-inline-end ${token.switchDuration} ease-in-out`, + pointerEvents: 'none' + }, + [`${switchInnerCls}-checked`]: { + marginInlineStart: `calc(-100% + ${token.switchPinSize + token.switchPadding * 2}px - ${token.switchInnerMarginMax * 2}px)`, + marginInlineEnd: `calc(100% - ${token.switchPinSize + token.switchPadding * 2}px + ${token.switchInnerMarginMax * 2}px)` + }, + [`${switchInnerCls}-unchecked`]: { + marginTop: -token.switchHeight, + marginInlineStart: 0, + marginInlineEnd: 0 + } + }, + [`&${componentCls}-checked ${switchInnerCls}`]: { + paddingInlineStart: token.switchInnerMarginMin, + paddingInlineEnd: token.switchInnerMarginMax, + [`${switchInnerCls}-checked`]: { + marginInlineStart: 0, + marginInlineEnd: 0 + }, + [`${switchInnerCls}-unchecked`]: { + marginInlineStart: `calc(100% - ${token.switchPinSize + token.switchPadding * 2}px + ${token.switchInnerMarginMax * 2}px)`, + marginInlineEnd: `calc(-100% + ${token.switchPinSize + token.switchPadding * 2}px - ${token.switchInnerMarginMax * 2}px)` + } + }, + [`&:not(${componentCls}-disabled):active`]: { + [`&:not(${componentCls}-checked) ${switchInnerCls}`]: { + [`${switchInnerCls}-unchecked`]: { + marginInlineStart: token.switchPadding * 2, + marginInlineEnd: -token.switchPadding * 2 + } + }, + [`&${componentCls}-checked ${switchInnerCls}`]: { + [`${switchInnerCls}-checked`]: { + marginInlineStart: -token.switchPadding * 2, + marginInlineEnd: token.switchPadding * 2 + } + } + } + } + }; +}; +const genSwitchStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + position: 'relative', + display: 'inline-block', + boxSizing: 'border-box', + minWidth: token.switchMinWidth, + height: token.switchHeight, + lineHeight: `${token.switchHeight}px`, + verticalAlign: 'middle', + background: token.colorTextQuaternary, + border: '0', + borderRadius: 100, + cursor: 'pointer', + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [`&:hover:not(${componentCls}-disabled)`]: { + background: token.colorTextTertiary + } + }), (0,style/* genFocusStyle */.Qy)(token)), { + [`&${componentCls}-checked`]: { + background: token.switchColor, + [`&:hover:not(${componentCls}-disabled)`]: { + background: token.colorPrimaryHover + } + }, + [`&${componentCls}-loading, &${componentCls}-disabled`]: { + cursor: 'not-allowed', + opacity: token.switchDisabledOpacity, + '*': { + boxShadow: 'none', + cursor: 'not-allowed' + } + }, + // rtl style + [`&${componentCls}-rtl`]: { + direction: 'rtl' + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var switch_style = ((0,genComponentStyleHook/* default */.Z)('Switch', token => { + const switchHeight = token.fontSize * token.lineHeight; + const switchHeightSM = token.controlHeight / 2; + const switchPadding = 2; // This is magic + const switchPinSize = switchHeight - switchPadding * 2; + const switchPinSizeSM = switchHeightSM - switchPadding * 2; + const switchToken = (0,statistic/* merge */.TS)(token, { + switchMinWidth: switchPinSize * 2 + switchPadding * 4, + switchHeight, + switchDuration: token.motionDurationMid, + switchColor: token.colorPrimary, + switchDisabledOpacity: token.opacityLoading, + switchInnerMarginMin: switchPinSize / 2, + switchInnerMarginMax: switchPinSize + switchPadding + switchPadding * 2, + switchPadding, + switchPinSize, + switchBg: token.colorBgContainer, + switchMinWidthSM: switchPinSizeSM * 2 + switchPadding * 2, + switchHeightSM, + switchInnerMarginMinSM: switchPinSizeSM / 2, + switchInnerMarginMaxSM: switchPinSizeSM + switchPadding + switchPadding * 2, + switchPinSizeSM, + switchHandleShadow: `0 2px 4px 0 ${new dist_module/* TinyColor */.C('#00230b').setAlpha(0.2).toRgbString()}`, + switchLoadingIconSize: token.fontSizeIcon * 0.75, + switchLoadingIconColor: `rgba(0, 0, 0, ${token.opacityLoading})`, + switchHandleActiveInset: '-30%' + }); + return [genSwitchStyle(switchToken), + // inner style + genSwitchInnerStyle(switchToken), + // handle style + genSwitchHandleStyle(switchToken), + // loading style + genSwitchLoadingStyle(switchToken), + // small style + genSwitchSmallStyle(switchToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/switch/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const switch_Switch = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + size: customizeSize, + disabled: customDisabled, + loading, + className, + rootClassName, + style + } = props, + restProps = __rest(props, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style"]); + false ? 0 : void 0; + const { + getPrefixCls, + direction, + switch: SWITCH + } = react.useContext(context/* ConfigContext */.E_); + // ===================== Disabled ===================== + const disabled = react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading; + const prefixCls = getPrefixCls('switch', customizePrefixCls); + const loadingIcon = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-handle` + }, loading && /*#__PURE__*/react.createElement(LoadingOutlined/* default */.Z, { + className: `${prefixCls}-loading-icon` + })); + // Style + const [wrapSSR, hashId] = switch_style(prefixCls); + const mergedSize = (0,useSize/* default */.Z)(customizeSize); + const classes = classnames_default()(SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.className, { + [`${prefixCls}-small`]: mergedSize === 'small', + [`${prefixCls}-loading`]: loading, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(wave/* default */.Z, null, /*#__PURE__*/react.createElement(es, Object.assign({}, restProps, { + prefixCls: prefixCls, + className: classes, + style: mergedStyle, + disabled: mergedDisabled, + ref: ref, + loadingIcon: loadingIcon + })))); +}); +switch_Switch.__ANT_SWITCH = true; +if (false) {} +/* harmony default export */ var es_switch = (switch_Switch); + +/***/ }), + +/***/ 58971: +/*!*************************************************!*\ + !*** ./node_modules/store/dist/store.legacy.js ***! + \*************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var engine = __webpack_require__(/*! ../src/store-engine */ 62195) + +var storages = __webpack_require__(/*! ../storages/all */ 39015) +var plugins = [__webpack_require__(/*! ../plugins/json2 */ 19257)] + +module.exports = engine.createStore(storages, plugins) + + +/***/ }), + +/***/ 19257: +/*!*********************************************!*\ + !*** ./node_modules/store/plugins/json2.js ***! + \*********************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = json2Plugin + +function json2Plugin() { + __webpack_require__(/*! ./lib/json2 */ 55703) + return {} +} + + +/***/ }), + +/***/ 55703: +/*!*************************************************!*\ + !*** ./node_modules/store/plugins/lib/json2.js ***! + \*************************************************/ +/***/ (function() { + +/* eslint-disable */ + +// json2.js +// 2016-10-28 +// Public Domain. +// NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. +// See http://www.JSON.org/js.html +// This code should be minified before deployment. +// See http://javascript.crockford.com/jsmin.html + +// USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO +// NOT CONTROL. + +// This file creates a global JSON object containing two methods: stringify +// and parse. This file provides the ES5 JSON capability to ES3 systems. +// If a project might run on IE8 or earlier, then this file should be included. +// This file does nothing on ES5 systems. + +// JSON.stringify(value, replacer, space) +// value any JavaScript value, usually an object or array. +// replacer an optional parameter that determines how object +// values are stringified for objects. It can be a +// function or an array of strings. +// space an optional parameter that specifies the indentation +// of nested structures. If it is omitted, the text will +// be packed without extra whitespace. If it is a number, +// it will specify the number of spaces to indent at each +// level. If it is a string (such as "\t" or " "), +// it contains the characters used to indent at each level. +// This method produces a JSON text from a JavaScript value. +// When an object value is found, if the object contains a toJSON +// method, its toJSON method will be called and the result will be +// stringified. A toJSON method does not serialize: it returns the +// value represented by the name/value pair that should be serialized, +// or undefined if nothing should be serialized. The toJSON method +// will be passed the key associated with the value, and this will be +// bound to the value. + +// For example, this would serialize Dates as ISO strings. + +// Date.prototype.toJSON = function (key) { +// function f(n) { +// // Format integers to have at least two digits. +// return (n < 10) +// ? "0" + n +// : n; +// } +// return this.getUTCFullYear() + "-" + +// f(this.getUTCMonth() + 1) + "-" + +// f(this.getUTCDate()) + "T" + +// f(this.getUTCHours()) + ":" + +// f(this.getUTCMinutes()) + ":" + +// f(this.getUTCSeconds()) + "Z"; +// }; + +// You can provide an optional replacer method. It will be passed the +// key and value of each member, with this bound to the containing +// object. The value that is returned from your method will be +// serialized. If your method returns undefined, then the member will +// be excluded from the serialization. + +// If the replacer parameter is an array of strings, then it will be +// used to select the members to be serialized. It filters the results +// such that only members with keys listed in the replacer array are +// stringified. + +// Values that do not have JSON representations, such as undefined or +// functions, will not be serialized. Such values in objects will be +// dropped; in arrays they will be replaced with null. You can use +// a replacer function to replace those with JSON values. + +// JSON.stringify(undefined) returns undefined. + +// The optional space parameter produces a stringification of the +// value that is filled with line breaks and indentation to make it +// easier to read. + +// If the space parameter is a non-empty string, then that string will +// be used for indentation. If the space parameter is a number, then +// the indentation will be that many spaces. + +// Example: + +// text = JSON.stringify(["e", {pluribus: "unum"}]); +// // text is '["e",{"pluribus":"unum"}]' + +// text = JSON.stringify(["e", {pluribus: "unum"}], null, "\t"); +// // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]' + +// text = JSON.stringify([new Date()], function (key, value) { +// return this[key] instanceof Date +// ? "Date(" + this[key] + ")" +// : value; +// }); +// // text is '["Date(---current time---)"]' + +// JSON.parse(text, reviver) +// This method parses a JSON text to produce an object or array. +// It can throw a SyntaxError exception. + +// The optional reviver parameter is a function that can filter and +// transform the results. It receives each of the keys and values, +// and its return value is used instead of the original value. +// If it returns what it received, then the structure is not modified. +// If it returns undefined then the member is deleted. + +// Example: + +// // Parse the text. Values that look like ISO date strings will +// // be converted to Date objects. + +// myData = JSON.parse(text, function (key, value) { +// var a; +// if (typeof value === "string") { +// a = +// /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value); +// if (a) { +// return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4], +// +a[5], +a[6])); +// } +// } +// return value; +// }); + +// myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) { +// var d; +// if (typeof value === "string" && +// value.slice(0, 5) === "Date(" && +// value.slice(-1) === ")") { +// d = new Date(value.slice(5, -1)); +// if (d) { +// return d; +// } +// } +// return value; +// }); + +// This is a reference implementation. You are free to copy, modify, or +// redistribute. + +/*jslint + eval, for, this +*/ + +/*property + JSON, apply, call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours, + getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join, + lastIndex, length, parse, prototype, push, replace, slice, stringify, + test, toJSON, toString, valueOf +*/ + + +// Create a JSON object only if one does not already exist. We create the +// methods in a closure to avoid creating global variables. + +if (typeof JSON !== "object") { + JSON = {}; +} + +(function () { + "use strict"; + + var rx_one = /^[\],:{}\s]*$/; + var rx_two = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g; + var rx_three = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g; + var rx_four = /(?:^|:|,)(?:\s*\[)+/g; + var rx_escapable = /[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g; + var rx_dangerous = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g; + + function f(n) { + // Format integers to have at least two digits. + return n < 10 + ? "0" + n + : n; + } + + function this_value() { + return this.valueOf(); + } + + if (typeof Date.prototype.toJSON !== "function") { + + Date.prototype.toJSON = function () { + + return isFinite(this.valueOf()) + ? this.getUTCFullYear() + "-" + + f(this.getUTCMonth() + 1) + "-" + + f(this.getUTCDate()) + "T" + + f(this.getUTCHours()) + ":" + + f(this.getUTCMinutes()) + ":" + + f(this.getUTCSeconds()) + "Z" + : null; + }; + + Boolean.prototype.toJSON = this_value; + Number.prototype.toJSON = this_value; + String.prototype.toJSON = this_value; + } + + var gap; + var indent; + var meta; + var rep; + + + function quote(string) { + +// If the string contains no control characters, no quote characters, and no +// backslash characters, then we can safely slap some quotes around it. +// Otherwise we must also replace the offending characters with safe escape +// sequences. + + rx_escapable.lastIndex = 0; + return rx_escapable.test(string) + ? "\"" + string.replace(rx_escapable, function (a) { + var c = meta[a]; + return typeof c === "string" + ? c + : "\\u" + ("0000" + a.charCodeAt(0).toString(16)).slice(-4); + }) + "\"" + : "\"" + string + "\""; + } + + + function str(key, holder) { + +// Produce a string from holder[key]. + + var i; // The loop counter. + var k; // The member key. + var v; // The member value. + var length; + var mind = gap; + var partial; + var value = holder[key]; + +// If the value has a toJSON method, call it to obtain a replacement value. + + if (value && typeof value === "object" && + typeof value.toJSON === "function") { + value = value.toJSON(key); + } + +// If we were called with a replacer function, then call the replacer to +// obtain a replacement value. + + if (typeof rep === "function") { + value = rep.call(holder, key, value); + } + +// What happens next depends on the value's type. + + switch (typeof value) { + case "string": + return quote(value); + + case "number": + +// JSON numbers must be finite. Encode non-finite numbers as null. + + return isFinite(value) + ? String(value) + : "null"; + + case "boolean": + case "null": + +// If the value is a boolean or null, convert it to a string. Note: +// typeof null does not produce "null". The case is included here in +// the remote chance that this gets fixed someday. + + return String(value); + +// If the type is "object", we might be dealing with an object or an array or +// null. + + case "object": + +// Due to a specification blunder in ECMAScript, typeof null is "object", +// so watch out for that case. + + if (!value) { + return "null"; + } + +// Make an array to hold the partial results of stringifying this object value. + + gap += indent; + partial = []; + +// Is the value an array? + + if (Object.prototype.toString.apply(value) === "[object Array]") { + +// The value is an array. Stringify every element. Use null as a placeholder +// for non-JSON values. + + length = value.length; + for (i = 0; i < length; i += 1) { + partial[i] = str(i, value) || "null"; + } + +// Join all of the elements together, separated with commas, and wrap them in +// brackets. + + v = partial.length === 0 + ? "[]" + : gap + ? "[\n" + gap + partial.join(",\n" + gap) + "\n" + mind + "]" + : "[" + partial.join(",") + "]"; + gap = mind; + return v; + } + +// If the replacer is an array, use it to select the members to be stringified. + + if (rep && typeof rep === "object") { + length = rep.length; + for (i = 0; i < length; i += 1) { + if (typeof rep[i] === "string") { + k = rep[i]; + v = str(k, value); + if (v) { + partial.push(quote(k) + ( + gap + ? ": " + : ":" + ) + v); + } + } + } + } else { + +// Otherwise, iterate through all of the keys in the object. + + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = str(k, value); + if (v) { + partial.push(quote(k) + ( + gap + ? ": " + : ":" + ) + v); + } + } + } + } + +// Join all of the member texts together, separated with commas, +// and wrap them in braces. + + v = partial.length === 0 + ? "{}" + : gap + ? "{\n" + gap + partial.join(",\n" + gap) + "\n" + mind + "}" + : "{" + partial.join(",") + "}"; + gap = mind; + return v; + } + } + +// If the JSON object does not yet have a stringify method, give it one. + + if (typeof JSON.stringify !== "function") { + meta = { // table of character substitutions + "\b": "\\b", + "\t": "\\t", + "\n": "\\n", + "\f": "\\f", + "\r": "\\r", + "\"": "\\\"", + "\\": "\\\\" + }; + JSON.stringify = function (value, replacer, space) { + +// The stringify method takes a value and an optional replacer, and an optional +// space parameter, and returns a JSON text. The replacer can be a function +// that can replace values, or an array of strings that will select the keys. +// A default replacer method can be provided. Use of the space parameter can +// produce text that is more easily readable. + + var i; + gap = ""; + indent = ""; + +// If the space parameter is a number, make an indent string containing that +// many spaces. + + if (typeof space === "number") { + for (i = 0; i < space; i += 1) { + indent += " "; + } + +// If the space parameter is a string, it will be used as the indent string. + + } else if (typeof space === "string") { + indent = space; + } + +// If there is a replacer, it must be a function or an array. +// Otherwise, throw an error. + + rep = replacer; + if (replacer && typeof replacer !== "function" && + (typeof replacer !== "object" || + typeof replacer.length !== "number")) { + throw new Error("JSON.stringify"); + } + +// Make a fake root object containing our value under the key of "". +// Return the result of stringifying the value. + + return str("", {"": value}); + }; + } + + +// If the JSON object does not yet have a parse method, give it one. + + if (typeof JSON.parse !== "function") { + JSON.parse = function (text, reviver) { + +// The parse method takes a text and an optional reviver function, and returns +// a JavaScript value if the text is a valid JSON text. + + var j; + + function walk(holder, key) { + +// The walk method is used to recursively walk the resulting structure so +// that modifications can be made. + + var k; + var v; + var value = holder[key]; + if (value && typeof value === "object") { + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = walk(value, k); + if (v !== undefined) { + value[k] = v; + } else { + delete value[k]; + } + } + } + } + return reviver.call(holder, key, value); + } + + +// Parsing happens in four stages. In the first stage, we replace certain +// Unicode characters with escape sequences. JavaScript handles many characters +// incorrectly, either silently deleting them, or treating them as line endings. + + text = String(text); + rx_dangerous.lastIndex = 0; + if (rx_dangerous.test(text)) { + text = text.replace(rx_dangerous, function (a) { + return "\\u" + + ("0000" + a.charCodeAt(0).toString(16)).slice(-4); + }); + } + +// In the second stage, we run the text against regular expressions that look +// for non-JSON patterns. We are especially concerned with "()" and "new" +// because they can cause invocation, and "=" because it can cause mutation. +// But just to be safe, we want to reject all unexpected forms. + +// We split the second stage into 4 regexp operations in order to work around +// crippling inefficiencies in IE's and Safari's regexp engines. First we +// replace the JSON backslash pairs with "@" (a non-JSON character). Second, we +// replace all simple value tokens with "]" characters. Third, we delete all +// open brackets that follow a colon or comma or that begin the text. Finally, +// we look to see that the remaining characters are only whitespace or "]" or +// "," or ":" or "{" or "}". If that is so, then the text is safe for eval. + + if ( + rx_one.test( + text + .replace(rx_two, "@") + .replace(rx_three, "]") + .replace(rx_four, "") + ) + ) { + +// In the third stage we use the eval function to compile the text into a +// JavaScript structure. The "{" operator is subject to a syntactic ambiguity +// in JavaScript: it can begin a block or an object literal. We wrap the text +// in parens to eliminate the ambiguity. + + j = eval("(" + text + ")"); + +// In the optional fourth stage, we recursively walk the new structure, passing +// each name/value pair to a reviver function for possible transformation. + + return (typeof reviver === "function") + ? walk({"": j}, "") + : j; + } + +// If the text is not JSON parseable, then a SyntaxError is thrown. + + throw new SyntaxError("JSON.parse"); + }; + } +}()); + +/***/ }), + +/***/ 62195: +/*!************************************************!*\ + !*** ./node_modules/store/src/store-engine.js ***! + \************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var util = __webpack_require__(/*! ./util */ 69078) +var slice = util.slice +var pluck = util.pluck +var each = util.each +var bind = util.bind +var create = util.create +var isList = util.isList +var isFunction = util.isFunction +var isObject = util.isObject + +module.exports = { + createStore: createStore +} + +var storeAPI = { + version: '2.0.12', + enabled: false, + + // get returns the value of the given key. If that value + // is undefined, it returns optionalDefaultValue instead. + get: function(key, optionalDefaultValue) { + var data = this.storage.read(this._namespacePrefix + key) + return this._deserialize(data, optionalDefaultValue) + }, + + // set will store the given value at key and returns value. + // Calling set with value === undefined is equivalent to calling remove. + set: function(key, value) { + if (value === undefined) { + return this.remove(key) + } + this.storage.write(this._namespacePrefix + key, this._serialize(value)) + return value + }, + + // remove deletes the key and value stored at the given key. + remove: function(key) { + this.storage.remove(this._namespacePrefix + key) + }, + + // each will call the given callback once for each key-value pair + // in this store. + each: function(callback) { + var self = this + this.storage.each(function(val, namespacedKey) { + callback.call(self, self._deserialize(val), (namespacedKey || '').replace(self._namespaceRegexp, '')) + }) + }, + + // clearAll will remove all the stored key-value pairs in this store. + clearAll: function() { + this.storage.clearAll() + }, + + // additional functionality that can't live in plugins + // --------------------------------------------------- + + // hasNamespace returns true if this store instance has the given namespace. + hasNamespace: function(namespace) { + return (this._namespacePrefix == '__storejs_'+namespace+'_') + }, + + // createStore creates a store.js instance with the first + // functioning storage in the list of storage candidates, + // and applies the the given mixins to the instance. + createStore: function() { + return createStore.apply(this, arguments) + }, + + addPlugin: function(plugin) { + this._addPlugin(plugin) + }, + + namespace: function(namespace) { + return createStore(this.storage, this.plugins, namespace) + } +} + +function _warn() { + var _console = (typeof console == 'undefined' ? null : console) + if (!_console) { return } + var fn = (_console.warn ? _console.warn : _console.log) + fn.apply(_console, arguments) +} + +function createStore(storages, plugins, namespace) { + if (!namespace) { + namespace = '' + } + if (storages && !isList(storages)) { + storages = [storages] + } + if (plugins && !isList(plugins)) { + plugins = [plugins] + } + + var namespacePrefix = (namespace ? '__storejs_'+namespace+'_' : '') + var namespaceRegexp = (namespace ? new RegExp('^'+namespacePrefix) : null) + var legalNamespaces = /^[a-zA-Z0-9_\-]*$/ // alpha-numeric + underscore and dash + if (!legalNamespaces.test(namespace)) { + throw new Error('store.js namespaces can only have alphanumerics + underscores and dashes') + } + + var _privateStoreProps = { + _namespacePrefix: namespacePrefix, + _namespaceRegexp: namespaceRegexp, + + _testStorage: function(storage) { + try { + var testStr = '__storejs__test__' + storage.write(testStr, testStr) + var ok = (storage.read(testStr) === testStr) + storage.remove(testStr) + return ok + } catch(e) { + return false + } + }, + + _assignPluginFnProp: function(pluginFnProp, propName) { + var oldFn = this[propName] + this[propName] = function pluginFn() { + var args = slice(arguments, 0) + var self = this + + // super_fn calls the old function which was overwritten by + // this mixin. + function super_fn() { + if (!oldFn) { return } + each(arguments, function(arg, i) { + args[i] = arg + }) + return oldFn.apply(self, args) + } + + // Give mixing function access to super_fn by prefixing all mixin function + // arguments with super_fn. + var newFnArgs = [super_fn].concat(args) + + return pluginFnProp.apply(self, newFnArgs) + } + }, + + _serialize: function(obj) { + return JSON.stringify(obj) + }, + + _deserialize: function(strVal, defaultVal) { + if (!strVal) { return defaultVal } + // It is possible that a raw string value has been previously stored + // in a storage without using store.js, meaning it will be a raw + // string value instead of a JSON serialized string. By defaulting + // to the raw string value in case of a JSON parse error, we allow + // for past stored values to be forwards-compatible with store.js + var val = '' + try { val = JSON.parse(strVal) } + catch(e) { val = strVal } + + return (val !== undefined ? val : defaultVal) + }, + + _addStorage: function(storage) { + if (this.enabled) { return } + if (this._testStorage(storage)) { + this.storage = storage + this.enabled = true + } + }, + + _addPlugin: function(plugin) { + var self = this + + // If the plugin is an array, then add all plugins in the array. + // This allows for a plugin to depend on other plugins. + if (isList(plugin)) { + each(plugin, function(plugin) { + self._addPlugin(plugin) + }) + return + } + + // Keep track of all plugins we've seen so far, so that we + // don't add any of them twice. + var seenPlugin = pluck(this.plugins, function(seenPlugin) { + return (plugin === seenPlugin) + }) + if (seenPlugin) { + return + } + this.plugins.push(plugin) + + // Check that the plugin is properly formed + if (!isFunction(plugin)) { + throw new Error('Plugins must be function values that return objects') + } + + var pluginProperties = plugin.call(this) + if (!isObject(pluginProperties)) { + throw new Error('Plugins must return an object of function properties') + } + + // Add the plugin function properties to this store instance. + each(pluginProperties, function(pluginFnProp, propName) { + if (!isFunction(pluginFnProp)) { + throw new Error('Bad plugin property: '+propName+' from plugin '+plugin.name+'. Plugins should only return functions.') + } + self._assignPluginFnProp(pluginFnProp, propName) + }) + }, + + // Put deprecated properties in the private API, so as to not expose it to accidential + // discovery through inspection of the store object. + + // Deprecated: addStorage + addStorage: function(storage) { + _warn('store.addStorage(storage) is deprecated. Use createStore([storages])') + this._addStorage(storage) + } + } + + var store = create(_privateStoreProps, storeAPI, { + plugins: [] + }) + store.raw = {} + each(store, function(prop, propName) { + if (isFunction(prop)) { + store.raw[propName] = bind(store, prop) + } + }) + each(storages, function(storage) { + store._addStorage(storage) + }) + each(plugins, function(plugin) { + store._addPlugin(plugin) + }) + return store +} + + +/***/ }), + +/***/ 69078: +/*!****************************************!*\ + !*** ./node_modules/store/src/util.js ***! + \****************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var assign = make_assign() +var create = make_create() +var trim = make_trim() +var Global = (typeof window !== 'undefined' ? window : __webpack_require__.g) + +module.exports = { + assign: assign, + create: create, + trim: trim, + bind: bind, + slice: slice, + each: each, + map: map, + pluck: pluck, + isList: isList, + isFunction: isFunction, + isObject: isObject, + Global: Global +} + +function make_assign() { + if (Object.assign) { + return Object.assign + } else { + return function shimAssign(obj, props1, props2, etc) { + for (var i = 1; i < arguments.length; i++) { + each(Object(arguments[i]), function(val, key) { + obj[key] = val + }) + } + return obj + } + } +} + +function make_create() { + if (Object.create) { + return function create(obj, assignProps1, assignProps2, etc) { + var assignArgsList = slice(arguments, 1) + return assign.apply(this, [Object.create(obj)].concat(assignArgsList)) + } + } else { + function F() {} // eslint-disable-line no-inner-declarations + return function create(obj, assignProps1, assignProps2, etc) { + var assignArgsList = slice(arguments, 1) + F.prototype = obj + return assign.apply(this, [new F()].concat(assignArgsList)) + } + } +} + +function make_trim() { + if (String.prototype.trim) { + return function trim(str) { + return String.prototype.trim.call(str) + } + } else { + return function trim(str) { + return str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '') + } + } +} + +function bind(obj, fn) { + return function() { + return fn.apply(obj, Array.prototype.slice.call(arguments, 0)) + } +} + +function slice(arr, index) { + return Array.prototype.slice.call(arr, index || 0) +} + +function each(obj, fn) { + pluck(obj, function(val, key) { + fn(val, key) + return false + }) +} + +function map(obj, fn) { + var res = (isList(obj) ? [] : {}) + pluck(obj, function(v, k) { + res[k] = fn(v, k) + return false + }) + return res +} + +function pluck(obj, fn) { + if (isList(obj)) { + for (var i=0; i= 0; i--) { + if (!trim(cookies[i])) { + continue + } + var kvp = cookies[i].split('=') + var key = unescape(kvp[0]) + var val = unescape(kvp[1]) + callback(val, key) + } +} + +function write(key, data) { + if(!key) { return } + doc.cookie = escape(key) + "=" + escape(data) + "; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/" +} + +function remove(key) { + if (!key || !_has(key)) { + return + } + doc.cookie = escape(key) + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/" +} + +function clearAll() { + each(function(_, key) { + remove(key) + }) +} + +function _has(key) { + return (new RegExp("(?:^|;\\s*)" + escape(key).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=")).test(doc.cookie) +} + + +/***/ }), + +/***/ 39627: +/*!*****************************************************!*\ + !*** ./node_modules/store/storages/localStorage.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var util = __webpack_require__(/*! ../src/util */ 69078) +var Global = util.Global + +module.exports = { + name: 'localStorage', + read: read, + write: write, + each: each, + remove: remove, + clearAll: clearAll, +} + +function localStorage() { + return Global.localStorage +} + +function read(key) { + return localStorage().getItem(key) +} + +function write(key, data) { + return localStorage().setItem(key, data) +} + +function each(fn) { + for (var i = localStorage().length - 1; i >= 0; i--) { + var key = localStorage().key(i) + fn(read(key), key) + } +} + +function remove(key) { + return localStorage().removeItem(key) +} + +function clearAll() { + return localStorage().clear() +} + + +/***/ }), + +/***/ 8728: +/*!******************************************************!*\ + !*** ./node_modules/store/storages/memoryStorage.js ***! + \******************************************************/ +/***/ (function(module) { + +// memoryStorage is a useful last fallback to ensure that the store +// is functions (meaning store.get(), store.set(), etc will all function). +// However, stored values will not persist when the browser navigates to +// a new page or reloads the current page. + +module.exports = { + name: 'memoryStorage', + read: read, + write: write, + each: each, + remove: remove, + clearAll: clearAll, +} + +var memoryStorage = {} + +function read(key) { + return memoryStorage[key] +} + +function write(key, data) { + memoryStorage[key] = data +} + +function each(callback) { + for (var key in memoryStorage) { + if (memoryStorage.hasOwnProperty(key)) { + callback(memoryStorage[key], key) + } + } +} + +function remove(key) { + delete memoryStorage[key] +} + +function clearAll(key) { + memoryStorage = {} +} + + +/***/ }), + +/***/ 95347: +/*!************************************************************!*\ + !*** ./node_modules/store/storages/oldFF-globalStorage.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +// oldFF-globalStorage provides storage for Firefox +// versions 6 and 7, where no localStorage, etc +// is available. + +var util = __webpack_require__(/*! ../src/util */ 69078) +var Global = util.Global + +module.exports = { + name: 'oldFF-globalStorage', + read: read, + write: write, + each: each, + remove: remove, + clearAll: clearAll, +} + +var globalStorage = Global.globalStorage + +function read(key) { + return globalStorage[key] +} + +function write(key, data) { + globalStorage[key] = data +} + +function each(fn) { + for (var i = globalStorage.length - 1; i >= 0; i--) { + var key = globalStorage.key(i) + fn(globalStorage[key], key) + } +} + +function remove(key) { + return globalStorage.removeItem(key) +} + +function clearAll() { + each(function(key, _) { + delete globalStorage[key] + }) +} + + +/***/ }), + +/***/ 34524: +/*!**************************************************************!*\ + !*** ./node_modules/store/storages/oldIE-userDataStorage.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +// oldIE-userDataStorage provides storage for Internet Explorer +// versions 6 and 7, where no localStorage, sessionStorage, etc +// is available. + +var util = __webpack_require__(/*! ../src/util */ 69078) +var Global = util.Global + +module.exports = { + name: 'oldIE-userDataStorage', + write: write, + read: read, + each: each, + remove: remove, + clearAll: clearAll, +} + +var storageName = 'storejs' +var doc = Global.document +var _withStorageEl = _makeIEStorageElFunction() +var disable = (Global.navigator ? Global.navigator.userAgent : '').match(/ (MSIE 8|MSIE 9|MSIE 10)\./) // MSIE 9.x, MSIE 10.x + +function write(unfixedKey, data) { + if (disable) { return } + var fixedKey = fixKey(unfixedKey) + _withStorageEl(function(storageEl) { + storageEl.setAttribute(fixedKey, data) + storageEl.save(storageName) + }) +} + +function read(unfixedKey) { + if (disable) { return } + var fixedKey = fixKey(unfixedKey) + var res = null + _withStorageEl(function(storageEl) { + res = storageEl.getAttribute(fixedKey) + }) + return res +} + +function each(callback) { + _withStorageEl(function(storageEl) { + var attributes = storageEl.XMLDocument.documentElement.attributes + for (var i=attributes.length-1; i>=0; i--) { + var attr = attributes[i] + callback(storageEl.getAttribute(attr.name), attr.name) + } + }) +} + +function remove(unfixedKey) { + var fixedKey = fixKey(unfixedKey) + _withStorageEl(function(storageEl) { + storageEl.removeAttribute(fixedKey) + storageEl.save(storageName) + }) +} + +function clearAll() { + _withStorageEl(function(storageEl) { + var attributes = storageEl.XMLDocument.documentElement.attributes + storageEl.load(storageName) + for (var i=attributes.length-1; i>=0; i--) { + storageEl.removeAttribute(attributes[i].name) + } + storageEl.save(storageName) + }) +} + +// Helpers +////////// + +// In IE7, keys cannot start with a digit or contain certain chars. +// See https://github.com/marcuswestin/store.js/issues/40 +// See https://github.com/marcuswestin/store.js/issues/83 +var forbiddenCharsRegex = new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]", "g") +function fixKey(key) { + return key.replace(/^\d/, '___$&').replace(forbiddenCharsRegex, '___') +} + +function _makeIEStorageElFunction() { + if (!doc || !doc.documentElement || !doc.documentElement.addBehavior) { + return null + } + var scriptTag = 'script', + storageOwner, + storageContainer, + storageEl + + // Since #userData storage applies only to specific paths, we need to + // somehow link our data to a specific path. We choose /favicon.ico + // as a pretty safe option, since all browsers already make a request to + // this URL anyway and being a 404 will not hurt us here. We wrap an + // iframe pointing to the favicon in an ActiveXObject(htmlfile) object + // (see: http://msdn.microsoft.com/en-us/library/aa752574(v=VS.85).aspx) + // since the iframe access rules appear to allow direct access and + // manipulation of the document element, even for a 404 page. This + // document can be used instead of the current document (which would + // have been limited to the current path) to perform #userData storage. + try { + /* global ActiveXObject */ + storageContainer = new ActiveXObject('htmlfile') + storageContainer.open() + storageContainer.write('<'+scriptTag+'>document.w=window') + storageContainer.close() + storageOwner = storageContainer.w.frames[0].document + storageEl = storageOwner.createElement('div') + } catch(e) { + // somehow ActiveXObject instantiation failed (perhaps some special + // security settings or otherwse), fall back to per-path storage + storageEl = doc.createElement('div') + storageOwner = doc.body + } + + return function(storeFunction) { + var args = [].slice.call(arguments, 0) + args.unshift(storageEl) + // See http://msdn.microsoft.com/en-us/library/ms531081(v=VS.85).aspx + // and http://msdn.microsoft.com/en-us/library/ms531424(v=VS.85).aspx + storageOwner.appendChild(storageEl) + storageEl.addBehavior('#default#userData') + storageEl.load(storageName) + storeFunction.apply(this, args) + storageOwner.removeChild(storageEl) + return + } +} + + +/***/ }), + +/***/ 58855: +/*!*******************************************************!*\ + !*** ./node_modules/store/storages/sessionStorage.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var util = __webpack_require__(/*! ../src/util */ 69078) +var Global = util.Global + +module.exports = { + name: 'sessionStorage', + read: read, + write: write, + each: each, + remove: remove, + clearAll: clearAll +} + +function sessionStorage() { + return Global.sessionStorage +} + +function read(key) { + return sessionStorage().getItem(key) +} + +function write(key, data) { + return sessionStorage().setItem(key, data) +} + +function each(fn) { + for (var i = sessionStorage().length - 1; i >= 0; i--) { + var key = sessionStorage().key(i) + fn(read(key), key) + } +} + +function remove(key) { + return sessionStorage().removeItem(key) +} + +function clearAll() { + return sessionStorage().clear() +} + + +/***/ }) + +}]); \ No newline at end of file diff --git a/10975.async.js b/10975.async.js new file mode 100644 index 0000000000..003f0b98aa --- /dev/null +++ b/10975.async.js @@ -0,0 +1,1740 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[10975,42628,57348,88511,13917,49516],{ + +/***/ 64789: +/*!***********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_PlusCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/PlusCircleOutlined.js +// This icon file is generated automatically. +var PlusCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "plus-circle", "theme": "outlined" }; +/* harmony default export */ var asn_PlusCircleOutlined = (PlusCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var PlusCircleOutlined_PlusCircleOutlined = function PlusCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_PlusCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_PlusCircleOutlined = (/*#__PURE__*/react.forwardRef(PlusCircleOutlined_PlusCircleOutlined)); + +/***/ }), + +/***/ 85673: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/index.js + 6 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ breadcrumb; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(37419); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(1337); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules +var DownOutlined = __webpack_require__(15558); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js + + +const BreadcrumbSeparator = _ref => { + let { + children + } = _ref; + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb'); + return /*#__PURE__*/react.createElement("li", { + className: `${prefixCls}-separator`, + "aria-hidden": "true" + }, children === '' ? children : children || '/'); +}; +BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; +/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/useItemRender.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +function getBreadcrumbName(route, params) { + if (route.title === undefined || route.title === null) { + return null; + } + const paramsKeys = Object.keys(params).join('|'); + return typeof route.title === 'object' ? route.title : String(route.title).replace(new RegExp(`:(${paramsKeys})`, 'g'), (replacement, key) => params[key] || replacement); +} +function renderItem(prefixCls, item, children, href) { + if (children === null || children === undefined) { + return null; + } + const { + className, + onClick + } = item, + restItem = __rest(item, ["className", "onClick"]); + const passedProps = Object.assign(Object.assign({}, (0,pickAttrs/* default */.Z)(restItem, { + data: true, + aria: true + })), { + onClick + }); + if (href !== undefined) { + return /*#__PURE__*/react.createElement("a", Object.assign({}, passedProps, { + className: classnames_default()(`${prefixCls}-link`, className), + href: href + }), children); + } + return /*#__PURE__*/react.createElement("span", Object.assign({}, passedProps, { + className: classnames_default()(`${prefixCls}-link`, className) + }), children); +} +function useItemRender(prefixCls, itemRender) { + const mergedItemRender = (item, params, routes, path, href) => { + if (itemRender) { + return itemRender(item, params, routes, path); + } + const name = getBreadcrumbName(item, params); + return renderItem(prefixCls, item, name, href); + }; + return mergedItemRender; +} +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js +var BreadcrumbItem_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalBreadcrumbItem = props => { + const { + prefixCls, + separator = '/', + children, + menu, + overlay, + dropdownProps, + href + } = props; + // Warning for deprecated usage + if (false) {} + /** If overlay is have Wrap a Dropdown */ + const renderBreadcrumbNode = breadcrumbItem => { + if (menu || overlay) { + const mergeDropDownProps = Object.assign({}, dropdownProps); + if (menu) { + const _a = menu || {}, + { + items + } = _a, + menuProps = BreadcrumbItem_rest(_a, ["items"]); + mergeDropDownProps.menu = Object.assign(Object.assign({}, menuProps), { + items: items === null || items === void 0 ? void 0 : items.map((_a, index) => { + var { + key, + title, + label, + path + } = _a, + itemProps = BreadcrumbItem_rest(_a, ["key", "title", "label", "path"]); + let mergedLabel = label !== null && label !== void 0 ? label : title; + if (path) { + mergedLabel = /*#__PURE__*/react.createElement("a", { + href: `${href}${path}` + }, mergedLabel); + } + return Object.assign(Object.assign({}, itemProps), { + key: key !== null && key !== void 0 ? key : index, + label: mergedLabel + }); + }) + }); + } else if (overlay) { + mergeDropDownProps.overlay = overlay; + } + return /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({ + placement: "bottom" + }, mergeDropDownProps), /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-overlay-link` + }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); + } + return breadcrumbItem; + }; + // wrap to dropDown + const link = renderBreadcrumbNode(children); + if (link !== undefined && link !== null) { + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("li", null, link), separator && /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbSeparator, null, separator)); + } + return null; +}; +const BreadcrumbItem = props => { + const { + prefixCls: customizePrefixCls, + children, + href + } = props, + restProps = BreadcrumbItem_rest(props, ["prefixCls", "children", "href"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + return /*#__PURE__*/react.createElement(InternalBreadcrumbItem, Object.assign({}, restProps, { + prefixCls: prefixCls + }), renderItem(prefixCls, restProps, children, href)); +}; +BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; +/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + + +const genBreadcrumbStyle = token => { + const { + componentCls, + iconCls + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + color: token.itemColor, + fontSize: token.fontSize, + [iconCls]: { + fontSize: token.iconFontSize + }, + ol: { + display: 'flex', + flexWrap: 'wrap', + margin: 0, + padding: 0, + listStyle: 'none' + }, + a: Object.assign({ + color: token.linkColor, + transition: `color ${token.motionDurationMid}`, + padding: `0 ${token.paddingXXS}px`, + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + marginInline: -token.marginXXS, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover + } + }, (0,style/* genFocusStyle */.Qy)(token)), + [`li:last-child`]: { + color: token.lastItemColor + }, + [`${componentCls}-separator`]: { + marginInline: token.separatorMargin, + color: token.separatorColor + }, + [`${componentCls}-link`]: { + [` + > ${iconCls} + span, + > ${iconCls} + a + `]: { + marginInlineStart: token.marginXXS + } + }, + [`${componentCls}-overlay-link`]: { + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + padding: `0 ${token.paddingXXS}px`, + marginInline: -token.marginXXS, + [`> ${iconCls}`]: { + marginInlineStart: token.marginXXS, + fontSize: token.fontSizeIcon + }, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover, + a: { + color: token.linkHoverColor + } + }, + a: { + '&:hover': { + backgroundColor: 'transparent' + } + } + }, + // rtl style + [`&${token.componentCls}-rtl`]: { + direction: 'rtl' + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var breadcrumb_style = ((0,genComponentStyleHook/* default */.Z)('Breadcrumb', token => { + const BreadcrumbToken = (0,statistic/* merge */.TS)(token, {}); + return [genBreadcrumbStyle(BreadcrumbToken)]; +}, token => ({ + itemColor: token.colorTextDescription, + lastItemColor: token.colorText, + iconFontSize: token.fontSize, + linkColor: token.colorTextDescription, + linkHoverColor: token.colorText, + separatorColor: token.colorTextDescription, + separatorMargin: token.marginXS +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/useItems.js +var useItems_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + +function route2item(route) { + const { + breadcrumbName, + children + } = route, + rest = useItems_rest(route, ["breadcrumbName", "children"]); + const clone = Object.assign({ + title: breadcrumbName + }, rest); + if (children) { + clone.menu = { + items: children.map(_a => { + var { + breadcrumbName: itemBreadcrumbName + } = _a, + itemProps = useItems_rest(_a, ["breadcrumbName"]); + return Object.assign(Object.assign({}, itemProps), { + title: itemBreadcrumbName + }); + }) + }; + } + return clone; +} +function useItems(items, routes) { + return (0,react.useMemo)(() => { + if (items) { + return items; + } + if (routes) { + return routes.map(route2item); + } + return null; + }, [items, routes]); +} +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js +var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + +const getPath = (params, path) => { + if (path === undefined) { + return path; + } + let mergedPath = (path || '').replace(/^\//, ''); + Object.keys(params).forEach(key => { + mergedPath = mergedPath.replace(`:${key}`, params[key]); + }); + return mergedPath; +}; +const Breadcrumb = props => { + const { + prefixCls: customizePrefixCls, + separator = '/', + style, + className, + rootClassName, + routes: legacyRoutes, + items, + children, + itemRender, + params = {} + } = props, + restProps = Breadcrumb_rest(props, ["prefixCls", "separator", "style", "className", "rootClassName", "routes", "items", "children", "itemRender", "params"]); + const { + getPrefixCls, + direction, + breadcrumb + } = react.useContext(context/* ConfigContext */.E_); + let crumbs; + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + const [wrapSSR, hashId] = breadcrumb_style(prefixCls); + const mergedItems = useItems(items, legacyRoutes); + if (false) {} + const mergedItemRender = useItemRender(prefixCls, itemRender); + if (mergedItems && mergedItems.length > 0) { + // generated by route + const paths = []; + const itemRenderRoutes = items || legacyRoutes; + crumbs = mergedItems.map((item, index) => { + const { + path, + key, + type, + menu, + overlay, + onClick, + className: itemClassName, + separator: itemSeparator, + dropdownProps + } = item; + const mergedPath = getPath(params, path); + if (mergedPath !== undefined) { + paths.push(mergedPath); + } + const mergedKey = key !== null && key !== void 0 ? key : index; + if (type === 'separator') { + return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbSeparator, { + key: mergedKey + }, itemSeparator); + } + const itemProps = {}; + const isLastItem = index === mergedItems.length - 1; + if (menu) { + itemProps.menu = menu; + } else if (overlay) { + itemProps.overlay = overlay; + } + let { + href + } = item; + if (paths.length && mergedPath !== undefined) { + href = `#/${paths.join('/')}`; + } + return /*#__PURE__*/react.createElement(InternalBreadcrumbItem, Object.assign({ + key: mergedKey + }, itemProps, (0,pickAttrs/* default */.Z)(item, { + data: true, + aria: true + }), { + className: itemClassName, + dropdownProps: dropdownProps, + href: href, + separator: isLastItem ? '' : separator, + onClick: onClick, + prefixCls: prefixCls + }), mergedItemRender(item, params, itemRenderRoutes, paths, href)); + }); + } else if (children) { + const childrenLength = (0,toArray/* default */.Z)(children).length; + crumbs = (0,toArray/* default */.Z)(children).map((element, index) => { + if (!element) { + return element; + } + // =================== Warning ===================== + if (false) {} + false ? 0 : void 0; + const isLastItem = index === childrenLength - 1; + return (0,reactNode/* cloneElement */.Tm)(element, { + separator: isLastItem ? '' : separator, + key: index + }); + }); + } + const breadcrumbClassName = classnames_default()(prefixCls, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.className, { + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.style), style); + return wrapSSR( /*#__PURE__*/react.createElement("nav", Object.assign({ + className: breadcrumbClassName, + style: mergedStyle + }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs))); +}; +Breadcrumb.Item = breadcrumb_BreadcrumbItem; +Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; +if (false) {} +/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js +'use client'; + + +/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); + +/***/ }), + +/***/ 84567: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 3 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js + 5 modules +var es = __webpack_require__(95860); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/GroupContext.js + +const GroupContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var checkbox_GroupContext = (GroupContext); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js +var checkbox_style = __webpack_require__(63185); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const InternalCheckbox = (props, ref) => { + var _a; + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + children, + indeterminate = false, + style, + onMouseEnter, + onMouseLeave, + skipGroup = false, + disabled + } = props, + restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + const { + getPrefixCls, + direction, + checkbox + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const checkboxGroup = react.useContext(checkbox_GroupContext); + const { + isFormItemInput + } = react.useContext(context/* FormItemInputContext */.aM); + const contextDisabled = react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled; + const prevValue = react.useRef(restProps.value); + react.useEffect(() => { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(() => { + if (skipGroup) { + return; + } + if (restProps.value !== prevValue.current) { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current); + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + prevValue.current = restProps.value; + } + return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }, [restProps.value]); + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const checkboxProps = Object.assign({}, restProps); + if (checkboxGroup && !skipGroup) { + checkboxProps.onChange = function () { + if (restProps.onChange) { + restProps.onChange.apply(restProps, arguments); + } + if (checkboxGroup.toggleOption) { + checkboxGroup.toggleOption({ + label: children, + value: restProps.value + }); + } + }; + checkboxProps.name = checkboxGroup.name; + checkboxProps.checked = checkboxGroup.value.includes(restProps.value); + } + const classString = classnames_default()(`${prefixCls}-wrapper`, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-wrapper-checked`]: checkboxProps.checked, + [`${prefixCls}-wrapper-disabled`]: mergedDisabled, + [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput + }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId); + const checkboxClass = classnames_default()({ + [`${prefixCls}-indeterminate`]: indeterminate + }, hashId); + const ariaChecked = indeterminate ? 'mixed' : undefined; + return wrapSSR( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, Object.assign({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children))); +}; +const Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + +var Group_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalGroup = (props, ref) => { + const { + defaultValue, + children, + options = [], + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + onChange + } = props, + restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]); + const { + getPrefixCls, + direction + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const [value, setValue] = react.useState(restProps.value || defaultValue || []); + const [registeredValues, setRegisteredValues] = react.useState([]); + react.useEffect(() => { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + const memoOptions = react.useMemo(() => options.map(option => { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }), [options]); + const cancelValue = val => { + setRegisteredValues(prevValues => prevValues.filter(v => v !== val)); + }; + const registerValue = val => { + setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val])); + }; + const toggleOption = option => { + const optionIndex = value.indexOf(option.value); + const newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => { + const indexA = memoOptions.findIndex(opt => opt.value === a); + const indexB = memoOptions.findIndex(opt => opt.value === b); + return indexA - indexB; + })); + }; + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const groupPrefixCls = `${prefixCls}-group`; + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/react.createElement(checkbox_Checkbox, { + prefixCls: prefixCls, + key: option.value.toString(), + disabled: 'disabled' in option ? option.disabled : restProps.disabled, + value: option.value, + checked: value.includes(option.value), + onChange: option.onChange, + className: `${groupPrefixCls}-item`, + style: option.style, + title: option.title + }, option.label)) : children; + // eslint-disable-next-line react/jsx-no-constructed-context-values + const context = { + toggleOption, + value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue, + cancelValue + }; + const classString = classnames_default()(groupPrefixCls, { + [`${groupPrefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(checkbox_GroupContext.Provider, { + value: context + }, childrenNode))); +}; + +const CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js +'use client'; + + + +const es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +if (false) {} +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 63185: +/*!******************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "C2": function() { return /* binding */ getStyle; } +/* harmony export */ }); +/* unused harmony export genCheckboxStyle */ +/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 73559); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 45503); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); + + + +// ============================== Motion ============================== +const antCheckboxEffect = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antCheckboxEffect', { + '0%': { + transform: 'scale(1)', + opacity: 0.5 + }, + '100%': { + transform: 'scale(1.6)', + opacity: 0 + } +}); +// ============================== Styles ============================== +const genCheckboxStyle = token => { + const { + checkboxCls + } = token; + const wrapperCls = `${checkboxCls}-wrapper`; + return [ + // ===================== Basic ===================== + { + // Group + [`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + flexWrap: 'wrap', + columnGap: token.marginXS, + // Group > Grid + [`> ${token.antCls}-row`]: { + flex: 1 + } + }), + // Wrapper + [wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + alignItems: 'baseline', + cursor: 'pointer', + // Fix checkbox & radio in flex align #30260 + '&:after': { + display: 'inline-block', + width: 0, + overflow: 'hidden', + content: "'\\a0'" + }, + // Checkbox near checkbox + [`& + ${wrapperCls}`]: { + marginInlineStart: 0 + }, + [`&${wrapperCls}-in-form-item`]: { + 'input[type="checkbox"]': { + width: 14, + height: 14 // FIXME: magic + } + } + }), + + // Wrapper > Checkbox + [checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + position: 'relative', + whiteSpace: 'nowrap', + lineHeight: 1, + cursor: 'pointer', + // To make alignment right when `controlHeight` is changed + // Ref: https://github.com/ant-design/ant-design/issues/41564 + alignSelf: 'center', + // Wrapper > Checkbox > input + [`${checkboxCls}-input`]: { + position: 'absolute', + // Since baseline align will get additional space offset, + // we need to move input to top to make it align with text. + // Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799 + inset: 0, + zIndex: 1, + cursor: 'pointer', + opacity: 0, + margin: 0, + [`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .genFocusOutline */ .oN)(token)) + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + boxSizing: 'border-box', + position: 'relative', + top: 0, + insetInlineStart: 0, + display: 'block', + width: token.checkboxSize, + height: token.checkboxSize, + direction: 'ltr', + backgroundColor: token.colorBgContainer, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + borderCollapse: 'separate', + transition: `all ${token.motionDurationSlow}`, + '&:after': { + boxSizing: 'border-box', + position: 'absolute', + top: '50%', + insetInlineStart: '21.5%', + display: 'table', + width: token.checkboxSize / 14 * 5, + height: token.checkboxSize / 14 * 8, + border: `${token.lineWidthBold}px solid ${token.colorWhite}`, + borderTop: 0, + borderInlineStart: 0, + transform: 'rotate(45deg) scale(0) translate(-50%,-50%)', + opacity: 0, + content: '""', + transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}` + } + }, + // Wrapper > Checkbox + Text + '& + span': { + paddingInlineStart: token.paddingXS, + paddingInlineEnd: token.paddingXS + } + }) + }, + // ===================== Hover ===================== + { + // Wrapper + [`${wrapperCls}:hover ${checkboxCls}:after`]: { + visibility: 'visible' + }, + // Wrapper & Wrapper > Checkbox + [` + ${wrapperCls}:not(${wrapperCls}-disabled), + ${checkboxCls}:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + borderColor: token.colorPrimary + } + }, + [`${wrapperCls}:not(${wrapperCls}-disabled)`]: { + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ==================== Checked ==================== + { + // Wrapper > Checkbox + [`${checkboxCls}-checked`]: { + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimary, + borderColor: token.colorPrimary, + '&:after': { + opacity: 1, + transform: 'rotate(45deg) scale(1) translate(-50%,-50%)', + transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}` + } + }, + // Checked Effect + '&:after': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '100%', + height: '100%', + borderRadius: token.borderRadiusSM, + visibility: 'hidden', + border: `${token.lineWidthBold}px solid ${token.colorPrimary}`, + animationName: antCheckboxEffect, + animationDuration: token.motionDurationSlow, + animationTimingFunction: 'ease-in-out', + animationFillMode: 'backwards', + content: '""', + transition: `all ${token.motionDurationSlow}` + } + }, + [` + ${wrapperCls}-checked:not(${wrapperCls}-disabled), + ${checkboxCls}-checked:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}:after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ================= Indeterminate ================= + { + [checkboxCls]: { + '&-indeterminate': { + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorBgContainer, + borderColor: token.colorBorder, + '&:after': { + top: '50%', + insetInlineStart: '50%', + width: token.fontSizeLG / 2, + height: token.fontSizeLG / 2, + backgroundColor: token.colorPrimary, + border: 0, + transform: 'translate(-50%, -50%) scale(1)', + opacity: 1, + content: '""' + } + } + } + } + }, + // ==================== Disable ==================== + { + // Wrapper + [`${wrapperCls}-disabled`]: { + cursor: 'not-allowed' + }, + // Wrapper > Checkbox + [`${checkboxCls}-disabled`]: { + // Wrapper > Checkbox > input + [`&, ${checkboxCls}-input`]: { + cursor: 'not-allowed', + // Disabled for native input to enable Tooltip event handler + // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901 + pointerEvents: 'none' + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + background: token.colorBgContainerDisabled, + borderColor: token.colorBorder, + '&:after': { + borderColor: token.colorTextDisabled + } + }, + '&:after': { + display: 'none' + }, + '& + span': { + color: token.colorTextDisabled + }, + [`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: { + background: token.colorTextDisabled + } + } + }]; +}; +// ============================== Export ============================== +function getStyle(prefixCls, token) { + const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .merge */ .TS)(token, { + checkboxCls: `.${prefixCls}`, + checkboxSize: token.controlInteractiveSize + }); + return [genCheckboxStyle(checkboxToken)]; +} +/* harmony default export */ __webpack_exports__["ZP"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Checkbox', (token, _ref) => { + let { + prefixCls + } = _ref; + return [getStyle(prefixCls, token)]; +})); + +/***/ }), + +/***/ 96074: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/divider/index.js + 1 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ divider; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js + + +// ============================== Shared ============================== +const genSharedDividerStyle = token => { + const { + componentCls, + sizePaddingEdgeHorizontal, + colorSplit, + lineWidth + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + borderBlockStart: `${lineWidth}px solid ${colorSplit}`, + // vertical + '&-vertical': { + position: 'relative', + top: '-0.06em', + display: 'inline-block', + height: '0.9em', + margin: `0 ${token.dividerVerticalGutterMargin}px`, + verticalAlign: 'middle', + borderTop: 0, + borderInlineStart: `${lineWidth}px solid ${colorSplit}` + }, + '&-horizontal': { + display: 'flex', + clear: 'both', + width: '100%', + minWidth: '100%', + margin: `${token.dividerHorizontalGutterMargin}px 0` + }, + [`&-horizontal${componentCls}-with-text`]: { + display: 'flex', + alignItems: 'center', + margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`, + color: token.colorTextHeading, + fontWeight: 500, + fontSize: token.fontSizeLG, + whiteSpace: 'nowrap', + textAlign: 'center', + borderBlockStart: `0 ${colorSplit}`, + '&::before, &::after': { + position: 'relative', + width: '50%', + borderBlockStart: `${lineWidth}px solid transparent`, + // Chrome not accept `inherit` in `border-top` + borderBlockStartColor: 'inherit', + borderBlockEnd: 0, + transform: 'translateY(50%)', + content: "''" + } + }, + [`&-horizontal${componentCls}-with-text-left`]: { + '&::before': { + width: '5%' + }, + '&::after': { + width: '95%' + } + }, + [`&-horizontal${componentCls}-with-text-right`]: { + '&::before': { + width: '95%' + }, + '&::after': { + width: '5%' + } + }, + [`${componentCls}-inner-text`]: { + display: 'inline-block', + padding: '0 1em' + }, + '&-dashed': { + background: 'none', + borderColor: colorSplit, + borderStyle: 'dashed', + borderWidth: `${lineWidth}px 0 0` + }, + [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: { + '&::before, &::after': { + borderStyle: 'dashed none none' + } + }, + [`&-vertical${componentCls}-dashed`]: { + borderInlineStartWidth: lineWidth, + borderInlineEnd: 0, + borderBlockStart: 0, + borderBlockEnd: 0 + }, + [`&-plain${componentCls}-with-text`]: { + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: { + '&::before': { + width: 0 + }, + '&::after': { + width: '100%' + }, + [`${componentCls}-inner-text`]: { + paddingInlineStart: sizePaddingEdgeHorizontal + } + }, + [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: { + '&::before': { + width: '100%' + }, + '&::after': { + width: 0 + }, + [`${componentCls}-inner-text`]: { + paddingInlineEnd: sizePaddingEdgeHorizontal + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => { + const dividerToken = (0,statistic/* merge */.TS)(token, { + dividerVerticalGutterMargin: token.marginXS, + dividerHorizontalWithTextGutterMargin: token.margin, + dividerHorizontalGutterMargin: token.marginLG + }); + return [genSharedDividerStyle(dividerToken)]; +}, { + sizePaddingEdgeHorizontal: 0 +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +const Divider = props => { + const { + getPrefixCls, + direction, + divider + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'horizontal', + orientation = 'center', + orientationMargin, + className, + rootClassName, + children, + dashed, + plain, + style + } = props, + restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]); + const prefixCls = getPrefixCls('divider', customizePrefixCls); + const [wrapSSR, hashId] = divider_style(prefixCls); + const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation; + const hasChildren = !!children; + const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; + const hasCustomMarginRight = orientation === 'right' && orientationMargin != null; + const classString = classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, { + [`${prefixCls}-with-text`]: hasChildren, + [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren, + [`${prefixCls}-dashed`]: !!dashed, + [`${prefixCls}-plain`]: !!plain, + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft, + [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight + }, className, rootClassName); + const memoizedOrientationMargin = react.useMemo(() => { + if (typeof orientationMargin === 'number') { + return orientationMargin; + } + if (/^\d+$/.test(orientationMargin)) { + return Number(orientationMargin); + } + return orientationMargin; + }, [orientationMargin]); + const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && { + marginLeft: memoizedOrientationMargin + }), hasCustomMarginRight && { + marginRight: memoizedOrientationMargin + }); + // Warning children not work in vertical mode + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style) + }, restProps, { + role: "separator" + }), children && type !== 'vertical' && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-inner-text`, + style: innerStyle + }, children))); +}; +if (false) {} +/* harmony default export */ var divider = (Divider); + +/***/ }), + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/11030.async.js b/11030.async.js index 476c4786b9..6027434041 100644 --- a/11030.async.js +++ b/11030.async.js @@ -265,7 +265,7 @@ var SuperiorTabs = function SuperiorTabs(_ref) { // extracted by mini-css-extract-plugin /* harmony default export */ var CustomInputmodules = ({"flex_box_center":"flex_box_center___yX6Oa","flex_space_between":"flex_space_between___t7oqF","flex_box_vertical_center":"flex_box_vertical_center___dEIHy","flex_box_center_end":"flex_box_center_end___taQDF","flex_box_column":"flex_box_column___xY_Lr","input":"input___PW2zI","dropdown":"dropdown___vSy8B","menu":"menu___NiyBu","text":"text___Grueu","b1":"b1___ZKryM","b2":"b2___aKyGa"}); // EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules -var input = __webpack_require__(79531); +var input = __webpack_require__(11486); ;// CONCATENATED MODULE: ./src/components/ui-customization/CustomInput/index.tsx @@ -405,7 +405,7 @@ var spin = __webpack_require__(57953); // EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules var tooltip = __webpack_require__(83062); // EXTERNAL MODULE: ./node_modules/antd/es/rate/index.js + 8 modules -var rate = __webpack_require__(59606); +var rate = __webpack_require__(91708); // EXTERNAL MODULE: ./src/utils/env.ts var env = __webpack_require__(22773); // EXTERNAL MODULE: ./src/utils/util.tsx diff --git a/11246.async.js b/11246.async.js new file mode 100644 index 0000000000..067925a171 --- /dev/null +++ b/11246.async.js @@ -0,0 +1,1954 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[11246,88511],{ + +/***/ 82826: +/*!**********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + 1 modules ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ArrowLeftOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.js +// This icon file is generated automatically. +var ArrowLeftOutlined = { "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" }; +/* harmony default export */ var asn_ArrowLeftOutlined = (ArrowLeftOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ArrowLeftOutlined_ArrowLeftOutlined = function ArrowLeftOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ArrowLeftOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ArrowLeftOutlined = (/*#__PURE__*/react.forwardRef(ArrowLeftOutlined_ArrowLeftOutlined)); + +/***/ }), + +/***/ 39398: +/*!**********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CaretDownOutlined.js + 1 modules ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CaretDownOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.js +// This icon file is generated automatically. +var CaretDownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" } }] }, "name": "caret-down", "theme": "outlined" }; +/* harmony default export */ var asn_CaretDownOutlined = (CaretDownOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CaretDownOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CaretDownOutlined_CaretDownOutlined = function CaretDownOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CaretDownOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CaretDownOutlined = (/*#__PURE__*/react.forwardRef(CaretDownOutlined_CaretDownOutlined)); + +/***/ }), + +/***/ 48689: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DeleteOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DeleteOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.js +// This icon file is generated automatically. +var DeleteOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, "name": "delete", "theme": "outlined" }; +/* harmony default export */ var asn_DeleteOutlined = (DeleteOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DeleteOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DeleteOutlined_DeleteOutlined = function DeleteOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DeleteOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DeleteOutlined = (/*#__PURE__*/react.forwardRef(DeleteOutlined_DeleteOutlined)); + +/***/ }), + +/***/ 95604: +/*!*******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DeliveredProcedureOutlined.js + 1 modules ***! + \*******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DeliveredProcedureOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DeliveredProcedureOutlined.js +// This icon file is generated automatically. +var DeliveredProcedureOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z" } }] }, "name": "delivered-procedure", "theme": "outlined" }; +/* harmony default export */ var asn_DeliveredProcedureOutlined = (DeliveredProcedureOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DeliveredProcedureOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DeliveredProcedureOutlined_DeliveredProcedureOutlined = function DeliveredProcedureOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DeliveredProcedureOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DeliveredProcedureOutlined = (/*#__PURE__*/react.forwardRef(DeliveredProcedureOutlined_DeliveredProcedureOutlined)); + +/***/ }), + +/***/ 80882: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DownOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +// This icon file is generated automatically. +var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" }; +/* harmony default export */ var asn_DownOutlined = (DownOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DownOutlined_DownOutlined = function DownOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DownOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DownOutlined = (/*#__PURE__*/react.forwardRef(DownOutlined_DownOutlined)); + +/***/ }), + +/***/ 21640: +/*!****************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js + 1 modules ***! + \****************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleFilled; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js +// This icon file is generated automatically. +var ExclamationCircleFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, "name": "exclamation-circle", "theme": "filled" }; +/* harmony default export */ var asn_ExclamationCircleFilled = (ExclamationCircleFilled); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleFilled_ExclamationCircleFilled = function ExclamationCircleFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleFilled = (/*#__PURE__*/react.forwardRef(ExclamationCircleFilled_ExclamationCircleFilled)); + +/***/ }), + +/***/ 11475: +/*!******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.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 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + +/***/ 64789: +/*!***********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js + 1 modules ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_PlusCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/PlusCircleOutlined.js +// This icon file is generated automatically. +var PlusCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "plus-circle", "theme": "outlined" }; +/* harmony default export */ var asn_PlusCircleOutlined = (PlusCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/PlusCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var PlusCircleOutlined_PlusCircleOutlined = function PlusCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_PlusCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_PlusCircleOutlined = (/*#__PURE__*/react.forwardRef(PlusCircleOutlined_PlusCircleOutlined)); + +/***/ }), + +/***/ 25035: +/*!***************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.js + 1 modules ***! + \***************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_QuestionCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/QuestionCircleOutlined.js +// This icon file is generated automatically. +var QuestionCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" } }] }, "name": "question-circle", "theme": "outlined" }; +/* harmony default export */ var asn_QuestionCircleOutlined = (QuestionCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var QuestionCircleOutlined_QuestionCircleOutlined = function QuestionCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_QuestionCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_QuestionCircleOutlined = (/*#__PURE__*/react.forwardRef(QuestionCircleOutlined_QuestionCircleOutlined)); + +/***/ }), + +/***/ 48115: +/*!***************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/UpOutlined.js + 1 modules ***! + \***************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_UpOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UpOutlined.js +// This icon file is generated automatically. +var UpOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" }; +/* harmony default export */ var asn_UpOutlined = (UpOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UpOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var UpOutlined_UpOutlined = function UpOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_UpOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_UpOutlined = (/*#__PURE__*/react.forwardRef(UpOutlined_UpOutlined)); + +/***/ }), + +/***/ 38925: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/alert/index.js + 3 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_alert; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js + 1 modules +var CheckCircleFilled = __webpack_require__(23526); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules +var CloseCircleFilled = __webpack_require__(30186); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules +var CloseOutlined = __webpack_require__(85846); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js + 1 modules +var ExclamationCircleFilled = __webpack_require__(39291); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js + 1 modules +var InfoCircleFilled = __webpack_require__(97454); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-motion/es/index.js + 18 modules +var es = __webpack_require__(38379); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(1337); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/alert/style/index.js + + +const genAlertTypeStyle = (bgColor, borderColor, iconColor, token, alertCls) => ({ + backgroundColor: bgColor, + border: `${token.lineWidth}px ${token.lineType} ${borderColor}`, + [`${alertCls}-icon`]: { + color: iconColor + } +}); +const genBaseStyle = token => { + const { + componentCls, + motionDurationSlow: duration, + marginXS, + marginSM, + fontSize, + fontSizeLG, + lineHeight, + borderRadiusLG: borderRadius, + motionEaseInOutCirc, + alertIconSizeLG, + colorText, + paddingContentVerticalSM, + alertPaddingHorizontal, + paddingMD, + paddingContentHorizontalLG, + colorTextHeading + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + position: 'relative', + display: 'flex', + alignItems: 'center', + padding: `${paddingContentVerticalSM}px ${alertPaddingHorizontal}px`, + wordWrap: 'break-word', + borderRadius, + [`&${componentCls}-rtl`]: { + direction: 'rtl' + }, + [`${componentCls}-content`]: { + flex: 1, + minWidth: 0 + }, + [`${componentCls}-icon`]: { + marginInlineEnd: marginXS, + lineHeight: 0 + }, + [`&-description`]: { + display: 'none', + fontSize, + lineHeight + }, + '&-message': { + color: colorText + }, + [`&${componentCls}-motion-leave`]: { + overflow: 'hidden', + opacity: 1, + transition: `max-height ${duration} ${motionEaseInOutCirc}, opacity ${duration} ${motionEaseInOutCirc}, + padding-top ${duration} ${motionEaseInOutCirc}, padding-bottom ${duration} ${motionEaseInOutCirc}, + margin-bottom ${duration} ${motionEaseInOutCirc}` + }, + [`&${componentCls}-motion-leave-active`]: { + maxHeight: 0, + marginBottom: '0 !important', + paddingTop: 0, + paddingBottom: 0, + opacity: 0 + } + }), + [`${componentCls}-with-description`]: { + alignItems: 'flex-start', + paddingInline: paddingContentHorizontalLG, + paddingBlock: paddingMD, + [`${componentCls}-icon`]: { + marginInlineEnd: marginSM, + fontSize: alertIconSizeLG, + lineHeight: 0 + }, + [`${componentCls}-message`]: { + display: 'block', + marginBottom: marginXS, + color: colorTextHeading, + fontSize: fontSizeLG + }, + [`${componentCls}-description`]: { + display: 'block' + } + }, + [`${componentCls}-banner`]: { + marginBottom: 0, + border: '0 !important', + borderRadius: 0 + } + }; +}; +const genTypeStyle = token => { + const { + componentCls, + colorSuccess, + colorSuccessBorder, + colorSuccessBg, + colorWarning, + colorWarningBorder, + colorWarningBg, + colorError, + colorErrorBorder, + colorErrorBg, + colorInfo, + colorInfoBorder, + colorInfoBg + } = token; + return { + [componentCls]: { + '&-success': genAlertTypeStyle(colorSuccessBg, colorSuccessBorder, colorSuccess, token, componentCls), + '&-info': genAlertTypeStyle(colorInfoBg, colorInfoBorder, colorInfo, token, componentCls), + '&-warning': genAlertTypeStyle(colorWarningBg, colorWarningBorder, colorWarning, token, componentCls), + '&-error': Object.assign(Object.assign({}, genAlertTypeStyle(colorErrorBg, colorErrorBorder, colorError, token, componentCls)), { + [`${componentCls}-description > pre`]: { + margin: 0, + padding: 0 + } + }) + } + }; +}; +const genActionStyle = token => { + const { + componentCls, + iconCls, + motionDurationMid, + marginXS, + fontSizeIcon, + colorIcon, + colorIconHover + } = token; + return { + [componentCls]: { + [`&-action`]: { + marginInlineStart: marginXS + }, + [`${componentCls}-close-icon`]: { + marginInlineStart: marginXS, + padding: 0, + overflow: 'hidden', + fontSize: fontSizeIcon, + lineHeight: `${fontSizeIcon}px`, + backgroundColor: 'transparent', + border: 'none', + outline: 'none', + cursor: 'pointer', + [`${iconCls}-close`]: { + color: colorIcon, + transition: `color ${motionDurationMid}`, + '&:hover': { + color: colorIconHover + } + } + }, + '&-close-text': { + color: colorIcon, + transition: `color ${motionDurationMid}`, + '&:hover': { + color: colorIconHover + } + } + } + }; +}; +const genAlertStyle = token => [genBaseStyle(token), genTypeStyle(token), genActionStyle(token)]; +/* harmony default export */ var alert_style = ((0,genComponentStyleHook/* default */.Z)('Alert', token => { + const { + fontSizeHeading3 + } = token; + const alertToken = (0,statistic/* merge */.TS)(token, { + alertIconSizeLG: fontSizeHeading3, + alertPaddingHorizontal: 12 // Fixed value here. + }); + + return [genAlertStyle(alertToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/alert/Alert.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + +// CSSINJS + +const iconMapFilled = { + success: CheckCircleFilled/* default */.Z, + info: InfoCircleFilled/* default */.Z, + error: CloseCircleFilled/* default */.Z, + warning: ExclamationCircleFilled/* default */.Z +}; +const IconNode = props => { + const { + icon, + prefixCls, + type + } = props; + const iconType = iconMapFilled[type] || null; + if (icon) { + return (0,reactNode/* replaceElement */.wm)(icon, /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-icon` + }, icon), () => ({ + className: classnames_default()(`${prefixCls}-icon`, { + [icon.props.className]: icon.props.className + }) + })); + } + return /*#__PURE__*/react.createElement(iconType, { + className: `${prefixCls}-icon` + }); +}; +const CloseIcon = props => { + const { + isClosable, + prefixCls, + closeIcon, + handleClose + } = props; + const mergedCloseIcon = closeIcon === true || closeIcon === undefined ? /*#__PURE__*/react.createElement(CloseOutlined/* default */.Z, null) : closeIcon; + return isClosable ? /*#__PURE__*/react.createElement("button", { + type: "button", + onClick: handleClose, + className: `${prefixCls}-close-icon`, + tabIndex: 0 + }, mergedCloseIcon) : null; +}; +const Alert = props => { + const { + description, + prefixCls: customizePrefixCls, + message, + banner, + className, + rootClassName, + style, + onMouseEnter, + onMouseLeave, + onClick, + afterClose, + showIcon, + closable, + closeText, + closeIcon, + action + } = props, + otherProps = __rest(props, ["description", "prefixCls", "message", "banner", "className", "rootClassName", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action"]); + const [closed, setClosed] = react.useState(false); + if (false) {} + const ref = react.useRef(null); + const { + getPrefixCls, + direction, + alert + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('alert', customizePrefixCls); + const [wrapSSR, hashId] = alert_style(prefixCls); + const handleClose = e => { + var _a; + setClosed(true); + (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props, e); + }; + const type = react.useMemo(() => { + if (props.type !== undefined) { + return props.type; + } + // banner mode defaults to 'warning' + return banner ? 'warning' : 'info'; + }, [props.type, banner]); + // closeable when closeText or closeIcon is assigned + const isClosable = react.useMemo(() => { + if (closeText) { + return true; + } + if (typeof closable === 'boolean') { + return closable; + } + // should be true when closeIcon is 0 or '' + return closeIcon !== false && closeIcon !== null && closeIcon !== undefined; + }, [closeText, closeIcon, closable]); + // banner mode defaults to Icon + const isShowIcon = banner && showIcon === undefined ? true : showIcon; + const alertCls = classnames_default()(prefixCls, `${prefixCls}-${type}`, { + [`${prefixCls}-with-description`]: !!description, + [`${prefixCls}-no-icon`]: !isShowIcon, + [`${prefixCls}-banner`]: !!banner, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, alert === null || alert === void 0 ? void 0 : alert.className, className, rootClassName, hashId); + const restProps = (0,pickAttrs/* default */.Z)(otherProps, { + aria: true, + data: true + }); + return wrapSSR( /*#__PURE__*/react.createElement(es["default"], { + visible: !closed, + motionName: `${prefixCls}-motion`, + motionAppear: false, + motionEnter: false, + onLeaveStart: node => ({ + maxHeight: node.offsetHeight + }), + onLeaveEnd: afterClose + }, _ref => { + let { + className: motionClassName, + style: motionStyle + } = _ref; + return /*#__PURE__*/react.createElement("div", Object.assign({ + ref: ref, + "data-show": !closed, + className: classnames_default()(alertCls, motionClassName), + style: Object.assign(Object.assign(Object.assign({}, alert === null || alert === void 0 ? void 0 : alert.style), style), motionStyle), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave, + onClick: onClick, + role: "alert" + }, restProps), isShowIcon ? /*#__PURE__*/react.createElement(IconNode, { + description: description, + icon: props.icon, + prefixCls: prefixCls, + type: type + }) : null, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-content` + }, message ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-message` + }, message) : null, description ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-description` + }, description) : null), action ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-action` + }, action) : null, /*#__PURE__*/react.createElement(CloseIcon, { + isClosable: isClosable, + prefixCls: prefixCls, + closeIcon: closeText || closeIcon, + handleClose: handleClose + })); + })); +}; +if (false) {} +/* harmony default export */ var alert_Alert = (Alert); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(15671); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(43144); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(60136); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(51630); +;// CONCATENATED MODULE: ./node_modules/antd/es/alert/ErrorBoundary.js + + + + + + +let ErrorBoundary = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(ErrorBoundary, _React$Component); + var _super = (0,createSuper/* default */.Z)(ErrorBoundary); + function ErrorBoundary() { + var _this; + (0,classCallCheck/* default */.Z)(this, ErrorBoundary); + _this = _super.apply(this, arguments); + _this.state = { + error: undefined, + info: { + componentStack: '' + } + }; + return _this; + } + (0,createClass/* default */.Z)(ErrorBoundary, [{ + key: "componentDidCatch", + value: function componentDidCatch(error, info) { + this.setState({ + error, + info + }); + } + }, { + key: "render", + value: function render() { + const { + message, + description, + children + } = this.props; + const { + error, + info + } = this.state; + const componentStack = info && info.componentStack ? info.componentStack : null; + const errorMessage = typeof message === 'undefined' ? (error || '').toString() : message; + const errorDescription = typeof description === 'undefined' ? componentStack : description; + if (error) { + return /*#__PURE__*/react.createElement(alert_Alert, { + type: "error", + message: errorMessage, + description: /*#__PURE__*/react.createElement("pre", { + style: { + fontSize: '0.9em', + overflowX: 'auto' + } + }, errorDescription) + }); + } + return children; + } + }]); + return ErrorBoundary; +}(react.Component); +/* harmony default export */ var alert_ErrorBoundary = (ErrorBoundary); +;// CONCATENATED MODULE: ./node_modules/antd/es/alert/index.js +'use client'; + + + +const es_alert_Alert = alert_Alert; +es_alert_Alert.ErrorBoundary = alert_ErrorBoundary; +/* harmony default export */ var es_alert = (es_alert_Alert); + +/***/ }), + +/***/ 85673: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/index.js + 6 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ breadcrumb; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(37419); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(1337); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules +var DownOutlined = __webpack_require__(15558); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js + + +const BreadcrumbSeparator = _ref => { + let { + children + } = _ref; + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb'); + return /*#__PURE__*/react.createElement("li", { + className: `${prefixCls}-separator`, + "aria-hidden": "true" + }, children === '' ? children : children || '/'); +}; +BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; +/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/useItemRender.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +function getBreadcrumbName(route, params) { + if (route.title === undefined || route.title === null) { + return null; + } + const paramsKeys = Object.keys(params).join('|'); + return typeof route.title === 'object' ? route.title : String(route.title).replace(new RegExp(`:(${paramsKeys})`, 'g'), (replacement, key) => params[key] || replacement); +} +function renderItem(prefixCls, item, children, href) { + if (children === null || children === undefined) { + return null; + } + const { + className, + onClick + } = item, + restItem = __rest(item, ["className", "onClick"]); + const passedProps = Object.assign(Object.assign({}, (0,pickAttrs/* default */.Z)(restItem, { + data: true, + aria: true + })), { + onClick + }); + if (href !== undefined) { + return /*#__PURE__*/react.createElement("a", Object.assign({}, passedProps, { + className: classnames_default()(`${prefixCls}-link`, className), + href: href + }), children); + } + return /*#__PURE__*/react.createElement("span", Object.assign({}, passedProps, { + className: classnames_default()(`${prefixCls}-link`, className) + }), children); +} +function useItemRender(prefixCls, itemRender) { + const mergedItemRender = (item, params, routes, path, href) => { + if (itemRender) { + return itemRender(item, params, routes, path); + } + const name = getBreadcrumbName(item, params); + return renderItem(prefixCls, item, name, href); + }; + return mergedItemRender; +} +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js +var BreadcrumbItem_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalBreadcrumbItem = props => { + const { + prefixCls, + separator = '/', + children, + menu, + overlay, + dropdownProps, + href + } = props; + // Warning for deprecated usage + if (false) {} + /** If overlay is have Wrap a Dropdown */ + const renderBreadcrumbNode = breadcrumbItem => { + if (menu || overlay) { + const mergeDropDownProps = Object.assign({}, dropdownProps); + if (menu) { + const _a = menu || {}, + { + items + } = _a, + menuProps = BreadcrumbItem_rest(_a, ["items"]); + mergeDropDownProps.menu = Object.assign(Object.assign({}, menuProps), { + items: items === null || items === void 0 ? void 0 : items.map((_a, index) => { + var { + key, + title, + label, + path + } = _a, + itemProps = BreadcrumbItem_rest(_a, ["key", "title", "label", "path"]); + let mergedLabel = label !== null && label !== void 0 ? label : title; + if (path) { + mergedLabel = /*#__PURE__*/react.createElement("a", { + href: `${href}${path}` + }, mergedLabel); + } + return Object.assign(Object.assign({}, itemProps), { + key: key !== null && key !== void 0 ? key : index, + label: mergedLabel + }); + }) + }); + } else if (overlay) { + mergeDropDownProps.overlay = overlay; + } + return /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({ + placement: "bottom" + }, mergeDropDownProps), /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-overlay-link` + }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); + } + return breadcrumbItem; + }; + // wrap to dropDown + const link = renderBreadcrumbNode(children); + if (link !== undefined && link !== null) { + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("li", null, link), separator && /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbSeparator, null, separator)); + } + return null; +}; +const BreadcrumbItem = props => { + const { + prefixCls: customizePrefixCls, + children, + href + } = props, + restProps = BreadcrumbItem_rest(props, ["prefixCls", "children", "href"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + return /*#__PURE__*/react.createElement(InternalBreadcrumbItem, Object.assign({}, restProps, { + prefixCls: prefixCls + }), renderItem(prefixCls, restProps, children, href)); +}; +BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; +/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + + +const genBreadcrumbStyle = token => { + const { + componentCls, + iconCls + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + color: token.itemColor, + fontSize: token.fontSize, + [iconCls]: { + fontSize: token.iconFontSize + }, + ol: { + display: 'flex', + flexWrap: 'wrap', + margin: 0, + padding: 0, + listStyle: 'none' + }, + a: Object.assign({ + color: token.linkColor, + transition: `color ${token.motionDurationMid}`, + padding: `0 ${token.paddingXXS}px`, + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + marginInline: -token.marginXXS, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover + } + }, (0,style/* genFocusStyle */.Qy)(token)), + [`li:last-child`]: { + color: token.lastItemColor + }, + [`${componentCls}-separator`]: { + marginInline: token.separatorMargin, + color: token.separatorColor + }, + [`${componentCls}-link`]: { + [` + > ${iconCls} + span, + > ${iconCls} + a + `]: { + marginInlineStart: token.marginXXS + } + }, + [`${componentCls}-overlay-link`]: { + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + padding: `0 ${token.paddingXXS}px`, + marginInline: -token.marginXXS, + [`> ${iconCls}`]: { + marginInlineStart: token.marginXXS, + fontSize: token.fontSizeIcon + }, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover, + a: { + color: token.linkHoverColor + } + }, + a: { + '&:hover': { + backgroundColor: 'transparent' + } + } + }, + // rtl style + [`&${token.componentCls}-rtl`]: { + direction: 'rtl' + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var breadcrumb_style = ((0,genComponentStyleHook/* default */.Z)('Breadcrumb', token => { + const BreadcrumbToken = (0,statistic/* merge */.TS)(token, {}); + return [genBreadcrumbStyle(BreadcrumbToken)]; +}, token => ({ + itemColor: token.colorTextDescription, + lastItemColor: token.colorText, + iconFontSize: token.fontSize, + linkColor: token.colorTextDescription, + linkHoverColor: token.colorText, + separatorColor: token.colorTextDescription, + separatorMargin: token.marginXS +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/useItems.js +var useItems_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + +function route2item(route) { + const { + breadcrumbName, + children + } = route, + rest = useItems_rest(route, ["breadcrumbName", "children"]); + const clone = Object.assign({ + title: breadcrumbName + }, rest); + if (children) { + clone.menu = { + items: children.map(_a => { + var { + breadcrumbName: itemBreadcrumbName + } = _a, + itemProps = useItems_rest(_a, ["breadcrumbName"]); + return Object.assign(Object.assign({}, itemProps), { + title: itemBreadcrumbName + }); + }) + }; + } + return clone; +} +function useItems(items, routes) { + return (0,react.useMemo)(() => { + if (items) { + return items; + } + if (routes) { + return routes.map(route2item); + } + return null; + }, [items, routes]); +} +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js +var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + +const getPath = (params, path) => { + if (path === undefined) { + return path; + } + let mergedPath = (path || '').replace(/^\//, ''); + Object.keys(params).forEach(key => { + mergedPath = mergedPath.replace(`:${key}`, params[key]); + }); + return mergedPath; +}; +const Breadcrumb = props => { + const { + prefixCls: customizePrefixCls, + separator = '/', + style, + className, + rootClassName, + routes: legacyRoutes, + items, + children, + itemRender, + params = {} + } = props, + restProps = Breadcrumb_rest(props, ["prefixCls", "separator", "style", "className", "rootClassName", "routes", "items", "children", "itemRender", "params"]); + const { + getPrefixCls, + direction, + breadcrumb + } = react.useContext(context/* ConfigContext */.E_); + let crumbs; + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + const [wrapSSR, hashId] = breadcrumb_style(prefixCls); + const mergedItems = useItems(items, legacyRoutes); + if (false) {} + const mergedItemRender = useItemRender(prefixCls, itemRender); + if (mergedItems && mergedItems.length > 0) { + // generated by route + const paths = []; + const itemRenderRoutes = items || legacyRoutes; + crumbs = mergedItems.map((item, index) => { + const { + path, + key, + type, + menu, + overlay, + onClick, + className: itemClassName, + separator: itemSeparator, + dropdownProps + } = item; + const mergedPath = getPath(params, path); + if (mergedPath !== undefined) { + paths.push(mergedPath); + } + const mergedKey = key !== null && key !== void 0 ? key : index; + if (type === 'separator') { + return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbSeparator, { + key: mergedKey + }, itemSeparator); + } + const itemProps = {}; + const isLastItem = index === mergedItems.length - 1; + if (menu) { + itemProps.menu = menu; + } else if (overlay) { + itemProps.overlay = overlay; + } + let { + href + } = item; + if (paths.length && mergedPath !== undefined) { + href = `#/${paths.join('/')}`; + } + return /*#__PURE__*/react.createElement(InternalBreadcrumbItem, Object.assign({ + key: mergedKey + }, itemProps, (0,pickAttrs/* default */.Z)(item, { + data: true, + aria: true + }), { + className: itemClassName, + dropdownProps: dropdownProps, + href: href, + separator: isLastItem ? '' : separator, + onClick: onClick, + prefixCls: prefixCls + }), mergedItemRender(item, params, itemRenderRoutes, paths, href)); + }); + } else if (children) { + const childrenLength = (0,toArray/* default */.Z)(children).length; + crumbs = (0,toArray/* default */.Z)(children).map((element, index) => { + if (!element) { + return element; + } + // =================== Warning ===================== + if (false) {} + false ? 0 : void 0; + const isLastItem = index === childrenLength - 1; + return (0,reactNode/* cloneElement */.Tm)(element, { + separator: isLastItem ? '' : separator, + key: index + }); + }); + } + const breadcrumbClassName = classnames_default()(prefixCls, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.className, { + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.style), style); + return wrapSSR( /*#__PURE__*/react.createElement("nav", Object.assign({ + className: breadcrumbClassName, + style: mergedStyle + }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs))); +}; +Breadcrumb.Item = breadcrumb_BreadcrumbItem; +Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; +if (false) {} +/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js +'use client'; + + +/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); + +/***/ }), + +/***/ 96074: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/divider/index.js + 1 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ divider; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js + + +// ============================== Shared ============================== +const genSharedDividerStyle = token => { + const { + componentCls, + sizePaddingEdgeHorizontal, + colorSplit, + lineWidth + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + borderBlockStart: `${lineWidth}px solid ${colorSplit}`, + // vertical + '&-vertical': { + position: 'relative', + top: '-0.06em', + display: 'inline-block', + height: '0.9em', + margin: `0 ${token.dividerVerticalGutterMargin}px`, + verticalAlign: 'middle', + borderTop: 0, + borderInlineStart: `${lineWidth}px solid ${colorSplit}` + }, + '&-horizontal': { + display: 'flex', + clear: 'both', + width: '100%', + minWidth: '100%', + margin: `${token.dividerHorizontalGutterMargin}px 0` + }, + [`&-horizontal${componentCls}-with-text`]: { + display: 'flex', + alignItems: 'center', + margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`, + color: token.colorTextHeading, + fontWeight: 500, + fontSize: token.fontSizeLG, + whiteSpace: 'nowrap', + textAlign: 'center', + borderBlockStart: `0 ${colorSplit}`, + '&::before, &::after': { + position: 'relative', + width: '50%', + borderBlockStart: `${lineWidth}px solid transparent`, + // Chrome not accept `inherit` in `border-top` + borderBlockStartColor: 'inherit', + borderBlockEnd: 0, + transform: 'translateY(50%)', + content: "''" + } + }, + [`&-horizontal${componentCls}-with-text-left`]: { + '&::before': { + width: '5%' + }, + '&::after': { + width: '95%' + } + }, + [`&-horizontal${componentCls}-with-text-right`]: { + '&::before': { + width: '95%' + }, + '&::after': { + width: '5%' + } + }, + [`${componentCls}-inner-text`]: { + display: 'inline-block', + padding: '0 1em' + }, + '&-dashed': { + background: 'none', + borderColor: colorSplit, + borderStyle: 'dashed', + borderWidth: `${lineWidth}px 0 0` + }, + [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: { + '&::before, &::after': { + borderStyle: 'dashed none none' + } + }, + [`&-vertical${componentCls}-dashed`]: { + borderInlineStartWidth: lineWidth, + borderInlineEnd: 0, + borderBlockStart: 0, + borderBlockEnd: 0 + }, + [`&-plain${componentCls}-with-text`]: { + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: { + '&::before': { + width: 0 + }, + '&::after': { + width: '100%' + }, + [`${componentCls}-inner-text`]: { + paddingInlineStart: sizePaddingEdgeHorizontal + } + }, + [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: { + '&::before': { + width: '100%' + }, + '&::after': { + width: 0 + }, + [`${componentCls}-inner-text`]: { + paddingInlineEnd: sizePaddingEdgeHorizontal + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => { + const dividerToken = (0,statistic/* merge */.TS)(token, { + dividerVerticalGutterMargin: token.marginXS, + dividerHorizontalWithTextGutterMargin: token.margin, + dividerHorizontalGutterMargin: token.marginLG + }); + return [genSharedDividerStyle(dividerToken)]; +}, { + sizePaddingEdgeHorizontal: 0 +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +const Divider = props => { + const { + getPrefixCls, + direction, + divider + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'horizontal', + orientation = 'center', + orientationMargin, + className, + rootClassName, + children, + dashed, + plain, + style + } = props, + restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]); + const prefixCls = getPrefixCls('divider', customizePrefixCls); + const [wrapSSR, hashId] = divider_style(prefixCls); + const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation; + const hasChildren = !!children; + const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; + const hasCustomMarginRight = orientation === 'right' && orientationMargin != null; + const classString = classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, { + [`${prefixCls}-with-text`]: hasChildren, + [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren, + [`${prefixCls}-dashed`]: !!dashed, + [`${prefixCls}-plain`]: !!plain, + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft, + [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight + }, className, rootClassName); + const memoizedOrientationMargin = react.useMemo(() => { + if (typeof orientationMargin === 'number') { + return orientationMargin; + } + if (/^\d+$/.test(orientationMargin)) { + return Number(orientationMargin); + } + return orientationMargin; + }, [orientationMargin]); + const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && { + marginLeft: memoizedOrientationMargin + }), hasCustomMarginRight && { + marginRight: memoizedOrientationMargin + }); + // Warning children not work in vertical mode + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style) + }, restProps, { + role: "separator" + }), children && type !== 'vertical' && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-inner-text`, + style: innerStyle + }, children))); +}; +if (false) {} +/* harmony default export */ var divider = (Divider); + +/***/ }), + +/***/ 57761: +/*!*********************************************************************!*\ + !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! + \*********************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _react = __webpack_require__(/*! react */ 67294); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(/*! prop-types */ 45697); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var InfiniteScroll = function (_Component) { + _inherits(InfiniteScroll, _Component); + + function InfiniteScroll(props) { + _classCallCheck(this, InfiniteScroll); + + var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props)); + + _this.scrollListener = _this.scrollListener.bind(_this); + _this.eventListenerOptions = _this.eventListenerOptions.bind(_this); + _this.mousewheelListener = _this.mousewheelListener.bind(_this); + return _this; + } + + _createClass(InfiniteScroll, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.pageLoaded = this.props.pageStart; + this.options = this.eventListenerOptions(); + this.attachScrollListener(); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate() { + if (this.props.isReverse && this.loadMore) { + var parentElement = this.getParentElement(this.scrollComponent); + parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop; + this.loadMore = false; + } + this.attachScrollListener(); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.detachScrollListener(); + this.detachMousewheelListener(); + } + }, { + key: 'isPassiveSupported', + value: function isPassiveSupported() { + var passive = false; + + var testOptions = { + get passive() { + passive = true; + } + }; + + try { + document.addEventListener('test', null, testOptions); + document.removeEventListener('test', null, testOptions); + } catch (e) { + // ignore + } + return passive; + } + }, { + key: 'eventListenerOptions', + value: function eventListenerOptions() { + var options = this.props.useCapture; + + if (this.isPassiveSupported()) { + options = { + useCapture: this.props.useCapture, + passive: true + }; + } + return options; + } + + // Set a defaut loader for all your `InfiniteScroll` components + + }, { + key: 'setDefaultLoader', + value: function setDefaultLoader(loader) { + this.defaultLoader = loader; + } + }, { + key: 'detachMousewheelListener', + value: function detachMousewheelListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.scrollComponent.parentNode; + } + + scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'detachScrollListener', + value: function detachScrollListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.getParentElement(this.scrollComponent); + } + + scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'getParentElement', + value: function getParentElement(el) { + var scrollParent = this.props.getScrollParent && this.props.getScrollParent(); + if (scrollParent != null) { + return scrollParent; + } + return el && el.parentNode; + } + }, { + key: 'filterProps', + value: function filterProps(props) { + return props; + } + }, { + key: 'attachScrollListener', + value: function attachScrollListener() { + var parentElement = this.getParentElement(this.scrollComponent); + + if (!this.props.hasMore || !parentElement) { + return; + } + + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = parentElement; + } + + scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + + if (this.props.initialLoad) { + this.scrollListener(); + } + } + }, { + key: 'mousewheelListener', + value: function mousewheelListener(e) { + // Prevents Chrome hangups + // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257 + if (e.deltaY === 1 && !this.isPassiveSupported()) { + e.preventDefault(); + } + } + }, { + key: 'scrollListener', + value: function scrollListener() { + var el = this.scrollComponent; + var scrollEl = window; + var parentNode = this.getParentElement(el); + + var offset = void 0; + if (this.props.useWindow) { + var doc = document.documentElement || document.body.parentNode || document.body; + var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop; + if (this.props.isReverse) { + offset = scrollTop; + } else { + offset = this.calculateOffset(el, scrollTop); + } + } else if (this.props.isReverse) { + offset = parentNode.scrollTop; + } else { + offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight; + } + + // Here we make sure the element is visible as well as checking the offset + if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) { + this.detachScrollListener(); + this.beforeScrollHeight = parentNode.scrollHeight; + this.beforeScrollTop = parentNode.scrollTop; + // Call loadMore after detachScrollListener to allow for non-async loadMore functions + if (typeof this.props.loadMore === 'function') { + this.props.loadMore(this.pageLoaded += 1); + this.loadMore = true; + } + } + } + }, { + key: 'calculateOffset', + value: function calculateOffset(el, scrollTop) { + if (!el) { + return 0; + } + + return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight); + } + }, { + key: 'calculateTopPosition', + value: function calculateTopPosition(el) { + if (!el) { + return 0; + } + return el.offsetTop + this.calculateTopPosition(el.offsetParent); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var renderProps = this.filterProps(this.props); + + var children = renderProps.children, + element = renderProps.element, + hasMore = renderProps.hasMore, + initialLoad = renderProps.initialLoad, + isReverse = renderProps.isReverse, + loader = renderProps.loader, + loadMore = renderProps.loadMore, + pageStart = renderProps.pageStart, + ref = renderProps.ref, + threshold = renderProps.threshold, + useCapture = renderProps.useCapture, + useWindow = renderProps.useWindow, + getScrollParent = renderProps.getScrollParent, + props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']); + + props.ref = function (node) { + _this2.scrollComponent = node; + if (ref) { + ref(node); + } + }; + + var childrenArray = [children]; + if (hasMore) { + if (loader) { + isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader); + } else if (this.defaultLoader) { + isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader); + } + } + return _react2.default.createElement(element, props, childrenArray); + } + }]); + + return InfiniteScroll; +}(_react.Component); + +InfiniteScroll.propTypes = { + children: _propTypes2.default.node.isRequired, + element: _propTypes2.default.node, + hasMore: _propTypes2.default.bool, + initialLoad: _propTypes2.default.bool, + isReverse: _propTypes2.default.bool, + loader: _propTypes2.default.node, + loadMore: _propTypes2.default.func.isRequired, + pageStart: _propTypes2.default.number, + ref: _propTypes2.default.func, + getScrollParent: _propTypes2.default.func, + threshold: _propTypes2.default.number, + useCapture: _propTypes2.default.bool, + useWindow: _propTypes2.default.bool +}; +InfiniteScroll.defaultProps = { + element: 'div', + hasMore: false, + initialLoad: true, + pageStart: 0, + ref: null, + threshold: 250, + useWindow: true, + isReverse: false, + useCapture: false, + loader: null, + getScrollParent: null +}; +exports["default"] = InfiniteScroll; +module.exports = exports['default']; + + +/***/ }), + +/***/ 246: +/*!*******************************************************!*\ + !*** ./node_modules/react-infinite-scroller/index.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 57761) + + +/***/ }) + +}]); \ No newline at end of file diff --git a/1141.async.js b/1141.async.js new file mode 100644 index 0000000000..65a3b94823 --- /dev/null +++ b/1141.async.js @@ -0,0 +1,1611 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[1141,2441,33127],{ + +/***/ 84567: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 3 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js + 5 modules +var es = __webpack_require__(95860); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/GroupContext.js + +const GroupContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var checkbox_GroupContext = (GroupContext); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js +var checkbox_style = __webpack_require__(63185); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const InternalCheckbox = (props, ref) => { + var _a; + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + children, + indeterminate = false, + style, + onMouseEnter, + onMouseLeave, + skipGroup = false, + disabled + } = props, + restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + const { + getPrefixCls, + direction, + checkbox + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const checkboxGroup = react.useContext(checkbox_GroupContext); + const { + isFormItemInput + } = react.useContext(context/* FormItemInputContext */.aM); + const contextDisabled = react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled; + const prevValue = react.useRef(restProps.value); + react.useEffect(() => { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(() => { + if (skipGroup) { + return; + } + if (restProps.value !== prevValue.current) { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current); + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + prevValue.current = restProps.value; + } + return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }, [restProps.value]); + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const checkboxProps = Object.assign({}, restProps); + if (checkboxGroup && !skipGroup) { + checkboxProps.onChange = function () { + if (restProps.onChange) { + restProps.onChange.apply(restProps, arguments); + } + if (checkboxGroup.toggleOption) { + checkboxGroup.toggleOption({ + label: children, + value: restProps.value + }); + } + }; + checkboxProps.name = checkboxGroup.name; + checkboxProps.checked = checkboxGroup.value.includes(restProps.value); + } + const classString = classnames_default()(`${prefixCls}-wrapper`, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-wrapper-checked`]: checkboxProps.checked, + [`${prefixCls}-wrapper-disabled`]: mergedDisabled, + [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput + }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId); + const checkboxClass = classnames_default()({ + [`${prefixCls}-indeterminate`]: indeterminate + }, hashId); + const ariaChecked = indeterminate ? 'mixed' : undefined; + return wrapSSR( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, Object.assign({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children))); +}; +const Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + +var Group_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalGroup = (props, ref) => { + const { + defaultValue, + children, + options = [], + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + onChange + } = props, + restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]); + const { + getPrefixCls, + direction + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const [value, setValue] = react.useState(restProps.value || defaultValue || []); + const [registeredValues, setRegisteredValues] = react.useState([]); + react.useEffect(() => { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + const memoOptions = react.useMemo(() => options.map(option => { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }), [options]); + const cancelValue = val => { + setRegisteredValues(prevValues => prevValues.filter(v => v !== val)); + }; + const registerValue = val => { + setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val])); + }; + const toggleOption = option => { + const optionIndex = value.indexOf(option.value); + const newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => { + const indexA = memoOptions.findIndex(opt => opt.value === a); + const indexB = memoOptions.findIndex(opt => opt.value === b); + return indexA - indexB; + })); + }; + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const groupPrefixCls = `${prefixCls}-group`; + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/react.createElement(checkbox_Checkbox, { + prefixCls: prefixCls, + key: option.value.toString(), + disabled: 'disabled' in option ? option.disabled : restProps.disabled, + value: option.value, + checked: value.includes(option.value), + onChange: option.onChange, + className: `${groupPrefixCls}-item`, + style: option.style, + title: option.title + }, option.label)) : children; + // eslint-disable-next-line react/jsx-no-constructed-context-values + const context = { + toggleOption, + value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue, + cancelValue + }; + const classString = classnames_default()(groupPrefixCls, { + [`${groupPrefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(checkbox_GroupContext.Provider, { + value: context + }, childrenNode))); +}; + +const CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js +'use client'; + + + +const es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +if (false) {} +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 63185: +/*!******************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "C2": function() { return /* binding */ getStyle; } +/* harmony export */ }); +/* unused harmony export genCheckboxStyle */ +/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 73559); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 45503); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); + + + +// ============================== Motion ============================== +const antCheckboxEffect = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antCheckboxEffect', { + '0%': { + transform: 'scale(1)', + opacity: 0.5 + }, + '100%': { + transform: 'scale(1.6)', + opacity: 0 + } +}); +// ============================== Styles ============================== +const genCheckboxStyle = token => { + const { + checkboxCls + } = token; + const wrapperCls = `${checkboxCls}-wrapper`; + return [ + // ===================== Basic ===================== + { + // Group + [`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + flexWrap: 'wrap', + columnGap: token.marginXS, + // Group > Grid + [`> ${token.antCls}-row`]: { + flex: 1 + } + }), + // Wrapper + [wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + alignItems: 'baseline', + cursor: 'pointer', + // Fix checkbox & radio in flex align #30260 + '&:after': { + display: 'inline-block', + width: 0, + overflow: 'hidden', + content: "'\\a0'" + }, + // Checkbox near checkbox + [`& + ${wrapperCls}`]: { + marginInlineStart: 0 + }, + [`&${wrapperCls}-in-form-item`]: { + 'input[type="checkbox"]': { + width: 14, + height: 14 // FIXME: magic + } + } + }), + + // Wrapper > Checkbox + [checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + position: 'relative', + whiteSpace: 'nowrap', + lineHeight: 1, + cursor: 'pointer', + // To make alignment right when `controlHeight` is changed + // Ref: https://github.com/ant-design/ant-design/issues/41564 + alignSelf: 'center', + // Wrapper > Checkbox > input + [`${checkboxCls}-input`]: { + position: 'absolute', + // Since baseline align will get additional space offset, + // we need to move input to top to make it align with text. + // Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799 + inset: 0, + zIndex: 1, + cursor: 'pointer', + opacity: 0, + margin: 0, + [`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .genFocusOutline */ .oN)(token)) + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + boxSizing: 'border-box', + position: 'relative', + top: 0, + insetInlineStart: 0, + display: 'block', + width: token.checkboxSize, + height: token.checkboxSize, + direction: 'ltr', + backgroundColor: token.colorBgContainer, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + borderCollapse: 'separate', + transition: `all ${token.motionDurationSlow}`, + '&:after': { + boxSizing: 'border-box', + position: 'absolute', + top: '50%', + insetInlineStart: '21.5%', + display: 'table', + width: token.checkboxSize / 14 * 5, + height: token.checkboxSize / 14 * 8, + border: `${token.lineWidthBold}px solid ${token.colorWhite}`, + borderTop: 0, + borderInlineStart: 0, + transform: 'rotate(45deg) scale(0) translate(-50%,-50%)', + opacity: 0, + content: '""', + transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}` + } + }, + // Wrapper > Checkbox + Text + '& + span': { + paddingInlineStart: token.paddingXS, + paddingInlineEnd: token.paddingXS + } + }) + }, + // ===================== Hover ===================== + { + // Wrapper + [`${wrapperCls}:hover ${checkboxCls}:after`]: { + visibility: 'visible' + }, + // Wrapper & Wrapper > Checkbox + [` + ${wrapperCls}:not(${wrapperCls}-disabled), + ${checkboxCls}:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + borderColor: token.colorPrimary + } + }, + [`${wrapperCls}:not(${wrapperCls}-disabled)`]: { + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ==================== Checked ==================== + { + // Wrapper > Checkbox + [`${checkboxCls}-checked`]: { + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimary, + borderColor: token.colorPrimary, + '&:after': { + opacity: 1, + transform: 'rotate(45deg) scale(1) translate(-50%,-50%)', + transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}` + } + }, + // Checked Effect + '&:after': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '100%', + height: '100%', + borderRadius: token.borderRadiusSM, + visibility: 'hidden', + border: `${token.lineWidthBold}px solid ${token.colorPrimary}`, + animationName: antCheckboxEffect, + animationDuration: token.motionDurationSlow, + animationTimingFunction: 'ease-in-out', + animationFillMode: 'backwards', + content: '""', + transition: `all ${token.motionDurationSlow}` + } + }, + [` + ${wrapperCls}-checked:not(${wrapperCls}-disabled), + ${checkboxCls}-checked:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}:after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ================= Indeterminate ================= + { + [checkboxCls]: { + '&-indeterminate': { + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorBgContainer, + borderColor: token.colorBorder, + '&:after': { + top: '50%', + insetInlineStart: '50%', + width: token.fontSizeLG / 2, + height: token.fontSizeLG / 2, + backgroundColor: token.colorPrimary, + border: 0, + transform: 'translate(-50%, -50%) scale(1)', + opacity: 1, + content: '""' + } + } + } + } + }, + // ==================== Disable ==================== + { + // Wrapper + [`${wrapperCls}-disabled`]: { + cursor: 'not-allowed' + }, + // Wrapper > Checkbox + [`${checkboxCls}-disabled`]: { + // Wrapper > Checkbox > input + [`&, ${checkboxCls}-input`]: { + cursor: 'not-allowed', + // Disabled for native input to enable Tooltip event handler + // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901 + pointerEvents: 'none' + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + background: token.colorBgContainerDisabled, + borderColor: token.colorBorder, + '&:after': { + borderColor: token.colorTextDisabled + } + }, + '&:after': { + display: 'none' + }, + '& + span': { + color: token.colorTextDisabled + }, + [`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: { + background: token.colorTextDisabled + } + } + }]; +}; +// ============================== Export ============================== +function getStyle(prefixCls, token) { + const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .merge */ .TS)(token, { + checkboxCls: `.${prefixCls}`, + checkboxSize: token.controlInteractiveSize + }); + return [genCheckboxStyle(checkboxToken)]; +} +/* harmony default export */ __webpack_exports__["ZP"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Checkbox', (token, _ref) => { + let { + prefixCls + } = _ref; + return [getStyle(prefixCls, token)]; +})); + +/***/ }), + +/***/ 85418: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/dropdown/index.js + 1 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_dropdown; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/space/index.js + 2 modules +var space = __webpack_require__(42075); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(66748); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/dropdown-button.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const DropdownButton = props => { + const { + getPopupContainer: getContextPopupContainer, + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'default', + danger, + disabled, + loading, + onClick, + htmlType, + children, + className, + menu, + arrow, + autoFocus, + overlay, + trigger, + align, + open, + onOpenChange, + placement, + getPopupContainer, + href, + icon = /*#__PURE__*/react.createElement(EllipsisOutlined/* default */.Z, null), + title, + buttonsRender = buttons => buttons, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + } = props, + restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); + const prefixCls = getPrefixCls('dropdown', customizePrefixCls); + const buttonPrefixCls = `${prefixCls}-button`; + const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); + const dropdownProps = { + menu, + arrow, + autoFocus, + align, + disabled, + trigger: disabled ? [] : trigger, + onOpenChange, + getPopupContainer: getPopupContainer || getContextPopupContainer, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + }; + const { + compactSize, + compactItemClassnames + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); + if ('overlay' in props) { + dropdownProps.overlay = overlay; + } + if ('open' in props) { + dropdownProps.open = open; + } + if ('placement' in props) { + dropdownProps.placement = placement; + } else { + dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; + } + const leftButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + disabled: disabled, + loading: loading, + onClick: onClick, + htmlType: htmlType, + href: href, + title: title + }, children); + const rightButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + icon: icon + }); + const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); + return wrapSSR( /*#__PURE__*/react.createElement(space/* default.Compact */.Z.Compact, Object.assign({ + className: classes, + size: compactSize, + block: true + }, restProps), leftButtonToRender, /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); +}; +DropdownButton.__ANT_BUTTON = true; +/* harmony default export */ var dropdown_button = (DropdownButton); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/index.js +'use client'; + + + +const Dropdown = dropdown/* default */.Z; +Dropdown.Button = dropdown_button; +/* harmony default export */ var es_dropdown = (Dropdown); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 57761: +/*!*********************************************************************!*\ + !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! + \*********************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _react = __webpack_require__(/*! react */ 67294); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(/*! prop-types */ 45697); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var InfiniteScroll = function (_Component) { + _inherits(InfiniteScroll, _Component); + + function InfiniteScroll(props) { + _classCallCheck(this, InfiniteScroll); + + var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props)); + + _this.scrollListener = _this.scrollListener.bind(_this); + _this.eventListenerOptions = _this.eventListenerOptions.bind(_this); + _this.mousewheelListener = _this.mousewheelListener.bind(_this); + return _this; + } + + _createClass(InfiniteScroll, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.pageLoaded = this.props.pageStart; + this.options = this.eventListenerOptions(); + this.attachScrollListener(); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate() { + if (this.props.isReverse && this.loadMore) { + var parentElement = this.getParentElement(this.scrollComponent); + parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop; + this.loadMore = false; + } + this.attachScrollListener(); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.detachScrollListener(); + this.detachMousewheelListener(); + } + }, { + key: 'isPassiveSupported', + value: function isPassiveSupported() { + var passive = false; + + var testOptions = { + get passive() { + passive = true; + } + }; + + try { + document.addEventListener('test', null, testOptions); + document.removeEventListener('test', null, testOptions); + } catch (e) { + // ignore + } + return passive; + } + }, { + key: 'eventListenerOptions', + value: function eventListenerOptions() { + var options = this.props.useCapture; + + if (this.isPassiveSupported()) { + options = { + useCapture: this.props.useCapture, + passive: true + }; + } + return options; + } + + // Set a defaut loader for all your `InfiniteScroll` components + + }, { + key: 'setDefaultLoader', + value: function setDefaultLoader(loader) { + this.defaultLoader = loader; + } + }, { + key: 'detachMousewheelListener', + value: function detachMousewheelListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.scrollComponent.parentNode; + } + + scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'detachScrollListener', + value: function detachScrollListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.getParentElement(this.scrollComponent); + } + + scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'getParentElement', + value: function getParentElement(el) { + var scrollParent = this.props.getScrollParent && this.props.getScrollParent(); + if (scrollParent != null) { + return scrollParent; + } + return el && el.parentNode; + } + }, { + key: 'filterProps', + value: function filterProps(props) { + return props; + } + }, { + key: 'attachScrollListener', + value: function attachScrollListener() { + var parentElement = this.getParentElement(this.scrollComponent); + + if (!this.props.hasMore || !parentElement) { + return; + } + + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = parentElement; + } + + scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + + if (this.props.initialLoad) { + this.scrollListener(); + } + } + }, { + key: 'mousewheelListener', + value: function mousewheelListener(e) { + // Prevents Chrome hangups + // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257 + if (e.deltaY === 1 && !this.isPassiveSupported()) { + e.preventDefault(); + } + } + }, { + key: 'scrollListener', + value: function scrollListener() { + var el = this.scrollComponent; + var scrollEl = window; + var parentNode = this.getParentElement(el); + + var offset = void 0; + if (this.props.useWindow) { + var doc = document.documentElement || document.body.parentNode || document.body; + var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop; + if (this.props.isReverse) { + offset = scrollTop; + } else { + offset = this.calculateOffset(el, scrollTop); + } + } else if (this.props.isReverse) { + offset = parentNode.scrollTop; + } else { + offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight; + } + + // Here we make sure the element is visible as well as checking the offset + if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) { + this.detachScrollListener(); + this.beforeScrollHeight = parentNode.scrollHeight; + this.beforeScrollTop = parentNode.scrollTop; + // Call loadMore after detachScrollListener to allow for non-async loadMore functions + if (typeof this.props.loadMore === 'function') { + this.props.loadMore(this.pageLoaded += 1); + this.loadMore = true; + } + } + } + }, { + key: 'calculateOffset', + value: function calculateOffset(el, scrollTop) { + if (!el) { + return 0; + } + + return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight); + } + }, { + key: 'calculateTopPosition', + value: function calculateTopPosition(el) { + if (!el) { + return 0; + } + return el.offsetTop + this.calculateTopPosition(el.offsetParent); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var renderProps = this.filterProps(this.props); + + var children = renderProps.children, + element = renderProps.element, + hasMore = renderProps.hasMore, + initialLoad = renderProps.initialLoad, + isReverse = renderProps.isReverse, + loader = renderProps.loader, + loadMore = renderProps.loadMore, + pageStart = renderProps.pageStart, + ref = renderProps.ref, + threshold = renderProps.threshold, + useCapture = renderProps.useCapture, + useWindow = renderProps.useWindow, + getScrollParent = renderProps.getScrollParent, + props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']); + + props.ref = function (node) { + _this2.scrollComponent = node; + if (ref) { + ref(node); + } + }; + + var childrenArray = [children]; + if (hasMore) { + if (loader) { + isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader); + } else if (this.defaultLoader) { + isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader); + } + } + return _react2.default.createElement(element, props, childrenArray); + } + }]); + + return InfiniteScroll; +}(_react.Component); + +InfiniteScroll.propTypes = { + children: _propTypes2.default.node.isRequired, + element: _propTypes2.default.node, + hasMore: _propTypes2.default.bool, + initialLoad: _propTypes2.default.bool, + isReverse: _propTypes2.default.bool, + loader: _propTypes2.default.node, + loadMore: _propTypes2.default.func.isRequired, + pageStart: _propTypes2.default.number, + ref: _propTypes2.default.func, + getScrollParent: _propTypes2.default.func, + threshold: _propTypes2.default.number, + useCapture: _propTypes2.default.bool, + useWindow: _propTypes2.default.bool +}; +InfiniteScroll.defaultProps = { + element: 'div', + hasMore: false, + initialLoad: true, + pageStart: 0, + ref: null, + threshold: 250, + useWindow: true, + isReverse: false, + useCapture: false, + loader: null, + getScrollParent: null +}; +exports["default"] = InfiniteScroll; +module.exports = exports['default']; + + +/***/ }), + +/***/ 246: +/*!*******************************************************!*\ + !*** ./node_modules/react-infinite-scroller/index.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 57761) + + +/***/ }) + +}]); \ No newline at end of file diff --git a/11955.async.js b/11955.async.js new file mode 100644 index 0000000000..ebfa050ca7 --- /dev/null +++ b/11955.async.js @@ -0,0 +1,827 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[11955],{ + +/***/ 50888: +/*!********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules ***! + \********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_LoadingOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js +// This icon file is generated automatically. +var LoadingOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, "name": "loading", "theme": "outlined" }; +/* harmony default export */ var asn_LoadingOutlined = (LoadingOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/LoadingOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var LoadingOutlined_LoadingOutlined = function LoadingOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_LoadingOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_LoadingOutlined = (/*#__PURE__*/react.forwardRef(LoadingOutlined_LoadingOutlined)); + +/***/ }), + +/***/ 57838: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/_util/hooks/useForceUpdate.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ useForceUpdate; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +function useForceUpdate() { + const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0); + return forceUpdate; +} + +/***/ }), + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 55054: +/*!*************************************************************!*\ + !*** ./node_modules/antd/es/statistic/index.js + 5 modules ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_statistic; } +}); + +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useForceUpdate.js +var useForceUpdate = __webpack_require__(57838); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules +var skeleton = __webpack_require__(4310); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Number.js + +const StatisticNumber = props => { + const { + value, + formatter, + precision, + decimalSeparator, + groupSeparator = '', + prefixCls + } = props; + let valueNode; + if (typeof formatter === 'function') { + // Customize formatter + valueNode = formatter(value); + } else { + // Internal formatter + const val = String(value); + const cells = val.match(/^(-?)(\d*)(\.(\d+))?$/); + // Process if illegal number + if (!cells || val === '-') { + valueNode = val; + } else { + const negative = cells[1]; + let int = cells[2] || '0'; + let decimal = cells[4] || ''; + int = int.replace(/\B(?=(\d{3})+(?!\d))/g, groupSeparator); + if (typeof precision === 'number') { + decimal = decimal.padEnd(precision, '0').slice(0, precision > 0 ? precision : 0); + } + if (decimal) { + decimal = `${decimalSeparator}${decimal}`; + } + valueNode = [/*#__PURE__*/react.createElement("span", { + key: "int", + className: `${prefixCls}-content-value-int` + }, negative, int), decimal && /*#__PURE__*/react.createElement("span", { + key: "decimal", + className: `${prefixCls}-content-value-decimal` + }, decimal)]; + } + } + return /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-value` + }, valueNode); +}; +/* harmony default export */ var statistic_Number = (StatisticNumber); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/style/index.js + + +const genStatisticStyle = token => { + const { + componentCls, + marginXXS, + padding, + colorTextDescription, + titleFontSize, + colorTextHeading, + contentFontSize, + fontFamily + } = token; + return { + [`${componentCls}`]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + [`${componentCls}-title`]: { + marginBottom: marginXXS, + color: colorTextDescription, + fontSize: titleFontSize + }, + [`${componentCls}-skeleton`]: { + paddingTop: padding + }, + [`${componentCls}-content`]: { + color: colorTextHeading, + fontSize: contentFontSize, + fontFamily, + [`${componentCls}-content-value`]: { + display: 'inline-block', + direction: 'ltr' + }, + [`${componentCls}-content-prefix, ${componentCls}-content-suffix`]: { + display: 'inline-block' + }, + [`${componentCls}-content-prefix`]: { + marginInlineEnd: marginXXS + }, + [`${componentCls}-content-suffix`]: { + marginInlineStart: marginXXS + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var statistic_style = ((0,genComponentStyleHook/* default */.Z)('Statistic', token => { + const statisticToken = (0,statistic/* merge */.TS)(token, {}); + return [genStatisticStyle(statisticToken)]; +}, token => { + const { + fontSizeHeading3, + fontSize + } = token; + return { + titleFontSize: fontSize, + contentFontSize: fontSizeHeading3 + }; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Statistic.js + + + + + + +const Statistic = props => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + valueStyle, + value = 0, + title, + valueRender, + prefix, + suffix, + loading = false, + onMouseEnter, + onMouseLeave, + decimalSeparator = '.', + groupSeparator = ',' + } = props; + const { + getPrefixCls, + direction, + statistic + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('statistic', customizePrefixCls); + const [wrapSSR, hashId] = statistic_style(prefixCls); + const valueNode = /*#__PURE__*/react.createElement(statistic_Number, Object.assign({ + decimalSeparator: decimalSeparator, + groupSeparator: groupSeparator, + prefixCls: prefixCls + }, props, { + value: value + })); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl' + }, statistic === null || statistic === void 0 ? void 0 : statistic.className, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", { + className: cls, + style: Object.assign(Object.assign({}, statistic === null || statistic === void 0 ? void 0 : statistic.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-title` + }, title), /*#__PURE__*/react.createElement(skeleton/* default */.Z, { + paragraph: false, + loading: loading, + className: `${prefixCls}-skeleton` + }, /*#__PURE__*/react.createElement("div", { + style: valueStyle, + className: `${prefixCls}-content` + }, prefix && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-prefix` + }, prefix), valueRender ? valueRender(valueNode) : valueNode, suffix && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-suffix` + }, suffix))))); +}; +if (false) {} +/* harmony default export */ var statistic_Statistic = (Statistic); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/utils.js +// Countdown +const timeUnits = [['Y', 1000 * 60 * 60 * 24 * 365], ['M', 1000 * 60 * 60 * 24 * 30], ['D', 1000 * 60 * 60 * 24], ['H', 1000 * 60 * 60], ['m', 1000 * 60], ['s', 1000], ['S', 1] // million seconds +]; + +function formatTimeStr(duration, format) { + let leftDuration = duration; + const escapeRegex = /\[[^\]]*]/g; + const keepList = (format.match(escapeRegex) || []).map(str => str.slice(1, -1)); + const templateText = format.replace(escapeRegex, '[]'); + const replacedText = timeUnits.reduce((current, _ref) => { + let [name, unit] = _ref; + if (current.includes(name)) { + const value = Math.floor(leftDuration / unit); + leftDuration -= value * unit; + return current.replace(new RegExp(`${name}+`, 'g'), match => { + const len = match.length; + return value.toString().padStart(len, '0'); + }); + } + return current; + }, templateText); + let index = 0; + return replacedText.replace(escapeRegex, () => { + const match = keepList[index]; + index += 1; + return match; + }); +} +function formatCountdown(value, config) { + const { + format = '' + } = config; + const target = new Date(value).getTime(); + const current = Date.now(); + const diff = Math.max(target - current, 0); + return formatTimeStr(diff, format); +} +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Countdown.js + + + + + +const REFRESH_INTERVAL = 1000 / 30; +function getTime(value) { + return new Date(value).getTime(); +} +const Countdown = props => { + const { + value, + format = 'HH:mm:ss', + onChange, + onFinish + } = props; + const forceUpdate = (0,useForceUpdate/* default */.Z)(); + const countdown = react.useRef(null); + const stopTimer = () => { + onFinish === null || onFinish === void 0 ? void 0 : onFinish(); + if (countdown.current) { + clearInterval(countdown.current); + countdown.current = null; + } + }; + const syncTimer = () => { + const timestamp = getTime(value); + if (timestamp >= Date.now()) { + countdown.current = setInterval(() => { + forceUpdate(); + onChange === null || onChange === void 0 ? void 0 : onChange(timestamp - Date.now()); + if (timestamp < Date.now()) { + stopTimer(); + } + }, REFRESH_INTERVAL); + } + }; + react.useEffect(() => { + syncTimer(); + return () => { + if (countdown.current) { + clearInterval(countdown.current); + countdown.current = null; + } + }; + }, [value]); + const formatter = (formatValue, config) => formatCountdown(formatValue, Object.assign(Object.assign({}, config), { + format + })); + const valueRender = node => (0,reactNode/* cloneElement */.Tm)(node, { + title: undefined + }); + return /*#__PURE__*/react.createElement(statistic_Statistic, Object.assign({}, props, { + valueRender: valueRender, + formatter: formatter + })); +}; +/* harmony default export */ var statistic_Countdown = (/*#__PURE__*/react.memo(Countdown)); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/index.js +'use client'; + + + +statistic_Statistic.Countdown = statistic_Countdown; +/* harmony default export */ var es_statistic = (statistic_Statistic); + +/***/ }), + +/***/ 33507: +/*!*******************************************************!*\ + !*** ./node_modules/antd/es/style/motion/collapse.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +const genCollapseMotion = token => ({ + [token.componentCls]: { + // For common/openAnimation + [`${token.antCls}-motion-collapse-legacy`]: { + overflow: 'hidden', + '&-active': { + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + }, + [`${token.antCls}-motion-collapse`]: { + overflow: 'hidden', + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + } +}); +/* harmony default export */ __webpack_exports__["Z"] = (genCollapseMotion); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/12034.async.js b/12034.async.js index 697f20ff7c..51f26d49e9 100644 --- a/12034.async.js +++ b/12034.async.js @@ -35,12 +35,12 @@ /* harmony export */ "y8": function() { return /* binding */ Exportcompetitions; } /* harmony export */ }); /* unused harmony export ExportCourseWorkListAppendix */ -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var _service_classrooms__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/service/classrooms */ 73290); /* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! umi */ 89214); /* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util */ 29427); @@ -73,14 +73,14 @@ var hideLoading = function hideLoading() { }); }; var ExportCourseInfo = /*#__PURE__*/function () { - var _ref = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { + var _ref = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(params) { var res; - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: showLoading(); _context.next = 3; - return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseInfo */ .YR)(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); + return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseInfo */ .YR)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); case 3: res = _context.sent; if (!(res.status === 0)) { @@ -105,13 +105,13 @@ var ExportCourseInfo = /*#__PURE__*/function () { }; }(); var ExportCourseActScore = /*#__PURE__*/function () { - var _ref2 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { + var _ref2 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2(params) { var res; - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { while (1) switch (_context2.prev = _context2.next) { case 0: _context2.next = 2; - return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseActScore */ .yS)(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); + return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseActScore */ .yS)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); case 2: res = _context2.sent; if (!(res.status === 0)) { @@ -149,13 +149,13 @@ var ExportCourseActScore = /*#__PURE__*/function () { }; }(); var ExportCourseMemberScores = /*#__PURE__*/function () { - var _ref3 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { + var _ref3 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee3(params) { var res; - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee3$(_context3) { while (1) switch (_context3.prev = _context3.next) { case 0: _context3.next = 2; - return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseMemberScores */ .W0)(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); + return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseMemberScores */ .W0)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); case 2: res = _context3.sent; if (!(res.status === 0)) { @@ -195,13 +195,13 @@ var ExportCourseMemberScores = /*#__PURE__*/function () { //试卷 var ExportCourseAndOther = /*#__PURE__*/function () { - var _ref4 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { + var _ref4 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee4(params) { var res; - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee4$(_context4) { while (1) switch (_context4.prev = _context4.next) { case 0: _context4.next = 2; - return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseAndOther */ .Nl)(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); + return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseAndOther */ .Nl)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); case 2: res = _context4.sent; if (!(res.status === 0)) { @@ -241,13 +241,13 @@ var ExportCourseAndOther = /*#__PURE__*/function () { //第三方幕课 var exportMoocrecord = /*#__PURE__*/function () { - var _ref5 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { + var _ref5 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee5(params) { var res; - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee5$(_context5) { while (1) switch (_context5.prev = _context5.next) { case 0: _context5.next = 2; - return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportMoocrecords */ .td)(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); + return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportMoocrecords */ .td)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); case 2: res = _context5.sent; if (!(res.status === 0)) { @@ -287,13 +287,13 @@ var exportMoocrecord = /*#__PURE__*/function () { //作业 var ExportCourseTotalScore = /*#__PURE__*/function () { - var _ref6 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { + var _ref6 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee6(params) { var res; - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee6$(_context6) { while (1) switch (_context6.prev = _context6.next) { case 0: _context6.next = 2; - return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseTotalScore */ .QX)(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); + return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseTotalScore */ .QX)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); case 2: res = _context6.sent; if (!(res.status === 0)) { @@ -331,13 +331,13 @@ var ExportCourseTotalScore = /*#__PURE__*/function () { }; }(); var ExportCourseWorkListScores = /*#__PURE__*/function () { - var _ref7 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params, type) { + var _ref7 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee7(params, type) { var res; - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee7$(_context7) { while (1) switch (_context7.prev = _context7.next) { case 0: _context7.next = 2; - return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseWorkListScores */ .aP)(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); + return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportCourseWorkListScores */ .aP)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); case 2: res = _context7.sent; if (res.status === 0) { @@ -401,14 +401,14 @@ var ExportCourseWorkListAppendix = /*#__PURE__*/(/* unused pure expression or su }; }())); var ExportPollsScores = /*#__PURE__*/function () { - var _ref9 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { + var _ref9 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee9(params) { var res; - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee9$(_context9) { while (1) switch (_context9.prev = _context9.next) { case 0: showLoading(); _context9.next = 3; - return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportPollsScores */ .MJ)(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); + return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportPollsScores */ .MJ)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); case 3: res = _context9.sent; if (!(res.status === 0)) { @@ -433,8 +433,8 @@ var ExportPollsScores = /*#__PURE__*/function () { }; }(); var ExportAttendance = /*#__PURE__*/function () { - var _ref10 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { + var _ref10 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee10(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) { while (1) switch (_context10.prev = _context10.next) { case 0: _context10.next = 2; @@ -453,8 +453,8 @@ var ExportAttendance = /*#__PURE__*/function () { }; }(); var ExportVideoStudent = /*#__PURE__*/function () { - var _ref11 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { + var _ref11 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee11(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee11$(_context11) { while (1) switch (_context11.prev = _context11.next) { case 0: _context11.next = 2; @@ -473,8 +473,8 @@ var ExportVideoStudent = /*#__PURE__*/function () { }; }(); var ExportVideoStudy = /*#__PURE__*/function () { - var _ref12 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { + var _ref12 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee12(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee12$(_context12) { while (1) switch (_context12.prev = _context12.next) { case 0: _context12.next = 2; @@ -493,8 +493,8 @@ var ExportVideoStudy = /*#__PURE__*/function () { }; }(); var ExportCourseStudentsInfo = /*#__PURE__*/function () { - var _ref13 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { + var _ref13 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee13(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee13$(_context13) { while (1) switch (_context13.prev = _context13.next) { case 0: _context13.next = 2; @@ -513,8 +513,8 @@ var ExportCourseStudentsInfo = /*#__PURE__*/function () { }; }(); var ExportCollegeStudentsInfo = /*#__PURE__*/function () { - var _ref14 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { + var _ref14 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee14(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee14$(_context14) { while (1) switch (_context14.prev = _context14.next) { case 0: _context14.next = 2; @@ -533,8 +533,8 @@ var ExportCollegeStudentsInfo = /*#__PURE__*/function () { }; }(); var ExportProblemset = /*#__PURE__*/function () { - var _ref15 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { + var _ref15 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee15(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee15$(_context15) { while (1) switch (_context15.prev = _context15.next) { case 0: _context15.next = 2; @@ -553,8 +553,8 @@ var ExportProblemset = /*#__PURE__*/function () { }; }(); var Exportcompetitions = /*#__PURE__*/function () { - var _ref16 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { + var _ref16 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee16(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee16$(_context16) { while (1) switch (_context16.prev = _context16.next) { case 0: _context16.next = 2; @@ -573,13 +573,13 @@ var Exportcompetitions = /*#__PURE__*/function () { }; }(); var ExportExerciseStudentScores = /*#__PURE__*/function () { - var _ref17 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { + var _ref17 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee17(params) { var res; - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee17$(_context17) { while (1) switch (_context17.prev = _context17.next) { case 0: _context17.next = 2; - return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportExerciseStudentScores */ .Uy)(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); + return (0,_service_classrooms__WEBPACK_IMPORTED_MODULE_3__/* .exportExerciseStudentScores */ .Uy)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, params)); case 2: res = _context17.sent; if (res.status === 0) { @@ -611,8 +611,8 @@ var ExportExerciseStudentScores = /*#__PURE__*/function () { }; }(); var getDownFile = /*#__PURE__*/function () { - var _ref18 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { + var _ref18 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee18(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee18$(_context18) { while (1) switch (_context18.prev = _context18.next) { case 0: console.log('----------', '调用下载'); @@ -632,8 +632,8 @@ var getDownFile = /*#__PURE__*/function () { }; }(); var getecyears = /*#__PURE__*/function () { - var _ref19 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { + var _ref19 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee19(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee19$(_context19) { while (1) switch (_context19.prev = _context19.next) { case 0: _context19.next = 2; @@ -652,8 +652,8 @@ var getecyears = /*#__PURE__*/function () { }; }(); var ExportStudentanalysis = /*#__PURE__*/function () { - var _ref20 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { + var _ref20 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee20(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee20$(_context20) { while (1) switch (_context20.prev = _context20.next) { case 0: _context20.next = 2; @@ -674,8 +674,8 @@ var ExportStudentanalysis = /*#__PURE__*/function () { }; }(); var getec_training_objectives = /*#__PURE__*/function () { - var _ref21 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { + var _ref21 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee21(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee21$(_context21) { while (1) switch (_context21.prev = _context21.next) { case 0: _context21.next = 2; @@ -694,8 +694,8 @@ var getec_training_objectives = /*#__PURE__*/function () { }; }(); var get_ecs_attachment = /*#__PURE__*/function () { - var _ref22 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { + var _ref22 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) { while (1) switch (_context22.prev = _context22.next) { case 0: _context22.next = 2; @@ -714,8 +714,8 @@ var get_ecs_attachment = /*#__PURE__*/function () { }; }(); var getec_courses = /*#__PURE__*/function () { - var _ref23 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee23(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) { + var _ref23 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee23(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee23$(_context23) { while (1) switch (_context23.prev = _context23.next) { case 0: _context23.next = 2; @@ -734,8 +734,8 @@ var getec_courses = /*#__PURE__*/function () { }; }(); var getec_graduation_requirements = /*#__PURE__*/function () { - var _ref24 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { + var _ref24 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee24(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee24$(_context24) { while (1) switch (_context24.prev = _context24.next) { case 0: _context24.next = 2; @@ -754,8 +754,8 @@ var getec_graduation_requirements = /*#__PURE__*/function () { }; }(); var getrank_list = /*#__PURE__*/function () { - var _ref25 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { + var _ref25 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee25(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee25$(_context25) { while (1) switch (_context25.prev = _context25.next) { case 0: _context25.next = 2; @@ -774,8 +774,8 @@ var getrank_list = /*#__PURE__*/function () { }; }(); var getquestion_rank_list = /*#__PURE__*/function () { - var _ref26 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(params) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { + var _ref26 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee26(params) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee26$(_context26) { while (1) switch (_context26.prev = _context26.next) { case 0: _context26.next = 2; diff --git a/12763.async.js b/12763.async.js new file mode 100644 index 0000000000..7c1bcafd4a --- /dev/null +++ b/12763.async.js @@ -0,0 +1,639 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[12763],{ + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 42075: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/space/index.js + 2 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ space; } +}); + +// UNUSED EXPORTS: SpaceContext + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(37419); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useFlexGapSupport.js +var useFlexGapSupport = __webpack_require__(98082); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/space/context.js + +const SpaceContext = /*#__PURE__*/react.createContext({ + latestIndex: 0, + horizontalSize: 0, + verticalSize: 0, + supportFlexGap: false +}); +const SpaceContextProvider = SpaceContext.Provider; +;// CONCATENATED MODULE: ./node_modules/antd/es/space/Item.js + + +const Item = _ref => { + let { + className, + direction, + index, + marginDirection, + children, + split, + wrap, + style: customStyle + } = _ref; + const { + horizontalSize, + verticalSize, + latestIndex, + supportFlexGap + } = react.useContext(SpaceContext); + let style = {}; + if (!supportFlexGap) { + if (direction === 'vertical') { + if (index < latestIndex) { + style = { + marginBottom: horizontalSize / (split ? 2 : 1) + }; + } + } else { + style = Object.assign(Object.assign({}, index < latestIndex && { + [marginDirection]: horizontalSize / (split ? 2 : 1) + }), wrap && { + paddingBottom: verticalSize + }); + } + } + if (children === null || children === undefined) { + return null; + } + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", { + className: className, + style: Object.assign(Object.assign({}, style), customStyle) + }, children), index < latestIndex && split && /*#__PURE__*/react.createElement("span", { + className: `${className}-split`, + style: style + }, split)); +}; +/* harmony default export */ var space_Item = (Item); +// EXTERNAL MODULE: ./node_modules/antd/es/space/style/index.js + 1 modules +var space_style = __webpack_require__(51916); +;// CONCATENATED MODULE: ./node_modules/antd/es/space/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const spaceSize = { + small: 8, + middle: 16, + large: 24 +}; +function getNumberSize(size) { + return typeof size === 'string' ? spaceSize[size] : size || 0; +} +const Space = /*#__PURE__*/react.forwardRef((props, ref) => { + var _a, _b; + const { + getPrefixCls, + space, + direction: directionConfig + } = react.useContext(context/* ConfigContext */.E_); + const { + size = (space === null || space === void 0 ? void 0 : space.size) || 'small', + align, + className, + rootClassName, + children, + direction = 'horizontal', + prefixCls: customizePrefixCls, + split, + style, + wrap = false, + classNames: customClassNames, + styles + } = props, + otherProps = __rest(props, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]); + const supportFlexGap = (0,useFlexGapSupport/* default */.Z)(); + const [horizontalSize, verticalSize] = react.useMemo(() => (Array.isArray(size) ? size : [size, size]).map(item => getNumberSize(item)), [size]); + const childNodes = (0,toArray/* default */.Z)(children, { + keepEmpty: true + }); + const mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align; + const prefixCls = getPrefixCls('space', customizePrefixCls); + const [wrapSSR, hashId] = (0,space_style/* default */.Z)(prefixCls); + const cn = classnames_default()(prefixCls, space === null || space === void 0 ? void 0 : space.className, hashId, `${prefixCls}-${direction}`, { + [`${prefixCls}-rtl`]: directionConfig === 'rtl', + [`${prefixCls}-align-${mergedAlign}`]: mergedAlign + }, className, rootClassName); + const itemClassName = classnames_default()(`${prefixCls}-item`, (_a = customClassNames === null || customClassNames === void 0 ? void 0 : customClassNames.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.classNames) === null || _b === void 0 ? void 0 : _b.item); + const marginDirection = directionConfig === 'rtl' ? 'marginLeft' : 'marginRight'; + // Calculate latest one + let latestIndex = 0; + const nodes = childNodes.map((child, i) => { + var _a, _b; + if (child !== null && child !== undefined) { + latestIndex = i; + } + const key = child && child.key || `${itemClassName}-${i}`; + return /*#__PURE__*/react.createElement(space_Item, { + className: itemClassName, + key: key, + direction: direction, + index: i, + marginDirection: marginDirection, + split: split, + wrap: wrap, + style: (_a = styles === null || styles === void 0 ? void 0 : styles.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.styles) === null || _b === void 0 ? void 0 : _b.item + }, child); + }); + const spaceContext = react.useMemo(() => ({ + horizontalSize, + verticalSize, + latestIndex, + supportFlexGap + }), [horizontalSize, verticalSize, latestIndex, supportFlexGap]); + // =========================== Render =========================== + if (childNodes.length === 0) { + return null; + } + const gapStyle = {}; + if (wrap) { + gapStyle.flexWrap = 'wrap'; + // Patch for gap not support + if (!supportFlexGap) { + gapStyle.marginBottom = -verticalSize; + } + } + if (supportFlexGap) { + gapStyle.columnGap = horizontalSize; + gapStyle.rowGap = verticalSize; + } + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + ref: ref, + className: cn, + style: Object.assign(Object.assign(Object.assign({}, gapStyle), space === null || space === void 0 ? void 0 : space.style), style) + }, otherProps), /*#__PURE__*/react.createElement(SpaceContextProvider, { + value: spaceContext + }, nodes))); +}); +if (false) {} +const CompoundedSpace = Space; +CompoundedSpace.Compact = Compact/* default */.ZP; +/* harmony default export */ var space = (CompoundedSpace); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/12768.async.js b/12768.async.js index 8540b86f95..2ea8620c07 100644 --- a/12768.async.js +++ b/12768.async.js @@ -7,8 +7,8 @@ \*****************************************/ /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); /* harmony import */ var _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd */ 71577); @@ -35,7 +35,7 @@ var noData = function noData(_ref) { loading = _ref$loading === void 0 ? false : _ref$loading; return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("section", { className: "tc animated fadeIn", - style: _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, { + style: D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, { color: '#999', margin: '0 auto', padding: '100px 0', @@ -43,14 +43,14 @@ var noData = function noData(_ref) { }), styles), children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("img", { src: img || _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_2__, - style: _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, { + style: D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, { width: "200px", height: "150px" }), imgStyles) }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p", { className: "mt10 font14", children: customText || '暂时还没有相关数据哦!' - }), ButtonText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(antd__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP, _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ + }), ButtonText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(antd__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP, D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ className: Buttonclass, onClick: ButtonClick }, buttonProps), {}, { diff --git a/13917.async.js b/13917.async.js new file mode 100644 index 0000000000..dbd374c72c --- /dev/null +++ b/13917.async.js @@ -0,0 +1,917 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[13917,57348,49516],{ + +/***/ 85673: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/index.js + 6 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ breadcrumb; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(37419); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(1337); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules +var DownOutlined = __webpack_require__(15558); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js + + +const BreadcrumbSeparator = _ref => { + let { + children + } = _ref; + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb'); + return /*#__PURE__*/react.createElement("li", { + className: `${prefixCls}-separator`, + "aria-hidden": "true" + }, children === '' ? children : children || '/'); +}; +BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; +/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/useItemRender.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +function getBreadcrumbName(route, params) { + if (route.title === undefined || route.title === null) { + return null; + } + const paramsKeys = Object.keys(params).join('|'); + return typeof route.title === 'object' ? route.title : String(route.title).replace(new RegExp(`:(${paramsKeys})`, 'g'), (replacement, key) => params[key] || replacement); +} +function renderItem(prefixCls, item, children, href) { + if (children === null || children === undefined) { + return null; + } + const { + className, + onClick + } = item, + restItem = __rest(item, ["className", "onClick"]); + const passedProps = Object.assign(Object.assign({}, (0,pickAttrs/* default */.Z)(restItem, { + data: true, + aria: true + })), { + onClick + }); + if (href !== undefined) { + return /*#__PURE__*/react.createElement("a", Object.assign({}, passedProps, { + className: classnames_default()(`${prefixCls}-link`, className), + href: href + }), children); + } + return /*#__PURE__*/react.createElement("span", Object.assign({}, passedProps, { + className: classnames_default()(`${prefixCls}-link`, className) + }), children); +} +function useItemRender(prefixCls, itemRender) { + const mergedItemRender = (item, params, routes, path, href) => { + if (itemRender) { + return itemRender(item, params, routes, path); + } + const name = getBreadcrumbName(item, params); + return renderItem(prefixCls, item, name, href); + }; + return mergedItemRender; +} +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js +var BreadcrumbItem_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalBreadcrumbItem = props => { + const { + prefixCls, + separator = '/', + children, + menu, + overlay, + dropdownProps, + href + } = props; + // Warning for deprecated usage + if (false) {} + /** If overlay is have Wrap a Dropdown */ + const renderBreadcrumbNode = breadcrumbItem => { + if (menu || overlay) { + const mergeDropDownProps = Object.assign({}, dropdownProps); + if (menu) { + const _a = menu || {}, + { + items + } = _a, + menuProps = BreadcrumbItem_rest(_a, ["items"]); + mergeDropDownProps.menu = Object.assign(Object.assign({}, menuProps), { + items: items === null || items === void 0 ? void 0 : items.map((_a, index) => { + var { + key, + title, + label, + path + } = _a, + itemProps = BreadcrumbItem_rest(_a, ["key", "title", "label", "path"]); + let mergedLabel = label !== null && label !== void 0 ? label : title; + if (path) { + mergedLabel = /*#__PURE__*/react.createElement("a", { + href: `${href}${path}` + }, mergedLabel); + } + return Object.assign(Object.assign({}, itemProps), { + key: key !== null && key !== void 0 ? key : index, + label: mergedLabel + }); + }) + }); + } else if (overlay) { + mergeDropDownProps.overlay = overlay; + } + return /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({ + placement: "bottom" + }, mergeDropDownProps), /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-overlay-link` + }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); + } + return breadcrumbItem; + }; + // wrap to dropDown + const link = renderBreadcrumbNode(children); + if (link !== undefined && link !== null) { + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("li", null, link), separator && /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbSeparator, null, separator)); + } + return null; +}; +const BreadcrumbItem = props => { + const { + prefixCls: customizePrefixCls, + children, + href + } = props, + restProps = BreadcrumbItem_rest(props, ["prefixCls", "children", "href"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + return /*#__PURE__*/react.createElement(InternalBreadcrumbItem, Object.assign({}, restProps, { + prefixCls: prefixCls + }), renderItem(prefixCls, restProps, children, href)); +}; +BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; +/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + + +const genBreadcrumbStyle = token => { + const { + componentCls, + iconCls + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + color: token.itemColor, + fontSize: token.fontSize, + [iconCls]: { + fontSize: token.iconFontSize + }, + ol: { + display: 'flex', + flexWrap: 'wrap', + margin: 0, + padding: 0, + listStyle: 'none' + }, + a: Object.assign({ + color: token.linkColor, + transition: `color ${token.motionDurationMid}`, + padding: `0 ${token.paddingXXS}px`, + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + marginInline: -token.marginXXS, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover + } + }, (0,style/* genFocusStyle */.Qy)(token)), + [`li:last-child`]: { + color: token.lastItemColor + }, + [`${componentCls}-separator`]: { + marginInline: token.separatorMargin, + color: token.separatorColor + }, + [`${componentCls}-link`]: { + [` + > ${iconCls} + span, + > ${iconCls} + a + `]: { + marginInlineStart: token.marginXXS + } + }, + [`${componentCls}-overlay-link`]: { + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + padding: `0 ${token.paddingXXS}px`, + marginInline: -token.marginXXS, + [`> ${iconCls}`]: { + marginInlineStart: token.marginXXS, + fontSize: token.fontSizeIcon + }, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover, + a: { + color: token.linkHoverColor + } + }, + a: { + '&:hover': { + backgroundColor: 'transparent' + } + } + }, + // rtl style + [`&${token.componentCls}-rtl`]: { + direction: 'rtl' + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var breadcrumb_style = ((0,genComponentStyleHook/* default */.Z)('Breadcrumb', token => { + const BreadcrumbToken = (0,statistic/* merge */.TS)(token, {}); + return [genBreadcrumbStyle(BreadcrumbToken)]; +}, token => ({ + itemColor: token.colorTextDescription, + lastItemColor: token.colorText, + iconFontSize: token.fontSize, + linkColor: token.colorTextDescription, + linkHoverColor: token.colorText, + separatorColor: token.colorTextDescription, + separatorMargin: token.marginXS +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/useItems.js +var useItems_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + +function route2item(route) { + const { + breadcrumbName, + children + } = route, + rest = useItems_rest(route, ["breadcrumbName", "children"]); + const clone = Object.assign({ + title: breadcrumbName + }, rest); + if (children) { + clone.menu = { + items: children.map(_a => { + var { + breadcrumbName: itemBreadcrumbName + } = _a, + itemProps = useItems_rest(_a, ["breadcrumbName"]); + return Object.assign(Object.assign({}, itemProps), { + title: itemBreadcrumbName + }); + }) + }; + } + return clone; +} +function useItems(items, routes) { + return (0,react.useMemo)(() => { + if (items) { + return items; + } + if (routes) { + return routes.map(route2item); + } + return null; + }, [items, routes]); +} +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js +var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + +const getPath = (params, path) => { + if (path === undefined) { + return path; + } + let mergedPath = (path || '').replace(/^\//, ''); + Object.keys(params).forEach(key => { + mergedPath = mergedPath.replace(`:${key}`, params[key]); + }); + return mergedPath; +}; +const Breadcrumb = props => { + const { + prefixCls: customizePrefixCls, + separator = '/', + style, + className, + rootClassName, + routes: legacyRoutes, + items, + children, + itemRender, + params = {} + } = props, + restProps = Breadcrumb_rest(props, ["prefixCls", "separator", "style", "className", "rootClassName", "routes", "items", "children", "itemRender", "params"]); + const { + getPrefixCls, + direction, + breadcrumb + } = react.useContext(context/* ConfigContext */.E_); + let crumbs; + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + const [wrapSSR, hashId] = breadcrumb_style(prefixCls); + const mergedItems = useItems(items, legacyRoutes); + if (false) {} + const mergedItemRender = useItemRender(prefixCls, itemRender); + if (mergedItems && mergedItems.length > 0) { + // generated by route + const paths = []; + const itemRenderRoutes = items || legacyRoutes; + crumbs = mergedItems.map((item, index) => { + const { + path, + key, + type, + menu, + overlay, + onClick, + className: itemClassName, + separator: itemSeparator, + dropdownProps + } = item; + const mergedPath = getPath(params, path); + if (mergedPath !== undefined) { + paths.push(mergedPath); + } + const mergedKey = key !== null && key !== void 0 ? key : index; + if (type === 'separator') { + return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbSeparator, { + key: mergedKey + }, itemSeparator); + } + const itemProps = {}; + const isLastItem = index === mergedItems.length - 1; + if (menu) { + itemProps.menu = menu; + } else if (overlay) { + itemProps.overlay = overlay; + } + let { + href + } = item; + if (paths.length && mergedPath !== undefined) { + href = `#/${paths.join('/')}`; + } + return /*#__PURE__*/react.createElement(InternalBreadcrumbItem, Object.assign({ + key: mergedKey + }, itemProps, (0,pickAttrs/* default */.Z)(item, { + data: true, + aria: true + }), { + className: itemClassName, + dropdownProps: dropdownProps, + href: href, + separator: isLastItem ? '' : separator, + onClick: onClick, + prefixCls: prefixCls + }), mergedItemRender(item, params, itemRenderRoutes, paths, href)); + }); + } else if (children) { + const childrenLength = (0,toArray/* default */.Z)(children).length; + crumbs = (0,toArray/* default */.Z)(children).map((element, index) => { + if (!element) { + return element; + } + // =================== Warning ===================== + if (false) {} + false ? 0 : void 0; + const isLastItem = index === childrenLength - 1; + return (0,reactNode/* cloneElement */.Tm)(element, { + separator: isLastItem ? '' : separator, + key: index + }); + }); + } + const breadcrumbClassName = classnames_default()(prefixCls, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.className, { + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.style), style); + return wrapSSR( /*#__PURE__*/react.createElement("nav", Object.assign({ + className: breadcrumbClassName, + style: mergedStyle + }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs))); +}; +Breadcrumb.Item = breadcrumb_BreadcrumbItem; +Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; +if (false) {} +/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js +'use client'; + + +/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); + +/***/ }), + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/14044.async.js b/14044.async.js new file mode 100644 index 0000000000..11b2760651 --- /dev/null +++ b/14044.async.js @@ -0,0 +1,910 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[14044],{ + +/***/ 11475: +/*!******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.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 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + +/***/ 13982: +/*!***********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js + 1 modules ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_PlusSquareOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/PlusSquareOutlined.js +// This icon file is generated automatically. +var PlusSquareOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" } }, { "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, "name": "plus-square", "theme": "outlined" }; +/* harmony default export */ var asn_PlusSquareOutlined = (PlusSquareOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var PlusSquareOutlined_PlusSquareOutlined = function PlusSquareOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_PlusSquareOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_PlusSquareOutlined = (/*#__PURE__*/react.forwardRef(PlusSquareOutlined_PlusSquareOutlined)); + +/***/ }), + +/***/ 81643: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getRenderPropValue.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getRenderPropValue; } +/* harmony export */ }); +const getRenderPropValue = propValue => { + if (!propValue) { + return null; + } + if (typeof propValue === 'function') { + return propValue(); + } + return propValue; +}; + +/***/ }), + +/***/ 57838: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/_util/hooks/useForceUpdate.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ useForceUpdate; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +function useForceUpdate() { + const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0); + return forceUpdate; +} + +/***/ }), + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 97183: +/*!**********************************************!*\ + !*** ./node_modules/antd/es/layout/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 84321); +/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 19249); +'use client'; + + + +const Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP; +Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4; +Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_; +Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY; +Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; +/* harmony default export */ __webpack_exports__["Z"] = (Layout); + +/***/ }), + +/***/ 66330: +/*!***************************************************!*\ + !*** ./node_modules/antd/es/popover/PurePanel.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* unused harmony exports getOverlay, RawPurePanel */ +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 92419); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 20136); +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + +const getOverlay = (prefixCls, title, content) => { + if (!title && !content) return undefined; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(content))); +}; +const RawPurePanel = props => { + const { + hashId, + prefixCls, + className, + style, + placement = 'top', + title, + content, + children + } = props; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className), + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-arrow` + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_tooltip__WEBPACK_IMPORTED_MODULE_1__/* .Popup */ .G, Object.assign({}, props, { + className: hashId, + prefixCls: prefixCls + }), children || getOverlay(prefixCls, title, content))); +}; +const PurePanel = props => { + const { + prefixCls: customizePrefixCls + } = props, + restProps = __rest(props, ["prefixCls"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(RawPurePanel, Object.assign({}, restProps, { + prefixCls: prefixCls, + hashId: hashId + }))); +}; +/* harmony default export */ __webpack_exports__["ZP"] = (PurePanel); + +/***/ }), + +/***/ 55241: +/*!***********************************************!*\ + !*** ./node_modules/antd/es/popover/index.js ***! + \***********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/motion */ 33603); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ 83062); +/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PurePanel */ 66330); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 20136); +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +// CSSINJS + +const Overlay = _ref => { + let { + title, + content, + prefixCls + } = _ref; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(content))); +}; +const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + title, + content, + overlayClassName, + placement = 'top', + trigger = 'hover', + mouseEnterDelay = 0.1, + mouseLeaveDelay = 0.1, + overlayStyle = {} + } = props, + otherProps = __rest(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(prefixCls); + const rootPrefixCls = getPrefixCls(); + const overlayCls = classnames__WEBPACK_IMPORTED_MODULE_0___default()(overlayClassName, hashId); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, Object.assign({ + placement: placement, + trigger: trigger, + mouseEnterDelay: mouseEnterDelay, + mouseLeaveDelay: mouseLeaveDelay, + overlayStyle: overlayStyle + }, otherProps, { + prefixCls: prefixCls, + overlayClassName: overlayCls, + ref: ref, + overlay: title || content ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Overlay, { + prefixCls: prefixCls, + title: title, + content: content + }) : null, + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_6__/* .getTransitionName */ .mL)(rootPrefixCls, 'zoom-big', otherProps.transitionName), + "data-popover-inject": true + }))); +}); +if (false) {} +Popover._InternalPanelDoNotUseOrYouWillBeFired = _PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP; +/* harmony default export */ __webpack_exports__["Z"] = (Popover); + +/***/ }), + +/***/ 20136: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/popover/style/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 50438); +/* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/placementArrow */ 97414); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 8796); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/internal */ 45503); + + + + +const genBaseStyle = token => { + const { + componentCls, + popoverColor, + minWidth, + fontWeightStrong, + popoverPadding, + boxShadowSecondary, + colorTextHeading, + borderRadiusLG: borderRadius, + zIndexPopup, + marginXS, + colorBgElevated, + popoverBg + } = token; + return [{ + [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + position: 'absolute', + top: 0, + // use `left` to fix https://github.com/ant-design/ant-design/issues/39195 + left: { + _skip_check_: true, + value: 0 + }, + zIndex: zIndexPopup, + fontWeight: 'normal', + whiteSpace: 'normal', + textAlign: 'start', + cursor: 'auto', + userSelect: 'text', + transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, + '--antd-arrow-background-color': colorBgElevated, + '&-rtl': { + direction: 'rtl' + }, + '&-hidden': { + display: 'none' + }, + [`${componentCls}-content`]: { + position: 'relative' + }, + [`${componentCls}-inner`]: { + backgroundColor: popoverBg, + backgroundClip: 'padding-box', + borderRadius, + boxShadow: boxShadowSecondary, + padding: popoverPadding + }, + [`${componentCls}-title`]: { + minWidth, + marginBottom: marginXS, + color: colorTextHeading, + fontWeight: fontWeightStrong + }, + [`${componentCls}-inner-content`]: { + color: popoverColor + } + }) + }, + // Arrow Style + (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(token, { + colorBg: 'var(--antd-arrow-background-color)' + }), + // Pure Render + { + [`${componentCls}-pure`]: { + position: 'relative', + maxWidth: 'none', + margin: token.sizePopupArrow, + display: 'inline-block', + [`${componentCls}-content`]: { + display: 'inline-block' + } + } + }]; +}; +const genColorStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: _theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .PresetColors.map */ .i.map(colorKey => { + const lightColor = token[`${colorKey}6`]; + return { + [`&${componentCls}-${colorKey}`]: { + '--antd-arrow-background-color': lightColor, + [`${componentCls}-inner`]: { + backgroundColor: lightColor + }, + [`${componentCls}-arrow`]: { + background: 'transparent' + } + } + }; + }) + }; +}; +const genWireframeStyle = token => { + const { + componentCls, + lineWidth, + lineType, + colorSplit, + paddingSM, + controlHeight, + fontSize, + lineHeight, + padding + } = token; + const titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight); + const popoverTitlePaddingBlockTop = titlePaddingBlockDist / 2; + const popoverTitlePaddingBlockBottom = titlePaddingBlockDist / 2 - lineWidth; + const popoverPaddingHorizontal = padding; + return { + [componentCls]: { + [`${componentCls}-inner`]: { + padding: 0 + }, + [`${componentCls}-title`]: { + margin: 0, + padding: `${popoverTitlePaddingBlockTop}px ${popoverPaddingHorizontal}px ${popoverTitlePaddingBlockBottom}px`, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}` + }, + [`${componentCls}-inner-content`]: { + padding: `${paddingSM}px ${popoverPaddingHorizontal}px` + } + } + }; +}; +/* harmony default export */ __webpack_exports__["Z"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Popover', token => { + const { + colorBgElevated, + colorText, + wireframe + } = token; + const popoverToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_4__/* .merge */ .TS)(token, { + popoverPadding: 12, + popoverBg: colorBgElevated, + popoverColor: colorText + }); + return [genBaseStyle(popoverToken), genColorStyle(popoverToken), wireframe && genWireframeStyle(popoverToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* .initZoomMotion */ ._y)(popoverToken, 'zoom-big')]; +}, token => ({ + width: 177, + minWidth: 177, + zIndexPopup: token.zIndexPopupBase + 30 +}), { + deprecatedTokens: [['width', 'minWidth']] +})); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/14341.async.js b/14341.async.js index 3d6bfa0046..c0945a32fe 100644 --- a/14341.async.js +++ b/14341.async.js @@ -108,8 +108,8 @@ var classnames = __webpack_require__(94184); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules -var EllipsisOutlined = __webpack_require__(89705); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); // EXTERNAL MODULE: ./node_modules/antd/es/button/index.js var es_button = __webpack_require__(71577); // EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js diff --git a/14364.async.js b/14364.async.js new file mode 100644 index 0000000000..3449c6b3c0 --- /dev/null +++ b/14364.async.js @@ -0,0 +1,1890 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[14364,67390],{ + +/***/ 80882: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DownOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +// This icon file is generated automatically. +var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" }; +/* harmony default export */ var asn_DownOutlined = (DownOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DownOutlined_DownOutlined = function DownOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DownOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DownOutlined = (/*#__PURE__*/react.forwardRef(DownOutlined_DownOutlined)); + +/***/ }), + +/***/ 48115: +/*!***************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/UpOutlined.js + 1 modules ***! + \***************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_UpOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UpOutlined.js +// This icon file is generated automatically. +var UpOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" }; +/* harmony default export */ var asn_UpOutlined = (UpOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UpOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var UpOutlined_UpOutlined = function UpOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_UpOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_UpOutlined = (/*#__PURE__*/react.forwardRef(UpOutlined_UpOutlined)); + +/***/ }), + +/***/ 48783: +/*!****************************************************************!*\ + !*** ./node_modules/antd/es/_util/throttleByAnimationFrame.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902); +/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 96523); + + +function throttleByAnimationFrame(fn) { + let requestId; + const later = args => () => { + requestId = null; + fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args)); + }; + const throttled = function () { + if (requestId == null) { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args)); + } + }; + throttled.cancel = () => { + rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"].cancel */ .Z.cancel(requestId); + requestId = null; + }; + return throttled; +} +/* harmony default export */ __webpack_exports__["Z"] = (throttleByAnimationFrame); + +/***/ }), + +/***/ 30291: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/affix/index.js + 2 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ affix; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(15671); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(43144); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(60136); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(51630); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-resize-observer/es/index.js + 4 modules +var es = __webpack_require__(48555); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/throttleByAnimationFrame.js +var throttleByAnimationFrame = __webpack_require__(48783); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/affix/style/index.js + +// ============================== Shared ============================== +const genSharedAffixStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: { + position: 'fixed', + zIndex: token.zIndexPopup + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var style = ((0,genComponentStyleHook/* default */.Z)('Affix', token => { + const affixToken = (0,statistic/* merge */.TS)(token, { + zIndexPopup: token.zIndexBase + 10 + }); + return [genSharedAffixStyle(affixToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/affix/utils.js +function getTargetRect(target) { + return target !== window ? target.getBoundingClientRect() : { + top: 0, + bottom: window.innerHeight + }; +} +function getFixedTop(placeholderRect, targetRect, offsetTop) { + if (offsetTop !== undefined && targetRect.top > placeholderRect.top - offsetTop) { + return offsetTop + targetRect.top; + } + return undefined; +} +function getFixedBottom(placeholderRect, targetRect, offsetBottom) { + if (offsetBottom !== undefined && targetRect.bottom < placeholderRect.bottom + offsetBottom) { + const targetBottomOffset = window.innerHeight - targetRect.bottom; + return offsetBottom + targetBottomOffset; + } + return undefined; +} +;// CONCATENATED MODULE: ./node_modules/antd/es/affix/index.js +'use client'; + + + + + + + + + + + + + +const TRIGGER_EVENTS = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load']; +function getDefaultTarget() { + return typeof window !== 'undefined' ? window : null; +} +var AffixStatus; +(function (AffixStatus) { + AffixStatus[AffixStatus["None"] = 0] = "None"; + AffixStatus[AffixStatus["Prepare"] = 1] = "Prepare"; +})(AffixStatus || (AffixStatus = {})); +let InternalAffix = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(InternalAffix, _React$Component); + var _super = (0,createSuper/* default */.Z)(InternalAffix); + function InternalAffix() { + var _this; + (0,classCallCheck/* default */.Z)(this, InternalAffix); + _this = _super.apply(this, arguments); + _this.state = { + status: AffixStatus.None, + lastAffix: false, + prevTarget: null + }; + _this.placeholderNodeRef = /*#__PURE__*/(0,react.createRef)(); + _this.fixedNodeRef = /*#__PURE__*/(0,react.createRef)(); + _this.addListeners = () => { + const targetFunc = _this.getTargetFunc(); + const target = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); + const { + prevTarget + } = _this.state; + if (prevTarget !== target) { + TRIGGER_EVENTS.forEach(eventName => { + prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + target === null || target === void 0 ? void 0 : target.addEventListener(eventName, _this.lazyUpdatePosition); + }); + _this.updatePosition(); + _this.setState({ + prevTarget: target + }); + } + }; + _this.removeListeners = () => { + if (_this.timer) { + clearTimeout(_this.timer); + _this.timer = null; + } + const { + prevTarget + } = _this.state; + const targetFunc = _this.getTargetFunc(); + const newTarget = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); + TRIGGER_EVENTS.forEach(eventName => { + newTarget === null || newTarget === void 0 ? void 0 : newTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + }); + _this.updatePosition.cancel(); + // https://github.com/ant-design/ant-design/issues/22683 + _this.lazyUpdatePosition.cancel(); + }; + _this.getOffsetTop = () => { + const { + offsetBottom, + offsetTop + } = _this.props; + return offsetBottom === undefined && offsetTop === undefined ? 0 : offsetTop; + }; + _this.getOffsetBottom = () => _this.props.offsetBottom; + // =================== Measure =================== + _this.measure = () => { + const { + status, + lastAffix + } = _this.state; + const { + onChange + } = _this.props; + const targetFunc = _this.getTargetFunc(); + if (status !== AffixStatus.Prepare || !_this.fixedNodeRef.current || !_this.placeholderNodeRef.current || !targetFunc) { + return; + } + const offsetTop = _this.getOffsetTop(); + const offsetBottom = _this.getOffsetBottom(); + const targetNode = targetFunc(); + if (targetNode) { + const newState = { + status: AffixStatus.None + }; + const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); + if (placeholderRect.top === 0 && placeholderRect.left === 0 && placeholderRect.width === 0 && placeholderRect.height === 0) { + return; + } + const targetRect = getTargetRect(targetNode); + const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); + const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); + if (fixedTop !== undefined) { + newState.affixStyle = { + position: 'fixed', + top: fixedTop, + width: placeholderRect.width, + height: placeholderRect.height + }; + newState.placeholderStyle = { + width: placeholderRect.width, + height: placeholderRect.height + }; + } else if (fixedBottom !== undefined) { + newState.affixStyle = { + position: 'fixed', + bottom: fixedBottom, + width: placeholderRect.width, + height: placeholderRect.height + }; + newState.placeholderStyle = { + width: placeholderRect.width, + height: placeholderRect.height + }; + } + newState.lastAffix = !!newState.affixStyle; + if (onChange && lastAffix !== newState.lastAffix) { + onChange(newState.lastAffix); + } + _this.setState(newState); + } + }; + _this.prepareMeasure = () => { + // event param is used before. Keep compatible ts define here. + _this.setState({ + status: AffixStatus.Prepare, + affixStyle: undefined, + placeholderStyle: undefined + }); + // Test if `updatePosition` called + if (false) {} + }; + _this.updatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { + _this.prepareMeasure(); + }); + _this.lazyUpdatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { + const targetFunc = _this.getTargetFunc(); + const { + affixStyle + } = _this.state; + // Check position change before measure to make Safari smooth + if (targetFunc && affixStyle) { + const offsetTop = _this.getOffsetTop(); + const offsetBottom = _this.getOffsetBottom(); + const targetNode = targetFunc(); + if (targetNode && _this.placeholderNodeRef.current) { + const targetRect = getTargetRect(targetNode); + const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); + const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); + const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); + if (fixedTop !== undefined && affixStyle.top === fixedTop || fixedBottom !== undefined && affixStyle.bottom === fixedBottom) { + return; + } + } + } + // Directly call prepare measure since it's already throttled. + _this.prepareMeasure(); + }); + return _this; + } + (0,createClass/* default */.Z)(InternalAffix, [{ + key: "getTargetFunc", + value: function getTargetFunc() { + const { + getTargetContainer + } = this.context; + const { + target + } = this.props; + if (target !== undefined) { + return target; + } + return getTargetContainer !== null && getTargetContainer !== void 0 ? getTargetContainer : getDefaultTarget; + } + // Event handler + }, { + key: "componentDidMount", + value: function componentDidMount() { + // [Legacy] Wait for parent component ref has its value. + // We should use target as directly element instead of function which makes element check hard. + this.timer = setTimeout(this.addListeners); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + this.addListeners(); + if (prevProps.offsetTop !== this.props.offsetTop || prevProps.offsetBottom !== this.props.offsetBottom) { + this.updatePosition(); + } + this.measure(); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.removeListeners(); + } + // =================== Render =================== + }, { + key: "render", + value: function render() { + const { + affixStyle, + placeholderStyle + } = this.state; + const { + affixPrefixCls, + rootClassName, + children + } = this.props; + const className = classnames_default()(affixStyle && rootClassName, { + [affixPrefixCls]: !!affixStyle + }); + let props = (0,omit/* default */.Z)(this.props, ['prefixCls', 'offsetTop', 'offsetBottom', 'target', 'onChange', 'affixPrefixCls', 'rootClassName']); + // Omit this since `onTestUpdatePosition` only works on test. + if (false) {} + return /*#__PURE__*/react.createElement(es/* default */.Z, { + onResize: this.updatePosition + }, /*#__PURE__*/react.createElement("div", Object.assign({}, props, { + ref: this.placeholderNodeRef + }), affixStyle && /*#__PURE__*/react.createElement("div", { + style: placeholderStyle, + "aria-hidden": "true" + }), /*#__PURE__*/react.createElement("div", { + className: className, + ref: this.fixedNodeRef, + style: affixStyle + }, /*#__PURE__*/react.createElement(es/* default */.Z, { + onResize: this.updatePosition + }, children)))); + } + }]); + return InternalAffix; +}(react.Component); +InternalAffix.contextType = context/* ConfigContext */.E_; +const Affix = /*#__PURE__*/(0,react.forwardRef)((props, ref) => { + const { + prefixCls: customizePrefixCls, + rootClassName + } = props; + const { + getPrefixCls + } = (0,react.useContext)(context/* ConfigContext */.E_); + const affixPrefixCls = getPrefixCls('affix', customizePrefixCls); + const [wrapSSR, hashId] = style(affixPrefixCls); + const AffixProps = Object.assign(Object.assign({}, props), { + affixPrefixCls, + rootClassName: classnames_default()(rootClassName, hashId) + }); + return wrapSSR( /*#__PURE__*/react.createElement(InternalAffix, Object.assign({}, AffixProps, { + ref: ref + }))); +}); +if (false) {} +/* harmony default export */ var affix = (Affix); + +/***/ }), + +/***/ 86128: +/*!*********************************************************!*\ + !*** ./node_modules/rc-tree/es/TreeNode.js + 1 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ TreeNode; } +}); + +// UNUSED EXPORTS: InternalTreeNode + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(15671); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(43144); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +var assertThisInitialized = __webpack_require__(97326); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(60136); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(51630); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +// EXTERNAL MODULE: ./node_modules/rc-tree/es/contextTypes.js +var contextTypes = __webpack_require__(27822); +;// CONCATENATED MODULE: ./node_modules/rc-tree/es/Indent.js + + + +var Indent = function Indent(_ref) { + var prefixCls = _ref.prefixCls, + level = _ref.level, + isStart = _ref.isStart, + isEnd = _ref.isEnd; + var baseClassName = "".concat(prefixCls, "-indent-unit"); + var list = []; + for (var i = 0; i < level; i += 1) { + var _classNames; + list.push( /*#__PURE__*/react.createElement("span", { + key: i, + className: classnames_default()(baseClassName, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(baseClassName, "-start"), isStart[i]), (0,defineProperty/* default */.Z)(_classNames, "".concat(baseClassName, "-end"), isEnd[i]), _classNames)) + })); + } + return /*#__PURE__*/react.createElement("span", { + "aria-hidden": "true", + className: "".concat(prefixCls, "-indent") + }, list); +}; +/* harmony default export */ var es_Indent = (/*#__PURE__*/react.memo(Indent)); +// EXTERNAL MODULE: ./node_modules/rc-tree/es/utils/treeUtil.js +var treeUtil = __webpack_require__(1089); +;// CONCATENATED MODULE: ./node_modules/rc-tree/es/TreeNode.js + + + + + + + + + +var _excluded = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragOverGapBottom", "isLeaf", "isStart", "isEnd", "expanded", "selected", "checked", "halfChecked", "loading", "domRef", "active", "data", "onMouseMove", "selectable"]; + + + +// @ts-ignore + + + +var ICON_OPEN = 'open'; +var ICON_CLOSE = 'close'; +var defaultTitle = '---'; +var InternalTreeNode = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(InternalTreeNode, _React$Component); + var _super = (0,createSuper/* default */.Z)(InternalTreeNode); + function InternalTreeNode() { + var _this; + (0,classCallCheck/* default */.Z)(this, InternalTreeNode); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _this.state = { + dragNodeHighlight: false + }; + _this.selectHandle = void 0; + _this.onSelectorClick = function (e) { + // Click trigger before select/check operation + var onNodeClick = _this.props.context.onNodeClick; + onNodeClick(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + if (_this.isSelectable()) { + _this.onSelect(e); + } else { + _this.onCheck(e); + } + }; + _this.onSelectorDoubleClick = function (e) { + var onNodeDoubleClick = _this.props.context.onNodeDoubleClick; + onNodeDoubleClick(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onSelect = function (e) { + if (_this.isDisabled()) return; + var onNodeSelect = _this.props.context.onNodeSelect; + e.preventDefault(); + onNodeSelect(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onCheck = function (e) { + if (_this.isDisabled()) return; + var _this$props = _this.props, + disableCheckbox = _this$props.disableCheckbox, + checked = _this$props.checked; + var onNodeCheck = _this.props.context.onNodeCheck; + if (!_this.isCheckable() || disableCheckbox) return; + e.preventDefault(); + var targetChecked = !checked; + onNodeCheck(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props), targetChecked); + }; + _this.onMouseEnter = function (e) { + var onNodeMouseEnter = _this.props.context.onNodeMouseEnter; + onNodeMouseEnter(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onMouseLeave = function (e) { + var onNodeMouseLeave = _this.props.context.onNodeMouseLeave; + onNodeMouseLeave(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onContextMenu = function (e) { + var onNodeContextMenu = _this.props.context.onNodeContextMenu; + onNodeContextMenu(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onDragStart = function (e) { + var onNodeDragStart = _this.props.context.onNodeDragStart; + e.stopPropagation(); + _this.setState({ + dragNodeHighlight: true + }); + onNodeDragStart(e, (0,assertThisInitialized/* default */.Z)(_this)); + try { + // ie throw error + // firefox-need-it + e.dataTransfer.setData('text/plain', ''); + } catch (error) { + // empty + } + }; + _this.onDragEnter = function (e) { + var onNodeDragEnter = _this.props.context.onNodeDragEnter; + e.preventDefault(); + e.stopPropagation(); + onNodeDragEnter(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDragOver = function (e) { + var onNodeDragOver = _this.props.context.onNodeDragOver; + e.preventDefault(); + e.stopPropagation(); + onNodeDragOver(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDragLeave = function (e) { + var onNodeDragLeave = _this.props.context.onNodeDragLeave; + e.stopPropagation(); + onNodeDragLeave(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDragEnd = function (e) { + var onNodeDragEnd = _this.props.context.onNodeDragEnd; + e.stopPropagation(); + _this.setState({ + dragNodeHighlight: false + }); + onNodeDragEnd(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDrop = function (e) { + var onNodeDrop = _this.props.context.onNodeDrop; + e.preventDefault(); + e.stopPropagation(); + _this.setState({ + dragNodeHighlight: false + }); + onNodeDrop(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + // Disabled item still can be switch + _this.onExpand = function (e) { + var _this$props2 = _this.props, + loading = _this$props2.loading, + onNodeExpand = _this$props2.context.onNodeExpand; + if (loading) return; + onNodeExpand(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + // Drag usage + _this.setSelectHandle = function (node) { + _this.selectHandle = node; + }; + _this.getNodeState = function () { + var expanded = _this.props.expanded; + if (_this.isLeaf()) { + return null; + } + return expanded ? ICON_OPEN : ICON_CLOSE; + }; + _this.hasChildren = function () { + var eventKey = _this.props.eventKey; + var keyEntities = _this.props.context.keyEntities; + var _ref = keyEntities[eventKey] || {}, + children = _ref.children; + return !!(children || []).length; + }; + _this.isLeaf = function () { + var _this$props3 = _this.props, + isLeaf = _this$props3.isLeaf, + loaded = _this$props3.loaded; + var loadData = _this.props.context.loadData; + var hasChildren = _this.hasChildren(); + if (isLeaf === false) { + return false; + } + return isLeaf || !loadData && !hasChildren || loadData && loaded && !hasChildren; + }; + _this.isDisabled = function () { + var disabled = _this.props.disabled; + var treeDisabled = _this.props.context.disabled; + return !!(treeDisabled || disabled); + }; + _this.isCheckable = function () { + var checkable = _this.props.checkable; + var treeCheckable = _this.props.context.checkable; + // Return false if tree or treeNode is not checkable + if (!treeCheckable || checkable === false) return false; + return treeCheckable; + }; + // Load data to avoid default expanded tree without data + _this.syncLoadData = function (props) { + var expanded = props.expanded, + loading = props.loading, + loaded = props.loaded; + var _this$props$context = _this.props.context, + loadData = _this$props$context.loadData, + onNodeLoad = _this$props$context.onNodeLoad; + if (loading) { + return; + } + // read from state to avoid loadData at same time + if (loadData && expanded && !_this.isLeaf()) { + // We needn't reload data when has children in sync logic + // It's only needed in node expanded + if (!_this.hasChildren() && !loaded) { + onNodeLoad((0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + } + } + }; + _this.isDraggable = function () { + var _this$props4 = _this.props, + data = _this$props4.data, + draggable = _this$props4.context.draggable; + return !!(draggable && (!draggable.nodeDraggable || draggable.nodeDraggable(data))); + }; + // ==================== Render: Drag Handler ==================== + _this.renderDragHandler = function () { + var _this$props$context2 = _this.props.context, + draggable = _this$props$context2.draggable, + prefixCls = _this$props$context2.prefixCls; + return (draggable === null || draggable === void 0 ? void 0 : draggable.icon) ? /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-draggable-icon") + }, draggable.icon) : null; + }; + // ====================== Render: Switcher ====================== + _this.renderSwitcherIconDom = function (isLeaf) { + var switcherIconFromProps = _this.props.switcherIcon; + var switcherIconFromCtx = _this.props.context.switcherIcon; + var switcherIcon = switcherIconFromProps || switcherIconFromCtx; + // if switcherIconDom is null, no render switcher span + if (typeof switcherIcon === 'function') { + return switcherIcon((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, _this.props), {}, { + isLeaf: isLeaf + })); + } + return switcherIcon; + }; + // Switcher + _this.renderSwitcher = function () { + var expanded = _this.props.expanded; + var prefixCls = _this.props.context.prefixCls; + if (_this.isLeaf()) { + // if switcherIconDom is null, no render switcher span + var _switcherIconDom = _this.renderSwitcherIconDom(true); + return _switcherIconDom !== false ? /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-switcher"), "".concat(prefixCls, "-switcher-noop")) + }, _switcherIconDom) : null; + } + var switcherCls = classnames_default()("".concat(prefixCls, "-switcher"), "".concat(prefixCls, "-switcher_").concat(expanded ? ICON_OPEN : ICON_CLOSE)); + var switcherIconDom = _this.renderSwitcherIconDom(false); + return switcherIconDom !== false ? /*#__PURE__*/react.createElement("span", { + onClick: _this.onExpand, + className: switcherCls + }, switcherIconDom) : null; + }; + // ====================== Render: Checkbox ====================== + // Checkbox + _this.renderCheckbox = function () { + var _this$props5 = _this.props, + checked = _this$props5.checked, + halfChecked = _this$props5.halfChecked, + disableCheckbox = _this$props5.disableCheckbox; + var prefixCls = _this.props.context.prefixCls; + var disabled = _this.isDisabled(); + var checkable = _this.isCheckable(); + if (!checkable) return null; + // [Legacy] Custom element should be separate with `checkable` in future + var $custom = typeof checkable !== 'boolean' ? checkable : null; + return /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-checkbox"), checked && "".concat(prefixCls, "-checkbox-checked"), !checked && halfChecked && "".concat(prefixCls, "-checkbox-indeterminate"), (disabled || disableCheckbox) && "".concat(prefixCls, "-checkbox-disabled")), + onClick: _this.onCheck + }, $custom); + }; + // ==================== Render: Title + Icon ==================== + _this.renderIcon = function () { + var loading = _this.props.loading; + var prefixCls = _this.props.context.prefixCls; + return /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-iconEle"), "".concat(prefixCls, "-icon__").concat(_this.getNodeState() || 'docu'), loading && "".concat(prefixCls, "-icon_loading")) + }); + }; + // Icon + Title + _this.renderSelector = function () { + var dragNodeHighlight = _this.state.dragNodeHighlight; + var _this$props6 = _this.props, + _this$props6$title = _this$props6.title, + title = _this$props6$title === void 0 ? defaultTitle : _this$props6$title, + selected = _this$props6.selected, + icon = _this$props6.icon, + loading = _this$props6.loading, + data = _this$props6.data; + var _this$props$context3 = _this.props.context, + prefixCls = _this$props$context3.prefixCls, + showIcon = _this$props$context3.showIcon, + treeIcon = _this$props$context3.icon, + loadData = _this$props$context3.loadData, + titleRender = _this$props$context3.titleRender; + var disabled = _this.isDisabled(); + var wrapClass = "".concat(prefixCls, "-node-content-wrapper"); + // Icon - Still show loading icon when loading without showIcon + var $icon; + if (showIcon) { + var currentIcon = icon || treeIcon; + $icon = currentIcon ? /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-iconEle"), "".concat(prefixCls, "-icon__customize")) + }, typeof currentIcon === 'function' ? currentIcon(_this.props) : currentIcon) : _this.renderIcon(); + } else if (loadData && loading) { + $icon = _this.renderIcon(); + } + // Title + var titleNode; + if (typeof title === 'function') { + titleNode = title(data); + } else if (titleRender) { + titleNode = titleRender(data); + } else { + titleNode = title; + } + var $title = /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-title") + }, titleNode); + return /*#__PURE__*/react.createElement("span", { + ref: _this.setSelectHandle, + title: typeof title === 'string' ? title : '', + className: classnames_default()("".concat(wrapClass), "".concat(wrapClass, "-").concat(_this.getNodeState() || 'normal'), !disabled && (selected || dragNodeHighlight) && "".concat(prefixCls, "-node-selected")), + onMouseEnter: _this.onMouseEnter, + onMouseLeave: _this.onMouseLeave, + onContextMenu: _this.onContextMenu, + onClick: _this.onSelectorClick, + onDoubleClick: _this.onSelectorDoubleClick + }, $icon, $title, _this.renderDropIndicator()); + }; + // =================== Render: Drop Indicator =================== + _this.renderDropIndicator = function () { + var _this$props7 = _this.props, + disabled = _this$props7.disabled, + eventKey = _this$props7.eventKey; + var _this$props$context4 = _this.props.context, + draggable = _this$props$context4.draggable, + dropLevelOffset = _this$props$context4.dropLevelOffset, + dropPosition = _this$props$context4.dropPosition, + prefixCls = _this$props$context4.prefixCls, + indent = _this$props$context4.indent, + dropIndicatorRender = _this$props$context4.dropIndicatorRender, + dragOverNodeKey = _this$props$context4.dragOverNodeKey, + direction = _this$props$context4.direction; + var rootDraggable = !!draggable; + // allowDrop is calculated in Tree.tsx, there is no need for calc it here + var showIndicator = !disabled && rootDraggable && dragOverNodeKey === eventKey; + return showIndicator ? dropIndicatorRender({ + dropPosition: dropPosition, + dropLevelOffset: dropLevelOffset, + indent: indent, + prefixCls: prefixCls, + direction: direction + }) : null; + }; + return _this; + } + (0,createClass/* default */.Z)(InternalTreeNode, [{ + key: "componentDidMount", + value: + // Isomorphic needn't load data in server side + function componentDidMount() { + this.syncLoadData(this.props); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate() { + this.syncLoadData(this.props); + } + }, { + key: "isSelectable", + value: function isSelectable() { + var selectable = this.props.selectable; + var treeSelectable = this.props.context.selectable; + // Ignore when selectable is undefined or null + if (typeof selectable === 'boolean') { + return selectable; + } + return treeSelectable; + } + }, { + key: "render", + value: + // =========================== Render =========================== + function render() { + var _classNames; + var _this$props8 = this.props, + eventKey = _this$props8.eventKey, + className = _this$props8.className, + style = _this$props8.style, + dragOver = _this$props8.dragOver, + dragOverGapTop = _this$props8.dragOverGapTop, + dragOverGapBottom = _this$props8.dragOverGapBottom, + isLeaf = _this$props8.isLeaf, + isStart = _this$props8.isStart, + isEnd = _this$props8.isEnd, + expanded = _this$props8.expanded, + selected = _this$props8.selected, + checked = _this$props8.checked, + halfChecked = _this$props8.halfChecked, + loading = _this$props8.loading, + domRef = _this$props8.domRef, + active = _this$props8.active, + data = _this$props8.data, + onMouseMove = _this$props8.onMouseMove, + selectable = _this$props8.selectable, + otherProps = (0,objectWithoutProperties/* default */.Z)(_this$props8, _excluded); + var _this$props$context5 = this.props.context, + prefixCls = _this$props$context5.prefixCls, + filterTreeNode = _this$props$context5.filterTreeNode, + keyEntities = _this$props$context5.keyEntities, + dropContainerKey = _this$props$context5.dropContainerKey, + dropTargetKey = _this$props$context5.dropTargetKey, + draggingNodeKey = _this$props$context5.draggingNodeKey; + var disabled = this.isDisabled(); + var dataOrAriaAttributeProps = (0,pickAttrs/* default */.Z)(otherProps, { + aria: true, + data: true + }); + var _ref2 = keyEntities[eventKey] || {}, + level = _ref2.level; + var isEndNode = isEnd[isEnd.length - 1]; + var mergedDraggable = this.isDraggable(); + var draggableWithoutDisabled = !disabled && mergedDraggable; + var dragging = draggingNodeKey === eventKey; + var ariaSelected = selectable !== undefined ? { + 'aria-selected': !!selectable + } : undefined; + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + ref: domRef, + className: classnames_default()(className, "".concat(prefixCls, "-treenode"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-switcher-").concat(expanded ? 'open' : 'close'), !isLeaf), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-checkbox-checked"), checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-checkbox-indeterminate"), halfChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-selected"), selected), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-loading"), loading), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-leaf-last"), isEndNode), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-draggable"), mergedDraggable), (0,defineProperty/* default */.Z)(_classNames, "dragging", dragging), (0,defineProperty/* default */.Z)(_classNames, 'drop-target', dropTargetKey === eventKey), (0,defineProperty/* default */.Z)(_classNames, 'drop-container', dropContainerKey === eventKey), (0,defineProperty/* default */.Z)(_classNames, 'drag-over', !disabled && dragOver), (0,defineProperty/* default */.Z)(_classNames, 'drag-over-gap-top', !disabled && dragOverGapTop), (0,defineProperty/* default */.Z)(_classNames, 'drag-over-gap-bottom', !disabled && dragOverGapBottom), (0,defineProperty/* default */.Z)(_classNames, 'filter-node', filterTreeNode && filterTreeNode((0,treeUtil/* convertNodePropsToEventData */.F)(this.props))), _classNames)), + style: style + // Draggable config + , + draggable: draggableWithoutDisabled, + "aria-grabbed": dragging, + onDragStart: draggableWithoutDisabled ? this.onDragStart : undefined + // Drop config + , + onDragEnter: mergedDraggable ? this.onDragEnter : undefined, + onDragOver: mergedDraggable ? this.onDragOver : undefined, + onDragLeave: mergedDraggable ? this.onDragLeave : undefined, + onDrop: mergedDraggable ? this.onDrop : undefined, + onDragEnd: mergedDraggable ? this.onDragEnd : undefined, + onMouseMove: onMouseMove + }, ariaSelected, dataOrAriaAttributeProps), /*#__PURE__*/react.createElement(es_Indent, { + prefixCls: prefixCls, + level: level, + isStart: isStart, + isEnd: isEnd + }), this.renderDragHandler(), this.renderSwitcher(), this.renderCheckbox(), this.renderSelector()); + } + }]); + return InternalTreeNode; +}(react.Component); +var ContextTreeNode = function ContextTreeNode(props) { + return /*#__PURE__*/react.createElement(contextTypes/* TreeContext.Consumer */.k.Consumer, null, function (context) { + return /*#__PURE__*/react.createElement(InternalTreeNode, (0,esm_extends/* default */.Z)({}, props, { + context: context + })); + }); +}; +ContextTreeNode.displayName = 'TreeNode'; +ContextTreeNode.isTreeNode = 1; + +/* harmony default export */ var TreeNode = (ContextTreeNode); + +/***/ }), + +/***/ 27822: +/*!*************************************************!*\ + !*** ./node_modules/rc-tree/es/contextTypes.js ***! + \*************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "k": function() { return /* binding */ TreeContext; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/** + * Webpack has bug for import loop, which is not the same behavior as ES module. + * When util.js imports the TreeNode for tree generate will cause treeContextTypes be empty. + */ + +var TreeContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); + +/***/ }), + +/***/ 10225: +/*!*****************************************!*\ + !*** ./node_modules/rc-tree/es/util.js ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "BT": function() { return /* binding */ calcSelectedKeys; }, +/* harmony export */ "Ds": function() { return /* binding */ isTreeNode; }, +/* harmony export */ "E6": function() { return /* binding */ parseCheckedKeys; }, +/* harmony export */ "L0": function() { return /* binding */ arrAdd; }, +/* harmony export */ "OM": function() { return /* binding */ calcDropPosition; }, +/* harmony export */ "_5": function() { return /* binding */ arrDel; }, +/* harmony export */ "bt": function() { return /* binding */ getPosition; }, +/* harmony export */ "r7": function() { return /* binding */ conductExpandParent; }, +/* harmony export */ "wA": function() { return /* binding */ getDragChildrenKeys; }, +/* harmony export */ "yx": function() { return /* binding */ posToArr; } +/* harmony export */ }); +/* unused harmony exports isLastChild, isFirstChild, convertDataToTree */ +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902); +/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 71002); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/warning */ 80334); +/* harmony import */ var _TreeNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TreeNode */ 86128); + + + + +var _excluded = (/* unused pure expression or super */ null && (["children"])); +/* eslint-disable no-lonely-if */ +/** + * Legacy code. Should avoid to use if you are new to import these code. + */ + + + +function arrDel(list, value) { + if (!list) return []; + var clone = list.slice(); + var index = clone.indexOf(value); + if (index >= 0) { + clone.splice(index, 1); + } + return clone; +} +function arrAdd(list, value) { + var clone = (list || []).slice(); + if (clone.indexOf(value) === -1) { + clone.push(value); + } + return clone; +} +function posToArr(pos) { + return pos.split('-'); +} +function getPosition(level, index) { + return "".concat(level, "-").concat(index); +} +function isTreeNode(node) { + return node && node.type && node.type.isTreeNode; +} +function getDragChildrenKeys(dragNodeKey, keyEntities) { + // not contains self + // self for left or right drag + var dragChildrenKeys = []; + var entity = keyEntities[dragNodeKey]; + function dig() { + var list = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + list.forEach(function (_ref) { + var key = _ref.key, + children = _ref.children; + dragChildrenKeys.push(key); + dig(children); + }); + } + dig(entity.children); + return dragChildrenKeys; +} +function isLastChild(treeNodeEntity) { + if (treeNodeEntity.parent) { + var posArr = posToArr(treeNodeEntity.pos); + return Number(posArr[posArr.length - 1]) === treeNodeEntity.parent.children.length - 1; + } + return false; +} +function isFirstChild(treeNodeEntity) { + var posArr = posToArr(treeNodeEntity.pos); + return Number(posArr[posArr.length - 1]) === 0; +} +// Only used when drag, not affect SSR. +function calcDropPosition(event, dragNode, targetNode, indent, startMousePosition, allowDrop, flattenedNodes, keyEntities, expandKeys, direction) { + var _abstractDropNodeEnti; + var clientX = event.clientX, + clientY = event.clientY; + var _event$target$getBoun = event.target.getBoundingClientRect(), + top = _event$target$getBoun.top, + height = _event$target$getBoun.height; + // optional chain for testing + var horizontalMouseOffset = (direction === 'rtl' ? -1 : 1) * (((startMousePosition === null || startMousePosition === void 0 ? void 0 : startMousePosition.x) || 0) - clientX); + var rawDropLevelOffset = (horizontalMouseOffset - 12) / indent; + // find abstract drop node by horizontal offset + var abstractDropNodeEntity = keyEntities[targetNode.props.eventKey]; + if (clientY < top + height / 2) { + // first half, set abstract drop node to previous node + var nodeIndex = flattenedNodes.findIndex(function (flattenedNode) { + return flattenedNode.key === abstractDropNodeEntity.key; + }); + var prevNodeIndex = nodeIndex <= 0 ? 0 : nodeIndex - 1; + var prevNodeKey = flattenedNodes[prevNodeIndex].key; + abstractDropNodeEntity = keyEntities[prevNodeKey]; + } + var initialAbstractDropNodeKey = abstractDropNodeEntity.key; + var abstractDragOverEntity = abstractDropNodeEntity; + var dragOverNodeKey = abstractDropNodeEntity.key; + var dropPosition = 0; + var dropLevelOffset = 0; + // Only allow cross level drop when dragging on a non-expanded node + if (!expandKeys.includes(initialAbstractDropNodeKey)) { + for (var i = 0; i < rawDropLevelOffset; i += 1) { + if (isLastChild(abstractDropNodeEntity)) { + abstractDropNodeEntity = abstractDropNodeEntity.parent; + dropLevelOffset += 1; + } else { + break; + } + } + } + var abstractDragDataNode = dragNode.props.data; + var abstractDropDataNode = abstractDropNodeEntity.node; + var dropAllowed = true; + if (isFirstChild(abstractDropNodeEntity) && abstractDropNodeEntity.level === 0 && clientY < top + height / 2 && allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: -1 + }) && abstractDropNodeEntity.key === targetNode.props.eventKey) { + // first half of first node in first level + dropPosition = -1; + } else if ((abstractDragOverEntity.children || []).length && expandKeys.includes(dragOverNodeKey)) { + // drop on expanded node + // only allow drop inside + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 0 + })) { + dropPosition = 0; + } else { + dropAllowed = false; + } + } else if (dropLevelOffset === 0) { + if (rawDropLevelOffset > -1.5) { + // | Node | <- abstractDropNode + // | -^-===== | <- mousePosition + // 1. try drop after + // 2. do not allow drop + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 1 + })) { + dropPosition = 1; + } else { + dropAllowed = false; + } + } else { + // | Node | <- abstractDropNode + // | ---==^== | <- mousePosition + // whether it has children or doesn't has children + // always + // 1. try drop inside + // 2. try drop after + // 3. do not allow drop + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 0 + })) { + dropPosition = 0; + } else if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 1 + })) { + dropPosition = 1; + } else { + dropAllowed = false; + } + } + } else { + // | Node1 | <- abstractDropNode + // | Node2 | + // --^--|----=====| <- mousePosition + // 1. try insert after Node1 + // 2. do not allow drop + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 1 + })) { + dropPosition = 1; + } else { + dropAllowed = false; + } + } + return { + dropPosition: dropPosition, + dropLevelOffset: dropLevelOffset, + dropTargetKey: abstractDropNodeEntity.key, + dropTargetPos: abstractDropNodeEntity.pos, + dragOverNodeKey: dragOverNodeKey, + dropContainerKey: dropPosition === 0 ? null : ((_abstractDropNodeEnti = abstractDropNodeEntity.parent) === null || _abstractDropNodeEnti === void 0 ? void 0 : _abstractDropNodeEnti.key) || null, + dropAllowed: dropAllowed + }; +} +/** + * Return selectedKeys according with multiple prop + * @param selectedKeys + * @param props + * @returns [string] + */ +function calcSelectedKeys(selectedKeys, props) { + if (!selectedKeys) return undefined; + var multiple = props.multiple; + if (multiple) { + return selectedKeys.slice(); + } + if (selectedKeys.length) { + return [selectedKeys[0]]; + } + return selectedKeys; +} +var internalProcessProps = function internalProcessProps(props) { + return props; +}; +function convertDataToTree(treeData, processor) { + if (!treeData) return []; + var _ref2 = processor || {}, + _ref2$processProps = _ref2.processProps, + processProps = _ref2$processProps === void 0 ? internalProcessProps : _ref2$processProps; + var list = Array.isArray(treeData) ? treeData : [treeData]; + return list.map(function (_ref3) { + var children = _ref3.children, + props = _objectWithoutProperties(_ref3, _excluded); + var childrenNodes = convertDataToTree(children, processor); + return /*#__PURE__*/React.createElement(TreeNode, _extends({ + key: props.key + }, processProps(props)), childrenNodes); + }); +} +/** + * Parse `checkedKeys` to { checkedKeys, halfCheckedKeys } style + */ +function parseCheckedKeys(keys) { + if (!keys) { + return null; + } + // Convert keys to object format + var keyProps; + if (Array.isArray(keys)) { + // [Legacy] Follow the api doc + keyProps = { + checkedKeys: keys, + halfCheckedKeys: undefined + }; + } else if ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(keys) === 'object') { + keyProps = { + checkedKeys: keys.checked || undefined, + halfCheckedKeys: keys.halfChecked || undefined + }; + } else { + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(false, '`checkedKeys` is not an array or an object'); + return null; + } + return keyProps; +} +/** + * If user use `autoExpandParent` we should get the list of parent node + * @param keyList + * @param keyEntities + */ +function conductExpandParent(keyList, keyEntities) { + var expandedKeys = new Set(); + function conductUp(key) { + if (expandedKeys.has(key)) return; + var entity = keyEntities[key]; + if (!entity) return; + expandedKeys.add(key); + var parent = entity.parent, + node = entity.node; + if (node.disabled) return; + if (parent) { + conductUp(parent.key); + } + } + (keyList || []).forEach(function (key) { + conductUp(key); + }); + return (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(expandedKeys); +} + +/***/ }), + +/***/ 17341: +/*!******************************************************!*\ + !*** ./node_modules/rc-tree/es/utils/conductUtil.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "S": function() { return /* binding */ conductCheck; } +/* harmony export */ }); +/* unused harmony export isCheckDisabled */ +/* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/warning */ 80334); + +function removeFromCheckedKeys(halfCheckedKeys, checkedKeys) { + var filteredKeys = new Set(); + halfCheckedKeys.forEach(function (key) { + if (!checkedKeys.has(key)) { + filteredKeys.add(key); + } + }); + return filteredKeys; +} +function isCheckDisabled(node) { + var _ref = node || {}, + disabled = _ref.disabled, + disableCheckbox = _ref.disableCheckbox, + checkable = _ref.checkable; + return !!(disabled || disableCheckbox) || checkable === false; +} +// Fill miss keys +function fillConductCheck(keys, levelEntities, maxLevel, syntheticGetCheckDisabled) { + var checkedKeys = new Set(keys); + var halfCheckedKeys = new Set(); + // Add checked keys top to bottom + for (var level = 0; level <= maxLevel; level += 1) { + var entities = levelEntities.get(level) || new Set(); + entities.forEach(function (entity) { + var key = entity.key, + node = entity.node, + _entity$children = entity.children, + children = _entity$children === void 0 ? [] : _entity$children; + if (checkedKeys.has(key) && !syntheticGetCheckDisabled(node)) { + children.filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (childEntity) { + checkedKeys.add(childEntity.key); + }); + } + }); + } + // Add checked keys from bottom to top + var visitedKeys = new Set(); + for (var _level = maxLevel; _level >= 0; _level -= 1) { + var _entities = levelEntities.get(_level) || new Set(); + _entities.forEach(function (entity) { + var parent = entity.parent, + node = entity.node; + // Skip if no need to check + if (syntheticGetCheckDisabled(node) || !entity.parent || visitedKeys.has(entity.parent.key)) { + return; + } + // Skip if parent is disabled + if (syntheticGetCheckDisabled(entity.parent.node)) { + visitedKeys.add(parent.key); + return; + } + var allChecked = true; + var partialChecked = false; + (parent.children || []).filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (_ref2) { + var key = _ref2.key; + var checked = checkedKeys.has(key); + if (allChecked && !checked) { + allChecked = false; + } + if (!partialChecked && (checked || halfCheckedKeys.has(key))) { + partialChecked = true; + } + }); + if (allChecked) { + checkedKeys.add(parent.key); + } + if (partialChecked) { + halfCheckedKeys.add(parent.key); + } + visitedKeys.add(parent.key); + }); + } + return { + checkedKeys: Array.from(checkedKeys), + halfCheckedKeys: Array.from(removeFromCheckedKeys(halfCheckedKeys, checkedKeys)) + }; +} +// Remove useless key +function cleanConductCheck(keys, halfKeys, levelEntities, maxLevel, syntheticGetCheckDisabled) { + var checkedKeys = new Set(keys); + var halfCheckedKeys = new Set(halfKeys); + // Remove checked keys from top to bottom + for (var level = 0; level <= maxLevel; level += 1) { + var entities = levelEntities.get(level) || new Set(); + entities.forEach(function (entity) { + var key = entity.key, + node = entity.node, + _entity$children2 = entity.children, + children = _entity$children2 === void 0 ? [] : _entity$children2; + if (!checkedKeys.has(key) && !halfCheckedKeys.has(key) && !syntheticGetCheckDisabled(node)) { + children.filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (childEntity) { + checkedKeys.delete(childEntity.key); + }); + } + }); + } + // Remove checked keys form bottom to top + halfCheckedKeys = new Set(); + var visitedKeys = new Set(); + for (var _level2 = maxLevel; _level2 >= 0; _level2 -= 1) { + var _entities2 = levelEntities.get(_level2) || new Set(); + _entities2.forEach(function (entity) { + var parent = entity.parent, + node = entity.node; + // Skip if no need to check + if (syntheticGetCheckDisabled(node) || !entity.parent || visitedKeys.has(entity.parent.key)) { + return; + } + // Skip if parent is disabled + if (syntheticGetCheckDisabled(entity.parent.node)) { + visitedKeys.add(parent.key); + return; + } + var allChecked = true; + var partialChecked = false; + (parent.children || []).filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (_ref3) { + var key = _ref3.key; + var checked = checkedKeys.has(key); + if (allChecked && !checked) { + allChecked = false; + } + if (!partialChecked && (checked || halfCheckedKeys.has(key))) { + partialChecked = true; + } + }); + if (!allChecked) { + checkedKeys.delete(parent.key); + } + if (partialChecked) { + halfCheckedKeys.add(parent.key); + } + visitedKeys.add(parent.key); + }); + } + return { + checkedKeys: Array.from(checkedKeys), + halfCheckedKeys: Array.from(removeFromCheckedKeys(halfCheckedKeys, checkedKeys)) + }; +} +/** + * Conduct with keys. + * @param keyList current key list + * @param keyEntities key - dataEntity map + * @param mode `fill` to fill missing key, `clean` to remove useless key + */ +function conductCheck(keyList, checked, keyEntities, getCheckDisabled) { + var warningMissKeys = []; + var syntheticGetCheckDisabled; + if (getCheckDisabled) { + syntheticGetCheckDisabled = getCheckDisabled; + } else { + syntheticGetCheckDisabled = isCheckDisabled; + } + // We only handle exist keys + var keys = new Set(keyList.filter(function (key) { + var hasEntity = !!keyEntities[key]; + if (!hasEntity) { + warningMissKeys.push(key); + } + return hasEntity; + })); + var levelEntities = new Map(); + var maxLevel = 0; + // Convert entities by level for calculation + Object.keys(keyEntities).forEach(function (key) { + var entity = keyEntities[key]; + var level = entity.level; + var levelSet = levelEntities.get(level); + if (!levelSet) { + levelSet = new Set(); + levelEntities.set(level, levelSet); + } + levelSet.add(entity); + maxLevel = Math.max(maxLevel, level); + }); + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)(!warningMissKeys.length, "Tree missing follow keys: ".concat(warningMissKeys.slice(0, 100).map(function (key) { + return "'".concat(key, "'"); + }).join(', '))); + var result; + if (checked === true) { + result = fillConductCheck(keys, levelEntities, maxLevel, syntheticGetCheckDisabled); + } else { + result = cleanConductCheck(keys, checked.halfCheckedKeys, levelEntities, maxLevel, syntheticGetCheckDisabled); + } + return result; +} + +/***/ }), + +/***/ 1089: +/*!***************************************************!*\ + !*** ./node_modules/rc-tree/es/utils/treeUtil.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "F": function() { return /* binding */ convertNodePropsToEventData; }, +/* harmony export */ "H8": function() { return /* binding */ getTreeNodeProps; }, +/* harmony export */ "I8": function() { return /* binding */ convertDataToEntities; }, +/* harmony export */ "km": function() { return /* binding */ getKey; }, +/* harmony export */ "oH": function() { return /* binding */ flattenTreeData; }, +/* harmony export */ "w$": function() { return /* binding */ fillFieldNames; }, +/* harmony export */ "zn": function() { return /* binding */ convertTreeToData; } +/* harmony export */ }); +/* unused harmony exports warningWithoutKey, traverseDataNodes */ +/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 71002); +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rc-util/es/omit */ 98423); +/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 50344); +/* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/warning */ 80334); +/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util */ 10225); + + + + +var _excluded = ["children"]; + + + + +function getKey(key, pos) { + if (key !== null && key !== undefined) { + return key; + } + return pos; +} +function fillFieldNames(fieldNames) { + var _ref = fieldNames || {}, + title = _ref.title, + _title = _ref._title, + key = _ref.key, + children = _ref.children; + var mergedTitle = title || 'title'; + return { + title: mergedTitle, + _title: _title || [mergedTitle], + key: key || 'key', + children: children || 'children' + }; +} +/** + * Warning if TreeNode do not provides key + */ +function warningWithoutKey(treeData, fieldNames) { + var keys = new Map(); + function dig(list) { + var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + (list || []).forEach(function (treeNode) { + var key = treeNode[fieldNames.key]; + var children = treeNode[fieldNames.children]; + warning(key !== null && key !== undefined, "Tree node must have a certain key: [".concat(path).concat(key, "]")); + var recordKey = String(key); + warning(!keys.has(recordKey) || key === null || key === undefined, "Same 'key' exist in the Tree: ".concat(recordKey)); + keys.set(recordKey, true); + dig(children, "".concat(path).concat(recordKey, " > ")); + }); + } + dig(treeData); +} +/** + * Convert `children` of Tree into `treeData` structure. + */ +function convertTreeToData(rootNodes) { + function dig(node) { + var treeNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(node); + return treeNodes.map(function (treeNode) { + // Filter invalidate node + if (!(0,_util__WEBPACK_IMPORTED_MODULE_2__/* .isTreeNode */ .Ds)(treeNode)) { + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(!treeNode, 'Tree/TreeNode can only accept TreeNode as children.'); + return null; + } + var key = treeNode.key; + var _treeNode$props = treeNode.props, + children = _treeNode$props.children, + rest = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_treeNode$props, _excluded); + var dataNode = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + key: key + }, rest); + var parsedChildren = dig(children); + if (parsedChildren.length) { + dataNode.children = parsedChildren; + } + return dataNode; + }).filter(function (dataNode) { + return dataNode; + }); + } + return dig(rootNodes); +} +/** + * Flat nest tree data into flatten list. This is used for virtual list render. + * @param treeNodeList Origin data node list + * @param expandedKeys + * need expanded keys, provides `true` means all expanded (used in `rc-tree-select`). + */ +function flattenTreeData(treeNodeList, expandedKeys, fieldNames) { + var _fillFieldNames = fillFieldNames(fieldNames), + fieldTitles = _fillFieldNames._title, + fieldKey = _fillFieldNames.key, + fieldChildren = _fillFieldNames.children; + var expandedKeySet = new Set(expandedKeys === true ? [] : expandedKeys); + var flattenList = []; + function dig(list) { + var parent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; + return list.map(function (treeNode, index) { + var pos = (0,_util__WEBPACK_IMPORTED_MODULE_2__/* .getPosition */ .bt)(parent ? parent.pos : '0', index); + var mergedKey = getKey(treeNode[fieldKey], pos); + // Pick matched title in field title list + var mergedTitle; + for (var i = 0; i < fieldTitles.length; i += 1) { + var fieldTitle = fieldTitles[i]; + if (treeNode[fieldTitle] !== undefined) { + mergedTitle = treeNode[fieldTitle]; + break; + } + } + // Add FlattenDataNode into list + var flattenNode = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(treeNode, [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(fieldTitles), [fieldKey, fieldChildren]))), {}, { + title: mergedTitle, + key: mergedKey, + parent: parent, + pos: pos, + children: null, + data: treeNode, + isStart: [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(parent ? parent.isStart : []), [index === 0]), + isEnd: [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(parent ? parent.isEnd : []), [index === list.length - 1]) + }); + flattenList.push(flattenNode); + // Loop treeNode children + if (expandedKeys === true || expandedKeySet.has(mergedKey)) { + flattenNode.children = dig(treeNode[fieldChildren] || [], flattenNode); + } else { + flattenNode.children = []; + } + return flattenNode; + }); + } + dig(treeNodeList); + return flattenList; +} +/** + * Traverse all the data by `treeData`. + * Please not use it out of the `rc-tree` since we may refactor this code. + */ +function traverseDataNodes(dataNodes, callback, +// To avoid too many params, let use config instead of origin param +config) { + var mergedConfig = {}; + if ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(config) === 'object') { + mergedConfig = config; + } else { + mergedConfig = { + externalGetKey: config + }; + } + mergedConfig = mergedConfig || {}; + // Init config + var _mergedConfig = mergedConfig, + childrenPropName = _mergedConfig.childrenPropName, + externalGetKey = _mergedConfig.externalGetKey, + fieldNames = _mergedConfig.fieldNames; + var _fillFieldNames2 = fillFieldNames(fieldNames), + fieldKey = _fillFieldNames2.key, + fieldChildren = _fillFieldNames2.children; + var mergeChildrenPropName = childrenPropName || fieldChildren; + // Get keys + var syntheticGetKey; + if (externalGetKey) { + if (typeof externalGetKey === 'string') { + syntheticGetKey = function syntheticGetKey(node) { + return node[externalGetKey]; + }; + } else if (typeof externalGetKey === 'function') { + syntheticGetKey = function syntheticGetKey(node) { + return externalGetKey(node); + }; + } + } else { + syntheticGetKey = function syntheticGetKey(node, pos) { + return getKey(node[fieldKey], pos); + }; + } + // Process + function processNode(node, index, parent, pathNodes) { + var children = node ? node[mergeChildrenPropName] : dataNodes; + var pos = node ? (0,_util__WEBPACK_IMPORTED_MODULE_2__/* .getPosition */ .bt)(parent.pos, index) : '0'; + var connectNodes = node ? [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(pathNodes), [node]) : []; + // Process node if is not root + if (node) { + var key = syntheticGetKey(node, pos); + var data = { + node: node, + index: index, + pos: pos, + key: key, + parentPos: parent.node ? parent.pos : null, + level: parent.level + 1, + nodes: connectNodes + }; + callback(data); + } + // Process children node + if (children) { + children.forEach(function (subNode, subIndex) { + processNode(subNode, subIndex, { + node: node, + pos: pos, + level: parent ? parent.level + 1 : -1 + }, connectNodes); + }); + } + } + processNode(null); +} +/** + * Convert `treeData` into entity records. + */ +function convertDataToEntities(dataNodes) { + var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + initWrapper = _ref2.initWrapper, + processEntity = _ref2.processEntity, + onProcessFinished = _ref2.onProcessFinished, + externalGetKey = _ref2.externalGetKey, + childrenPropName = _ref2.childrenPropName, + fieldNames = _ref2.fieldNames; + var /** @deprecated Use `config.externalGetKey` instead */ + legacyExternalGetKey = arguments.length > 2 ? arguments[2] : undefined; + // Init config + var mergedExternalGetKey = externalGetKey || legacyExternalGetKey; + var posEntities = {}; + var keyEntities = {}; + var wrapper = { + posEntities: posEntities, + keyEntities: keyEntities + }; + if (initWrapper) { + wrapper = initWrapper(wrapper) || wrapper; + } + traverseDataNodes(dataNodes, function (item) { + var node = item.node, + index = item.index, + pos = item.pos, + key = item.key, + parentPos = item.parentPos, + level = item.level, + nodes = item.nodes; + var entity = { + node: node, + nodes: nodes, + index: index, + key: key, + pos: pos, + level: level + }; + var mergedKey = getKey(key, pos); + posEntities[pos] = entity; + keyEntities[mergedKey] = entity; + // Fill children + entity.parent = posEntities[parentPos]; + if (entity.parent) { + entity.parent.children = entity.parent.children || []; + entity.parent.children.push(entity); + } + if (processEntity) { + processEntity(entity, wrapper); + } + }, { + externalGetKey: mergedExternalGetKey, + childrenPropName: childrenPropName, + fieldNames: fieldNames + }); + if (onProcessFinished) { + onProcessFinished(wrapper); + } + return wrapper; +} +/** + * Get TreeNode props with Tree props. + */ +function getTreeNodeProps(key, _ref3) { + var expandedKeys = _ref3.expandedKeys, + selectedKeys = _ref3.selectedKeys, + loadedKeys = _ref3.loadedKeys, + loadingKeys = _ref3.loadingKeys, + checkedKeys = _ref3.checkedKeys, + halfCheckedKeys = _ref3.halfCheckedKeys, + dragOverNodeKey = _ref3.dragOverNodeKey, + dropPosition = _ref3.dropPosition, + keyEntities = _ref3.keyEntities; + var entity = keyEntities[key]; + var treeNodeProps = { + eventKey: key, + expanded: expandedKeys.indexOf(key) !== -1, + selected: selectedKeys.indexOf(key) !== -1, + loaded: loadedKeys.indexOf(key) !== -1, + loading: loadingKeys.indexOf(key) !== -1, + checked: checkedKeys.indexOf(key) !== -1, + halfChecked: halfCheckedKeys.indexOf(key) !== -1, + pos: String(entity ? entity.pos : ''), + // [Legacy] Drag props + // Since the interaction of drag is changed, the semantic of the props are + // not accuracy, I think it should be finally removed + dragOver: dragOverNodeKey === key && dropPosition === 0, + dragOverGapTop: dragOverNodeKey === key && dropPosition === -1, + dragOverGapBottom: dragOverNodeKey === key && dropPosition === 1 + }; + return treeNodeProps; +} +function convertNodePropsToEventData(props) { + var data = props.data, + expanded = props.expanded, + selected = props.selected, + checked = props.checked, + loaded = props.loaded, + loading = props.loading, + halfChecked = props.halfChecked, + dragOver = props.dragOver, + dragOverGapTop = props.dragOverGapTop, + dragOverGapBottom = props.dragOverGapBottom, + pos = props.pos, + active = props.active, + eventKey = props.eventKey; + var eventData = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, data), {}, { + expanded: expanded, + selected: selected, + checked: checked, + loaded: loaded, + loading: loading, + halfChecked: halfChecked, + dragOver: dragOver, + dragOverGapTop: dragOverGapTop, + dragOverGapBottom: dragOverGapBottom, + pos: pos, + active: active, + key: eventKey + }); + if (!('props' in eventData)) { + Object.defineProperty(eventData, 'props', { + get: function get() { + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(false, 'Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`.'); + return props; + } + }); + } + return eventData; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/14563.async.js b/14563.async.js new file mode 100644 index 0000000000..6f319d87a5 --- /dev/null +++ b/14563.async.js @@ -0,0 +1,2477 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[14563,67390,2935],{ + +/***/ 89739: +/*!**********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js + 1 modules ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CheckCircleFilled; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js +// This icon file is generated automatically. +var CheckCircleFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" } }] }, "name": "check-circle", "theme": "filled" }; +/* harmony default export */ var asn_CheckCircleFilled = (CheckCircleFilled); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CheckCircleFilled_CheckCircleFilled = function CheckCircleFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CheckCircleFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_CheckCircleFilled = (/*#__PURE__*/react.forwardRef(CheckCircleFilled_CheckCircleFilled)); + +/***/ }), + +/***/ 4340: +/*!**********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseCircleFilled; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +// This icon file is generated automatically. +var CloseCircleFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" } }] }, "name": "close-circle", "theme": "filled" }; +/* harmony default export */ var asn_CloseCircleFilled = (CloseCircleFilled); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseCircleFilled_CloseCircleFilled = function CloseCircleFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseCircleFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseCircleFilled = (/*#__PURE__*/react.forwardRef(CloseCircleFilled_CloseCircleFilled)); + +/***/ }), + +/***/ 97937: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +// This icon file is generated automatically. +var CloseOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, "name": "close", "theme": "outlined" }; +/* harmony default export */ var asn_CloseOutlined = (CloseOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseOutlined_CloseOutlined = function CloseOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseOutlined = (/*#__PURE__*/react.forwardRef(CloseOutlined_CloseOutlined)); + +/***/ }), + +/***/ 11475: +/*!******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.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 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + +/***/ 64082: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_InboxOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/InboxOutlined.js +// This icon file is generated automatically. +var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.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 0060.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-43l-.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" } }] }, "name": "inbox", "theme": "outlined" }; +/* harmony default export */ var asn_InboxOutlined = (InboxOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var InboxOutlined_InboxOutlined = function InboxOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_InboxOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_InboxOutlined = (/*#__PURE__*/react.forwardRef(InboxOutlined_InboxOutlined)); + +/***/ }), + +/***/ 6171: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_LeftOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +// This icon file is generated automatically. +var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" }; +/* harmony default export */ var asn_LeftOutlined = (LeftOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var LeftOutlined_LeftOutlined = function LeftOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_LeftOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_LeftOutlined = (/*#__PURE__*/react.forwardRef(LeftOutlined_LeftOutlined)); + +/***/ }), + +/***/ 18073: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/RightOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_RightOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +// This icon file is generated automatically. +var RightOutlined = { "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" }; +/* harmony default export */ var asn_RightOutlined = (RightOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/RightOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var RightOutlined_RightOutlined = function RightOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_RightOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_RightOutlined = (/*#__PURE__*/react.forwardRef(RightOutlined_RightOutlined)); + +/***/ }), + +/***/ 88484: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_UploadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.js +// This icon file is generated automatically. +var UploadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" }; +/* harmony default export */ var asn_UploadOutlined = (UploadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var UploadOutlined_UploadOutlined = function UploadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_UploadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_UploadOutlined = (/*#__PURE__*/react.forwardRef(UploadOutlined_UploadOutlined)); + +/***/ }), + +/***/ 49288: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/auto-complete/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 37419); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-util/es/omit */ 10366); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/PurePanel */ 8745); +/* harmony import */ var _util_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/reactNode */ 96159); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../select */ 79035); +'use client'; + + + + + + + + + + +const { + Option +} = _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z; +function isSelectOptionOrSelectOptGroup(child) { + return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup); +} +const AutoComplete = (props, ref) => { + const { + prefixCls: customizePrefixCls, + className, + popupClassName, + dropdownClassName, + children, + dataSource + } = props; + const childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children); + // ============================= Input ============================= + let customizeInput; + if (childNodes.length === 1 && (0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) { + [customizeInput] = childNodes; + } + const getInputElement = customizeInput ? () => customizeInput : undefined; + // ============================ Options ============================ + let optionChildren; + // [Legacy] convert `children` or `dataSource` into option children + if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) { + optionChildren = children; + } else { + optionChildren = dataSource ? dataSource.map(item => { + if ((0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(item)) { + return item; + } + switch (typeof item) { + case 'string': + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { + key: item, + value: item + }, item); + case 'object': + { + const { + value: optionValue + } = item; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { + key: optionValue, + value: optionValue + }, item.text); + } + default: + false ? 0 : void 0; + return undefined; + } + }) : []; + } + if (false) {} + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('select', customizePrefixCls); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, Object.assign({ + ref: ref, + showArrow: false + }, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props, ['dataSource', 'dropdownClassName']), { + prefixCls: prefixCls, + popupClassName: popupClassName || dropdownClassName, + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(`${prefixCls}-auto-complete`, className), + mode: _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"].SECRET_COMBOBOX_MODE_DO_NOT_USE */ .Z.SECRET_COMBOBOX_MODE_DO_NOT_USE, + // Internal api + getInputElement + }), optionChildren); +}; +const RefAutoComplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(AutoComplete); +// We don't care debug panel +/* istanbul ignore next */ +const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(RefAutoComplete); +RefAutoComplete.Option = Option; +RefAutoComplete._InternalPanelDoNotUseOrYouWillBeFired = PurePanel; +if (false) {} +/* harmony default export */ __webpack_exports__["Z"] = (RefAutoComplete); + +/***/ }), + +/***/ 4393: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/card/index.js + 4 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ card; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules +var skeleton = __webpack_require__(4310); +// EXTERNAL MODULE: ./node_modules/antd/es/tabs/index.js + 30 modules +var es_tabs = __webpack_require__(74685); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Grid.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +const Grid = _a => { + var { + prefixCls, + className, + hoverable = true + } = _a, + props = __rest(_a, ["prefixCls", "className", "hoverable"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefix = getPrefixCls('card', prefixCls); + const classString = classnames_default()(`${prefix}-grid`, className, { + [`${prefix}-grid-hoverable`]: hoverable + }); + return /*#__PURE__*/react.createElement("div", Object.assign({}, props, { + className: classString + })); +}; +/* harmony default export */ var card_Grid = (Grid); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/style/index.js + + +// ============================== Styles ============================== +// ============================== Head ============================== +const genCardHeadStyle = token => { + const { + antCls, + componentCls, + headerHeight, + cardPaddingBase, + tabsMarginBottom + } = token; + return Object.assign(Object.assign({ + display: 'flex', + justifyContent: 'center', + flexDirection: 'column', + minHeight: headerHeight, + marginBottom: -1, + padding: `0 ${cardPaddingBase}px`, + color: token.colorTextHeading, + fontWeight: token.fontWeightStrong, + fontSize: token.headerFontSize, + background: token.headerBg, + borderBottom: `${token.lineWidth}px ${token.lineType} ${token.colorBorderSecondary}`, + borderRadius: `${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0` + }, (0,style/* clearFix */.dF)()), { + '&-wrapper': { + width: '100%', + display: 'flex', + alignItems: 'center' + }, + '&-title': Object.assign(Object.assign({ + display: 'inline-block', + flex: 1 + }, style/* textEllipsis */.vS), { + [` + > ${componentCls}-typography, + > ${componentCls}-typography-edit-content + `]: { + insetInlineStart: 0, + marginTop: 0, + marginBottom: 0 + } + }), + [`${antCls}-tabs-top`]: { + clear: 'both', + marginBottom: tabsMarginBottom, + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize, + '&-bar': { + borderBottom: `${token.lineWidth}px ${token.lineType} ${token.colorBorderSecondary}` + } + } + }); +}; +// ============================== Grid ============================== +const genCardGridStyle = token => { + const { + cardPaddingBase, + colorBorderSecondary, + cardShadow, + lineWidth + } = token; + return { + width: '33.33%', + padding: cardPaddingBase, + border: 0, + borderRadius: 0, + boxShadow: ` + ${lineWidth}px 0 0 0 ${colorBorderSecondary}, + 0 ${lineWidth}px 0 0 ${colorBorderSecondary}, + ${lineWidth}px ${lineWidth}px 0 0 ${colorBorderSecondary}, + ${lineWidth}px 0 0 0 ${colorBorderSecondary} inset, + 0 ${lineWidth}px 0 0 ${colorBorderSecondary} inset; + `, + transition: `all ${token.motionDurationMid}`, + '&-hoverable:hover': { + position: 'relative', + zIndex: 1, + boxShadow: cardShadow + } + }; +}; +// ============================== Actions ============================== +const genCardActionsStyle = token => { + const { + componentCls, + iconCls, + actionsLiMargin, + cardActionsIconSize, + colorBorderSecondary, + actionsBg + } = token; + return Object.assign(Object.assign({ + margin: 0, + padding: 0, + listStyle: 'none', + background: actionsBg, + borderTop: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}`, + display: 'flex', + borderRadius: `0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px ` + }, (0,style/* clearFix */.dF)()), { + '& > li': { + margin: actionsLiMargin, + color: token.colorTextDescription, + textAlign: 'center', + '> span': { + position: 'relative', + display: 'block', + minWidth: token.cardActionsIconSize * 2, + fontSize: token.fontSize, + lineHeight: token.lineHeight, + cursor: 'pointer', + '&:hover': { + color: token.colorPrimary, + transition: `color ${token.motionDurationMid}` + }, + [`a:not(${componentCls}-btn), > ${iconCls}`]: { + display: 'inline-block', + width: '100%', + color: token.colorTextDescription, + lineHeight: `${token.fontSize * token.lineHeight}px`, + transition: `color ${token.motionDurationMid}`, + '&:hover': { + color: token.colorPrimary + } + }, + [`> ${iconCls}`]: { + fontSize: cardActionsIconSize, + lineHeight: `${cardActionsIconSize * token.lineHeight}px` + } + }, + '&:not(:last-child)': { + borderInlineEnd: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}` + } + } + }); +}; +// ============================== Meta ============================== +const genCardMetaStyle = token => Object.assign(Object.assign({ + margin: `-${token.marginXXS}px 0`, + display: 'flex' +}, (0,style/* clearFix */.dF)()), { + '&-avatar': { + paddingInlineEnd: token.padding + }, + '&-detail': { + overflow: 'hidden', + flex: 1, + '> div:not(:last-child)': { + marginBottom: token.marginXS + } + }, + '&-title': Object.assign({ + color: token.colorTextHeading, + fontWeight: token.fontWeightStrong, + fontSize: token.fontSizeLG + }, style/* textEllipsis */.vS), + '&-description': { + color: token.colorTextDescription + } +}); +// ============================== Inner ============================== +const genCardTypeInnerStyle = token => { + const { + componentCls, + cardPaddingBase, + colorFillAlter + } = token; + return { + [`${componentCls}-head`]: { + padding: `0 ${cardPaddingBase}px`, + background: colorFillAlter, + '&-title': { + fontSize: token.fontSize + } + }, + [`${componentCls}-body`]: { + padding: `${token.padding}px ${cardPaddingBase}px` + } + }; +}; +// ============================== Loading ============================== +const genCardLoadingStyle = token => { + const { + componentCls + } = token; + return { + overflow: 'hidden', + [`${componentCls}-body`]: { + userSelect: 'none' + } + }; +}; +// ============================== Basic ============================== +const genCardStyle = token => { + const { + antCls, + componentCls, + cardShadow, + cardHeadPadding, + colorBorderSecondary, + boxShadowTertiary, + cardPaddingBase, + extraColor + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + position: 'relative', + background: token.colorBgContainer, + borderRadius: token.borderRadiusLG, + [`&:not(${componentCls}-bordered)`]: { + boxShadow: boxShadowTertiary + }, + [`${componentCls}-head`]: genCardHeadStyle(token), + [`${componentCls}-extra`]: { + // https://stackoverflow.com/a/22429853/3040605 + marginInlineStart: 'auto', + color: extraColor, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`${componentCls}-body`]: Object.assign({ + padding: cardPaddingBase, + borderRadius: ` 0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px` + }, (0,style/* clearFix */.dF)()), + [`${componentCls}-grid`]: genCardGridStyle(token), + [`${componentCls}-cover`]: { + '> *': { + display: 'block', + width: '100%' + }, + [`img, img + ${antCls}-image-mask`]: { + borderRadius: `${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0` + } + }, + [`${componentCls}-actions`]: genCardActionsStyle(token), + [`${componentCls}-meta`]: genCardMetaStyle(token) + }), + [`${componentCls}-bordered`]: { + border: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}`, + [`${componentCls}-cover`]: { + marginTop: -1, + marginInlineStart: -1, + marginInlineEnd: -1 + } + }, + [`${componentCls}-hoverable`]: { + cursor: 'pointer', + transition: `box-shadow ${token.motionDurationMid}, border-color ${token.motionDurationMid}`, + '&:hover': { + borderColor: 'transparent', + boxShadow: cardShadow + } + }, + [`${componentCls}-contain-grid`]: { + [`${componentCls}-body`]: { + display: 'flex', + flexWrap: 'wrap' + }, + [`&:not(${componentCls}-loading) ${componentCls}-body`]: { + marginBlockStart: -token.lineWidth, + marginInlineStart: -token.lineWidth, + padding: 0 + } + }, + [`${componentCls}-contain-tabs`]: { + [`> ${componentCls}-head`]: { + [`${componentCls}-head-title, ${componentCls}-extra`]: { + paddingTop: cardHeadPadding + } + } + }, + [`${componentCls}-type-inner`]: genCardTypeInnerStyle(token), + [`${componentCls}-loading`]: genCardLoadingStyle(token), + [`${componentCls}-rtl`]: { + direction: 'rtl' + } + }; +}; +// ============================== Size ============================== +const genCardSizeStyle = token => { + const { + componentCls, + cardPaddingSM, + headerHeightSM, + headerFontSizeSM + } = token; + return { + [`${componentCls}-small`]: { + [`> ${componentCls}-head`]: { + minHeight: headerHeightSM, + padding: `0 ${cardPaddingSM}px`, + fontSize: headerFontSizeSM, + [`> ${componentCls}-head-wrapper`]: { + [`> ${componentCls}-extra`]: { + fontSize: token.fontSize + } + } + }, + [`> ${componentCls}-body`]: { + padding: cardPaddingSM + } + }, + [`${componentCls}-small${componentCls}-contain-tabs`]: { + [`> ${componentCls}-head`]: { + [`${componentCls}-head-title, ${componentCls}-extra`]: { + minHeight: headerHeightSM, + paddingTop: 0, + display: 'flex', + alignItems: 'center' + } + } + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var card_style = ((0,genComponentStyleHook/* default */.Z)('Card', token => { + const cardToken = (0,statistic/* merge */.TS)(token, { + cardShadow: token.boxShadowCard, + cardHeadPadding: token.padding, + cardPaddingBase: token.paddingLG, + cardActionsIconSize: token.fontSize, + cardPaddingSM: 12 // Fixed padding. + }); + + return [ + // Style + genCardStyle(cardToken), + // Size + genCardSizeStyle(cardToken)]; +}, token => ({ + headerBg: 'transparent', + headerFontSize: token.fontSizeLG, + headerFontSizeSM: token.fontSize, + headerHeight: token.fontSizeLG * token.lineHeightLG + token.padding * 2, + headerHeightSM: token.fontSize * token.lineHeight + token.paddingXS * 2, + actionsBg: token.colorBgContainer, + actionsLiMargin: `${token.paddingSM}px 0`, + tabsMarginBottom: -token.padding - token.lineWidth, + extraColor: token.colorText +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Card.js +var Card_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +function getAction(actions) { + return actions.map((action, index) => + /*#__PURE__*/ + // eslint-disable-next-line react/no-array-index-key + react.createElement("li", { + style: { + width: `${100 / actions.length}%` + }, + key: `action-${index}` + }, /*#__PURE__*/react.createElement("span", null, action))); +} +const Card = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + extra, + headStyle = {}, + bodyStyle = {}, + title, + loading, + bordered = true, + size: customizeSize, + type, + cover, + actions, + tabList, + children, + activeTabKey, + defaultActiveTabKey, + tabBarExtraContent, + hoverable, + tabProps = {} + } = props, + others = Card_rest(props, ["prefixCls", "className", "rootClassName", "style", "extra", "headStyle", "bodyStyle", "title", "loading", "bordered", "size", "type", "cover", "actions", "tabList", "children", "activeTabKey", "defaultActiveTabKey", "tabBarExtraContent", "hoverable", "tabProps"]); + const { + getPrefixCls, + direction, + card + } = react.useContext(context/* ConfigContext */.E_); + const onTabChange = key => { + var _a; + (_a = props.onTabChange) === null || _a === void 0 ? void 0 : _a.call(props, key); + }; + const isContainGrid = react.useMemo(() => { + let containGrid = false; + react.Children.forEach(children, element => { + if (element && element.type && element.type === card_Grid) { + containGrid = true; + } + }); + return containGrid; + }, [children]); + const prefixCls = getPrefixCls('card', customizePrefixCls); + const [wrapSSR, hashId] = card_style(prefixCls); + const loadingBlock = /*#__PURE__*/react.createElement(skeleton/* default */.Z, { + loading: true, + active: true, + paragraph: { + rows: 4 + }, + title: false + }, children); + const hasActiveTabKey = activeTabKey !== undefined; + const extraProps = Object.assign(Object.assign({}, tabProps), { + [hasActiveTabKey ? 'activeKey' : 'defaultActiveKey']: hasActiveTabKey ? activeTabKey : defaultActiveTabKey, + tabBarExtraContent + }); + let head; + const mergedSize = (0,useSize/* default */.Z)(customizeSize); + const tabSize = !mergedSize || mergedSize === 'default' ? 'large' : mergedSize; + const tabs = tabList ? /*#__PURE__*/react.createElement(es_tabs/* default */.Z, Object.assign({ + size: tabSize + }, extraProps, { + className: `${prefixCls}-head-tabs`, + onChange: onTabChange, + items: tabList.map(_a => { + var { + tab + } = _a, + item = Card_rest(_a, ["tab"]); + return Object.assign({ + label: tab + }, item); + }) + })) : null; + if (title || extra || tabs) { + head = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head`, + style: headStyle + }, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head-wrapper` + }, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head-title` + }, title), extra && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-extra` + }, extra)), tabs); + } + const coverDom = cover ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-cover` + }, cover) : null; + const body = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-body`, + style: bodyStyle + }, loading ? loadingBlock : children); + const actionDom = actions && actions.length ? /*#__PURE__*/react.createElement("ul", { + className: `${prefixCls}-actions` + }, getAction(actions)) : null; + const divProps = (0,omit/* default */.Z)(others, ['onTabChange']); + const classString = classnames_default()(prefixCls, card === null || card === void 0 ? void 0 : card.className, { + [`${prefixCls}-loading`]: loading, + [`${prefixCls}-bordered`]: bordered, + [`${prefixCls}-hoverable`]: hoverable, + [`${prefixCls}-contain-grid`]: isContainGrid, + [`${prefixCls}-contain-tabs`]: tabList && tabList.length, + [`${prefixCls}-${mergedSize}`]: mergedSize, + [`${prefixCls}-type-${type}`]: !!type, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, card === null || card === void 0 ? void 0 : card.style), style); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + ref: ref + }, divProps, { + className: classString, + style: mergedStyle + }), head, coverDom, body, actionDom)); +}); +/* harmony default export */ var card_Card = (Card); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Meta.js +var Meta_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +const Meta = props => { + const { + prefixCls: customizePrefixCls, + className, + avatar, + title, + description + } = props, + others = Meta_rest(props, ["prefixCls", "className", "avatar", "title", "description"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('card', customizePrefixCls); + const classString = classnames_default()(`${prefixCls}-meta`, className); + const avatarDom = avatar ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-avatar` + }, avatar) : null; + const titleDom = title ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-title` + }, title) : null; + const descriptionDom = description ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-description` + }, description) : null; + const MetaDetail = titleDom || descriptionDom ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-detail` + }, titleDom, descriptionDom) : null; + return /*#__PURE__*/react.createElement("div", Object.assign({}, others, { + className: classString + }), avatarDom, MetaDetail); +}; +/* harmony default export */ var card_Meta = (Meta); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/index.js +'use client'; + + + + +const es_card_Card = card_Card; +es_card_Card.Grid = card_Grid; +es_card_Card.Meta = card_Meta; +if (false) {} +/* harmony default export */ var card = (es_card_Card); + +/***/ }), + +/***/ 86128: +/*!*********************************************************!*\ + !*** ./node_modules/rc-tree/es/TreeNode.js + 1 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ TreeNode; } +}); + +// UNUSED EXPORTS: InternalTreeNode + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(15671); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(43144); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +var assertThisInitialized = __webpack_require__(97326); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(60136); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(51630); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +// EXTERNAL MODULE: ./node_modules/rc-tree/es/contextTypes.js +var contextTypes = __webpack_require__(27822); +;// CONCATENATED MODULE: ./node_modules/rc-tree/es/Indent.js + + + +var Indent = function Indent(_ref) { + var prefixCls = _ref.prefixCls, + level = _ref.level, + isStart = _ref.isStart, + isEnd = _ref.isEnd; + var baseClassName = "".concat(prefixCls, "-indent-unit"); + var list = []; + for (var i = 0; i < level; i += 1) { + var _classNames; + list.push( /*#__PURE__*/react.createElement("span", { + key: i, + className: classnames_default()(baseClassName, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(baseClassName, "-start"), isStart[i]), (0,defineProperty/* default */.Z)(_classNames, "".concat(baseClassName, "-end"), isEnd[i]), _classNames)) + })); + } + return /*#__PURE__*/react.createElement("span", { + "aria-hidden": "true", + className: "".concat(prefixCls, "-indent") + }, list); +}; +/* harmony default export */ var es_Indent = (/*#__PURE__*/react.memo(Indent)); +// EXTERNAL MODULE: ./node_modules/rc-tree/es/utils/treeUtil.js +var treeUtil = __webpack_require__(1089); +;// CONCATENATED MODULE: ./node_modules/rc-tree/es/TreeNode.js + + + + + + + + + +var _excluded = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragOverGapBottom", "isLeaf", "isStart", "isEnd", "expanded", "selected", "checked", "halfChecked", "loading", "domRef", "active", "data", "onMouseMove", "selectable"]; + + + +// @ts-ignore + + + +var ICON_OPEN = 'open'; +var ICON_CLOSE = 'close'; +var defaultTitle = '---'; +var InternalTreeNode = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(InternalTreeNode, _React$Component); + var _super = (0,createSuper/* default */.Z)(InternalTreeNode); + function InternalTreeNode() { + var _this; + (0,classCallCheck/* default */.Z)(this, InternalTreeNode); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _this.state = { + dragNodeHighlight: false + }; + _this.selectHandle = void 0; + _this.onSelectorClick = function (e) { + // Click trigger before select/check operation + var onNodeClick = _this.props.context.onNodeClick; + onNodeClick(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + if (_this.isSelectable()) { + _this.onSelect(e); + } else { + _this.onCheck(e); + } + }; + _this.onSelectorDoubleClick = function (e) { + var onNodeDoubleClick = _this.props.context.onNodeDoubleClick; + onNodeDoubleClick(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onSelect = function (e) { + if (_this.isDisabled()) return; + var onNodeSelect = _this.props.context.onNodeSelect; + e.preventDefault(); + onNodeSelect(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onCheck = function (e) { + if (_this.isDisabled()) return; + var _this$props = _this.props, + disableCheckbox = _this$props.disableCheckbox, + checked = _this$props.checked; + var onNodeCheck = _this.props.context.onNodeCheck; + if (!_this.isCheckable() || disableCheckbox) return; + e.preventDefault(); + var targetChecked = !checked; + onNodeCheck(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props), targetChecked); + }; + _this.onMouseEnter = function (e) { + var onNodeMouseEnter = _this.props.context.onNodeMouseEnter; + onNodeMouseEnter(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onMouseLeave = function (e) { + var onNodeMouseLeave = _this.props.context.onNodeMouseLeave; + onNodeMouseLeave(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onContextMenu = function (e) { + var onNodeContextMenu = _this.props.context.onNodeContextMenu; + onNodeContextMenu(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onDragStart = function (e) { + var onNodeDragStart = _this.props.context.onNodeDragStart; + e.stopPropagation(); + _this.setState({ + dragNodeHighlight: true + }); + onNodeDragStart(e, (0,assertThisInitialized/* default */.Z)(_this)); + try { + // ie throw error + // firefox-need-it + e.dataTransfer.setData('text/plain', ''); + } catch (error) { + // empty + } + }; + _this.onDragEnter = function (e) { + var onNodeDragEnter = _this.props.context.onNodeDragEnter; + e.preventDefault(); + e.stopPropagation(); + onNodeDragEnter(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDragOver = function (e) { + var onNodeDragOver = _this.props.context.onNodeDragOver; + e.preventDefault(); + e.stopPropagation(); + onNodeDragOver(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDragLeave = function (e) { + var onNodeDragLeave = _this.props.context.onNodeDragLeave; + e.stopPropagation(); + onNodeDragLeave(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDragEnd = function (e) { + var onNodeDragEnd = _this.props.context.onNodeDragEnd; + e.stopPropagation(); + _this.setState({ + dragNodeHighlight: false + }); + onNodeDragEnd(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDrop = function (e) { + var onNodeDrop = _this.props.context.onNodeDrop; + e.preventDefault(); + e.stopPropagation(); + _this.setState({ + dragNodeHighlight: false + }); + onNodeDrop(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + // Disabled item still can be switch + _this.onExpand = function (e) { + var _this$props2 = _this.props, + loading = _this$props2.loading, + onNodeExpand = _this$props2.context.onNodeExpand; + if (loading) return; + onNodeExpand(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + // Drag usage + _this.setSelectHandle = function (node) { + _this.selectHandle = node; + }; + _this.getNodeState = function () { + var expanded = _this.props.expanded; + if (_this.isLeaf()) { + return null; + } + return expanded ? ICON_OPEN : ICON_CLOSE; + }; + _this.hasChildren = function () { + var eventKey = _this.props.eventKey; + var keyEntities = _this.props.context.keyEntities; + var _ref = keyEntities[eventKey] || {}, + children = _ref.children; + return !!(children || []).length; + }; + _this.isLeaf = function () { + var _this$props3 = _this.props, + isLeaf = _this$props3.isLeaf, + loaded = _this$props3.loaded; + var loadData = _this.props.context.loadData; + var hasChildren = _this.hasChildren(); + if (isLeaf === false) { + return false; + } + return isLeaf || !loadData && !hasChildren || loadData && loaded && !hasChildren; + }; + _this.isDisabled = function () { + var disabled = _this.props.disabled; + var treeDisabled = _this.props.context.disabled; + return !!(treeDisabled || disabled); + }; + _this.isCheckable = function () { + var checkable = _this.props.checkable; + var treeCheckable = _this.props.context.checkable; + // Return false if tree or treeNode is not checkable + if (!treeCheckable || checkable === false) return false; + return treeCheckable; + }; + // Load data to avoid default expanded tree without data + _this.syncLoadData = function (props) { + var expanded = props.expanded, + loading = props.loading, + loaded = props.loaded; + var _this$props$context = _this.props.context, + loadData = _this$props$context.loadData, + onNodeLoad = _this$props$context.onNodeLoad; + if (loading) { + return; + } + // read from state to avoid loadData at same time + if (loadData && expanded && !_this.isLeaf()) { + // We needn't reload data when has children in sync logic + // It's only needed in node expanded + if (!_this.hasChildren() && !loaded) { + onNodeLoad((0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + } + } + }; + _this.isDraggable = function () { + var _this$props4 = _this.props, + data = _this$props4.data, + draggable = _this$props4.context.draggable; + return !!(draggable && (!draggable.nodeDraggable || draggable.nodeDraggable(data))); + }; + // ==================== Render: Drag Handler ==================== + _this.renderDragHandler = function () { + var _this$props$context2 = _this.props.context, + draggable = _this$props$context2.draggable, + prefixCls = _this$props$context2.prefixCls; + return (draggable === null || draggable === void 0 ? void 0 : draggable.icon) ? /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-draggable-icon") + }, draggable.icon) : null; + }; + // ====================== Render: Switcher ====================== + _this.renderSwitcherIconDom = function (isLeaf) { + var switcherIconFromProps = _this.props.switcherIcon; + var switcherIconFromCtx = _this.props.context.switcherIcon; + var switcherIcon = switcherIconFromProps || switcherIconFromCtx; + // if switcherIconDom is null, no render switcher span + if (typeof switcherIcon === 'function') { + return switcherIcon((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, _this.props), {}, { + isLeaf: isLeaf + })); + } + return switcherIcon; + }; + // Switcher + _this.renderSwitcher = function () { + var expanded = _this.props.expanded; + var prefixCls = _this.props.context.prefixCls; + if (_this.isLeaf()) { + // if switcherIconDom is null, no render switcher span + var _switcherIconDom = _this.renderSwitcherIconDom(true); + return _switcherIconDom !== false ? /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-switcher"), "".concat(prefixCls, "-switcher-noop")) + }, _switcherIconDom) : null; + } + var switcherCls = classnames_default()("".concat(prefixCls, "-switcher"), "".concat(prefixCls, "-switcher_").concat(expanded ? ICON_OPEN : ICON_CLOSE)); + var switcherIconDom = _this.renderSwitcherIconDom(false); + return switcherIconDom !== false ? /*#__PURE__*/react.createElement("span", { + onClick: _this.onExpand, + className: switcherCls + }, switcherIconDom) : null; + }; + // ====================== Render: Checkbox ====================== + // Checkbox + _this.renderCheckbox = function () { + var _this$props5 = _this.props, + checked = _this$props5.checked, + halfChecked = _this$props5.halfChecked, + disableCheckbox = _this$props5.disableCheckbox; + var prefixCls = _this.props.context.prefixCls; + var disabled = _this.isDisabled(); + var checkable = _this.isCheckable(); + if (!checkable) return null; + // [Legacy] Custom element should be separate with `checkable` in future + var $custom = typeof checkable !== 'boolean' ? checkable : null; + return /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-checkbox"), checked && "".concat(prefixCls, "-checkbox-checked"), !checked && halfChecked && "".concat(prefixCls, "-checkbox-indeterminate"), (disabled || disableCheckbox) && "".concat(prefixCls, "-checkbox-disabled")), + onClick: _this.onCheck + }, $custom); + }; + // ==================== Render: Title + Icon ==================== + _this.renderIcon = function () { + var loading = _this.props.loading; + var prefixCls = _this.props.context.prefixCls; + return /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-iconEle"), "".concat(prefixCls, "-icon__").concat(_this.getNodeState() || 'docu'), loading && "".concat(prefixCls, "-icon_loading")) + }); + }; + // Icon + Title + _this.renderSelector = function () { + var dragNodeHighlight = _this.state.dragNodeHighlight; + var _this$props6 = _this.props, + _this$props6$title = _this$props6.title, + title = _this$props6$title === void 0 ? defaultTitle : _this$props6$title, + selected = _this$props6.selected, + icon = _this$props6.icon, + loading = _this$props6.loading, + data = _this$props6.data; + var _this$props$context3 = _this.props.context, + prefixCls = _this$props$context3.prefixCls, + showIcon = _this$props$context3.showIcon, + treeIcon = _this$props$context3.icon, + loadData = _this$props$context3.loadData, + titleRender = _this$props$context3.titleRender; + var disabled = _this.isDisabled(); + var wrapClass = "".concat(prefixCls, "-node-content-wrapper"); + // Icon - Still show loading icon when loading without showIcon + var $icon; + if (showIcon) { + var currentIcon = icon || treeIcon; + $icon = currentIcon ? /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-iconEle"), "".concat(prefixCls, "-icon__customize")) + }, typeof currentIcon === 'function' ? currentIcon(_this.props) : currentIcon) : _this.renderIcon(); + } else if (loadData && loading) { + $icon = _this.renderIcon(); + } + // Title + var titleNode; + if (typeof title === 'function') { + titleNode = title(data); + } else if (titleRender) { + titleNode = titleRender(data); + } else { + titleNode = title; + } + var $title = /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-title") + }, titleNode); + return /*#__PURE__*/react.createElement("span", { + ref: _this.setSelectHandle, + title: typeof title === 'string' ? title : '', + className: classnames_default()("".concat(wrapClass), "".concat(wrapClass, "-").concat(_this.getNodeState() || 'normal'), !disabled && (selected || dragNodeHighlight) && "".concat(prefixCls, "-node-selected")), + onMouseEnter: _this.onMouseEnter, + onMouseLeave: _this.onMouseLeave, + onContextMenu: _this.onContextMenu, + onClick: _this.onSelectorClick, + onDoubleClick: _this.onSelectorDoubleClick + }, $icon, $title, _this.renderDropIndicator()); + }; + // =================== Render: Drop Indicator =================== + _this.renderDropIndicator = function () { + var _this$props7 = _this.props, + disabled = _this$props7.disabled, + eventKey = _this$props7.eventKey; + var _this$props$context4 = _this.props.context, + draggable = _this$props$context4.draggable, + dropLevelOffset = _this$props$context4.dropLevelOffset, + dropPosition = _this$props$context4.dropPosition, + prefixCls = _this$props$context4.prefixCls, + indent = _this$props$context4.indent, + dropIndicatorRender = _this$props$context4.dropIndicatorRender, + dragOverNodeKey = _this$props$context4.dragOverNodeKey, + direction = _this$props$context4.direction; + var rootDraggable = !!draggable; + // allowDrop is calculated in Tree.tsx, there is no need for calc it here + var showIndicator = !disabled && rootDraggable && dragOverNodeKey === eventKey; + return showIndicator ? dropIndicatorRender({ + dropPosition: dropPosition, + dropLevelOffset: dropLevelOffset, + indent: indent, + prefixCls: prefixCls, + direction: direction + }) : null; + }; + return _this; + } + (0,createClass/* default */.Z)(InternalTreeNode, [{ + key: "componentDidMount", + value: + // Isomorphic needn't load data in server side + function componentDidMount() { + this.syncLoadData(this.props); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate() { + this.syncLoadData(this.props); + } + }, { + key: "isSelectable", + value: function isSelectable() { + var selectable = this.props.selectable; + var treeSelectable = this.props.context.selectable; + // Ignore when selectable is undefined or null + if (typeof selectable === 'boolean') { + return selectable; + } + return treeSelectable; + } + }, { + key: "render", + value: + // =========================== Render =========================== + function render() { + var _classNames; + var _this$props8 = this.props, + eventKey = _this$props8.eventKey, + className = _this$props8.className, + style = _this$props8.style, + dragOver = _this$props8.dragOver, + dragOverGapTop = _this$props8.dragOverGapTop, + dragOverGapBottom = _this$props8.dragOverGapBottom, + isLeaf = _this$props8.isLeaf, + isStart = _this$props8.isStart, + isEnd = _this$props8.isEnd, + expanded = _this$props8.expanded, + selected = _this$props8.selected, + checked = _this$props8.checked, + halfChecked = _this$props8.halfChecked, + loading = _this$props8.loading, + domRef = _this$props8.domRef, + active = _this$props8.active, + data = _this$props8.data, + onMouseMove = _this$props8.onMouseMove, + selectable = _this$props8.selectable, + otherProps = (0,objectWithoutProperties/* default */.Z)(_this$props8, _excluded); + var _this$props$context5 = this.props.context, + prefixCls = _this$props$context5.prefixCls, + filterTreeNode = _this$props$context5.filterTreeNode, + keyEntities = _this$props$context5.keyEntities, + dropContainerKey = _this$props$context5.dropContainerKey, + dropTargetKey = _this$props$context5.dropTargetKey, + draggingNodeKey = _this$props$context5.draggingNodeKey; + var disabled = this.isDisabled(); + var dataOrAriaAttributeProps = (0,pickAttrs/* default */.Z)(otherProps, { + aria: true, + data: true + }); + var _ref2 = keyEntities[eventKey] || {}, + level = _ref2.level; + var isEndNode = isEnd[isEnd.length - 1]; + var mergedDraggable = this.isDraggable(); + var draggableWithoutDisabled = !disabled && mergedDraggable; + var dragging = draggingNodeKey === eventKey; + var ariaSelected = selectable !== undefined ? { + 'aria-selected': !!selectable + } : undefined; + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + ref: domRef, + className: classnames_default()(className, "".concat(prefixCls, "-treenode"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-switcher-").concat(expanded ? 'open' : 'close'), !isLeaf), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-checkbox-checked"), checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-checkbox-indeterminate"), halfChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-selected"), selected), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-loading"), loading), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-leaf-last"), isEndNode), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-draggable"), mergedDraggable), (0,defineProperty/* default */.Z)(_classNames, "dragging", dragging), (0,defineProperty/* default */.Z)(_classNames, 'drop-target', dropTargetKey === eventKey), (0,defineProperty/* default */.Z)(_classNames, 'drop-container', dropContainerKey === eventKey), (0,defineProperty/* default */.Z)(_classNames, 'drag-over', !disabled && dragOver), (0,defineProperty/* default */.Z)(_classNames, 'drag-over-gap-top', !disabled && dragOverGapTop), (0,defineProperty/* default */.Z)(_classNames, 'drag-over-gap-bottom', !disabled && dragOverGapBottom), (0,defineProperty/* default */.Z)(_classNames, 'filter-node', filterTreeNode && filterTreeNode((0,treeUtil/* convertNodePropsToEventData */.F)(this.props))), _classNames)), + style: style + // Draggable config + , + draggable: draggableWithoutDisabled, + "aria-grabbed": dragging, + onDragStart: draggableWithoutDisabled ? this.onDragStart : undefined + // Drop config + , + onDragEnter: mergedDraggable ? this.onDragEnter : undefined, + onDragOver: mergedDraggable ? this.onDragOver : undefined, + onDragLeave: mergedDraggable ? this.onDragLeave : undefined, + onDrop: mergedDraggable ? this.onDrop : undefined, + onDragEnd: mergedDraggable ? this.onDragEnd : undefined, + onMouseMove: onMouseMove + }, ariaSelected, dataOrAriaAttributeProps), /*#__PURE__*/react.createElement(es_Indent, { + prefixCls: prefixCls, + level: level, + isStart: isStart, + isEnd: isEnd + }), this.renderDragHandler(), this.renderSwitcher(), this.renderCheckbox(), this.renderSelector()); + } + }]); + return InternalTreeNode; +}(react.Component); +var ContextTreeNode = function ContextTreeNode(props) { + return /*#__PURE__*/react.createElement(contextTypes/* TreeContext.Consumer */.k.Consumer, null, function (context) { + return /*#__PURE__*/react.createElement(InternalTreeNode, (0,esm_extends/* default */.Z)({}, props, { + context: context + })); + }); +}; +ContextTreeNode.displayName = 'TreeNode'; +ContextTreeNode.isTreeNode = 1; + +/* harmony default export */ var TreeNode = (ContextTreeNode); + +/***/ }), + +/***/ 27822: +/*!*************************************************!*\ + !*** ./node_modules/rc-tree/es/contextTypes.js ***! + \*************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "k": function() { return /* binding */ TreeContext; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/** + * Webpack has bug for import loop, which is not the same behavior as ES module. + * When util.js imports the TreeNode for tree generate will cause treeContextTypes be empty. + */ + +var TreeContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); + +/***/ }), + +/***/ 10225: +/*!*****************************************!*\ + !*** ./node_modules/rc-tree/es/util.js ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "BT": function() { return /* binding */ calcSelectedKeys; }, +/* harmony export */ "Ds": function() { return /* binding */ isTreeNode; }, +/* harmony export */ "E6": function() { return /* binding */ parseCheckedKeys; }, +/* harmony export */ "L0": function() { return /* binding */ arrAdd; }, +/* harmony export */ "OM": function() { return /* binding */ calcDropPosition; }, +/* harmony export */ "_5": function() { return /* binding */ arrDel; }, +/* harmony export */ "bt": function() { return /* binding */ getPosition; }, +/* harmony export */ "r7": function() { return /* binding */ conductExpandParent; }, +/* harmony export */ "wA": function() { return /* binding */ getDragChildrenKeys; }, +/* harmony export */ "yx": function() { return /* binding */ posToArr; } +/* harmony export */ }); +/* unused harmony exports isLastChild, isFirstChild, convertDataToTree */ +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902); +/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 71002); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/warning */ 80334); +/* harmony import */ var _TreeNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TreeNode */ 86128); + + + + +var _excluded = (/* unused pure expression or super */ null && (["children"])); +/* eslint-disable no-lonely-if */ +/** + * Legacy code. Should avoid to use if you are new to import these code. + */ + + + +function arrDel(list, value) { + if (!list) return []; + var clone = list.slice(); + var index = clone.indexOf(value); + if (index >= 0) { + clone.splice(index, 1); + } + return clone; +} +function arrAdd(list, value) { + var clone = (list || []).slice(); + if (clone.indexOf(value) === -1) { + clone.push(value); + } + return clone; +} +function posToArr(pos) { + return pos.split('-'); +} +function getPosition(level, index) { + return "".concat(level, "-").concat(index); +} +function isTreeNode(node) { + return node && node.type && node.type.isTreeNode; +} +function getDragChildrenKeys(dragNodeKey, keyEntities) { + // not contains self + // self for left or right drag + var dragChildrenKeys = []; + var entity = keyEntities[dragNodeKey]; + function dig() { + var list = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + list.forEach(function (_ref) { + var key = _ref.key, + children = _ref.children; + dragChildrenKeys.push(key); + dig(children); + }); + } + dig(entity.children); + return dragChildrenKeys; +} +function isLastChild(treeNodeEntity) { + if (treeNodeEntity.parent) { + var posArr = posToArr(treeNodeEntity.pos); + return Number(posArr[posArr.length - 1]) === treeNodeEntity.parent.children.length - 1; + } + return false; +} +function isFirstChild(treeNodeEntity) { + var posArr = posToArr(treeNodeEntity.pos); + return Number(posArr[posArr.length - 1]) === 0; +} +// Only used when drag, not affect SSR. +function calcDropPosition(event, dragNode, targetNode, indent, startMousePosition, allowDrop, flattenedNodes, keyEntities, expandKeys, direction) { + var _abstractDropNodeEnti; + var clientX = event.clientX, + clientY = event.clientY; + var _event$target$getBoun = event.target.getBoundingClientRect(), + top = _event$target$getBoun.top, + height = _event$target$getBoun.height; + // optional chain for testing + var horizontalMouseOffset = (direction === 'rtl' ? -1 : 1) * (((startMousePosition === null || startMousePosition === void 0 ? void 0 : startMousePosition.x) || 0) - clientX); + var rawDropLevelOffset = (horizontalMouseOffset - 12) / indent; + // find abstract drop node by horizontal offset + var abstractDropNodeEntity = keyEntities[targetNode.props.eventKey]; + if (clientY < top + height / 2) { + // first half, set abstract drop node to previous node + var nodeIndex = flattenedNodes.findIndex(function (flattenedNode) { + return flattenedNode.key === abstractDropNodeEntity.key; + }); + var prevNodeIndex = nodeIndex <= 0 ? 0 : nodeIndex - 1; + var prevNodeKey = flattenedNodes[prevNodeIndex].key; + abstractDropNodeEntity = keyEntities[prevNodeKey]; + } + var initialAbstractDropNodeKey = abstractDropNodeEntity.key; + var abstractDragOverEntity = abstractDropNodeEntity; + var dragOverNodeKey = abstractDropNodeEntity.key; + var dropPosition = 0; + var dropLevelOffset = 0; + // Only allow cross level drop when dragging on a non-expanded node + if (!expandKeys.includes(initialAbstractDropNodeKey)) { + for (var i = 0; i < rawDropLevelOffset; i += 1) { + if (isLastChild(abstractDropNodeEntity)) { + abstractDropNodeEntity = abstractDropNodeEntity.parent; + dropLevelOffset += 1; + } else { + break; + } + } + } + var abstractDragDataNode = dragNode.props.data; + var abstractDropDataNode = abstractDropNodeEntity.node; + var dropAllowed = true; + if (isFirstChild(abstractDropNodeEntity) && abstractDropNodeEntity.level === 0 && clientY < top + height / 2 && allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: -1 + }) && abstractDropNodeEntity.key === targetNode.props.eventKey) { + // first half of first node in first level + dropPosition = -1; + } else if ((abstractDragOverEntity.children || []).length && expandKeys.includes(dragOverNodeKey)) { + // drop on expanded node + // only allow drop inside + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 0 + })) { + dropPosition = 0; + } else { + dropAllowed = false; + } + } else if (dropLevelOffset === 0) { + if (rawDropLevelOffset > -1.5) { + // | Node | <- abstractDropNode + // | -^-===== | <- mousePosition + // 1. try drop after + // 2. do not allow drop + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 1 + })) { + dropPosition = 1; + } else { + dropAllowed = false; + } + } else { + // | Node | <- abstractDropNode + // | ---==^== | <- mousePosition + // whether it has children or doesn't has children + // always + // 1. try drop inside + // 2. try drop after + // 3. do not allow drop + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 0 + })) { + dropPosition = 0; + } else if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 1 + })) { + dropPosition = 1; + } else { + dropAllowed = false; + } + } + } else { + // | Node1 | <- abstractDropNode + // | Node2 | + // --^--|----=====| <- mousePosition + // 1. try insert after Node1 + // 2. do not allow drop + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 1 + })) { + dropPosition = 1; + } else { + dropAllowed = false; + } + } + return { + dropPosition: dropPosition, + dropLevelOffset: dropLevelOffset, + dropTargetKey: abstractDropNodeEntity.key, + dropTargetPos: abstractDropNodeEntity.pos, + dragOverNodeKey: dragOverNodeKey, + dropContainerKey: dropPosition === 0 ? null : ((_abstractDropNodeEnti = abstractDropNodeEntity.parent) === null || _abstractDropNodeEnti === void 0 ? void 0 : _abstractDropNodeEnti.key) || null, + dropAllowed: dropAllowed + }; +} +/** + * Return selectedKeys according with multiple prop + * @param selectedKeys + * @param props + * @returns [string] + */ +function calcSelectedKeys(selectedKeys, props) { + if (!selectedKeys) return undefined; + var multiple = props.multiple; + if (multiple) { + return selectedKeys.slice(); + } + if (selectedKeys.length) { + return [selectedKeys[0]]; + } + return selectedKeys; +} +var internalProcessProps = function internalProcessProps(props) { + return props; +}; +function convertDataToTree(treeData, processor) { + if (!treeData) return []; + var _ref2 = processor || {}, + _ref2$processProps = _ref2.processProps, + processProps = _ref2$processProps === void 0 ? internalProcessProps : _ref2$processProps; + var list = Array.isArray(treeData) ? treeData : [treeData]; + return list.map(function (_ref3) { + var children = _ref3.children, + props = _objectWithoutProperties(_ref3, _excluded); + var childrenNodes = convertDataToTree(children, processor); + return /*#__PURE__*/React.createElement(TreeNode, _extends({ + key: props.key + }, processProps(props)), childrenNodes); + }); +} +/** + * Parse `checkedKeys` to { checkedKeys, halfCheckedKeys } style + */ +function parseCheckedKeys(keys) { + if (!keys) { + return null; + } + // Convert keys to object format + var keyProps; + if (Array.isArray(keys)) { + // [Legacy] Follow the api doc + keyProps = { + checkedKeys: keys, + halfCheckedKeys: undefined + }; + } else if ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(keys) === 'object') { + keyProps = { + checkedKeys: keys.checked || undefined, + halfCheckedKeys: keys.halfChecked || undefined + }; + } else { + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(false, '`checkedKeys` is not an array or an object'); + return null; + } + return keyProps; +} +/** + * If user use `autoExpandParent` we should get the list of parent node + * @param keyList + * @param keyEntities + */ +function conductExpandParent(keyList, keyEntities) { + var expandedKeys = new Set(); + function conductUp(key) { + if (expandedKeys.has(key)) return; + var entity = keyEntities[key]; + if (!entity) return; + expandedKeys.add(key); + var parent = entity.parent, + node = entity.node; + if (node.disabled) return; + if (parent) { + conductUp(parent.key); + } + } + (keyList || []).forEach(function (key) { + conductUp(key); + }); + return (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(expandedKeys); +} + +/***/ }), + +/***/ 17341: +/*!******************************************************!*\ + !*** ./node_modules/rc-tree/es/utils/conductUtil.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "S": function() { return /* binding */ conductCheck; } +/* harmony export */ }); +/* unused harmony export isCheckDisabled */ +/* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/warning */ 80334); + +function removeFromCheckedKeys(halfCheckedKeys, checkedKeys) { + var filteredKeys = new Set(); + halfCheckedKeys.forEach(function (key) { + if (!checkedKeys.has(key)) { + filteredKeys.add(key); + } + }); + return filteredKeys; +} +function isCheckDisabled(node) { + var _ref = node || {}, + disabled = _ref.disabled, + disableCheckbox = _ref.disableCheckbox, + checkable = _ref.checkable; + return !!(disabled || disableCheckbox) || checkable === false; +} +// Fill miss keys +function fillConductCheck(keys, levelEntities, maxLevel, syntheticGetCheckDisabled) { + var checkedKeys = new Set(keys); + var halfCheckedKeys = new Set(); + // Add checked keys top to bottom + for (var level = 0; level <= maxLevel; level += 1) { + var entities = levelEntities.get(level) || new Set(); + entities.forEach(function (entity) { + var key = entity.key, + node = entity.node, + _entity$children = entity.children, + children = _entity$children === void 0 ? [] : _entity$children; + if (checkedKeys.has(key) && !syntheticGetCheckDisabled(node)) { + children.filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (childEntity) { + checkedKeys.add(childEntity.key); + }); + } + }); + } + // Add checked keys from bottom to top + var visitedKeys = new Set(); + for (var _level = maxLevel; _level >= 0; _level -= 1) { + var _entities = levelEntities.get(_level) || new Set(); + _entities.forEach(function (entity) { + var parent = entity.parent, + node = entity.node; + // Skip if no need to check + if (syntheticGetCheckDisabled(node) || !entity.parent || visitedKeys.has(entity.parent.key)) { + return; + } + // Skip if parent is disabled + if (syntheticGetCheckDisabled(entity.parent.node)) { + visitedKeys.add(parent.key); + return; + } + var allChecked = true; + var partialChecked = false; + (parent.children || []).filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (_ref2) { + var key = _ref2.key; + var checked = checkedKeys.has(key); + if (allChecked && !checked) { + allChecked = false; + } + if (!partialChecked && (checked || halfCheckedKeys.has(key))) { + partialChecked = true; + } + }); + if (allChecked) { + checkedKeys.add(parent.key); + } + if (partialChecked) { + halfCheckedKeys.add(parent.key); + } + visitedKeys.add(parent.key); + }); + } + return { + checkedKeys: Array.from(checkedKeys), + halfCheckedKeys: Array.from(removeFromCheckedKeys(halfCheckedKeys, checkedKeys)) + }; +} +// Remove useless key +function cleanConductCheck(keys, halfKeys, levelEntities, maxLevel, syntheticGetCheckDisabled) { + var checkedKeys = new Set(keys); + var halfCheckedKeys = new Set(halfKeys); + // Remove checked keys from top to bottom + for (var level = 0; level <= maxLevel; level += 1) { + var entities = levelEntities.get(level) || new Set(); + entities.forEach(function (entity) { + var key = entity.key, + node = entity.node, + _entity$children2 = entity.children, + children = _entity$children2 === void 0 ? [] : _entity$children2; + if (!checkedKeys.has(key) && !halfCheckedKeys.has(key) && !syntheticGetCheckDisabled(node)) { + children.filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (childEntity) { + checkedKeys.delete(childEntity.key); + }); + } + }); + } + // Remove checked keys form bottom to top + halfCheckedKeys = new Set(); + var visitedKeys = new Set(); + for (var _level2 = maxLevel; _level2 >= 0; _level2 -= 1) { + var _entities2 = levelEntities.get(_level2) || new Set(); + _entities2.forEach(function (entity) { + var parent = entity.parent, + node = entity.node; + // Skip if no need to check + if (syntheticGetCheckDisabled(node) || !entity.parent || visitedKeys.has(entity.parent.key)) { + return; + } + // Skip if parent is disabled + if (syntheticGetCheckDisabled(entity.parent.node)) { + visitedKeys.add(parent.key); + return; + } + var allChecked = true; + var partialChecked = false; + (parent.children || []).filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (_ref3) { + var key = _ref3.key; + var checked = checkedKeys.has(key); + if (allChecked && !checked) { + allChecked = false; + } + if (!partialChecked && (checked || halfCheckedKeys.has(key))) { + partialChecked = true; + } + }); + if (!allChecked) { + checkedKeys.delete(parent.key); + } + if (partialChecked) { + halfCheckedKeys.add(parent.key); + } + visitedKeys.add(parent.key); + }); + } + return { + checkedKeys: Array.from(checkedKeys), + halfCheckedKeys: Array.from(removeFromCheckedKeys(halfCheckedKeys, checkedKeys)) + }; +} +/** + * Conduct with keys. + * @param keyList current key list + * @param keyEntities key - dataEntity map + * @param mode `fill` to fill missing key, `clean` to remove useless key + */ +function conductCheck(keyList, checked, keyEntities, getCheckDisabled) { + var warningMissKeys = []; + var syntheticGetCheckDisabled; + if (getCheckDisabled) { + syntheticGetCheckDisabled = getCheckDisabled; + } else { + syntheticGetCheckDisabled = isCheckDisabled; + } + // We only handle exist keys + var keys = new Set(keyList.filter(function (key) { + var hasEntity = !!keyEntities[key]; + if (!hasEntity) { + warningMissKeys.push(key); + } + return hasEntity; + })); + var levelEntities = new Map(); + var maxLevel = 0; + // Convert entities by level for calculation + Object.keys(keyEntities).forEach(function (key) { + var entity = keyEntities[key]; + var level = entity.level; + var levelSet = levelEntities.get(level); + if (!levelSet) { + levelSet = new Set(); + levelEntities.set(level, levelSet); + } + levelSet.add(entity); + maxLevel = Math.max(maxLevel, level); + }); + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)(!warningMissKeys.length, "Tree missing follow keys: ".concat(warningMissKeys.slice(0, 100).map(function (key) { + return "'".concat(key, "'"); + }).join(', '))); + var result; + if (checked === true) { + result = fillConductCheck(keys, levelEntities, maxLevel, syntheticGetCheckDisabled); + } else { + result = cleanConductCheck(keys, checked.halfCheckedKeys, levelEntities, maxLevel, syntheticGetCheckDisabled); + } + return result; +} + +/***/ }), + +/***/ 1089: +/*!***************************************************!*\ + !*** ./node_modules/rc-tree/es/utils/treeUtil.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "F": function() { return /* binding */ convertNodePropsToEventData; }, +/* harmony export */ "H8": function() { return /* binding */ getTreeNodeProps; }, +/* harmony export */ "I8": function() { return /* binding */ convertDataToEntities; }, +/* harmony export */ "km": function() { return /* binding */ getKey; }, +/* harmony export */ "oH": function() { return /* binding */ flattenTreeData; }, +/* harmony export */ "w$": function() { return /* binding */ fillFieldNames; }, +/* harmony export */ "zn": function() { return /* binding */ convertTreeToData; } +/* harmony export */ }); +/* unused harmony exports warningWithoutKey, traverseDataNodes */ +/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 71002); +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rc-util/es/omit */ 98423); +/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 50344); +/* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/warning */ 80334); +/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util */ 10225); + + + + +var _excluded = ["children"]; + + + + +function getKey(key, pos) { + if (key !== null && key !== undefined) { + return key; + } + return pos; +} +function fillFieldNames(fieldNames) { + var _ref = fieldNames || {}, + title = _ref.title, + _title = _ref._title, + key = _ref.key, + children = _ref.children; + var mergedTitle = title || 'title'; + return { + title: mergedTitle, + _title: _title || [mergedTitle], + key: key || 'key', + children: children || 'children' + }; +} +/** + * Warning if TreeNode do not provides key + */ +function warningWithoutKey(treeData, fieldNames) { + var keys = new Map(); + function dig(list) { + var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + (list || []).forEach(function (treeNode) { + var key = treeNode[fieldNames.key]; + var children = treeNode[fieldNames.children]; + warning(key !== null && key !== undefined, "Tree node must have a certain key: [".concat(path).concat(key, "]")); + var recordKey = String(key); + warning(!keys.has(recordKey) || key === null || key === undefined, "Same 'key' exist in the Tree: ".concat(recordKey)); + keys.set(recordKey, true); + dig(children, "".concat(path).concat(recordKey, " > ")); + }); + } + dig(treeData); +} +/** + * Convert `children` of Tree into `treeData` structure. + */ +function convertTreeToData(rootNodes) { + function dig(node) { + var treeNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(node); + return treeNodes.map(function (treeNode) { + // Filter invalidate node + if (!(0,_util__WEBPACK_IMPORTED_MODULE_2__/* .isTreeNode */ .Ds)(treeNode)) { + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(!treeNode, 'Tree/TreeNode can only accept TreeNode as children.'); + return null; + } + var key = treeNode.key; + var _treeNode$props = treeNode.props, + children = _treeNode$props.children, + rest = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_treeNode$props, _excluded); + var dataNode = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + key: key + }, rest); + var parsedChildren = dig(children); + if (parsedChildren.length) { + dataNode.children = parsedChildren; + } + return dataNode; + }).filter(function (dataNode) { + return dataNode; + }); + } + return dig(rootNodes); +} +/** + * Flat nest tree data into flatten list. This is used for virtual list render. + * @param treeNodeList Origin data node list + * @param expandedKeys + * need expanded keys, provides `true` means all expanded (used in `rc-tree-select`). + */ +function flattenTreeData(treeNodeList, expandedKeys, fieldNames) { + var _fillFieldNames = fillFieldNames(fieldNames), + fieldTitles = _fillFieldNames._title, + fieldKey = _fillFieldNames.key, + fieldChildren = _fillFieldNames.children; + var expandedKeySet = new Set(expandedKeys === true ? [] : expandedKeys); + var flattenList = []; + function dig(list) { + var parent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; + return list.map(function (treeNode, index) { + var pos = (0,_util__WEBPACK_IMPORTED_MODULE_2__/* .getPosition */ .bt)(parent ? parent.pos : '0', index); + var mergedKey = getKey(treeNode[fieldKey], pos); + // Pick matched title in field title list + var mergedTitle; + for (var i = 0; i < fieldTitles.length; i += 1) { + var fieldTitle = fieldTitles[i]; + if (treeNode[fieldTitle] !== undefined) { + mergedTitle = treeNode[fieldTitle]; + break; + } + } + // Add FlattenDataNode into list + var flattenNode = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(treeNode, [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(fieldTitles), [fieldKey, fieldChildren]))), {}, { + title: mergedTitle, + key: mergedKey, + parent: parent, + pos: pos, + children: null, + data: treeNode, + isStart: [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(parent ? parent.isStart : []), [index === 0]), + isEnd: [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(parent ? parent.isEnd : []), [index === list.length - 1]) + }); + flattenList.push(flattenNode); + // Loop treeNode children + if (expandedKeys === true || expandedKeySet.has(mergedKey)) { + flattenNode.children = dig(treeNode[fieldChildren] || [], flattenNode); + } else { + flattenNode.children = []; + } + return flattenNode; + }); + } + dig(treeNodeList); + return flattenList; +} +/** + * Traverse all the data by `treeData`. + * Please not use it out of the `rc-tree` since we may refactor this code. + */ +function traverseDataNodes(dataNodes, callback, +// To avoid too many params, let use config instead of origin param +config) { + var mergedConfig = {}; + if ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(config) === 'object') { + mergedConfig = config; + } else { + mergedConfig = { + externalGetKey: config + }; + } + mergedConfig = mergedConfig || {}; + // Init config + var _mergedConfig = mergedConfig, + childrenPropName = _mergedConfig.childrenPropName, + externalGetKey = _mergedConfig.externalGetKey, + fieldNames = _mergedConfig.fieldNames; + var _fillFieldNames2 = fillFieldNames(fieldNames), + fieldKey = _fillFieldNames2.key, + fieldChildren = _fillFieldNames2.children; + var mergeChildrenPropName = childrenPropName || fieldChildren; + // Get keys + var syntheticGetKey; + if (externalGetKey) { + if (typeof externalGetKey === 'string') { + syntheticGetKey = function syntheticGetKey(node) { + return node[externalGetKey]; + }; + } else if (typeof externalGetKey === 'function') { + syntheticGetKey = function syntheticGetKey(node) { + return externalGetKey(node); + }; + } + } else { + syntheticGetKey = function syntheticGetKey(node, pos) { + return getKey(node[fieldKey], pos); + }; + } + // Process + function processNode(node, index, parent, pathNodes) { + var children = node ? node[mergeChildrenPropName] : dataNodes; + var pos = node ? (0,_util__WEBPACK_IMPORTED_MODULE_2__/* .getPosition */ .bt)(parent.pos, index) : '0'; + var connectNodes = node ? [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(pathNodes), [node]) : []; + // Process node if is not root + if (node) { + var key = syntheticGetKey(node, pos); + var data = { + node: node, + index: index, + pos: pos, + key: key, + parentPos: parent.node ? parent.pos : null, + level: parent.level + 1, + nodes: connectNodes + }; + callback(data); + } + // Process children node + if (children) { + children.forEach(function (subNode, subIndex) { + processNode(subNode, subIndex, { + node: node, + pos: pos, + level: parent ? parent.level + 1 : -1 + }, connectNodes); + }); + } + } + processNode(null); +} +/** + * Convert `treeData` into entity records. + */ +function convertDataToEntities(dataNodes) { + var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + initWrapper = _ref2.initWrapper, + processEntity = _ref2.processEntity, + onProcessFinished = _ref2.onProcessFinished, + externalGetKey = _ref2.externalGetKey, + childrenPropName = _ref2.childrenPropName, + fieldNames = _ref2.fieldNames; + var /** @deprecated Use `config.externalGetKey` instead */ + legacyExternalGetKey = arguments.length > 2 ? arguments[2] : undefined; + // Init config + var mergedExternalGetKey = externalGetKey || legacyExternalGetKey; + var posEntities = {}; + var keyEntities = {}; + var wrapper = { + posEntities: posEntities, + keyEntities: keyEntities + }; + if (initWrapper) { + wrapper = initWrapper(wrapper) || wrapper; + } + traverseDataNodes(dataNodes, function (item) { + var node = item.node, + index = item.index, + pos = item.pos, + key = item.key, + parentPos = item.parentPos, + level = item.level, + nodes = item.nodes; + var entity = { + node: node, + nodes: nodes, + index: index, + key: key, + pos: pos, + level: level + }; + var mergedKey = getKey(key, pos); + posEntities[pos] = entity; + keyEntities[mergedKey] = entity; + // Fill children + entity.parent = posEntities[parentPos]; + if (entity.parent) { + entity.parent.children = entity.parent.children || []; + entity.parent.children.push(entity); + } + if (processEntity) { + processEntity(entity, wrapper); + } + }, { + externalGetKey: mergedExternalGetKey, + childrenPropName: childrenPropName, + fieldNames: fieldNames + }); + if (onProcessFinished) { + onProcessFinished(wrapper); + } + return wrapper; +} +/** + * Get TreeNode props with Tree props. + */ +function getTreeNodeProps(key, _ref3) { + var expandedKeys = _ref3.expandedKeys, + selectedKeys = _ref3.selectedKeys, + loadedKeys = _ref3.loadedKeys, + loadingKeys = _ref3.loadingKeys, + checkedKeys = _ref3.checkedKeys, + halfCheckedKeys = _ref3.halfCheckedKeys, + dragOverNodeKey = _ref3.dragOverNodeKey, + dropPosition = _ref3.dropPosition, + keyEntities = _ref3.keyEntities; + var entity = keyEntities[key]; + var treeNodeProps = { + eventKey: key, + expanded: expandedKeys.indexOf(key) !== -1, + selected: selectedKeys.indexOf(key) !== -1, + loaded: loadedKeys.indexOf(key) !== -1, + loading: loadingKeys.indexOf(key) !== -1, + checked: checkedKeys.indexOf(key) !== -1, + halfChecked: halfCheckedKeys.indexOf(key) !== -1, + pos: String(entity ? entity.pos : ''), + // [Legacy] Drag props + // Since the interaction of drag is changed, the semantic of the props are + // not accuracy, I think it should be finally removed + dragOver: dragOverNodeKey === key && dropPosition === 0, + dragOverGapTop: dragOverNodeKey === key && dropPosition === -1, + dragOverGapBottom: dragOverNodeKey === key && dropPosition === 1 + }; + return treeNodeProps; +} +function convertNodePropsToEventData(props) { + var data = props.data, + expanded = props.expanded, + selected = props.selected, + checked = props.checked, + loaded = props.loaded, + loading = props.loading, + halfChecked = props.halfChecked, + dragOver = props.dragOver, + dragOverGapTop = props.dragOverGapTop, + dragOverGapBottom = props.dragOverGapBottom, + pos = props.pos, + active = props.active, + eventKey = props.eventKey; + var eventData = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, data), {}, { + expanded: expanded, + selected: selected, + checked: checked, + loaded: loaded, + loading: loading, + halfChecked: halfChecked, + dragOver: dragOver, + dragOverGapTop: dragOverGapTop, + dragOverGapBottom: dragOverGapBottom, + pos: pos, + active: active, + key: eventKey + }); + if (!('props' in eventData)) { + Object.defineProperty(eventData, 'props', { + get: function get() { + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(false, 'Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`.'); + return props; + } + }); + } + return eventData; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/15105.async.js b/15105.async.js new file mode 100644 index 0000000000..60c132372f --- /dev/null +++ b/15105.async.js @@ -0,0 +1,807 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[15105,91708,29823,32482,27129,29581,33127,53898,53764,4751,84551],{ + +/***/ 85418: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/dropdown/index.js + 1 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_dropdown; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/space/index.js + 2 modules +var space = __webpack_require__(42075); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(66748); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/dropdown-button.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const DropdownButton = props => { + const { + getPopupContainer: getContextPopupContainer, + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'default', + danger, + disabled, + loading, + onClick, + htmlType, + children, + className, + menu, + arrow, + autoFocus, + overlay, + trigger, + align, + open, + onOpenChange, + placement, + getPopupContainer, + href, + icon = /*#__PURE__*/react.createElement(EllipsisOutlined/* default */.Z, null), + title, + buttonsRender = buttons => buttons, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + } = props, + restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); + const prefixCls = getPrefixCls('dropdown', customizePrefixCls); + const buttonPrefixCls = `${prefixCls}-button`; + const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); + const dropdownProps = { + menu, + arrow, + autoFocus, + align, + disabled, + trigger: disabled ? [] : trigger, + onOpenChange, + getPopupContainer: getPopupContainer || getContextPopupContainer, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + }; + const { + compactSize, + compactItemClassnames + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); + if ('overlay' in props) { + dropdownProps.overlay = overlay; + } + if ('open' in props) { + dropdownProps.open = open; + } + if ('placement' in props) { + dropdownProps.placement = placement; + } else { + dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; + } + const leftButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + disabled: disabled, + loading: loading, + onClick: onClick, + htmlType: htmlType, + href: href, + title: title + }, children); + const rightButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + icon: icon + }); + const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); + return wrapSSR( /*#__PURE__*/react.createElement(space/* default.Compact */.Z.Compact, Object.assign({ + className: classes, + size: compactSize, + block: true + }, restProps), leftButtonToRender, /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); +}; +DropdownButton.__ANT_BUTTON = true; +/* harmony default export */ var dropdown_button = (DropdownButton); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/index.js +'use client'; + + + +const Dropdown = dropdown/* default */.Z; +Dropdown.Button = dropdown_button; +/* harmony default export */ var es_dropdown = (Dropdown); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 64217: +/*!**********************************************!*\ + !*** ./node_modules/rc-util/es/pickAttrs.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/15190.async.js b/15190.async.js index d9e2900ed1..d8bf55f9c1 100644 --- a/15190.async.js +++ b/15190.async.js @@ -38,8 +38,8 @@ var react = __webpack_require__(67294); var reactNode = __webpack_require__(96159); // EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules -var DownOutlined = __webpack_require__(80882); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules +var DownOutlined = __webpack_require__(15558); // EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules var dropdown = __webpack_require__(35874); ;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js diff --git a/15485.async.js b/15485.async.js new file mode 100644 index 0000000000..2336b73e9c --- /dev/null +++ b/15485.async.js @@ -0,0 +1,2043 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[15485],{ + +/***/ 43387: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ AntdIcon; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@ant-design/colors/es/index.js + 1 modules +var es = __webpack_require__(16397); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js + +var IconContext = /*#__PURE__*/(0,react.createContext)({}); +/* harmony default export */ var Context = (IconContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/warning.js +/* eslint-disable no-console */ +var warned = {}; +var preWarningFns = []; + +/** + * Pre warning enable you to parse content before console.error. + * Modify to null will prevent warning. + */ +var preMessage = function preMessage(fn) { + preWarningFns.push(fn); +}; +function warning(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function note(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function resetWarned() { + warned = {}; +} +function call(method, valid, message) { + if (!valid && !warned[message]) { + method(false, message); + warned[message] = true; + } +} +function warningOnce(valid, message) { + call(warning, valid, message); +} +function noteOnce(valid, message) { + call(note, valid, message); +} +warningOnce.preMessage = preMessage; +warningOnce.resetWarned = resetWarned; +warningOnce.noteOnce = noteOnce; +/* harmony default export */ var es_warning = (warningOnce); +/* eslint-enable */ +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/contains.js +function contains(root, n) { + if (!root) { + return false; + } + + // Use native if support + if (root.contains) { + return root.contains(n); + } + + // `document.contains` not support with IE11 + var node = n; + while (node) { + if (node === root) { + return true; + } + node = node.parentNode; + } + return false; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/dynamicCSS.js + + +var APPEND_ORDER = 'data-rc-order'; +var MARK_KEY = "rc-util-key"; +var containerCache = new Map(); +function getMark() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + mark = _ref.mark; + if (mark) { + return mark.startsWith('data-') ? mark : "data-".concat(mark); + } + return MARK_KEY; +} +function getContainer(option) { + if (option.attachTo) { + return option.attachTo; + } + var head = document.querySelector('head'); + return head || document.body; +} +function getOrder(prepend) { + if (prepend === 'queue') { + return 'prependQueue'; + } + return prepend ? 'prepend' : 'append'; +} + +/** + * Find style which inject by rc-util + */ +function findStyles(container) { + return Array.from((containerCache.get(container) || container).children).filter(function (node) { + return node.tagName === 'STYLE'; + }); +} +function injectCSS(css) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + if (!canUseDom()) { + return null; + } + var csp = option.csp, + prepend = option.prepend; + var styleNode = document.createElement('style'); + styleNode.setAttribute(APPEND_ORDER, getOrder(prepend)); + if (csp !== null && csp !== void 0 && csp.nonce) { + styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce; + } + styleNode.innerHTML = css; + var container = getContainer(option); + var firstChild = container.firstChild; + if (prepend) { + // If is queue `prepend`, it will prepend first style and then append rest style + if (prepend === 'queue') { + var existStyle = findStyles(container).filter(function (node) { + return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER)); + }); + if (existStyle.length) { + container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling); + return styleNode; + } + } + + // Use `insertBefore` as `prepend` + container.insertBefore(styleNode, firstChild); + } else { + container.appendChild(styleNode); + } + return styleNode; +} +function findExistNode(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var container = getContainer(option); + return findStyles(container).find(function (node) { + return node.getAttribute(getMark(option)) === key; + }); +} +function removeCSS(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var existNode = findExistNode(key, option); + if (existNode) { + var container = getContainer(option); + container.removeChild(existNode); + } +} + +/** + * qiankun will inject `appendChild` to insert into other + */ +function syncRealContainer(container, option) { + var cachedRealContainer = containerCache.get(container); + + // Find real container when not cached or cached container removed + if (!cachedRealContainer || !contains(document, cachedRealContainer)) { + var placeholderStyle = injectCSS('', option); + var parentNode = placeholderStyle.parentNode; + containerCache.set(container, parentNode); + container.removeChild(placeholderStyle); + } +} + +/** + * manually clear container cache to avoid global cache in unit testes + */ +function clearContainerCache() { + containerCache.clear(); +} +function updateCSS(css, key) { + var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var container = getContainer(option); + + // Sync real parent + syncRealContainer(container, option); + var existNode = findExistNode(key, option); + if (existNode) { + var _option$csp, _option$csp2; + if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) { + var _option$csp3; + existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce; + } + if (existNode.innerHTML !== css) { + existNode.innerHTML = css; + } + return existNode; + } + var newNode = injectCSS(css, option); + newNode.setAttribute(getMark(option), key); + return newNode; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/shadow.js +function getRoot(ele) { + var _ele$getRootNode; + return ele === null || ele === void 0 ? void 0 : (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele); +} + +/** + * Check if is in shadowRoot + */ +function inShadow(ele) { + return getRoot(ele) !== (ele === null || ele === void 0 ? void 0 : ele.ownerDocument); +} + +/** + * Return shadowRoot if possible + */ +function getShadowRoot(ele) { + return inShadow(ele) ? getRoot(ele) : null; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js + + + + + + + + +function utils_warning(valid, message) { + es_warning(valid, "[@ant-design/icons] ".concat(message)); +} +function isIconDefinition(target) { + return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); +} +function normalizeAttrs() { + var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return Object.keys(attrs).reduce(function (acc, key) { + var val = attrs[key]; + switch (key) { + case 'class': + acc.className = val; + delete acc.class; + break; + default: + acc[key] = val; + } + return acc; + }, {}); +} +function generate(node, key, rootProps) { + if (!rootProps) { + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); + } + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); +} +function getSecondaryColor(primaryColor) { + // choose the second color + return (0,es.generate)(primaryColor)[0]; +} +function normalizeTwoToneColors(twoToneColor) { + if (!twoToneColor) { + return []; + } + return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; +} + +// These props make sure that the SVG behaviours like general text. +// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 +var svgBaseProps = { + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true', + focusable: 'false' +}; +var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; +var useInsertStyles = function useInsertStyles(eleRef) { + var _useContext = (0,react.useContext)(Context), + csp = _useContext.csp, + prefixCls = _useContext.prefixCls; + var mergedStyleStr = iconStyles; + if (prefixCls) { + mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); + } + (0,react.useEffect)(function () { + var ele = eleRef.current; + var shadowRoot = getShadowRoot(ele); + updateCSS(mergedStyleStr, '@ant-design-icons', { + prepend: true, + csp: csp, + attachTo: shadowRoot + }); + }, []); +}; +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js + + +var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; + + +var twoToneColorPalette = { + primaryColor: '#333', + secondaryColor: '#E6E6E6', + calculated: false +}; +function setTwoToneColors(_ref) { + var primaryColor = _ref.primaryColor, + secondaryColor = _ref.secondaryColor; + twoToneColorPalette.primaryColor = primaryColor; + twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); + twoToneColorPalette.calculated = !!secondaryColor; +} +function getTwoToneColors() { + return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); +} +var IconBase = function IconBase(props) { + var icon = props.icon, + className = props.className, + onClick = props.onClick, + style = props.style, + primaryColor = props.primaryColor, + secondaryColor = props.secondaryColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var svgRef = react.useRef(); + var colors = twoToneColorPalette; + if (primaryColor) { + colors = { + primaryColor: primaryColor, + secondaryColor: secondaryColor || getSecondaryColor(primaryColor) + }; + } + useInsertStyles(svgRef); + utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); + if (!isIconDefinition(icon)) { + return null; + } + var target = icon; + if (target && typeof target.icon === 'function') { + target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { + icon: target.icon(colors.primaryColor, colors.secondaryColor) + }); + } + return generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + className: className, + onClick: onClick, + style: style, + 'data-icon': target.name, + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true' + }, restProps), {}, { + ref: svgRef + })); +}; +IconBase.displayName = 'IconReact'; +IconBase.getTwoToneColors = getTwoToneColors; +IconBase.setTwoToneColors = setTwoToneColors; +/* harmony default export */ var components_IconBase = (IconBase); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js + + + +function setTwoToneColor(twoToneColor) { + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return components_IconBase.setTwoToneColors({ + primaryColor: primaryColor, + secondaryColor: secondaryColor + }); +} +function getTwoToneColor() { + var colors = components_IconBase.getTwoToneColors(); + if (!colors.calculated) { + return colors.primaryColor; + } + return [colors.primaryColor, colors.secondaryColor]; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + + + + +var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; + + + + + + + +// Initial setting +// should move it to antd main repo? +setTwoToneColor(es.blue.primary); + +// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757#issuecomment-488848720 + +var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var className = props.className, + icon = props.icon, + spin = props.spin, + rotate = props.rotate, + tabIndex = props.tabIndex, + onClick = props.onClick, + twoToneColor = props.twoToneColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); + var _React$useContext = react.useContext(Context), + _React$useContext$pre = _React$useContext.prefixCls, + prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, + rootClassName = _React$useContext.rootClassName; + var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); + var iconTabIndex = tabIndex; + if (iconTabIndex === undefined && onClick) { + iconTabIndex = -1; + } + var svgStyle = rotate ? { + msTransform: "rotate(".concat(rotate, "deg)"), + transform: "rotate(".concat(rotate, "deg)") + } : undefined; + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + role: "img", + "aria-label": icon.name + }, restProps, { + ref: ref, + tabIndex: iconTabIndex, + onClick: onClick, + className: classString + }), /*#__PURE__*/react.createElement(components_IconBase, { + icon: icon, + primaryColor: primaryColor, + secondaryColor: secondaryColor, + style: svgStyle + })); +}); +Icon.displayName = 'AntdIcon'; +Icon.getTwoToneColor = getTwoToneColor; +Icon.setTwoToneColor = setTwoToneColor; +/* harmony default export */ var AntdIcon = (Icon); + +/***/ }), + +/***/ 97937: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +// This icon file is generated automatically. +var CloseOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, "name": "close", "theme": "outlined" }; +/* harmony default export */ var asn_CloseOutlined = (CloseOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseOutlined_CloseOutlined = function CloseOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseOutlined = (/*#__PURE__*/react.forwardRef(CloseOutlined_CloseOutlined)); + +/***/ }), + +/***/ 23430: +/*!*********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DownloadOutlined.js + 1 modules ***! + \*********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DownloadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DownloadOutlined.js +// This icon file is generated automatically. +var DownloadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "download", "theme": "outlined" }; +/* harmony default export */ var asn_DownloadOutlined = (DownloadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DownloadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DownloadOutlined_DownloadOutlined = function DownloadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DownloadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DownloadOutlined = (/*#__PURE__*/react.forwardRef(DownloadOutlined_DownloadOutlined)); + +/***/ }), + +/***/ 33160: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ReloadOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ReloadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.js +// This icon file is generated automatically. +var ReloadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" } }] }, "name": "reload", "theme": "outlined" }; +/* harmony default export */ var asn_ReloadOutlined = (ReloadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ReloadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ReloadOutlined_ReloadOutlined = function ReloadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ReloadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ReloadOutlined = (/*#__PURE__*/react.forwardRef(ReloadOutlined_ReloadOutlined)); + +/***/ }), + +/***/ 48115: +/*!***************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/UpOutlined.js + 1 modules ***! + \***************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_UpOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UpOutlined.js +// This icon file is generated automatically. +var UpOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" }; +/* harmony default export */ var asn_UpOutlined = (UpOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UpOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var UpOutlined_UpOutlined = function UpOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_UpOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_UpOutlined = (/*#__PURE__*/react.forwardRef(UpOutlined_UpOutlined)); + +/***/ }), + +/***/ 81643: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getRenderPropValue.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getRenderPropValue; } +/* harmony export */ }); +const getRenderPropValue = propValue => { + if (!propValue) { + return null; + } + if (typeof propValue === 'function') { + return propValue(); + } + return propValue; +}; + +/***/ }), + +/***/ 48783: +/*!****************************************************************!*\ + !*** ./node_modules/antd/es/_util/throttleByAnimationFrame.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902); +/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 96523); + + +function throttleByAnimationFrame(fn) { + let requestId; + const later = args => () => { + requestId = null; + fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args)); + }; + const throttled = function () { + if (requestId == null) { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args)); + } + }; + throttled.cancel = () => { + rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"].cancel */ .Z.cancel(requestId); + requestId = null; + }; + return throttled; +} +/* harmony default export */ __webpack_exports__["Z"] = (throttleByAnimationFrame); + +/***/ }), + +/***/ 30291: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/affix/index.js + 2 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ affix; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(15671); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(43144); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(60136); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(51630); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-resize-observer/es/index.js + 4 modules +var es = __webpack_require__(48555); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/throttleByAnimationFrame.js +var throttleByAnimationFrame = __webpack_require__(48783); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/affix/style/index.js + +// ============================== Shared ============================== +const genSharedAffixStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: { + position: 'fixed', + zIndex: token.zIndexPopup + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var style = ((0,genComponentStyleHook/* default */.Z)('Affix', token => { + const affixToken = (0,statistic/* merge */.TS)(token, { + zIndexPopup: token.zIndexBase + 10 + }); + return [genSharedAffixStyle(affixToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/affix/utils.js +function getTargetRect(target) { + return target !== window ? target.getBoundingClientRect() : { + top: 0, + bottom: window.innerHeight + }; +} +function getFixedTop(placeholderRect, targetRect, offsetTop) { + if (offsetTop !== undefined && targetRect.top > placeholderRect.top - offsetTop) { + return offsetTop + targetRect.top; + } + return undefined; +} +function getFixedBottom(placeholderRect, targetRect, offsetBottom) { + if (offsetBottom !== undefined && targetRect.bottom < placeholderRect.bottom + offsetBottom) { + const targetBottomOffset = window.innerHeight - targetRect.bottom; + return offsetBottom + targetBottomOffset; + } + return undefined; +} +;// CONCATENATED MODULE: ./node_modules/antd/es/affix/index.js +'use client'; + + + + + + + + + + + + + +const TRIGGER_EVENTS = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load']; +function getDefaultTarget() { + return typeof window !== 'undefined' ? window : null; +} +var AffixStatus; +(function (AffixStatus) { + AffixStatus[AffixStatus["None"] = 0] = "None"; + AffixStatus[AffixStatus["Prepare"] = 1] = "Prepare"; +})(AffixStatus || (AffixStatus = {})); +let InternalAffix = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(InternalAffix, _React$Component); + var _super = (0,createSuper/* default */.Z)(InternalAffix); + function InternalAffix() { + var _this; + (0,classCallCheck/* default */.Z)(this, InternalAffix); + _this = _super.apply(this, arguments); + _this.state = { + status: AffixStatus.None, + lastAffix: false, + prevTarget: null + }; + _this.placeholderNodeRef = /*#__PURE__*/(0,react.createRef)(); + _this.fixedNodeRef = /*#__PURE__*/(0,react.createRef)(); + _this.addListeners = () => { + const targetFunc = _this.getTargetFunc(); + const target = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); + const { + prevTarget + } = _this.state; + if (prevTarget !== target) { + TRIGGER_EVENTS.forEach(eventName => { + prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + target === null || target === void 0 ? void 0 : target.addEventListener(eventName, _this.lazyUpdatePosition); + }); + _this.updatePosition(); + _this.setState({ + prevTarget: target + }); + } + }; + _this.removeListeners = () => { + if (_this.timer) { + clearTimeout(_this.timer); + _this.timer = null; + } + const { + prevTarget + } = _this.state; + const targetFunc = _this.getTargetFunc(); + const newTarget = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); + TRIGGER_EVENTS.forEach(eventName => { + newTarget === null || newTarget === void 0 ? void 0 : newTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + }); + _this.updatePosition.cancel(); + // https://github.com/ant-design/ant-design/issues/22683 + _this.lazyUpdatePosition.cancel(); + }; + _this.getOffsetTop = () => { + const { + offsetBottom, + offsetTop + } = _this.props; + return offsetBottom === undefined && offsetTop === undefined ? 0 : offsetTop; + }; + _this.getOffsetBottom = () => _this.props.offsetBottom; + // =================== Measure =================== + _this.measure = () => { + const { + status, + lastAffix + } = _this.state; + const { + onChange + } = _this.props; + const targetFunc = _this.getTargetFunc(); + if (status !== AffixStatus.Prepare || !_this.fixedNodeRef.current || !_this.placeholderNodeRef.current || !targetFunc) { + return; + } + const offsetTop = _this.getOffsetTop(); + const offsetBottom = _this.getOffsetBottom(); + const targetNode = targetFunc(); + if (targetNode) { + const newState = { + status: AffixStatus.None + }; + const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); + if (placeholderRect.top === 0 && placeholderRect.left === 0 && placeholderRect.width === 0 && placeholderRect.height === 0) { + return; + } + const targetRect = getTargetRect(targetNode); + const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); + const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); + if (fixedTop !== undefined) { + newState.affixStyle = { + position: 'fixed', + top: fixedTop, + width: placeholderRect.width, + height: placeholderRect.height + }; + newState.placeholderStyle = { + width: placeholderRect.width, + height: placeholderRect.height + }; + } else if (fixedBottom !== undefined) { + newState.affixStyle = { + position: 'fixed', + bottom: fixedBottom, + width: placeholderRect.width, + height: placeholderRect.height + }; + newState.placeholderStyle = { + width: placeholderRect.width, + height: placeholderRect.height + }; + } + newState.lastAffix = !!newState.affixStyle; + if (onChange && lastAffix !== newState.lastAffix) { + onChange(newState.lastAffix); + } + _this.setState(newState); + } + }; + _this.prepareMeasure = () => { + // event param is used before. Keep compatible ts define here. + _this.setState({ + status: AffixStatus.Prepare, + affixStyle: undefined, + placeholderStyle: undefined + }); + // Test if `updatePosition` called + if (false) {} + }; + _this.updatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { + _this.prepareMeasure(); + }); + _this.lazyUpdatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { + const targetFunc = _this.getTargetFunc(); + const { + affixStyle + } = _this.state; + // Check position change before measure to make Safari smooth + if (targetFunc && affixStyle) { + const offsetTop = _this.getOffsetTop(); + const offsetBottom = _this.getOffsetBottom(); + const targetNode = targetFunc(); + if (targetNode && _this.placeholderNodeRef.current) { + const targetRect = getTargetRect(targetNode); + const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); + const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); + const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); + if (fixedTop !== undefined && affixStyle.top === fixedTop || fixedBottom !== undefined && affixStyle.bottom === fixedBottom) { + return; + } + } + } + // Directly call prepare measure since it's already throttled. + _this.prepareMeasure(); + }); + return _this; + } + (0,createClass/* default */.Z)(InternalAffix, [{ + key: "getTargetFunc", + value: function getTargetFunc() { + const { + getTargetContainer + } = this.context; + const { + target + } = this.props; + if (target !== undefined) { + return target; + } + return getTargetContainer !== null && getTargetContainer !== void 0 ? getTargetContainer : getDefaultTarget; + } + // Event handler + }, { + key: "componentDidMount", + value: function componentDidMount() { + // [Legacy] Wait for parent component ref has its value. + // We should use target as directly element instead of function which makes element check hard. + this.timer = setTimeout(this.addListeners); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + this.addListeners(); + if (prevProps.offsetTop !== this.props.offsetTop || prevProps.offsetBottom !== this.props.offsetBottom) { + this.updatePosition(); + } + this.measure(); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.removeListeners(); + } + // =================== Render =================== + }, { + key: "render", + value: function render() { + const { + affixStyle, + placeholderStyle + } = this.state; + const { + affixPrefixCls, + rootClassName, + children + } = this.props; + const className = classnames_default()(affixStyle && rootClassName, { + [affixPrefixCls]: !!affixStyle + }); + let props = (0,omit/* default */.Z)(this.props, ['prefixCls', 'offsetTop', 'offsetBottom', 'target', 'onChange', 'affixPrefixCls', 'rootClassName']); + // Omit this since `onTestUpdatePosition` only works on test. + if (false) {} + return /*#__PURE__*/react.createElement(es/* default */.Z, { + onResize: this.updatePosition + }, /*#__PURE__*/react.createElement("div", Object.assign({}, props, { + ref: this.placeholderNodeRef + }), affixStyle && /*#__PURE__*/react.createElement("div", { + style: placeholderStyle, + "aria-hidden": "true" + }), /*#__PURE__*/react.createElement("div", { + className: className, + ref: this.fixedNodeRef, + style: affixStyle + }, /*#__PURE__*/react.createElement(es/* default */.Z, { + onResize: this.updatePosition + }, children)))); + } + }]); + return InternalAffix; +}(react.Component); +InternalAffix.contextType = context/* ConfigContext */.E_; +const Affix = /*#__PURE__*/(0,react.forwardRef)((props, ref) => { + const { + prefixCls: customizePrefixCls, + rootClassName + } = props; + const { + getPrefixCls + } = (0,react.useContext)(context/* ConfigContext */.E_); + const affixPrefixCls = getPrefixCls('affix', customizePrefixCls); + const [wrapSSR, hashId] = style(affixPrefixCls); + const AffixProps = Object.assign(Object.assign({}, props), { + affixPrefixCls, + rootClassName: classnames_default()(rootClassName, hashId) + }); + return wrapSSR( /*#__PURE__*/react.createElement(InternalAffix, Object.assign({}, AffixProps, { + ref: ref + }))); +}); +if (false) {} +/* harmony default export */ var affix = (Affix); + +/***/ }), + +/***/ 86738: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/popconfirm/index.js + 2 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ popconfirm; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js + 1 modules +var ExclamationCircleFilled = __webpack_require__(39291); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(92389); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(5663); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/popover/index.js +var popover = __webpack_require__(55241); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/ActionButton.js +var ActionButton = __webpack_require__(86743); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/getRenderPropValue.js +var getRenderPropValue = __webpack_require__(81643); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/button/button.js + 7 modules +var button_button = __webpack_require__(85432); +// EXTERNAL MODULE: ./node_modules/antd/es/locale/useLocale.js +var useLocale = __webpack_require__(10110); +// EXTERNAL MODULE: ./node_modules/antd/es/locale/en_US.js + 1 modules +var en_US = __webpack_require__(24457); +// EXTERNAL MODULE: ./node_modules/antd/es/popover/PurePanel.js +var PurePanel = __webpack_require__(66330); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +;// CONCATENATED MODULE: ./node_modules/antd/es/popconfirm/style/index.js + +// =============================== Base =============================== +const genBaseStyle = token => { + const { + componentCls, + iconCls, + antCls, + zIndexPopup, + colorText, + colorWarning, + marginXXS, + marginXS, + fontSize, + fontWeightStrong, + colorTextHeading + } = token; + return { + [componentCls]: { + zIndex: zIndexPopup, + [`&${antCls}-popover`]: { + fontSize + }, + [`${componentCls}-message`]: { + marginBottom: marginXS, + display: 'flex', + flexWrap: 'nowrap', + alignItems: 'start', + [`> ${componentCls}-message-icon ${iconCls}`]: { + color: colorWarning, + fontSize, + lineHeight: 1, + marginInlineEnd: marginXS + }, + [`${componentCls}-title`]: { + fontWeight: fontWeightStrong, + color: colorTextHeading, + '&:only-child': { + fontWeight: 'normal' + } + }, + [`${componentCls}-description`]: { + marginTop: marginXXS, + color: colorText + } + }, + [`${componentCls}-buttons`]: { + textAlign: 'end', + button: { + marginInlineStart: marginXS + } + } + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var popconfirm_style = ((0,genComponentStyleHook/* default */.Z)('Popconfirm', token => genBaseStyle(token), token => { + const { + zIndexPopupBase + } = token; + return { + zIndexPopup: zIndexPopupBase + 60 + }; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/popconfirm/PurePanel.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + +const Overlay = props => { + const { + prefixCls, + okButtonProps, + cancelButtonProps, + title, + description, + cancelText, + okText, + okType = 'primary', + icon = /*#__PURE__*/react.createElement(ExclamationCircleFilled/* default */.Z, null), + showCancel = true, + close, + onConfirm, + onCancel, + onPopupClick + } = props; + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const [contextLocale] = (0,useLocale/* default */.Z)('Popconfirm', en_US/* default.Popconfirm */.Z.Popconfirm); + const theTitle = (0,getRenderPropValue/* getRenderPropValue */.Z)(title); + const theDescription = (0,getRenderPropValue/* getRenderPropValue */.Z)(description); + return /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-inner-content`, + onClick: onPopupClick + }, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-message` + }, icon && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-message-icon` + }, icon), /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-message-text` + }, theTitle && /*#__PURE__*/react.createElement("div", { + className: classnames_default()(`${prefixCls}-title`) + }, theTitle), theDescription && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-description` + }, theDescription))), /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-buttons` + }, showCancel && /*#__PURE__*/react.createElement(es_button/* default */.ZP, Object.assign({ + onClick: onCancel, + size: "small" + }, cancelButtonProps), cancelText !== null && cancelText !== void 0 ? cancelText : contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.cancelText), /*#__PURE__*/react.createElement(ActionButton/* default */.Z, { + buttonProps: Object.assign(Object.assign({ + size: 'small' + }, (0,button_button/* convertLegacyProps */.n)(okType)), okButtonProps), + actionFn: onConfirm, + close: close, + prefixCls: getPrefixCls('btn'), + quitOnNullishReturnValue: true, + emitEvent: true + }, okText !== null && okText !== void 0 ? okText : contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.okText))); +}; +const PurePanel_PurePanel = props => { + const { + prefixCls: customizePrefixCls, + placement, + className, + style + } = props, + restProps = __rest(props, ["prefixCls", "placement", "className", "style"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('popconfirm', customizePrefixCls); + const [wrapSSR] = popconfirm_style(prefixCls); + return wrapSSR( /*#__PURE__*/react.createElement(PurePanel/* default */.ZP, { + placement: placement, + className: classnames_default()(prefixCls, className), + style: style, + content: /*#__PURE__*/react.createElement(Overlay, Object.assign({ + prefixCls: prefixCls + }, restProps)) + })); +}; +/* harmony default export */ var popconfirm_PurePanel = (PurePanel_PurePanel); +;// CONCATENATED MODULE: ./node_modules/antd/es/popconfirm/index.js +'use client'; + +var popconfirm_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + +const Popconfirm = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + placement = 'top', + trigger = 'click', + okType = 'primary', + icon = /*#__PURE__*/react.createElement(ExclamationCircleFilled/* default */.Z, null), + children, + overlayClassName, + onOpenChange, + onVisibleChange + } = props, + restProps = popconfirm_rest(props, ["prefixCls", "placement", "trigger", "okType", "icon", "children", "overlayClassName", "onOpenChange", "onVisibleChange"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const [open, setOpen] = (0,useMergedState/* default */.Z)(false, { + value: props.open, + defaultValue: props.defaultOpen + }); + // const isDestroyed = useDestroyed(); + const settingOpen = (value, e) => { + setOpen(value, true); + onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(value); + onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(value, e); + }; + const close = e => { + settingOpen(false, e); + }; + const onConfirm = e => { + var _a; + return (_a = props.onConfirm) === null || _a === void 0 ? void 0 : _a.call(undefined, e); + }; + const onCancel = e => { + var _a; + settingOpen(false, e); + (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(undefined, e); + }; + const onKeyDown = e => { + if (e.keyCode === KeyCode/* default.ESC */.Z.ESC && open) { + settingOpen(false, e); + } + }; + const onInternalOpenChange = value => { + const { + disabled = false + } = props; + if (disabled) { + return; + } + settingOpen(value); + }; + const prefixCls = getPrefixCls('popconfirm', customizePrefixCls); + const overlayClassNames = classnames_default()(prefixCls, overlayClassName); + const [wrapSSR] = popconfirm_style(prefixCls); + return wrapSSR( /*#__PURE__*/react.createElement(popover/* default */.Z, Object.assign({}, (0,omit/* default */.Z)(restProps, ['title']), { + trigger: trigger, + placement: placement, + onOpenChange: onInternalOpenChange, + open: open, + ref: ref, + overlayClassName: overlayClassNames, + content: /*#__PURE__*/react.createElement(Overlay, Object.assign({ + okType: okType, + icon: icon + }, props, { + prefixCls: prefixCls, + close: close, + onConfirm: onConfirm, + onCancel: onCancel + })), + "data-popover-inject": true + }), (0,reactNode/* cloneElement */.Tm)(children, { + onKeyDown: e => { + var _a, _b; + if ( /*#__PURE__*/react.isValidElement(children)) { + (_b = children === null || children === void 0 ? void 0 : (_a = children.props).onKeyDown) === null || _b === void 0 ? void 0 : _b.call(_a, e); + } + onKeyDown(e); + } + }))); +}); +// We don't care debug panel +/* istanbul ignore next */ +Popconfirm._InternalPanelDoNotUseOrYouWillBeFired = popconfirm_PurePanel; +if (false) {} +/* harmony default export */ var popconfirm = (Popconfirm); + +/***/ }), + +/***/ 66330: +/*!***************************************************!*\ + !*** ./node_modules/antd/es/popover/PurePanel.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony exports getOverlay, RawPurePanel */ +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 92419); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 20136); +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + +const getOverlay = (prefixCls, title, content) => { + if (!title && !content) return undefined; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(content))); +}; +const RawPurePanel = props => { + const { + hashId, + prefixCls, + className, + style, + placement = 'top', + title, + content, + children + } = props; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className), + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-arrow` + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_tooltip__WEBPACK_IMPORTED_MODULE_1__/* .Popup */ .G, Object.assign({}, props, { + className: hashId, + prefixCls: prefixCls + }), children || getOverlay(prefixCls, title, content))); +}; +const PurePanel = props => { + const { + prefixCls: customizePrefixCls + } = props, + restProps = __rest(props, ["prefixCls"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(RawPurePanel, Object.assign({}, restProps, { + prefixCls: prefixCls, + hashId: hashId + }))); +}; +/* harmony default export */ __webpack_exports__["ZP"] = (PurePanel); + +/***/ }), + +/***/ 55241: +/*!***********************************************!*\ + !*** ./node_modules/antd/es/popover/index.js ***! + \***********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/motion */ 33603); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ 83062); +/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PurePanel */ 66330); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 20136); +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +// CSSINJS + +const Overlay = _ref => { + let { + title, + content, + prefixCls + } = _ref; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(content))); +}; +const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + title, + content, + overlayClassName, + placement = 'top', + trigger = 'hover', + mouseEnterDelay = 0.1, + mouseLeaveDelay = 0.1, + overlayStyle = {} + } = props, + otherProps = __rest(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(prefixCls); + const rootPrefixCls = getPrefixCls(); + const overlayCls = classnames__WEBPACK_IMPORTED_MODULE_0___default()(overlayClassName, hashId); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, Object.assign({ + placement: placement, + trigger: trigger, + mouseEnterDelay: mouseEnterDelay, + mouseLeaveDelay: mouseLeaveDelay, + overlayStyle: overlayStyle + }, otherProps, { + prefixCls: prefixCls, + overlayClassName: overlayCls, + ref: ref, + overlay: title || content ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Overlay, { + prefixCls: prefixCls, + title: title, + content: content + }) : null, + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_6__/* .getTransitionName */ .mL)(rootPrefixCls, 'zoom-big', otherProps.transitionName), + "data-popover-inject": true + }))); +}); +if (false) {} +Popover._InternalPanelDoNotUseOrYouWillBeFired = _PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP; +/* harmony default export */ __webpack_exports__["Z"] = (Popover); + +/***/ }), + +/***/ 20136: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/popover/style/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 50438); +/* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/placementArrow */ 97414); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 8796); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/internal */ 45503); + + + + +const genBaseStyle = token => { + const { + componentCls, + popoverColor, + minWidth, + fontWeightStrong, + popoverPadding, + boxShadowSecondary, + colorTextHeading, + borderRadiusLG: borderRadius, + zIndexPopup, + marginXS, + colorBgElevated, + popoverBg + } = token; + return [{ + [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + position: 'absolute', + top: 0, + // use `left` to fix https://github.com/ant-design/ant-design/issues/39195 + left: { + _skip_check_: true, + value: 0 + }, + zIndex: zIndexPopup, + fontWeight: 'normal', + whiteSpace: 'normal', + textAlign: 'start', + cursor: 'auto', + userSelect: 'text', + transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, + '--antd-arrow-background-color': colorBgElevated, + '&-rtl': { + direction: 'rtl' + }, + '&-hidden': { + display: 'none' + }, + [`${componentCls}-content`]: { + position: 'relative' + }, + [`${componentCls}-inner`]: { + backgroundColor: popoverBg, + backgroundClip: 'padding-box', + borderRadius, + boxShadow: boxShadowSecondary, + padding: popoverPadding + }, + [`${componentCls}-title`]: { + minWidth, + marginBottom: marginXS, + color: colorTextHeading, + fontWeight: fontWeightStrong + }, + [`${componentCls}-inner-content`]: { + color: popoverColor + } + }) + }, + // Arrow Style + (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(token, { + colorBg: 'var(--antd-arrow-background-color)' + }), + // Pure Render + { + [`${componentCls}-pure`]: { + position: 'relative', + maxWidth: 'none', + margin: token.sizePopupArrow, + display: 'inline-block', + [`${componentCls}-content`]: { + display: 'inline-block' + } + } + }]; +}; +const genColorStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: _theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .PresetColors.map */ .i.map(colorKey => { + const lightColor = token[`${colorKey}6`]; + return { + [`&${componentCls}-${colorKey}`]: { + '--antd-arrow-background-color': lightColor, + [`${componentCls}-inner`]: { + backgroundColor: lightColor + }, + [`${componentCls}-arrow`]: { + background: 'transparent' + } + } + }; + }) + }; +}; +const genWireframeStyle = token => { + const { + componentCls, + lineWidth, + lineType, + colorSplit, + paddingSM, + controlHeight, + fontSize, + lineHeight, + padding + } = token; + const titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight); + const popoverTitlePaddingBlockTop = titlePaddingBlockDist / 2; + const popoverTitlePaddingBlockBottom = titlePaddingBlockDist / 2 - lineWidth; + const popoverPaddingHorizontal = padding; + return { + [componentCls]: { + [`${componentCls}-inner`]: { + padding: 0 + }, + [`${componentCls}-title`]: { + margin: 0, + padding: `${popoverTitlePaddingBlockTop}px ${popoverPaddingHorizontal}px ${popoverTitlePaddingBlockBottom}px`, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}` + }, + [`${componentCls}-inner-content`]: { + padding: `${paddingSM}px ${popoverPaddingHorizontal}px` + } + } + }; +}; +/* harmony default export */ __webpack_exports__["Z"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Popover', token => { + const { + colorBgElevated, + colorText, + wireframe + } = token; + const popoverToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_4__/* .merge */ .TS)(token, { + popoverPadding: 12, + popoverBg: colorBgElevated, + popoverColor: colorText + }); + return [genBaseStyle(popoverToken), genColorStyle(popoverToken), wireframe && genWireframeStyle(popoverToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* .initZoomMotion */ ._y)(popoverToken, 'zoom-big')]; +}, token => ({ + width: 177, + minWidth: 177, + zIndexPopup: token.zIndexPopupBase + 30 +}), { + deprecatedTokens: [['width', 'minWidth']] +})); + +/***/ }), + +/***/ 57761: +/*!*********************************************************************!*\ + !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! + \*********************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _react = __webpack_require__(/*! react */ 67294); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(/*! prop-types */ 45697); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var InfiniteScroll = function (_Component) { + _inherits(InfiniteScroll, _Component); + + function InfiniteScroll(props) { + _classCallCheck(this, InfiniteScroll); + + var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props)); + + _this.scrollListener = _this.scrollListener.bind(_this); + _this.eventListenerOptions = _this.eventListenerOptions.bind(_this); + _this.mousewheelListener = _this.mousewheelListener.bind(_this); + return _this; + } + + _createClass(InfiniteScroll, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.pageLoaded = this.props.pageStart; + this.options = this.eventListenerOptions(); + this.attachScrollListener(); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate() { + if (this.props.isReverse && this.loadMore) { + var parentElement = this.getParentElement(this.scrollComponent); + parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop; + this.loadMore = false; + } + this.attachScrollListener(); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.detachScrollListener(); + this.detachMousewheelListener(); + } + }, { + key: 'isPassiveSupported', + value: function isPassiveSupported() { + var passive = false; + + var testOptions = { + get passive() { + passive = true; + } + }; + + try { + document.addEventListener('test', null, testOptions); + document.removeEventListener('test', null, testOptions); + } catch (e) { + // ignore + } + return passive; + } + }, { + key: 'eventListenerOptions', + value: function eventListenerOptions() { + var options = this.props.useCapture; + + if (this.isPassiveSupported()) { + options = { + useCapture: this.props.useCapture, + passive: true + }; + } + return options; + } + + // Set a defaut loader for all your `InfiniteScroll` components + + }, { + key: 'setDefaultLoader', + value: function setDefaultLoader(loader) { + this.defaultLoader = loader; + } + }, { + key: 'detachMousewheelListener', + value: function detachMousewheelListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.scrollComponent.parentNode; + } + + scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'detachScrollListener', + value: function detachScrollListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.getParentElement(this.scrollComponent); + } + + scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'getParentElement', + value: function getParentElement(el) { + var scrollParent = this.props.getScrollParent && this.props.getScrollParent(); + if (scrollParent != null) { + return scrollParent; + } + return el && el.parentNode; + } + }, { + key: 'filterProps', + value: function filterProps(props) { + return props; + } + }, { + key: 'attachScrollListener', + value: function attachScrollListener() { + var parentElement = this.getParentElement(this.scrollComponent); + + if (!this.props.hasMore || !parentElement) { + return; + } + + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = parentElement; + } + + scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + + if (this.props.initialLoad) { + this.scrollListener(); + } + } + }, { + key: 'mousewheelListener', + value: function mousewheelListener(e) { + // Prevents Chrome hangups + // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257 + if (e.deltaY === 1 && !this.isPassiveSupported()) { + e.preventDefault(); + } + } + }, { + key: 'scrollListener', + value: function scrollListener() { + var el = this.scrollComponent; + var scrollEl = window; + var parentNode = this.getParentElement(el); + + var offset = void 0; + if (this.props.useWindow) { + var doc = document.documentElement || document.body.parentNode || document.body; + var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop; + if (this.props.isReverse) { + offset = scrollTop; + } else { + offset = this.calculateOffset(el, scrollTop); + } + } else if (this.props.isReverse) { + offset = parentNode.scrollTop; + } else { + offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight; + } + + // Here we make sure the element is visible as well as checking the offset + if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) { + this.detachScrollListener(); + this.beforeScrollHeight = parentNode.scrollHeight; + this.beforeScrollTop = parentNode.scrollTop; + // Call loadMore after detachScrollListener to allow for non-async loadMore functions + if (typeof this.props.loadMore === 'function') { + this.props.loadMore(this.pageLoaded += 1); + this.loadMore = true; + } + } + } + }, { + key: 'calculateOffset', + value: function calculateOffset(el, scrollTop) { + if (!el) { + return 0; + } + + return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight); + } + }, { + key: 'calculateTopPosition', + value: function calculateTopPosition(el) { + if (!el) { + return 0; + } + return el.offsetTop + this.calculateTopPosition(el.offsetParent); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var renderProps = this.filterProps(this.props); + + var children = renderProps.children, + element = renderProps.element, + hasMore = renderProps.hasMore, + initialLoad = renderProps.initialLoad, + isReverse = renderProps.isReverse, + loader = renderProps.loader, + loadMore = renderProps.loadMore, + pageStart = renderProps.pageStart, + ref = renderProps.ref, + threshold = renderProps.threshold, + useCapture = renderProps.useCapture, + useWindow = renderProps.useWindow, + getScrollParent = renderProps.getScrollParent, + props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']); + + props.ref = function (node) { + _this2.scrollComponent = node; + if (ref) { + ref(node); + } + }; + + var childrenArray = [children]; + if (hasMore) { + if (loader) { + isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader); + } else if (this.defaultLoader) { + isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader); + } + } + return _react2.default.createElement(element, props, childrenArray); + } + }]); + + return InfiniteScroll; +}(_react.Component); + +InfiniteScroll.propTypes = { + children: _propTypes2.default.node.isRequired, + element: _propTypes2.default.node, + hasMore: _propTypes2.default.bool, + initialLoad: _propTypes2.default.bool, + isReverse: _propTypes2.default.bool, + loader: _propTypes2.default.node, + loadMore: _propTypes2.default.func.isRequired, + pageStart: _propTypes2.default.number, + ref: _propTypes2.default.func, + getScrollParent: _propTypes2.default.func, + threshold: _propTypes2.default.number, + useCapture: _propTypes2.default.bool, + useWindow: _propTypes2.default.bool +}; +InfiniteScroll.defaultProps = { + element: 'div', + hasMore: false, + initialLoad: true, + pageStart: 0, + ref: null, + threshold: 250, + useWindow: true, + isReverse: false, + useCapture: false, + loader: null, + getScrollParent: null +}; +exports["default"] = InfiniteScroll; +module.exports = exports['default']; + + +/***/ }), + +/***/ 246: +/*!*******************************************************!*\ + !*** ./node_modules/react-infinite-scroller/index.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 57761) + + +/***/ }) + +}]); \ No newline at end of file diff --git a/15804.async.js b/15804.async.js index 8739f3f976..6af6773beb 100644 --- a/15804.async.js +++ b/15804.async.js @@ -1,90 +1,6 @@ "use strict"; (self["webpackChunk"] = self["webpackChunk"] || []).push([[15804],{ -/***/ 63606: -/*!******************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/CheckOutlined.js + 1 modules ***! - \******************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_CheckOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js -// This icon file is generated automatically. -var CheckOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, "name": "check", "theme": "outlined" }; -/* harmony default export */ var asn_CheckOutlined = (CheckOutlined); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CheckOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var CheckOutlined_CheckOutlined = function CheckOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_CheckOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_CheckOutlined = (/*#__PURE__*/react.forwardRef(CheckOutlined_CheckOutlined)); - -/***/ }), - -/***/ 80882: -/*!*****************************************************************************!*\ - !*** ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules ***! - \*****************************************************************************/ -/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { - - -// EXPORTS -__webpack_require__.d(__webpack_exports__, { - "Z": function() { return /* binding */ icons_DownOutlined; } -}); - -// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js -var esm_extends = __webpack_require__(87462); -// EXTERNAL MODULE: ./node_modules/react/index.js -var react = __webpack_require__(67294); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js -// This icon file is generated automatically. -var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" }; -/* harmony default export */ var asn_DownOutlined = (DownOutlined); - -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); -;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js - -// GENERATE BY ./scripts/generate.ts -// DON NOT EDIT IT MANUALLY - - - - -var DownOutlined_DownOutlined = function DownOutlined(props, ref) { - return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { - ref: ref, - icon: asn_DownOutlined - })); -}; -if (false) {} -/* harmony default export */ var icons_DownOutlined = (/*#__PURE__*/react.forwardRef(DownOutlined_DownOutlined)); - -/***/ }), - /***/ 8745: /*!*************************************************!*\ !*** ./node_modules/antd/es/_util/PurePanel.js ***! @@ -1343,12 +1259,12 @@ function useShowArrow(showArrow) { /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "Z": function() { return /* binding */ getIcons; } /* harmony export */ }); -/* harmony import */ var _ant_design_icons_es_icons_CheckOutlined__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/icons/es/icons/CheckOutlined */ 63606); -/* harmony import */ var _ant_design_icons_es_icons_CloseCircleFilled__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @ant-design/icons/es/icons/CloseCircleFilled */ 4340); -/* harmony import */ var _ant_design_icons_es_icons_CloseOutlined__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ant-design/icons/es/icons/CloseOutlined */ 97937); -/* harmony import */ var _ant_design_icons_es_icons_DownOutlined__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ant-design/icons/es/icons/DownOutlined */ 80882); -/* harmony import */ var _ant_design_icons_es_icons_LoadingOutlined__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ant-design/icons/es/icons/LoadingOutlined */ 50888); -/* harmony import */ var _ant_design_icons_es_icons_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons/es/icons/SearchOutlined */ 68795); +/* harmony import */ var _ant_design_icons_es_icons_CheckOutlined__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/icons/es/icons/CheckOutlined */ 60068); +/* harmony import */ var _ant_design_icons_es_icons_CloseCircleFilled__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @ant-design/icons/es/icons/CloseCircleFilled */ 30186); +/* harmony import */ var _ant_design_icons_es_icons_CloseOutlined__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ant-design/icons/es/icons/CloseOutlined */ 85846); +/* harmony import */ var _ant_design_icons_es_icons_DownOutlined__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ant-design/icons/es/icons/DownOutlined */ 15558); +/* harmony import */ var _ant_design_icons_es_icons_LoadingOutlined__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ant-design/icons/es/icons/LoadingOutlined */ 77322); +/* harmony import */ var _ant_design_icons_es_icons_SearchOutlined__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ant-design/icons/es/icons/SearchOutlined */ 42480); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); @@ -1739,6 +1655,90 @@ const initSlideMotion = (token, motionName) => { /***/ }), +/***/ 60068: +/*!************************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckOutlined.js + 1 modules ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CheckOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js +// This icon file is generated automatically. +var CheckOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, "name": "check", "theme": "outlined" }; +/* harmony default export */ var asn_CheckOutlined = (CheckOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CheckOutlined_CheckOutlined = function CheckOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CheckOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CheckOutlined = (/*#__PURE__*/react.forwardRef(CheckOutlined_CheckOutlined)); + +/***/ }), + +/***/ 15558: +/*!***********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DownOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +// This icon file is generated automatically. +var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" }; +/* harmony default export */ var asn_DownOutlined = (DownOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DownOutlined_DownOutlined = function DownOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DownOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DownOutlined = (/*#__PURE__*/react.forwardRef(DownOutlined_DownOutlined)); + +/***/ }), + /***/ 34243: /*!**********************************************************!*\ !*** ./node_modules/rc-overflow/es/index.js + 4 modules ***! diff --git a/16035.async.js b/16035.async.js new file mode 100644 index 0000000000..96be1a5c05 --- /dev/null +++ b/16035.async.js @@ -0,0 +1,930 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[16035],{ + +/***/ 63185: +/*!******************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "C2": function() { return /* binding */ getStyle; } +/* harmony export */ }); +/* unused harmony export genCheckboxStyle */ +/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 73559); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 45503); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); + + + +// ============================== Motion ============================== +const antCheckboxEffect = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antCheckboxEffect', { + '0%': { + transform: 'scale(1)', + opacity: 0.5 + }, + '100%': { + transform: 'scale(1.6)', + opacity: 0 + } +}); +// ============================== Styles ============================== +const genCheckboxStyle = token => { + const { + checkboxCls + } = token; + const wrapperCls = `${checkboxCls}-wrapper`; + return [ + // ===================== Basic ===================== + { + // Group + [`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + flexWrap: 'wrap', + columnGap: token.marginXS, + // Group > Grid + [`> ${token.antCls}-row`]: { + flex: 1 + } + }), + // Wrapper + [wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + alignItems: 'baseline', + cursor: 'pointer', + // Fix checkbox & radio in flex align #30260 + '&:after': { + display: 'inline-block', + width: 0, + overflow: 'hidden', + content: "'\\a0'" + }, + // Checkbox near checkbox + [`& + ${wrapperCls}`]: { + marginInlineStart: 0 + }, + [`&${wrapperCls}-in-form-item`]: { + 'input[type="checkbox"]': { + width: 14, + height: 14 // FIXME: magic + } + } + }), + + // Wrapper > Checkbox + [checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + position: 'relative', + whiteSpace: 'nowrap', + lineHeight: 1, + cursor: 'pointer', + // To make alignment right when `controlHeight` is changed + // Ref: https://github.com/ant-design/ant-design/issues/41564 + alignSelf: 'center', + // Wrapper > Checkbox > input + [`${checkboxCls}-input`]: { + position: 'absolute', + // Since baseline align will get additional space offset, + // we need to move input to top to make it align with text. + // Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799 + inset: 0, + zIndex: 1, + cursor: 'pointer', + opacity: 0, + margin: 0, + [`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .genFocusOutline */ .oN)(token)) + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + boxSizing: 'border-box', + position: 'relative', + top: 0, + insetInlineStart: 0, + display: 'block', + width: token.checkboxSize, + height: token.checkboxSize, + direction: 'ltr', + backgroundColor: token.colorBgContainer, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + borderCollapse: 'separate', + transition: `all ${token.motionDurationSlow}`, + '&:after': { + boxSizing: 'border-box', + position: 'absolute', + top: '50%', + insetInlineStart: '21.5%', + display: 'table', + width: token.checkboxSize / 14 * 5, + height: token.checkboxSize / 14 * 8, + border: `${token.lineWidthBold}px solid ${token.colorWhite}`, + borderTop: 0, + borderInlineStart: 0, + transform: 'rotate(45deg) scale(0) translate(-50%,-50%)', + opacity: 0, + content: '""', + transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}` + } + }, + // Wrapper > Checkbox + Text + '& + span': { + paddingInlineStart: token.paddingXS, + paddingInlineEnd: token.paddingXS + } + }) + }, + // ===================== Hover ===================== + { + // Wrapper + [`${wrapperCls}:hover ${checkboxCls}:after`]: { + visibility: 'visible' + }, + // Wrapper & Wrapper > Checkbox + [` + ${wrapperCls}:not(${wrapperCls}-disabled), + ${checkboxCls}:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + borderColor: token.colorPrimary + } + }, + [`${wrapperCls}:not(${wrapperCls}-disabled)`]: { + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ==================== Checked ==================== + { + // Wrapper > Checkbox + [`${checkboxCls}-checked`]: { + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimary, + borderColor: token.colorPrimary, + '&:after': { + opacity: 1, + transform: 'rotate(45deg) scale(1) translate(-50%,-50%)', + transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}` + } + }, + // Checked Effect + '&:after': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '100%', + height: '100%', + borderRadius: token.borderRadiusSM, + visibility: 'hidden', + border: `${token.lineWidthBold}px solid ${token.colorPrimary}`, + animationName: antCheckboxEffect, + animationDuration: token.motionDurationSlow, + animationTimingFunction: 'ease-in-out', + animationFillMode: 'backwards', + content: '""', + transition: `all ${token.motionDurationSlow}` + } + }, + [` + ${wrapperCls}-checked:not(${wrapperCls}-disabled), + ${checkboxCls}-checked:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}:after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ================= Indeterminate ================= + { + [checkboxCls]: { + '&-indeterminate': { + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorBgContainer, + borderColor: token.colorBorder, + '&:after': { + top: '50%', + insetInlineStart: '50%', + width: token.fontSizeLG / 2, + height: token.fontSizeLG / 2, + backgroundColor: token.colorPrimary, + border: 0, + transform: 'translate(-50%, -50%) scale(1)', + opacity: 1, + content: '""' + } + } + } + } + }, + // ==================== Disable ==================== + { + // Wrapper + [`${wrapperCls}-disabled`]: { + cursor: 'not-allowed' + }, + // Wrapper > Checkbox + [`${checkboxCls}-disabled`]: { + // Wrapper > Checkbox > input + [`&, ${checkboxCls}-input`]: { + cursor: 'not-allowed', + // Disabled for native input to enable Tooltip event handler + // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901 + pointerEvents: 'none' + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + background: token.colorBgContainerDisabled, + borderColor: token.colorBorder, + '&:after': { + borderColor: token.colorTextDisabled + } + }, + '&:after': { + display: 'none' + }, + '& + span': { + color: token.colorTextDisabled + }, + [`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: { + background: token.colorTextDisabled + } + } + }]; +}; +// ============================== Export ============================== +function getStyle(prefixCls, token) { + const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .merge */ .TS)(token, { + checkboxCls: `.${prefixCls}`, + checkboxSize: token.controlInteractiveSize + }); + return [genCheckboxStyle(checkboxToken)]; +} +/* harmony default export */ __webpack_exports__["ZP"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Checkbox', (token, _ref) => { + let { + prefixCls + } = _ref; + return [getStyle(prefixCls, token)]; +})); + +/***/ }), + +/***/ 32157: +/*!**************************************************!*\ + !*** ./node_modules/antd/es/tree/style/index.js ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Yk": function() { return /* binding */ genTreeStyle; } +/* harmony export */ }); +/* unused harmony exports genBaseStyle, genDirectoryStyle */ +/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 73559); +/* harmony import */ var _checkbox_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../checkbox/style */ 63185); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 33507); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 45503); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); + + + + + +// ============================ Keyframes ============================= +const treeNodeFX = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('ant-tree-node-fx-do-not-use', { + '0%': { + opacity: 0 + }, + '100%': { + opacity: 1 + } +}); +// ============================== Switch ============================== +const getSwitchStyle = (prefixCls, token) => ({ + [`.${prefixCls}-switcher-icon`]: { + display: 'inline-block', + fontSize: 10, + verticalAlign: 'baseline', + svg: { + transition: `transform ${token.motionDurationSlow}` + } + } +}); +// =============================== Drop =============================== +const getDropIndicatorStyle = (prefixCls, token) => ({ + [`.${prefixCls}-drop-indicator`]: { + position: 'absolute', + // it should displayed over the following node + zIndex: 1, + height: 2, + backgroundColor: token.colorPrimary, + borderRadius: 1, + pointerEvents: 'none', + '&:after': { + position: 'absolute', + top: -3, + insetInlineStart: -6, + width: 8, + height: 8, + backgroundColor: 'transparent', + border: `${token.lineWidthBold}px solid ${token.colorPrimary}`, + borderRadius: '50%', + content: '""' + } + } +}); +const genBaseStyle = (prefixCls, token) => { + const { + treeCls, + treeNodeCls, + treeNodePadding, + treeTitleHeight + } = token; + const treeCheckBoxMarginHorizontal = token.paddingXS; + return { + [treeCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + background: token.colorBgContainer, + borderRadius: token.borderRadius, + transition: `background-color ${token.motionDurationSlow}`, + [`&${treeCls}-rtl`]: { + // >>> Switcher + [`${treeCls}-switcher`]: { + '&_close': { + [`${treeCls}-switcher-icon`]: { + svg: { + transform: 'rotate(90deg)' + } + } + } + } + }, + [`&-focused:not(:hover):not(${treeCls}-active-focused)`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .genFocusOutline */ .oN)(token)), + // =================== Virtual List =================== + [`${treeCls}-list-holder-inner`]: { + alignItems: 'flex-start' + }, + [`&${treeCls}-block-node`]: { + [`${treeCls}-list-holder-inner`]: { + alignItems: 'stretch', + // >>> Title + [`${treeCls}-node-content-wrapper`]: { + flex: 'auto' + }, + // >>> Drag + [`${treeNodeCls}.dragging`]: { + position: 'relative', + '&:after': { + position: 'absolute', + top: 0, + insetInlineEnd: 0, + bottom: treeNodePadding, + insetInlineStart: 0, + border: `1px solid ${token.colorPrimary}`, + opacity: 0, + animationName: treeNodeFX, + animationDuration: token.motionDurationSlow, + animationPlayState: 'running', + animationFillMode: 'forwards', + content: '""', + pointerEvents: 'none' + } + } + } + }, + // ===================== TreeNode ===================== + [`${treeNodeCls}`]: { + display: 'flex', + alignItems: 'flex-start', + padding: `0 0 ${treeNodePadding}px 0`, + outline: 'none', + '&-rtl': { + direction: 'rtl' + }, + // Disabled + '&-disabled': { + // >>> Title + [`${treeCls}-node-content-wrapper`]: { + color: token.colorTextDisabled, + cursor: 'not-allowed', + '&:hover': { + background: 'transparent' + } + } + }, + [`&-active ${treeCls}-node-content-wrapper`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .genFocusOutline */ .oN)(token)), + [`&:not(${treeNodeCls}-disabled).filter-node ${treeCls}-title`]: { + color: 'inherit', + fontWeight: 500 + }, + '&-draggable': { + [`${treeCls}-draggable-icon`]: { + // https://github.com/ant-design/ant-design/issues/41915 + flexShrink: 0, + width: treeTitleHeight, + lineHeight: `${treeTitleHeight}px`, + textAlign: 'center', + visibility: 'visible', + opacity: 0.2, + transition: `opacity ${token.motionDurationSlow}`, + [`${treeNodeCls}:hover &`]: { + opacity: 0.45 + } + }, + [`&${treeNodeCls}-disabled`]: { + [`${treeCls}-draggable-icon`]: { + visibility: 'hidden' + } + } + } + }, + // >>> Indent + [`${treeCls}-indent`]: { + alignSelf: 'stretch', + whiteSpace: 'nowrap', + userSelect: 'none', + '&-unit': { + display: 'inline-block', + width: treeTitleHeight + } + }, + // >>> Drag Handler + [`${treeCls}-draggable-icon`]: { + visibility: 'hidden' + }, + // >>> Switcher + [`${treeCls}-switcher`]: Object.assign(Object.assign({}, getSwitchStyle(prefixCls, token)), { + position: 'relative', + flex: 'none', + alignSelf: 'stretch', + width: treeTitleHeight, + margin: 0, + lineHeight: `${treeTitleHeight}px`, + textAlign: 'center', + cursor: 'pointer', + userSelect: 'none', + '&-noop': { + cursor: 'default' + }, + '&_close': { + [`${treeCls}-switcher-icon`]: { + svg: { + transform: 'rotate(-90deg)' + } + } + }, + '&-loading-icon': { + color: token.colorPrimary + }, + '&-leaf-line': { + position: 'relative', + zIndex: 1, + display: 'inline-block', + width: '100%', + height: '100%', + // https://github.com/ant-design/ant-design/issues/31884 + '&:before': { + position: 'absolute', + top: 0, + insetInlineEnd: treeTitleHeight / 2, + bottom: -treeNodePadding, + marginInlineStart: -1, + borderInlineEnd: `1px solid ${token.colorBorder}`, + content: '""' + }, + '&:after': { + position: 'absolute', + width: treeTitleHeight / 2 * 0.8, + height: treeTitleHeight / 2, + borderBottom: `1px solid ${token.colorBorder}`, + content: '""' + } + } + }), + // >>> Checkbox + [`${treeCls}-checkbox`]: { + top: 'initial', + marginInlineEnd: treeCheckBoxMarginHorizontal + }, + // >>> Title + // add `${treeCls}-checkbox + span` to cover checkbox `${checkboxCls} + span` + [`${treeCls}-node-content-wrapper, ${treeCls}-checkbox + span`]: { + position: 'relative', + zIndex: 'auto', + minHeight: treeTitleHeight, + margin: 0, + padding: `0 ${token.paddingXS / 2}px`, + color: 'inherit', + lineHeight: `${treeTitleHeight}px`, + background: 'transparent', + borderRadius: token.borderRadius, + cursor: 'pointer', + transition: `all ${token.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`, + '&:hover': { + backgroundColor: token.controlItemBgHover + }, + [`&${treeCls}-node-selected`]: { + backgroundColor: token.controlItemBgActive + }, + // Icon + [`${treeCls}-iconEle`]: { + display: 'inline-block', + width: treeTitleHeight, + height: treeTitleHeight, + lineHeight: `${treeTitleHeight}px`, + textAlign: 'center', + verticalAlign: 'top', + '&:empty': { + display: 'none' + } + } + }, + // https://github.com/ant-design/ant-design/issues/28217 + [`${treeCls}-unselectable ${treeCls}-node-content-wrapper:hover`]: { + backgroundColor: 'transparent' + }, + // ==================== Draggable ===================== + [`${treeCls}-node-content-wrapper`]: Object.assign({ + lineHeight: `${treeTitleHeight}px`, + userSelect: 'none' + }, getDropIndicatorStyle(prefixCls, token)), + [`${treeNodeCls}.drop-container`]: { + '> [draggable]': { + boxShadow: `0 0 0 2px ${token.colorPrimary}` + } + }, + // ==================== Show Line ===================== + '&-show-line': { + // ================ Indent lines ================ + [`${treeCls}-indent`]: { + '&-unit': { + position: 'relative', + height: '100%', + '&:before': { + position: 'absolute', + top: 0, + insetInlineEnd: treeTitleHeight / 2, + bottom: -treeNodePadding, + borderInlineEnd: `1px solid ${token.colorBorder}`, + content: '""' + }, + '&-end': { + '&:before': { + display: 'none' + } + } + } + }, + // ============== Cover Background ============== + [`${treeCls}-switcher`]: { + background: 'transparent', + '&-line-icon': { + // https://github.com/ant-design/ant-design/issues/32813 + verticalAlign: '-0.15em' + } + } + }, + [`${treeNodeCls}-leaf-last`]: { + [`${treeCls}-switcher`]: { + '&-leaf-line': { + '&:before': { + top: 'auto !important', + bottom: 'auto !important', + height: `${treeTitleHeight / 2}px !important` + } + } + } + } + }) + }; +}; +// ============================ Directory ============================= +const genDirectoryStyle = token => { + const { + treeCls, + treeNodeCls, + treeNodePadding + } = token; + return { + [`${treeCls}${treeCls}-directory`]: { + // ================== TreeNode ================== + [treeNodeCls]: { + position: 'relative', + // Hover color + '&:before': { + position: 'absolute', + top: 0, + insetInlineEnd: 0, + bottom: treeNodePadding, + insetInlineStart: 0, + transition: `background-color ${token.motionDurationMid}`, + content: '""', + pointerEvents: 'none' + }, + '&:hover': { + '&:before': { + background: token.controlItemBgHover + } + }, + // Elements + '> *': { + zIndex: 1 + }, + // >>> Switcher + [`${treeCls}-switcher`]: { + transition: `color ${token.motionDurationMid}` + }, + // >>> Title + [`${treeCls}-node-content-wrapper`]: { + borderRadius: 0, + userSelect: 'none', + '&:hover': { + background: 'transparent' + }, + [`&${treeCls}-node-selected`]: { + color: token.colorTextLightSolid, + background: 'transparent' + } + }, + // ============= Selected ============= + '&-selected': { + [` + &:hover::before, + &::before + `]: { + background: token.colorPrimary + }, + // >>> Switcher + [`${treeCls}-switcher`]: { + color: token.colorTextLightSolid + }, + // >>> Title + [`${treeCls}-node-content-wrapper`]: { + color: token.colorTextLightSolid, + background: 'transparent' + } + } + } + } + }; +}; +// ============================== Merged ============================== +const genTreeStyle = (prefixCls, token) => { + const treeCls = `.${prefixCls}`; + const treeNodeCls = `${treeCls}-treenode`; + const treeNodePadding = token.paddingXS / 2; + const treeTitleHeight = token.controlHeightSM; + const treeToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .merge */ .TS)(token, { + treeCls, + treeNodeCls, + treeNodePadding, + treeTitleHeight + }); + return [ + // Basic + genBaseStyle(prefixCls, treeToken), + // Directory + genDirectoryStyle(treeToken)]; +}; +// ============================== Export ============================== +/* harmony default export */ __webpack_exports__["ZP"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Tree', (token, _ref) => { + let { + prefixCls + } = _ref; + return [{ + [token.componentCls]: (0,_checkbox_style__WEBPACK_IMPORTED_MODULE_4__/* .getStyle */ .C2)(`${prefixCls}-checkbox`, token) + }, genTreeStyle(prefixCls, token), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(token)]; +})); + +/***/ }), + +/***/ 7349: +/*!*****************************************************************!*\ + !*** ./node_modules/antd/es/tree/utils/iconUtil.js + 6 modules ***! + \*****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ iconUtil; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.js +// This icon file is generated automatically. +var CaretDownFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" } }] }, "name": "caret-down", "theme": "filled" }; +/* harmony default export */ var asn_CaretDownFilled = (CaretDownFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CaretDownFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CaretDownFilled_CaretDownFilled = function CaretDownFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CaretDownFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_CaretDownFilled = (/*#__PURE__*/react.forwardRef(CaretDownFilled_CaretDownFilled)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/FileOutlined.js + 1 modules +var FileOutlined = __webpack_require__(46214); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules +var LoadingOutlined = __webpack_require__(77322); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/MinusSquareOutlined.js +// This icon file is generated automatically. +var MinusSquareOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" } }, { "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, "name": "minus-square", "theme": "outlined" }; +/* harmony default export */ var asn_MinusSquareOutlined = (MinusSquareOutlined); + +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/MinusSquareOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var MinusSquareOutlined_MinusSquareOutlined = function MinusSquareOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_MinusSquareOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_MinusSquareOutlined = (/*#__PURE__*/react.forwardRef(MinusSquareOutlined_MinusSquareOutlined)); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/PlusSquareOutlined.js +// This icon file is generated automatically. +var PlusSquareOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" } }, { "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, "name": "plus-square", "theme": "outlined" }; +/* harmony default export */ var asn_PlusSquareOutlined = (PlusSquareOutlined); + +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var PlusSquareOutlined_PlusSquareOutlined = function PlusSquareOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_PlusSquareOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_PlusSquareOutlined = (/*#__PURE__*/react.forwardRef(PlusSquareOutlined_PlusSquareOutlined)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +;// CONCATENATED MODULE: ./node_modules/antd/es/tree/utils/iconUtil.js + + + + + + + + +const SwitcherIconCom = props => { + const { + prefixCls, + switcherIcon, + treeNodeProps, + showLine + } = props; + const { + isLeaf, + expanded, + loading + } = treeNodeProps; + if (loading) { + return /*#__PURE__*/react.createElement(LoadingOutlined/* default */.Z, { + className: `${prefixCls}-switcher-loading-icon` + }); + } + let showLeafIcon; + if (showLine && typeof showLine === 'object') { + showLeafIcon = showLine.showLeafIcon; + } + if (isLeaf) { + if (!showLine) { + return null; + } + if (typeof showLeafIcon !== 'boolean' && !!showLeafIcon) { + const leafIcon = typeof showLeafIcon === 'function' ? showLeafIcon(treeNodeProps) : showLeafIcon; + const leafCls = `${prefixCls}-switcher-line-custom-icon`; + if ((0,reactNode/* isValidElement */.l$)(leafIcon)) { + return (0,reactNode/* cloneElement */.Tm)(leafIcon, { + className: classnames_default()(leafIcon.props.className || '', leafCls) + }); + } + return leafIcon; + } + return showLeafIcon ? /*#__PURE__*/react.createElement(FileOutlined/* default */.Z, { + className: `${prefixCls}-switcher-line-icon` + }) : /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-switcher-leaf-line` + }); + } + const switcherCls = `${prefixCls}-switcher-icon`; + const switcher = typeof switcherIcon === 'function' ? switcherIcon(treeNodeProps) : switcherIcon; + if ((0,reactNode/* isValidElement */.l$)(switcher)) { + return (0,reactNode/* cloneElement */.Tm)(switcher, { + className: classnames_default()(switcher.props.className || '', switcherCls) + }); + } + if (switcher !== undefined) { + return switcher; + } + if (showLine) { + return expanded ? /*#__PURE__*/react.createElement(icons_MinusSquareOutlined, { + className: `${prefixCls}-switcher-line-icon` + }) : /*#__PURE__*/react.createElement(icons_PlusSquareOutlined, { + className: `${prefixCls}-switcher-line-icon` + }); + } + return /*#__PURE__*/react.createElement(icons_CaretDownFilled, { + className: switcherCls + }); +}; +/* harmony default export */ var iconUtil = (SwitcherIconCom); + +/***/ }), + +/***/ 46214: +/*!***********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/FileOutlined.js + 1 modules ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_FileOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/FileOutlined.js +// This icon file is generated automatically. +var FileOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" } }] }, "name": "file", "theme": "outlined" }; +/* harmony default export */ var asn_FileOutlined = (FileOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/FileOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var FileOutlined_FileOutlined = function FileOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_FileOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_FileOutlined = (/*#__PURE__*/react.forwardRef(FileOutlined_FileOutlined)); + +/***/ }), + +/***/ 36459: +/*!*****************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ _objectDestructuringEmpty; } +/* harmony export */ }); +function _objectDestructuringEmpty(obj) { + if (obj == null) throw new TypeError("Cannot destructure " + obj); +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/16078.async.js b/16078.async.js new file mode 100644 index 0000000000..e06184e57f --- /dev/null +++ b/16078.async.js @@ -0,0 +1,2172 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[16078,84567,91708,53898,53764,4751,84551],{ + +/***/ 80882: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DownOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +// This icon file is generated automatically. +var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" }; +/* harmony default export */ var asn_DownOutlined = (DownOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DownOutlined_DownOutlined = function DownOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DownOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DownOutlined = (/*#__PURE__*/react.forwardRef(DownOutlined_DownOutlined)); + +/***/ }), + +/***/ 6171: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_LeftOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +// This icon file is generated automatically. +var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" }; +/* harmony default export */ var asn_LeftOutlined = (LeftOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var LeftOutlined_LeftOutlined = function LeftOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_LeftOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_LeftOutlined = (/*#__PURE__*/react.forwardRef(LeftOutlined_LeftOutlined)); + +/***/ }), + +/***/ 18073: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/RightOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_RightOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +// This icon file is generated automatically. +var RightOutlined = { "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" }; +/* harmony default export */ var asn_RightOutlined = (RightOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/RightOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var RightOutlined_RightOutlined = function RightOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_RightOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_RightOutlined = (/*#__PURE__*/react.forwardRef(RightOutlined_RightOutlined)); + +/***/ }), + +/***/ 98165: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/SyncOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_SyncOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/SyncOutlined.js +// This icon file is generated automatically. +var SyncOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z" } }] }, "name": "sync", "theme": "outlined" }; +/* harmony default export */ var asn_SyncOutlined = (SyncOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/SyncOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var SyncOutlined_SyncOutlined = function SyncOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_SyncOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_SyncOutlined = (/*#__PURE__*/react.forwardRef(SyncOutlined_SyncOutlined)); + +/***/ }), + +/***/ 48115: +/*!***************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/UpOutlined.js + 1 modules ***! + \***************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_UpOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UpOutlined.js +// This icon file is generated automatically. +var UpOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, "name": "up", "theme": "outlined" }; +/* harmony default export */ var asn_UpOutlined = (UpOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UpOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var UpOutlined_UpOutlined = function UpOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_UpOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_UpOutlined = (/*#__PURE__*/react.forwardRef(UpOutlined_UpOutlined)); + +/***/ }), + +/***/ 84567: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 3 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js + 5 modules +var es = __webpack_require__(95860); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/GroupContext.js + +const GroupContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var checkbox_GroupContext = (GroupContext); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js +var checkbox_style = __webpack_require__(63185); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const InternalCheckbox = (props, ref) => { + var _a; + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + children, + indeterminate = false, + style, + onMouseEnter, + onMouseLeave, + skipGroup = false, + disabled + } = props, + restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + const { + getPrefixCls, + direction, + checkbox + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const checkboxGroup = react.useContext(checkbox_GroupContext); + const { + isFormItemInput + } = react.useContext(context/* FormItemInputContext */.aM); + const contextDisabled = react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled; + const prevValue = react.useRef(restProps.value); + react.useEffect(() => { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(() => { + if (skipGroup) { + return; + } + if (restProps.value !== prevValue.current) { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current); + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + prevValue.current = restProps.value; + } + return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }, [restProps.value]); + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const checkboxProps = Object.assign({}, restProps); + if (checkboxGroup && !skipGroup) { + checkboxProps.onChange = function () { + if (restProps.onChange) { + restProps.onChange.apply(restProps, arguments); + } + if (checkboxGroup.toggleOption) { + checkboxGroup.toggleOption({ + label: children, + value: restProps.value + }); + } + }; + checkboxProps.name = checkboxGroup.name; + checkboxProps.checked = checkboxGroup.value.includes(restProps.value); + } + const classString = classnames_default()(`${prefixCls}-wrapper`, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-wrapper-checked`]: checkboxProps.checked, + [`${prefixCls}-wrapper-disabled`]: mergedDisabled, + [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput + }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId); + const checkboxClass = classnames_default()({ + [`${prefixCls}-indeterminate`]: indeterminate + }, hashId); + const ariaChecked = indeterminate ? 'mixed' : undefined; + return wrapSSR( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, Object.assign({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children))); +}; +const Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + +var Group_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalGroup = (props, ref) => { + const { + defaultValue, + children, + options = [], + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + onChange + } = props, + restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]); + const { + getPrefixCls, + direction + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const [value, setValue] = react.useState(restProps.value || defaultValue || []); + const [registeredValues, setRegisteredValues] = react.useState([]); + react.useEffect(() => { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + const memoOptions = react.useMemo(() => options.map(option => { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }), [options]); + const cancelValue = val => { + setRegisteredValues(prevValues => prevValues.filter(v => v !== val)); + }; + const registerValue = val => { + setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val])); + }; + const toggleOption = option => { + const optionIndex = value.indexOf(option.value); + const newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => { + const indexA = memoOptions.findIndex(opt => opt.value === a); + const indexB = memoOptions.findIndex(opt => opt.value === b); + return indexA - indexB; + })); + }; + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const groupPrefixCls = `${prefixCls}-group`; + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/react.createElement(checkbox_Checkbox, { + prefixCls: prefixCls, + key: option.value.toString(), + disabled: 'disabled' in option ? option.disabled : restProps.disabled, + value: option.value, + checked: value.includes(option.value), + onChange: option.onChange, + className: `${groupPrefixCls}-item`, + style: option.style, + title: option.title + }, option.label)) : children; + // eslint-disable-next-line react/jsx-no-constructed-context-values + const context = { + toggleOption, + value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue, + cancelValue + }; + const classString = classnames_default()(groupPrefixCls, { + [`${groupPrefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(checkbox_GroupContext.Provider, { + value: context + }, childrenNode))); +}; + +const CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js +'use client'; + + + +const es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +if (false) {} +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 63185: +/*!******************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "C2": function() { return /* binding */ getStyle; } +/* harmony export */ }); +/* unused harmony export genCheckboxStyle */ +/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 73559); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 45503); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); + + + +// ============================== Motion ============================== +const antCheckboxEffect = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antCheckboxEffect', { + '0%': { + transform: 'scale(1)', + opacity: 0.5 + }, + '100%': { + transform: 'scale(1.6)', + opacity: 0 + } +}); +// ============================== Styles ============================== +const genCheckboxStyle = token => { + const { + checkboxCls + } = token; + const wrapperCls = `${checkboxCls}-wrapper`; + return [ + // ===================== Basic ===================== + { + // Group + [`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + flexWrap: 'wrap', + columnGap: token.marginXS, + // Group > Grid + [`> ${token.antCls}-row`]: { + flex: 1 + } + }), + // Wrapper + [wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + alignItems: 'baseline', + cursor: 'pointer', + // Fix checkbox & radio in flex align #30260 + '&:after': { + display: 'inline-block', + width: 0, + overflow: 'hidden', + content: "'\\a0'" + }, + // Checkbox near checkbox + [`& + ${wrapperCls}`]: { + marginInlineStart: 0 + }, + [`&${wrapperCls}-in-form-item`]: { + 'input[type="checkbox"]': { + width: 14, + height: 14 // FIXME: magic + } + } + }), + + // Wrapper > Checkbox + [checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + position: 'relative', + whiteSpace: 'nowrap', + lineHeight: 1, + cursor: 'pointer', + // To make alignment right when `controlHeight` is changed + // Ref: https://github.com/ant-design/ant-design/issues/41564 + alignSelf: 'center', + // Wrapper > Checkbox > input + [`${checkboxCls}-input`]: { + position: 'absolute', + // Since baseline align will get additional space offset, + // we need to move input to top to make it align with text. + // Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799 + inset: 0, + zIndex: 1, + cursor: 'pointer', + opacity: 0, + margin: 0, + [`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .genFocusOutline */ .oN)(token)) + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + boxSizing: 'border-box', + position: 'relative', + top: 0, + insetInlineStart: 0, + display: 'block', + width: token.checkboxSize, + height: token.checkboxSize, + direction: 'ltr', + backgroundColor: token.colorBgContainer, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + borderCollapse: 'separate', + transition: `all ${token.motionDurationSlow}`, + '&:after': { + boxSizing: 'border-box', + position: 'absolute', + top: '50%', + insetInlineStart: '21.5%', + display: 'table', + width: token.checkboxSize / 14 * 5, + height: token.checkboxSize / 14 * 8, + border: `${token.lineWidthBold}px solid ${token.colorWhite}`, + borderTop: 0, + borderInlineStart: 0, + transform: 'rotate(45deg) scale(0) translate(-50%,-50%)', + opacity: 0, + content: '""', + transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}` + } + }, + // Wrapper > Checkbox + Text + '& + span': { + paddingInlineStart: token.paddingXS, + paddingInlineEnd: token.paddingXS + } + }) + }, + // ===================== Hover ===================== + { + // Wrapper + [`${wrapperCls}:hover ${checkboxCls}:after`]: { + visibility: 'visible' + }, + // Wrapper & Wrapper > Checkbox + [` + ${wrapperCls}:not(${wrapperCls}-disabled), + ${checkboxCls}:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + borderColor: token.colorPrimary + } + }, + [`${wrapperCls}:not(${wrapperCls}-disabled)`]: { + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ==================== Checked ==================== + { + // Wrapper > Checkbox + [`${checkboxCls}-checked`]: { + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimary, + borderColor: token.colorPrimary, + '&:after': { + opacity: 1, + transform: 'rotate(45deg) scale(1) translate(-50%,-50%)', + transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}` + } + }, + // Checked Effect + '&:after': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '100%', + height: '100%', + borderRadius: token.borderRadiusSM, + visibility: 'hidden', + border: `${token.lineWidthBold}px solid ${token.colorPrimary}`, + animationName: antCheckboxEffect, + animationDuration: token.motionDurationSlow, + animationTimingFunction: 'ease-in-out', + animationFillMode: 'backwards', + content: '""', + transition: `all ${token.motionDurationSlow}` + } + }, + [` + ${wrapperCls}-checked:not(${wrapperCls}-disabled), + ${checkboxCls}-checked:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}:after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ================= Indeterminate ================= + { + [checkboxCls]: { + '&-indeterminate': { + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorBgContainer, + borderColor: token.colorBorder, + '&:after': { + top: '50%', + insetInlineStart: '50%', + width: token.fontSizeLG / 2, + height: token.fontSizeLG / 2, + backgroundColor: token.colorPrimary, + border: 0, + transform: 'translate(-50%, -50%) scale(1)', + opacity: 1, + content: '""' + } + } + } + } + }, + // ==================== Disable ==================== + { + // Wrapper + [`${wrapperCls}-disabled`]: { + cursor: 'not-allowed' + }, + // Wrapper > Checkbox + [`${checkboxCls}-disabled`]: { + // Wrapper > Checkbox > input + [`&, ${checkboxCls}-input`]: { + cursor: 'not-allowed', + // Disabled for native input to enable Tooltip event handler + // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901 + pointerEvents: 'none' + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + background: token.colorBgContainerDisabled, + borderColor: token.colorBorder, + '&:after': { + borderColor: token.colorTextDisabled + } + }, + '&:after': { + display: 'none' + }, + '& + span': { + color: token.colorTextDisabled + }, + [`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: { + background: token.colorTextDisabled + } + } + }]; +}; +// ============================== Export ============================== +function getStyle(prefixCls, token) { + const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .merge */ .TS)(token, { + checkboxCls: `.${prefixCls}`, + checkboxSize: token.controlInteractiveSize + }); + return [genCheckboxStyle(checkboxToken)]; +} +/* harmony default export */ __webpack_exports__["ZP"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Checkbox', (token, _ref) => { + let { + prefixCls + } = _ref; + return [getStyle(prefixCls, token)]; +})); + +/***/ }), + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }), + +/***/ 55007: +/*!***********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_LeftOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +// This icon file is generated automatically. +var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" }; +/* harmony default export */ var asn_LeftOutlined = (LeftOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var LeftOutlined_LeftOutlined = function LeftOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_LeftOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_LeftOutlined = (/*#__PURE__*/react.forwardRef(LeftOutlined_LeftOutlined)); + +/***/ }), + +/***/ 79269: +/*!************************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js + 1 modules ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_RightOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +// This icon file is generated automatically. +var RightOutlined = { "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" }; +/* harmony default export */ var asn_RightOutlined = (RightOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var RightOutlined_RightOutlined = function RightOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_RightOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_RightOutlined = (/*#__PURE__*/react.forwardRef(RightOutlined_RightOutlined)); + +/***/ }), + +/***/ 95860: +/*!**********************************************************!*\ + !*** ./node_modules/rc-checkbox/es/index.js + 5 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es; } +}); + +// UNUSED EXPORTS: Checkbox + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/node_modules/rc-util/es/hooks/useEvent.js + +function useEvent(callback) { + var fnRef = react.useRef(); + fnRef.current = callback; + var memoFn = react.useCallback(function () { + var _fnRef$current; + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args)); + }, []); + return memoFn; +} +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/node_modules/rc-util/es/hooks/useLayoutEffect.js + + + +/** + * Wrap `React.useLayoutEffect` which will not throw warning message in test env + */ +var useInternalLayoutEffect = true && canUseDom() ? react.useLayoutEffect : react.useEffect; +var useLayoutEffect = function useLayoutEffect(callback, deps) { + var firstMountRef = react.useRef(true); + useInternalLayoutEffect(function () { + return callback(firstMountRef.current); + }, deps); + + // We tell react that first mount has passed + useInternalLayoutEffect(function () { + firstMountRef.current = false; + return function () { + firstMountRef.current = true; + }; + }, []); +}; +var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) { + useLayoutEffect(function (firstMount) { + if (!firstMount) { + return callback(); + } + }, deps); +}; +/* harmony default export */ var hooks_useLayoutEffect = ((/* unused pure expression or super */ null && (useLayoutEffect))); +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/node_modules/rc-util/es/hooks/useState.js + + +/** + * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed. + * We do not make this auto is to avoid real memory leak. + * Developer should confirm it's safe to ignore themselves. + */ +function useSafeState(defaultValue) { + var destroyRef = react.useRef(false); + var _React$useState = react.useState(defaultValue), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + react.useEffect(function () { + destroyRef.current = false; + return function () { + destroyRef.current = true; + }; + }, []); + function safeSetState(updater, ignoreDestroy) { + if (ignoreDestroy && destroyRef.current) { + return; + } + setValue(updater); + } + return [value, safeSetState]; +} +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/node_modules/rc-util/es/hooks/useMergedState.js + + + + +/** We only think `undefined` is empty */ +function hasValue(value) { + return value !== undefined; +} + +/** + * Similar to `useState` but will use props value if provided. + * Note that internal use rc-util `useState` hook. + */ +function useMergedState(defaultStateValue, option) { + var _ref = option || {}, + defaultValue = _ref.defaultValue, + value = _ref.value, + onChange = _ref.onChange, + postState = _ref.postState; + + // ======================= Init ======================= + var _useState = useSafeState(function () { + if (hasValue(value)) { + return value; + } else if (hasValue(defaultValue)) { + return typeof defaultValue === 'function' ? defaultValue() : defaultValue; + } else { + return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue; + } + }), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + innerValue = _useState2[0], + setInnerValue = _useState2[1]; + var mergedValue = value !== undefined ? value : innerValue; + var postMergedValue = postState ? postState(mergedValue) : mergedValue; + + // ====================== Change ====================== + var onChangeFn = useEvent(onChange); + var _useState3 = useSafeState([mergedValue]), + _useState4 = (0,slicedToArray/* default */.Z)(_useState3, 2), + prevValue = _useState4[0], + setPrevValue = _useState4[1]; + useLayoutUpdateEffect(function () { + var prev = prevValue[0]; + if (innerValue !== prev) { + onChangeFn(innerValue, prev); + } + }, [prevValue]); + + // Sync value back to `undefined` when it from control to un-control + useLayoutUpdateEffect(function () { + if (!hasValue(value)) { + setInnerValue(value); + } + }, [value]); + + // ====================== Update ====================== + var triggerChange = useEvent(function (updater, ignoreDestroy) { + setInnerValue(updater, ignoreDestroy); + setPrevValue([mergedValue], ignoreDestroy); + }); + return [postMergedValue, triggerChange]; +} +;// CONCATENATED MODULE: ./node_modules/rc-checkbox/es/index.js + + + + + +var _excluded = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "title", "onChange"]; + + + + +var Checkbox = /*#__PURE__*/(0,react.forwardRef)(function (props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-checkbox' : _props$prefixCls, + className = props.className, + style = props.style, + checked = props.checked, + disabled = props.disabled, + _props$defaultChecked = props.defaultChecked, + defaultChecked = _props$defaultChecked === void 0 ? false : _props$defaultChecked, + _props$type = props.type, + type = _props$type === void 0 ? 'checkbox' : _props$type, + title = props.title, + onChange = props.onChange, + inputProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var inputRef = (0,react.useRef)(null); + var _useMergedState = useMergedState(defaultChecked, { + value: checked + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + rawValue = _useMergedState2[0], + setRawValue = _useMergedState2[1]; + (0,react.useImperativeHandle)(ref, function () { + return { + focus: function focus() { + var _inputRef$current; + (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus(); + }, + blur: function blur() { + var _inputRef$current2; + (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.blur(); + }, + input: inputRef.current + }; + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-checked"), rawValue), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + var handleChange = function handleChange(e) { + if (disabled) { + return; + } + if (!('checked' in props)) { + setRawValue(e.target.checked); + } + onChange === null || onChange === void 0 ? void 0 : onChange({ + target: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + type: type, + checked: e.target.checked + }), + stopPropagation: function stopPropagation() { + e.stopPropagation(); + }, + preventDefault: function preventDefault() { + e.preventDefault(); + }, + nativeEvent: e.nativeEvent + }); + }; + return /*#__PURE__*/react.createElement("span", { + className: classString, + title: title, + style: style + }, /*#__PURE__*/react.createElement("input", (0,esm_extends/* default */.Z)({}, inputProps, { + className: "".concat(prefixCls, "-input"), + ref: inputRef, + onChange: handleChange, + disabled: disabled, + checked: !!rawValue, + type: type + })), /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-inner") + })); +}); +/* harmony default export */ var es = (Checkbox); + +/***/ }), + +/***/ 64217: +/*!**********************************************!*\ + !*** ./node_modules/rc-util/es/pickAttrs.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/16677.async.js b/16677.async.js new file mode 100644 index 0000000000..1eaa70783d --- /dev/null +++ b/16677.async.js @@ -0,0 +1,1820 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[16677,7477,30715,91708,53898,53764,4751,84551],{ + +/***/ 43387: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ AntdIcon; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@ant-design/colors/es/index.js + 1 modules +var es = __webpack_require__(16397); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js + +var IconContext = /*#__PURE__*/(0,react.createContext)({}); +/* harmony default export */ var Context = (IconContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/warning.js +/* eslint-disable no-console */ +var warned = {}; +var preWarningFns = []; + +/** + * Pre warning enable you to parse content before console.error. + * Modify to null will prevent warning. + */ +var preMessage = function preMessage(fn) { + preWarningFns.push(fn); +}; +function warning(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function note(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function resetWarned() { + warned = {}; +} +function call(method, valid, message) { + if (!valid && !warned[message]) { + method(false, message); + warned[message] = true; + } +} +function warningOnce(valid, message) { + call(warning, valid, message); +} +function noteOnce(valid, message) { + call(note, valid, message); +} +warningOnce.preMessage = preMessage; +warningOnce.resetWarned = resetWarned; +warningOnce.noteOnce = noteOnce; +/* harmony default export */ var es_warning = (warningOnce); +/* eslint-enable */ +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/contains.js +function contains(root, n) { + if (!root) { + return false; + } + + // Use native if support + if (root.contains) { + return root.contains(n); + } + + // `document.contains` not support with IE11 + var node = n; + while (node) { + if (node === root) { + return true; + } + node = node.parentNode; + } + return false; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/dynamicCSS.js + + +var APPEND_ORDER = 'data-rc-order'; +var MARK_KEY = "rc-util-key"; +var containerCache = new Map(); +function getMark() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + mark = _ref.mark; + if (mark) { + return mark.startsWith('data-') ? mark : "data-".concat(mark); + } + return MARK_KEY; +} +function getContainer(option) { + if (option.attachTo) { + return option.attachTo; + } + var head = document.querySelector('head'); + return head || document.body; +} +function getOrder(prepend) { + if (prepend === 'queue') { + return 'prependQueue'; + } + return prepend ? 'prepend' : 'append'; +} + +/** + * Find style which inject by rc-util + */ +function findStyles(container) { + return Array.from((containerCache.get(container) || container).children).filter(function (node) { + return node.tagName === 'STYLE'; + }); +} +function injectCSS(css) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + if (!canUseDom()) { + return null; + } + var csp = option.csp, + prepend = option.prepend; + var styleNode = document.createElement('style'); + styleNode.setAttribute(APPEND_ORDER, getOrder(prepend)); + if (csp !== null && csp !== void 0 && csp.nonce) { + styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce; + } + styleNode.innerHTML = css; + var container = getContainer(option); + var firstChild = container.firstChild; + if (prepend) { + // If is queue `prepend`, it will prepend first style and then append rest style + if (prepend === 'queue') { + var existStyle = findStyles(container).filter(function (node) { + return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER)); + }); + if (existStyle.length) { + container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling); + return styleNode; + } + } + + // Use `insertBefore` as `prepend` + container.insertBefore(styleNode, firstChild); + } else { + container.appendChild(styleNode); + } + return styleNode; +} +function findExistNode(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var container = getContainer(option); + return findStyles(container).find(function (node) { + return node.getAttribute(getMark(option)) === key; + }); +} +function removeCSS(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var existNode = findExistNode(key, option); + if (existNode) { + var container = getContainer(option); + container.removeChild(existNode); + } +} + +/** + * qiankun will inject `appendChild` to insert into other + */ +function syncRealContainer(container, option) { + var cachedRealContainer = containerCache.get(container); + + // Find real container when not cached or cached container removed + if (!cachedRealContainer || !contains(document, cachedRealContainer)) { + var placeholderStyle = injectCSS('', option); + var parentNode = placeholderStyle.parentNode; + containerCache.set(container, parentNode); + container.removeChild(placeholderStyle); + } +} + +/** + * manually clear container cache to avoid global cache in unit testes + */ +function clearContainerCache() { + containerCache.clear(); +} +function updateCSS(css, key) { + var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var container = getContainer(option); + + // Sync real parent + syncRealContainer(container, option); + var existNode = findExistNode(key, option); + if (existNode) { + var _option$csp, _option$csp2; + if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) { + var _option$csp3; + existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce; + } + if (existNode.innerHTML !== css) { + existNode.innerHTML = css; + } + return existNode; + } + var newNode = injectCSS(css, option); + newNode.setAttribute(getMark(option), key); + return newNode; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/shadow.js +function getRoot(ele) { + var _ele$getRootNode; + return ele === null || ele === void 0 ? void 0 : (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele); +} + +/** + * Check if is in shadowRoot + */ +function inShadow(ele) { + return getRoot(ele) !== (ele === null || ele === void 0 ? void 0 : ele.ownerDocument); +} + +/** + * Return shadowRoot if possible + */ +function getShadowRoot(ele) { + return inShadow(ele) ? getRoot(ele) : null; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js + + + + + + + + +function utils_warning(valid, message) { + es_warning(valid, "[@ant-design/icons] ".concat(message)); +} +function isIconDefinition(target) { + return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); +} +function normalizeAttrs() { + var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return Object.keys(attrs).reduce(function (acc, key) { + var val = attrs[key]; + switch (key) { + case 'class': + acc.className = val; + delete acc.class; + break; + default: + acc[key] = val; + } + return acc; + }, {}); +} +function generate(node, key, rootProps) { + if (!rootProps) { + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); + } + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); +} +function getSecondaryColor(primaryColor) { + // choose the second color + return (0,es.generate)(primaryColor)[0]; +} +function normalizeTwoToneColors(twoToneColor) { + if (!twoToneColor) { + return []; + } + return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; +} + +// These props make sure that the SVG behaviours like general text. +// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 +var svgBaseProps = { + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true', + focusable: 'false' +}; +var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; +var useInsertStyles = function useInsertStyles(eleRef) { + var _useContext = (0,react.useContext)(Context), + csp = _useContext.csp, + prefixCls = _useContext.prefixCls; + var mergedStyleStr = iconStyles; + if (prefixCls) { + mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); + } + (0,react.useEffect)(function () { + var ele = eleRef.current; + var shadowRoot = getShadowRoot(ele); + updateCSS(mergedStyleStr, '@ant-design-icons', { + prepend: true, + csp: csp, + attachTo: shadowRoot + }); + }, []); +}; +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js + + +var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; + + +var twoToneColorPalette = { + primaryColor: '#333', + secondaryColor: '#E6E6E6', + calculated: false +}; +function setTwoToneColors(_ref) { + var primaryColor = _ref.primaryColor, + secondaryColor = _ref.secondaryColor; + twoToneColorPalette.primaryColor = primaryColor; + twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); + twoToneColorPalette.calculated = !!secondaryColor; +} +function getTwoToneColors() { + return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); +} +var IconBase = function IconBase(props) { + var icon = props.icon, + className = props.className, + onClick = props.onClick, + style = props.style, + primaryColor = props.primaryColor, + secondaryColor = props.secondaryColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var svgRef = react.useRef(); + var colors = twoToneColorPalette; + if (primaryColor) { + colors = { + primaryColor: primaryColor, + secondaryColor: secondaryColor || getSecondaryColor(primaryColor) + }; + } + useInsertStyles(svgRef); + utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); + if (!isIconDefinition(icon)) { + return null; + } + var target = icon; + if (target && typeof target.icon === 'function') { + target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { + icon: target.icon(colors.primaryColor, colors.secondaryColor) + }); + } + return generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + className: className, + onClick: onClick, + style: style, + 'data-icon': target.name, + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true' + }, restProps), {}, { + ref: svgRef + })); +}; +IconBase.displayName = 'IconReact'; +IconBase.getTwoToneColors = getTwoToneColors; +IconBase.setTwoToneColors = setTwoToneColors; +/* harmony default export */ var components_IconBase = (IconBase); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js + + + +function setTwoToneColor(twoToneColor) { + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return components_IconBase.setTwoToneColors({ + primaryColor: primaryColor, + secondaryColor: secondaryColor + }); +} +function getTwoToneColor() { + var colors = components_IconBase.getTwoToneColors(); + if (!colors.calculated) { + return colors.primaryColor; + } + return [colors.primaryColor, colors.secondaryColor]; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + + + + +var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; + + + + + + + +// Initial setting +// should move it to antd main repo? +setTwoToneColor(es.blue.primary); + +// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757#issuecomment-488848720 + +var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var className = props.className, + icon = props.icon, + spin = props.spin, + rotate = props.rotate, + tabIndex = props.tabIndex, + onClick = props.onClick, + twoToneColor = props.twoToneColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); + var _React$useContext = react.useContext(Context), + _React$useContext$pre = _React$useContext.prefixCls, + prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, + rootClassName = _React$useContext.rootClassName; + var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); + var iconTabIndex = tabIndex; + if (iconTabIndex === undefined && onClick) { + iconTabIndex = -1; + } + var svgStyle = rotate ? { + msTransform: "rotate(".concat(rotate, "deg)"), + transform: "rotate(".concat(rotate, "deg)") + } : undefined; + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + role: "img", + "aria-label": icon.name + }, restProps, { + ref: ref, + tabIndex: iconTabIndex, + onClick: onClick, + className: classString + }), /*#__PURE__*/react.createElement(components_IconBase, { + icon: icon, + primaryColor: primaryColor, + secondaryColor: secondaryColor, + style: svgStyle + })); +}); +Icon.displayName = 'AntdIcon'; +Icon.getTwoToneColor = getTwoToneColor; +Icon.setTwoToneColor = setTwoToneColor; +/* harmony default export */ var AntdIcon = (Icon); + +/***/ }), + +/***/ 18429: +/*!************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js + 1 modules ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.js +// This icon file is generated automatically. +var CloseCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z" } }, { "tag": "path", "attrs": { "d": "M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "close-circle", "theme": "outlined" }; +/* harmony default export */ var asn_CloseCircleOutlined = (CloseCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseCircleOutlined_CloseCircleOutlined = function CloseCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseCircleOutlined = (/*#__PURE__*/react.forwardRef(CloseCircleOutlined_CloseCircleOutlined)); + +/***/ }), + +/***/ 97937: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +// This icon file is generated automatically. +var CloseOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, "name": "close", "theme": "outlined" }; +/* harmony default export */ var asn_CloseOutlined = (CloseOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseOutlined_CloseOutlined = function CloseOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseOutlined = (/*#__PURE__*/react.forwardRef(CloseOutlined_CloseOutlined)); + +/***/ }), + +/***/ 11475: +/*!******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.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 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + +/***/ 96074: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/divider/index.js + 1 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ divider; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js + + +// ============================== Shared ============================== +const genSharedDividerStyle = token => { + const { + componentCls, + sizePaddingEdgeHorizontal, + colorSplit, + lineWidth + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + borderBlockStart: `${lineWidth}px solid ${colorSplit}`, + // vertical + '&-vertical': { + position: 'relative', + top: '-0.06em', + display: 'inline-block', + height: '0.9em', + margin: `0 ${token.dividerVerticalGutterMargin}px`, + verticalAlign: 'middle', + borderTop: 0, + borderInlineStart: `${lineWidth}px solid ${colorSplit}` + }, + '&-horizontal': { + display: 'flex', + clear: 'both', + width: '100%', + minWidth: '100%', + margin: `${token.dividerHorizontalGutterMargin}px 0` + }, + [`&-horizontal${componentCls}-with-text`]: { + display: 'flex', + alignItems: 'center', + margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`, + color: token.colorTextHeading, + fontWeight: 500, + fontSize: token.fontSizeLG, + whiteSpace: 'nowrap', + textAlign: 'center', + borderBlockStart: `0 ${colorSplit}`, + '&::before, &::after': { + position: 'relative', + width: '50%', + borderBlockStart: `${lineWidth}px solid transparent`, + // Chrome not accept `inherit` in `border-top` + borderBlockStartColor: 'inherit', + borderBlockEnd: 0, + transform: 'translateY(50%)', + content: "''" + } + }, + [`&-horizontal${componentCls}-with-text-left`]: { + '&::before': { + width: '5%' + }, + '&::after': { + width: '95%' + } + }, + [`&-horizontal${componentCls}-with-text-right`]: { + '&::before': { + width: '95%' + }, + '&::after': { + width: '5%' + } + }, + [`${componentCls}-inner-text`]: { + display: 'inline-block', + padding: '0 1em' + }, + '&-dashed': { + background: 'none', + borderColor: colorSplit, + borderStyle: 'dashed', + borderWidth: `${lineWidth}px 0 0` + }, + [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: { + '&::before, &::after': { + borderStyle: 'dashed none none' + } + }, + [`&-vertical${componentCls}-dashed`]: { + borderInlineStartWidth: lineWidth, + borderInlineEnd: 0, + borderBlockStart: 0, + borderBlockEnd: 0 + }, + [`&-plain${componentCls}-with-text`]: { + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: { + '&::before': { + width: 0 + }, + '&::after': { + width: '100%' + }, + [`${componentCls}-inner-text`]: { + paddingInlineStart: sizePaddingEdgeHorizontal + } + }, + [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: { + '&::before': { + width: '100%' + }, + '&::after': { + width: 0 + }, + [`${componentCls}-inner-text`]: { + paddingInlineEnd: sizePaddingEdgeHorizontal + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => { + const dividerToken = (0,statistic/* merge */.TS)(token, { + dividerVerticalGutterMargin: token.marginXS, + dividerHorizontalWithTextGutterMargin: token.margin, + dividerHorizontalGutterMargin: token.marginLG + }); + return [genSharedDividerStyle(dividerToken)]; +}, { + sizePaddingEdgeHorizontal: 0 +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +const Divider = props => { + const { + getPrefixCls, + direction, + divider + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'horizontal', + orientation = 'center', + orientationMargin, + className, + rootClassName, + children, + dashed, + plain, + style + } = props, + restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]); + const prefixCls = getPrefixCls('divider', customizePrefixCls); + const [wrapSSR, hashId] = divider_style(prefixCls); + const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation; + const hasChildren = !!children; + const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; + const hasCustomMarginRight = orientation === 'right' && orientationMargin != null; + const classString = classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, { + [`${prefixCls}-with-text`]: hasChildren, + [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren, + [`${prefixCls}-dashed`]: !!dashed, + [`${prefixCls}-plain`]: !!plain, + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft, + [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight + }, className, rootClassName); + const memoizedOrientationMargin = react.useMemo(() => { + if (typeof orientationMargin === 'number') { + return orientationMargin; + } + if (/^\d+$/.test(orientationMargin)) { + return Number(orientationMargin); + } + return orientationMargin; + }, [orientationMargin]); + const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && { + marginLeft: memoizedOrientationMargin + }), hasCustomMarginRight && { + marginRight: memoizedOrientationMargin + }); + // Warning children not work in vertical mode + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style) + }, restProps, { + role: "separator" + }), children && type !== 'vertical' && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-inner-text`, + style: innerStyle + }, children))); +}; +if (false) {} +/* harmony default export */ var divider = (Divider); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 64217: +/*!**********************************************!*\ + !*** ./node_modules/rc-util/es/pickAttrs.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} + +/***/ }), + +/***/ 57761: +/*!*********************************************************************!*\ + !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! + \*********************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _react = __webpack_require__(/*! react */ 67294); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(/*! prop-types */ 45697); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var InfiniteScroll = function (_Component) { + _inherits(InfiniteScroll, _Component); + + function InfiniteScroll(props) { + _classCallCheck(this, InfiniteScroll); + + var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props)); + + _this.scrollListener = _this.scrollListener.bind(_this); + _this.eventListenerOptions = _this.eventListenerOptions.bind(_this); + _this.mousewheelListener = _this.mousewheelListener.bind(_this); + return _this; + } + + _createClass(InfiniteScroll, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.pageLoaded = this.props.pageStart; + this.options = this.eventListenerOptions(); + this.attachScrollListener(); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate() { + if (this.props.isReverse && this.loadMore) { + var parentElement = this.getParentElement(this.scrollComponent); + parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop; + this.loadMore = false; + } + this.attachScrollListener(); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.detachScrollListener(); + this.detachMousewheelListener(); + } + }, { + key: 'isPassiveSupported', + value: function isPassiveSupported() { + var passive = false; + + var testOptions = { + get passive() { + passive = true; + } + }; + + try { + document.addEventListener('test', null, testOptions); + document.removeEventListener('test', null, testOptions); + } catch (e) { + // ignore + } + return passive; + } + }, { + key: 'eventListenerOptions', + value: function eventListenerOptions() { + var options = this.props.useCapture; + + if (this.isPassiveSupported()) { + options = { + useCapture: this.props.useCapture, + passive: true + }; + } + return options; + } + + // Set a defaut loader for all your `InfiniteScroll` components + + }, { + key: 'setDefaultLoader', + value: function setDefaultLoader(loader) { + this.defaultLoader = loader; + } + }, { + key: 'detachMousewheelListener', + value: function detachMousewheelListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.scrollComponent.parentNode; + } + + scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'detachScrollListener', + value: function detachScrollListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.getParentElement(this.scrollComponent); + } + + scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'getParentElement', + value: function getParentElement(el) { + var scrollParent = this.props.getScrollParent && this.props.getScrollParent(); + if (scrollParent != null) { + return scrollParent; + } + return el && el.parentNode; + } + }, { + key: 'filterProps', + value: function filterProps(props) { + return props; + } + }, { + key: 'attachScrollListener', + value: function attachScrollListener() { + var parentElement = this.getParentElement(this.scrollComponent); + + if (!this.props.hasMore || !parentElement) { + return; + } + + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = parentElement; + } + + scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + + if (this.props.initialLoad) { + this.scrollListener(); + } + } + }, { + key: 'mousewheelListener', + value: function mousewheelListener(e) { + // Prevents Chrome hangups + // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257 + if (e.deltaY === 1 && !this.isPassiveSupported()) { + e.preventDefault(); + } + } + }, { + key: 'scrollListener', + value: function scrollListener() { + var el = this.scrollComponent; + var scrollEl = window; + var parentNode = this.getParentElement(el); + + var offset = void 0; + if (this.props.useWindow) { + var doc = document.documentElement || document.body.parentNode || document.body; + var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop; + if (this.props.isReverse) { + offset = scrollTop; + } else { + offset = this.calculateOffset(el, scrollTop); + } + } else if (this.props.isReverse) { + offset = parentNode.scrollTop; + } else { + offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight; + } + + // Here we make sure the element is visible as well as checking the offset + if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) { + this.detachScrollListener(); + this.beforeScrollHeight = parentNode.scrollHeight; + this.beforeScrollTop = parentNode.scrollTop; + // Call loadMore after detachScrollListener to allow for non-async loadMore functions + if (typeof this.props.loadMore === 'function') { + this.props.loadMore(this.pageLoaded += 1); + this.loadMore = true; + } + } + } + }, { + key: 'calculateOffset', + value: function calculateOffset(el, scrollTop) { + if (!el) { + return 0; + } + + return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight); + } + }, { + key: 'calculateTopPosition', + value: function calculateTopPosition(el) { + if (!el) { + return 0; + } + return el.offsetTop + this.calculateTopPosition(el.offsetParent); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var renderProps = this.filterProps(this.props); + + var children = renderProps.children, + element = renderProps.element, + hasMore = renderProps.hasMore, + initialLoad = renderProps.initialLoad, + isReverse = renderProps.isReverse, + loader = renderProps.loader, + loadMore = renderProps.loadMore, + pageStart = renderProps.pageStart, + ref = renderProps.ref, + threshold = renderProps.threshold, + useCapture = renderProps.useCapture, + useWindow = renderProps.useWindow, + getScrollParent = renderProps.getScrollParent, + props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']); + + props.ref = function (node) { + _this2.scrollComponent = node; + if (ref) { + ref(node); + } + }; + + var childrenArray = [children]; + if (hasMore) { + if (loader) { + isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader); + } else if (this.defaultLoader) { + isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader); + } + } + return _react2.default.createElement(element, props, childrenArray); + } + }]); + + return InfiniteScroll; +}(_react.Component); + +InfiniteScroll.propTypes = { + children: _propTypes2.default.node.isRequired, + element: _propTypes2.default.node, + hasMore: _propTypes2.default.bool, + initialLoad: _propTypes2.default.bool, + isReverse: _propTypes2.default.bool, + loader: _propTypes2.default.node, + loadMore: _propTypes2.default.func.isRequired, + pageStart: _propTypes2.default.number, + ref: _propTypes2.default.func, + getScrollParent: _propTypes2.default.func, + threshold: _propTypes2.default.number, + useCapture: _propTypes2.default.bool, + useWindow: _propTypes2.default.bool +}; +InfiniteScroll.defaultProps = { + element: 'div', + hasMore: false, + initialLoad: true, + pageStart: 0, + ref: null, + threshold: 250, + useWindow: true, + isReverse: false, + useCapture: false, + loader: null, + getScrollParent: null +}; +exports["default"] = InfiniteScroll; +module.exports = exports['default']; + + +/***/ }), + +/***/ 246: +/*!*******************************************************!*\ + !*** ./node_modules/react-infinite-scroller/index.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 57761) + + +/***/ }) + +}]); \ No newline at end of file diff --git a/18077.async.js b/18077.async.js index f29dc42f76..2a9d0e5e29 100644 --- a/18077.async.js +++ b/18077.async.js @@ -22,8 +22,8 @@ var react = __webpack_require__(67294); var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.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 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; /* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); ;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js // GENERATE BY ./scripts/generate.ts @@ -89,8 +89,8 @@ var react = __webpack_require__(67294); var reactNode = __webpack_require__(96159); // EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js var context = __webpack_require__(53124); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules -var DownOutlined = __webpack_require__(80882); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules +var DownOutlined = __webpack_require__(15558); // EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules var dropdown = __webpack_require__(35874); ;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js @@ -1073,8 +1073,8 @@ var classnames = __webpack_require__(94184); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules -var EllipsisOutlined = __webpack_require__(89705); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); // EXTERNAL MODULE: ./node_modules/antd/es/button/index.js var es_button = __webpack_require__(71577); // EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js diff --git a/18229.async.js b/18229.async.js new file mode 100644 index 0000000000..710c2ca5bd --- /dev/null +++ b/18229.async.js @@ -0,0 +1,1369 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[18229,34598,8162],{ + +/***/ 24969: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/PlusOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_PlusOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.js +// This icon file is generated automatically. +var PlusOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "defs", "attrs": {}, "children": [{ "tag": "style", "attrs": {} }] }, { "tag": "path", "attrs": { "d": "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { "tag": "path", "attrs": { "d": "M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z" } }] }, "name": "plus", "theme": "outlined" }; +/* harmony default export */ var asn_PlusOutlined = (PlusOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/PlusOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var PlusOutlined_PlusOutlined = function PlusOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_PlusOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_PlusOutlined = (/*#__PURE__*/react.forwardRef(PlusOutlined_PlusOutlined)); + +/***/ }), + +/***/ 84567: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 3 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js + 5 modules +var es = __webpack_require__(95860); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/GroupContext.js + +const GroupContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var checkbox_GroupContext = (GroupContext); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js +var checkbox_style = __webpack_require__(63185); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const InternalCheckbox = (props, ref) => { + var _a; + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + children, + indeterminate = false, + style, + onMouseEnter, + onMouseLeave, + skipGroup = false, + disabled + } = props, + restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + const { + getPrefixCls, + direction, + checkbox + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const checkboxGroup = react.useContext(checkbox_GroupContext); + const { + isFormItemInput + } = react.useContext(context/* FormItemInputContext */.aM); + const contextDisabled = react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled; + const prevValue = react.useRef(restProps.value); + react.useEffect(() => { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(() => { + if (skipGroup) { + return; + } + if (restProps.value !== prevValue.current) { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current); + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + prevValue.current = restProps.value; + } + return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }, [restProps.value]); + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const checkboxProps = Object.assign({}, restProps); + if (checkboxGroup && !skipGroup) { + checkboxProps.onChange = function () { + if (restProps.onChange) { + restProps.onChange.apply(restProps, arguments); + } + if (checkboxGroup.toggleOption) { + checkboxGroup.toggleOption({ + label: children, + value: restProps.value + }); + } + }; + checkboxProps.name = checkboxGroup.name; + checkboxProps.checked = checkboxGroup.value.includes(restProps.value); + } + const classString = classnames_default()(`${prefixCls}-wrapper`, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-wrapper-checked`]: checkboxProps.checked, + [`${prefixCls}-wrapper-disabled`]: mergedDisabled, + [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput + }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId); + const checkboxClass = classnames_default()({ + [`${prefixCls}-indeterminate`]: indeterminate + }, hashId); + const ariaChecked = indeterminate ? 'mixed' : undefined; + return wrapSSR( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, Object.assign({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children))); +}; +const Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + +var Group_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalGroup = (props, ref) => { + const { + defaultValue, + children, + options = [], + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + onChange + } = props, + restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]); + const { + getPrefixCls, + direction + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const [value, setValue] = react.useState(restProps.value || defaultValue || []); + const [registeredValues, setRegisteredValues] = react.useState([]); + react.useEffect(() => { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + const memoOptions = react.useMemo(() => options.map(option => { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }), [options]); + const cancelValue = val => { + setRegisteredValues(prevValues => prevValues.filter(v => v !== val)); + }; + const registerValue = val => { + setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val])); + }; + const toggleOption = option => { + const optionIndex = value.indexOf(option.value); + const newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => { + const indexA = memoOptions.findIndex(opt => opt.value === a); + const indexB = memoOptions.findIndex(opt => opt.value === b); + return indexA - indexB; + })); + }; + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const groupPrefixCls = `${prefixCls}-group`; + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/react.createElement(checkbox_Checkbox, { + prefixCls: prefixCls, + key: option.value.toString(), + disabled: 'disabled' in option ? option.disabled : restProps.disabled, + value: option.value, + checked: value.includes(option.value), + onChange: option.onChange, + className: `${groupPrefixCls}-item`, + style: option.style, + title: option.title + }, option.label)) : children; + // eslint-disable-next-line react/jsx-no-constructed-context-values + const context = { + toggleOption, + value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue, + cancelValue + }; + const classString = classnames_default()(groupPrefixCls, { + [`${groupPrefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(checkbox_GroupContext.Provider, { + value: context + }, childrenNode))); +}; + +const CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js +'use client'; + + + +const es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +if (false) {} +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 63185: +/*!******************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "C2": function() { return /* binding */ getStyle; } +/* harmony export */ }); +/* unused harmony export genCheckboxStyle */ +/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 73559); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 45503); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); + + + +// ============================== Motion ============================== +const antCheckboxEffect = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antCheckboxEffect', { + '0%': { + transform: 'scale(1)', + opacity: 0.5 + }, + '100%': { + transform: 'scale(1.6)', + opacity: 0 + } +}); +// ============================== Styles ============================== +const genCheckboxStyle = token => { + const { + checkboxCls + } = token; + const wrapperCls = `${checkboxCls}-wrapper`; + return [ + // ===================== Basic ===================== + { + // Group + [`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + flexWrap: 'wrap', + columnGap: token.marginXS, + // Group > Grid + [`> ${token.antCls}-row`]: { + flex: 1 + } + }), + // Wrapper + [wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + alignItems: 'baseline', + cursor: 'pointer', + // Fix checkbox & radio in flex align #30260 + '&:after': { + display: 'inline-block', + width: 0, + overflow: 'hidden', + content: "'\\a0'" + }, + // Checkbox near checkbox + [`& + ${wrapperCls}`]: { + marginInlineStart: 0 + }, + [`&${wrapperCls}-in-form-item`]: { + 'input[type="checkbox"]': { + width: 14, + height: 14 // FIXME: magic + } + } + }), + + // Wrapper > Checkbox + [checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + position: 'relative', + whiteSpace: 'nowrap', + lineHeight: 1, + cursor: 'pointer', + // To make alignment right when `controlHeight` is changed + // Ref: https://github.com/ant-design/ant-design/issues/41564 + alignSelf: 'center', + // Wrapper > Checkbox > input + [`${checkboxCls}-input`]: { + position: 'absolute', + // Since baseline align will get additional space offset, + // we need to move input to top to make it align with text. + // Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799 + inset: 0, + zIndex: 1, + cursor: 'pointer', + opacity: 0, + margin: 0, + [`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .genFocusOutline */ .oN)(token)) + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + boxSizing: 'border-box', + position: 'relative', + top: 0, + insetInlineStart: 0, + display: 'block', + width: token.checkboxSize, + height: token.checkboxSize, + direction: 'ltr', + backgroundColor: token.colorBgContainer, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + borderCollapse: 'separate', + transition: `all ${token.motionDurationSlow}`, + '&:after': { + boxSizing: 'border-box', + position: 'absolute', + top: '50%', + insetInlineStart: '21.5%', + display: 'table', + width: token.checkboxSize / 14 * 5, + height: token.checkboxSize / 14 * 8, + border: `${token.lineWidthBold}px solid ${token.colorWhite}`, + borderTop: 0, + borderInlineStart: 0, + transform: 'rotate(45deg) scale(0) translate(-50%,-50%)', + opacity: 0, + content: '""', + transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}` + } + }, + // Wrapper > Checkbox + Text + '& + span': { + paddingInlineStart: token.paddingXS, + paddingInlineEnd: token.paddingXS + } + }) + }, + // ===================== Hover ===================== + { + // Wrapper + [`${wrapperCls}:hover ${checkboxCls}:after`]: { + visibility: 'visible' + }, + // Wrapper & Wrapper > Checkbox + [` + ${wrapperCls}:not(${wrapperCls}-disabled), + ${checkboxCls}:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + borderColor: token.colorPrimary + } + }, + [`${wrapperCls}:not(${wrapperCls}-disabled)`]: { + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ==================== Checked ==================== + { + // Wrapper > Checkbox + [`${checkboxCls}-checked`]: { + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimary, + borderColor: token.colorPrimary, + '&:after': { + opacity: 1, + transform: 'rotate(45deg) scale(1) translate(-50%,-50%)', + transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}` + } + }, + // Checked Effect + '&:after': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '100%', + height: '100%', + borderRadius: token.borderRadiusSM, + visibility: 'hidden', + border: `${token.lineWidthBold}px solid ${token.colorPrimary}`, + animationName: antCheckboxEffect, + animationDuration: token.motionDurationSlow, + animationTimingFunction: 'ease-in-out', + animationFillMode: 'backwards', + content: '""', + transition: `all ${token.motionDurationSlow}` + } + }, + [` + ${wrapperCls}-checked:not(${wrapperCls}-disabled), + ${checkboxCls}-checked:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}:after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ================= Indeterminate ================= + { + [checkboxCls]: { + '&-indeterminate': { + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorBgContainer, + borderColor: token.colorBorder, + '&:after': { + top: '50%', + insetInlineStart: '50%', + width: token.fontSizeLG / 2, + height: token.fontSizeLG / 2, + backgroundColor: token.colorPrimary, + border: 0, + transform: 'translate(-50%, -50%) scale(1)', + opacity: 1, + content: '""' + } + } + } + } + }, + // ==================== Disable ==================== + { + // Wrapper + [`${wrapperCls}-disabled`]: { + cursor: 'not-allowed' + }, + // Wrapper > Checkbox + [`${checkboxCls}-disabled`]: { + // Wrapper > Checkbox > input + [`&, ${checkboxCls}-input`]: { + cursor: 'not-allowed', + // Disabled for native input to enable Tooltip event handler + // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901 + pointerEvents: 'none' + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + background: token.colorBgContainerDisabled, + borderColor: token.colorBorder, + '&:after': { + borderColor: token.colorTextDisabled + } + }, + '&:after': { + display: 'none' + }, + '& + span': { + color: token.colorTextDisabled + }, + [`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: { + background: token.colorTextDisabled + } + } + }]; +}; +// ============================== Export ============================== +function getStyle(prefixCls, token) { + const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .merge */ .TS)(token, { + checkboxCls: `.${prefixCls}`, + checkboxSize: token.controlInteractiveSize + }); + return [genCheckboxStyle(checkboxToken)]; +} +/* harmony default export */ __webpack_exports__["ZP"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Checkbox', (token, _ref) => { + let { + prefixCls + } = _ref; + return [getStyle(prefixCls, token)]; +})); + +/***/ }), + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 33507: +/*!*******************************************************!*\ + !*** ./node_modules/antd/es/style/motion/collapse.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +const genCollapseMotion = token => ({ + [token.componentCls]: { + // For common/openAnimation + [`${token.antCls}-motion-collapse-legacy`]: { + overflow: 'hidden', + '&-active': { + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + }, + [`${token.antCls}-motion-collapse`]: { + overflow: 'hidden', + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + } +}); +/* harmony default export */ __webpack_exports__["Z"] = (genCollapseMotion); + +/***/ }), + +/***/ 51904: +/*!*******************************************************!*\ + !*** ./node_modules/antd/es/tag/index.js + 3 modules ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ tag; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules +var CloseOutlined = __webpack_require__(85846); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/colors.js +var colors = __webpack_require__(98787); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useClosable.js +var useClosable = __webpack_require__(69760); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/wave/index.js + 4 modules +var wave = __webpack_require__(45353); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +;// CONCATENATED MODULE: ./node_modules/antd/es/_util/capitalize.js +function capitalize(str) { + if (typeof str !== 'string') { + return str; + } + const ret = str.charAt(0).toUpperCase() + str.slice(1); + return ret; +} +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genPresetColor.js +var genPresetColor = __webpack_require__(98719); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/tag/style/index.js + + + +const genTagStatusStyle = (token, status, cssVariableType) => { + const capitalizedCssVariableType = capitalize(cssVariableType); + return { + [`${token.componentCls}-${status}`]: { + color: token[`color${cssVariableType}`], + background: token[`color${capitalizedCssVariableType}Bg`], + borderColor: token[`color${capitalizedCssVariableType}Border`], + [`&${token.componentCls}-borderless`]: { + borderColor: 'transparent' + } + } + }; +}; +const genPresetStyle = token => (0,genPresetColor/* default */.Z)(token, (colorKey, _ref) => { + let { + textColor, + lightBorderColor, + lightColor, + darkColor + } = _ref; + return { + [`${token.componentCls}-${colorKey}`]: { + color: textColor, + background: lightColor, + borderColor: lightBorderColor, + // Inverse color + '&-inverse': { + color: token.colorTextLightSolid, + background: darkColor, + borderColor: darkColor + }, + [`&${token.componentCls}-borderless`]: { + borderColor: 'transparent' + } + } + }; +}); +const genBaseStyle = token => { + const { + paddingXXS, + lineWidth, + tagPaddingHorizontal, + componentCls + } = token; + const paddingInline = tagPaddingHorizontal - lineWidth; + const iconMarginInline = paddingXXS - lineWidth; + return { + // Result + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + height: 'auto', + marginInlineEnd: token.marginXS, + paddingInline, + fontSize: token.tagFontSize, + lineHeight: token.tagLineHeight, + whiteSpace: 'nowrap', + background: token.defaultBg, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + opacity: 1, + transition: `all ${token.motionDurationMid}`, + textAlign: 'start', + position: 'relative', + // RTL + [`&${componentCls}-rtl`]: { + direction: 'rtl' + }, + '&, a, a:hover': { + color: token.defaultColor + }, + [`${componentCls}-close-icon`]: { + marginInlineStart: iconMarginInline, + color: token.colorTextDescription, + fontSize: token.tagIconSize, + cursor: 'pointer', + transition: `all ${token.motionDurationMid}`, + '&:hover': { + color: token.colorTextHeading + } + }, + [`&${componentCls}-has-color`]: { + borderColor: 'transparent', + [`&, a, a:hover, ${token.iconCls}-close, ${token.iconCls}-close:hover`]: { + color: token.colorTextLightSolid + } + }, + [`&-checkable`]: { + backgroundColor: 'transparent', + borderColor: 'transparent', + cursor: 'pointer', + [`&:not(${componentCls}-checkable-checked):hover`]: { + color: token.colorPrimary, + backgroundColor: token.colorFillSecondary + }, + '&:active, &-checked': { + color: token.colorTextLightSolid + }, + '&-checked': { + backgroundColor: token.colorPrimary, + '&:hover': { + backgroundColor: token.colorPrimaryHover + } + }, + '&:active': { + backgroundColor: token.colorPrimaryActive + } + }, + [`&-hidden`]: { + display: 'none' + }, + // To ensure that a space will be placed between character and `Icon`. + [`> ${token.iconCls} + span, > span + ${token.iconCls}`]: { + marginInlineStart: paddingInline + } + }), + [`${componentCls}-borderless`]: { + borderColor: 'transparent', + background: token.tagBorderlessBg + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var tag_style = ((0,genComponentStyleHook/* default */.Z)('Tag', token => { + const { + lineWidth, + fontSizeIcon + } = token; + const tagFontSize = token.fontSizeSM; + const tagLineHeight = `${token.lineHeightSM * tagFontSize}px`; + const tagToken = (0,statistic/* merge */.TS)(token, { + tagFontSize, + tagLineHeight, + tagIconSize: fontSizeIcon - 2 * lineWidth, + tagPaddingHorizontal: 8, + tagBorderlessBg: token.colorFillTertiary + }); + return [genBaseStyle(tagToken), genPresetStyle(tagToken), genTagStatusStyle(tagToken, 'success', 'Success'), genTagStatusStyle(tagToken, 'processing', 'Info'), genTagStatusStyle(tagToken, 'error', 'Error'), genTagStatusStyle(tagToken, 'warning', 'Warning')]; +}, token => ({ + defaultBg: token.colorFillQuaternary, + defaultColor: token.colorText +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/tag/CheckableTag.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + +const CheckableTag = props => { + const { + prefixCls: customizePrefixCls, + className, + checked, + onChange, + onClick + } = props, + restProps = __rest(props, ["prefixCls", "className", "checked", "onChange", "onClick"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const handleClick = e => { + onChange === null || onChange === void 0 ? void 0 : onChange(!checked); + onClick === null || onClick === void 0 ? void 0 : onClick(e); + }; + const prefixCls = getPrefixCls('tag', customizePrefixCls); + // Style + const [wrapSSR, hashId] = tag_style(prefixCls); + const cls = classnames_default()(prefixCls, `${prefixCls}-checkable`, { + [`${prefixCls}-checkable-checked`]: checked + }, className, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("span", Object.assign({}, restProps, { + className: cls, + onClick: handleClick + }))); +}; +/* harmony default export */ var tag_CheckableTag = (CheckableTag); +;// CONCATENATED MODULE: ./node_modules/antd/es/tag/index.js +'use client'; + +var tag_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const InternalTag = (tagProps, ref) => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + children, + icon, + color, + onClose, + closeIcon, + closable, + bordered = true + } = tagProps, + props = tag_rest(tagProps, ["prefixCls", "className", "rootClassName", "style", "children", "icon", "color", "onClose", "closeIcon", "closable", "bordered"]); + const { + getPrefixCls, + direction, + tag + } = react.useContext(context/* ConfigContext */.E_); + const [visible, setVisible] = react.useState(true); + // Warning for deprecated usage + if (false) {} + react.useEffect(() => { + if ('visible' in props) { + setVisible(props.visible); + } + }, [props.visible]); + const isInternalColor = (0,colors/* isPresetColor */.o2)(color) || (0,colors/* isPresetStatusColor */.yT)(color); + const tagStyle = Object.assign(Object.assign({ + backgroundColor: color && !isInternalColor ? color : undefined + }, tag === null || tag === void 0 ? void 0 : tag.style), style); + const prefixCls = getPrefixCls('tag', customizePrefixCls); + // Style + const [wrapSSR, hashId] = tag_style(prefixCls); + const tagClassName = classnames_default()(prefixCls, tag === null || tag === void 0 ? void 0 : tag.className, { + [`${prefixCls}-${color}`]: isInternalColor, + [`${prefixCls}-has-color`]: color && !isInternalColor, + [`${prefixCls}-hidden`]: !visible, + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-borderless`]: !bordered + }, className, rootClassName, hashId); + const handleCloseClick = e => { + e.stopPropagation(); + onClose === null || onClose === void 0 ? void 0 : onClose(e); + if (e.defaultPrevented) { + return; + } + setVisible(false); + }; + const [, mergedCloseIcon] = (0,useClosable/* default */.Z)(closable, closeIcon, iconNode => iconNode === null ? /*#__PURE__*/react.createElement(CloseOutlined/* default */.Z, { + className: `${prefixCls}-close-icon`, + onClick: handleCloseClick + }) : /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-close-icon`, + onClick: handleCloseClick + }, iconNode), null, false); + const isNeedWave = typeof props.onClick === 'function' || children && children.type === 'a'; + const iconNode = icon || null; + const kids = iconNode ? /*#__PURE__*/react.createElement(react.Fragment, null, iconNode, children && /*#__PURE__*/react.createElement("span", null, children)) : children; + const tagNode = /*#__PURE__*/react.createElement("span", Object.assign({}, props, { + ref: ref, + className: tagClassName, + style: tagStyle + }), kids, mergedCloseIcon); + return wrapSSR(isNeedWave ? /*#__PURE__*/react.createElement(wave/* default */.Z, null, tagNode) : tagNode); +}; +const Tag = /*#__PURE__*/react.forwardRef(InternalTag); +if (false) {} +Tag.CheckableTag = tag_CheckableTag; +/* harmony default export */ var tag = (Tag); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/18358.async.js b/18358.async.js index 8685df5a40..fde3d78c7d 100644 --- a/18358.async.js +++ b/18358.async.js @@ -1,5 +1,5 @@ "use strict"; -(self["webpackChunk"] = self["webpackChunk"] || []).push([[18358,2441],{ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[18358,84567,2441],{ /***/ 84567: /*!************************************************************!*\ @@ -564,8 +564,8 @@ var classnames = __webpack_require__(94184); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules -var EllipsisOutlined = __webpack_require__(89705); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); // EXTERNAL MODULE: ./node_modules/antd/es/button/index.js var es_button = __webpack_require__(71577); // EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js diff --git a/19458.async.js b/19458.async.js new file mode 100644 index 0000000000..e5eadff011 --- /dev/null +++ b/19458.async.js @@ -0,0 +1,716 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[19458],{ + +/***/ 19249: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/layout/Sider.js + 3 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "D": function() { return /* binding */ SiderContext; }, + "Z": function() { return /* binding */ layout_Sider; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.js +// This icon file is generated automatically. +var BarsOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "bars", "theme": "outlined" }; +/* harmony default export */ var asn_BarsOutlined = (BarsOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/BarsOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var BarsOutlined_BarsOutlined = function BarsOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_BarsOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_BarsOutlined = (/*#__PURE__*/react.forwardRef(BarsOutlined_BarsOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules +var LeftOutlined = __webpack_require__(55007); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js + 1 modules +var RightOutlined = __webpack_require__(79269); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +;// CONCATENATED MODULE: ./node_modules/antd/es/_util/isNumeric.js +const isNumeric = value => !isNaN(parseFloat(value)) && isFinite(value); +/* harmony default export */ var _util_isNumeric = (isNumeric); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/layout/layout.js + 2 modules +var layout = __webpack_require__(84321); +;// CONCATENATED MODULE: ./node_modules/antd/es/layout/Sider.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const dimensionMaxMap = { + xs: '479.98px', + sm: '575.98px', + md: '767.98px', + lg: '991.98px', + xl: '1199.98px', + xxl: '1599.98px' +}; +const SiderContext = /*#__PURE__*/react.createContext({}); +const generateId = (() => { + let i = 0; + return function () { + let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + i += 1; + return `${prefix}${i}`; + }; +})(); +const Sider = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + className, + trigger, + children, + defaultCollapsed = false, + theme = 'dark', + style = {}, + collapsible = false, + reverseArrow = false, + width = 200, + collapsedWidth = 80, + zeroWidthTriggerStyle, + breakpoint, + onCollapse, + onBreakpoint + } = props, + otherProps = __rest(props, ["prefixCls", "className", "trigger", "children", "defaultCollapsed", "theme", "style", "collapsible", "reverseArrow", "width", "collapsedWidth", "zeroWidthTriggerStyle", "breakpoint", "onCollapse", "onBreakpoint"]); + const { + siderHook + } = (0,react.useContext)(layout/* LayoutContext */.Gs); + const [collapsed, setCollapsed] = (0,react.useState)('collapsed' in props ? props.collapsed : defaultCollapsed); + const [below, setBelow] = (0,react.useState)(false); + (0,react.useEffect)(() => { + if ('collapsed' in props) { + setCollapsed(props.collapsed); + } + }, [props.collapsed]); + const handleSetCollapsed = (value, type) => { + if (!('collapsed' in props)) { + setCollapsed(value); + } + onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type); + }; + // ========================= Responsive ========================= + const responsiveHandlerRef = (0,react.useRef)(); + responsiveHandlerRef.current = mql => { + setBelow(mql.matches); + onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches); + if (collapsed !== mql.matches) { + handleSetCollapsed(mql.matches, 'responsive'); + } + }; + (0,react.useEffect)(() => { + function responsiveHandler(mql) { + return responsiveHandlerRef.current(mql); + } + let mql; + if (typeof window !== 'undefined') { + const { + matchMedia + } = window; + if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) { + mql = matchMedia(`(max-width: ${dimensionMaxMap[breakpoint]})`); + try { + mql.addEventListener('change', responsiveHandler); + } catch (error) { + mql.addListener(responsiveHandler); + } + responsiveHandler(mql); + } + } + return () => { + try { + mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler); + } catch (error) { + mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler); + } + }; + }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array. + (0,react.useEffect)(() => { + const uniqueId = generateId('ant-sider-'); + siderHook.addSider(uniqueId); + return () => siderHook.removeSider(uniqueId); + }, []); + const toggle = () => { + handleSetCollapsed(!collapsed, 'clickTrigger'); + }; + const { + getPrefixCls + } = (0,react.useContext)(context/* ConfigContext */.E_); + const renderSider = () => { + const prefixCls = getPrefixCls('layout-sider', customizePrefixCls); + const divProps = (0,omit/* default */.Z)(otherProps, ['collapsed']); + const rawWidth = collapsed ? collapsedWidth : width; + // use "px" as fallback unit for width + const siderWidth = _util_isNumeric(rawWidth) ? `${rawWidth}px` : String(rawWidth); + // special trigger when collapsedWidth == 0 + const zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? /*#__PURE__*/react.createElement("span", { + onClick: toggle, + className: classnames_default()(`${prefixCls}-zero-width-trigger`, `${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : 'left'}`), + style: zeroWidthTriggerStyle + }, trigger || /*#__PURE__*/react.createElement(icons_BarsOutlined, null)) : null; + const iconObj = { + expanded: reverseArrow ? /*#__PURE__*/react.createElement(RightOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(LeftOutlined/* default */.Z, null), + collapsed: reverseArrow ? /*#__PURE__*/react.createElement(LeftOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(RightOutlined/* default */.Z, null) + }; + const status = collapsed ? 'collapsed' : 'expanded'; + const defaultTrigger = iconObj[status]; + const triggerDom = trigger !== null ? zeroWidthTrigger || /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-trigger`, + onClick: toggle, + style: { + width: siderWidth + } + }, trigger || defaultTrigger) : null; + const divStyle = Object.assign(Object.assign({}, style), { + flex: `0 0 ${siderWidth}`, + maxWidth: siderWidth, + minWidth: siderWidth, + width: siderWidth + }); + const siderCls = classnames_default()(prefixCls, `${prefixCls}-${theme}`, { + [`${prefixCls}-collapsed`]: !!collapsed, + [`${prefixCls}-has-trigger`]: collapsible && trigger !== null && !zeroWidthTrigger, + [`${prefixCls}-below`]: !!below, + [`${prefixCls}-zero-width`]: parseFloat(siderWidth) === 0 + }, className); + return /*#__PURE__*/react.createElement("aside", Object.assign({ + className: siderCls + }, divProps, { + style: divStyle, + ref: ref + }), /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-children` + }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null); + }; + const contextValue = react.useMemo(() => ({ + siderCollapsed: collapsed + }), [collapsed]); + return /*#__PURE__*/react.createElement(SiderContext.Provider, { + value: contextValue + }, renderSider()); +}); +if (false) {} +/* harmony default export */ var layout_Sider = (Sider); + +/***/ }), + +/***/ 84321: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/layout/layout.js + 2 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "VY": function() { return /* binding */ Content; }, + "$_": function() { return /* binding */ Footer; }, + "h4": function() { return /* binding */ Header; }, + "Gs": function() { return /* binding */ LayoutContext; }, + "ZP": function() { return /* binding */ layout; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/light.js +const genLayoutLightStyle = token => { + const { + componentCls, + colorBgContainer, + colorBgBody, + colorText + } = token; + return { + [`${componentCls}-sider-light`]: { + background: colorBgContainer, + [`${componentCls}-sider-trigger`]: { + color: colorText, + background: colorBgContainer + }, + [`${componentCls}-sider-zero-width-trigger`]: { + color: colorText, + background: colorBgContainer, + border: `1px solid ${colorBgBody}`, + borderInlineStart: 0 + } + } + }; +}; +/* harmony default export */ var light = (genLayoutLightStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/layout/style/index.js + + +const genLayoutStyle = token => { + const { + antCls, + // .ant + componentCls, + // .ant-layout + colorText, + colorTextLightSolid, + colorBgHeader, + colorBgBody, + colorBgTrigger, + layoutHeaderHeight, + layoutHeaderPaddingInline, + layoutHeaderColor, + layoutFooterPadding, + layoutTriggerHeight, + layoutZeroTriggerSize, + motionDurationMid, + motionDurationSlow, + fontSize, + borderRadius + } = token; + return { + [componentCls]: Object.assign(Object.assign({ + display: 'flex', + flex: 'auto', + flexDirection: 'column', + /* fix firefox can't set height smaller than content on flex item */ + minHeight: 0, + background: colorBgBody, + '&, *': { + boxSizing: 'border-box' + }, + [`&${componentCls}-has-sider`]: { + flexDirection: 'row', + [`> ${componentCls}, > ${componentCls}-content`]: { + // https://segmentfault.com/a/1190000019498300 + width: 0 + } + }, + [`${componentCls}-header, &${componentCls}-footer`]: { + flex: '0 0 auto' + }, + [`${componentCls}-sider`]: { + position: 'relative', + // fix firefox can't set width smaller than content on flex item + minWidth: 0, + background: colorBgHeader, + transition: `all ${motionDurationMid}, background 0s`, + '&-children': { + height: '100%', + // Hack for fixing margin collapse bug + // https://github.com/ant-design/ant-design/issues/7967 + // solution from https://stackoverflow.com/a/33132624/3040605 + marginTop: -0.1, + paddingTop: 0.1, + [`${antCls}-menu${antCls}-menu-inline-collapsed`]: { + width: 'auto' + } + }, + '&-has-trigger': { + paddingBottom: layoutTriggerHeight + }, + '&-right': { + order: 1 + }, + '&-trigger': { + position: 'fixed', + bottom: 0, + zIndex: 1, + height: layoutTriggerHeight, + color: colorTextLightSolid, + lineHeight: `${layoutTriggerHeight}px`, + textAlign: 'center', + background: colorBgTrigger, + cursor: 'pointer', + transition: `all ${motionDurationMid}` + }, + '&-zero-width': { + '> *': { + overflow: 'hidden' + }, + '&-trigger': { + position: 'absolute', + top: layoutHeaderHeight, + insetInlineEnd: -layoutZeroTriggerSize, + zIndex: 1, + width: layoutZeroTriggerSize, + height: layoutZeroTriggerSize, + color: colorTextLightSolid, + fontSize: token.fontSizeXL, + display: 'flex', + alignItems: 'center', + justifyContent: 'center', + background: colorBgHeader, + borderStartStartRadius: 0, + borderStartEndRadius: borderRadius, + borderEndEndRadius: borderRadius, + borderEndStartRadius: 0, + cursor: 'pointer', + transition: `background ${motionDurationSlow} ease`, + '&::after': { + position: 'absolute', + inset: 0, + background: 'transparent', + transition: `all ${motionDurationSlow}`, + content: '""' + }, + '&:hover::after': { + // FIXME: Hardcode, but seems no need to create a token for this + background: `rgba(255, 255, 255, 0.2)` + }, + '&-right': { + insetInlineStart: -layoutZeroTriggerSize, + borderStartStartRadius: borderRadius, + borderStartEndRadius: 0, + borderEndEndRadius: 0, + borderEndStartRadius: borderRadius + } + } + } + } + }, light(token)), { + // RTL + '&-rtl': { + direction: 'rtl' + } + }), + // ==================== Header ==================== + [`${componentCls}-header`]: { + height: layoutHeaderHeight, + paddingInline: layoutHeaderPaddingInline, + color: layoutHeaderColor, + lineHeight: `${layoutHeaderHeight}px`, + background: colorBgHeader, + // Other components/menu/style/index.less line:686 + // Integration with header element so menu items have the same height + [`${antCls}-menu`]: { + lineHeight: 'inherit' + } + }, + // ==================== Footer ==================== + [`${componentCls}-footer`]: { + padding: layoutFooterPadding, + color: colorText, + fontSize, + background: colorBgBody + }, + // =================== Content ==================== + [`${componentCls}-content`]: { + flex: 'auto', + // fix firefox can't set height smaller than content on flex item + minHeight: 0 + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var layout_style = ((0,genComponentStyleHook/* default */.Z)('Layout', token => { + const { + colorText, + controlHeightSM, + controlHeight, + controlHeightLG, + marginXXS + } = token; + const layoutHeaderPaddingInline = controlHeightLG * 1.25; + const layoutToken = (0,statistic/* merge */.TS)(token, { + // Layout + layoutHeaderHeight: controlHeight * 2, + layoutHeaderPaddingInline, + layoutHeaderColor: colorText, + layoutFooterPadding: `${controlHeightSM}px ${layoutHeaderPaddingInline}px`, + layoutTriggerHeight: controlHeightLG + marginXXS * 2, + layoutZeroTriggerSize: controlHeightLG + }); + return [genLayoutStyle(layoutToken)]; +}, token => { + const { + colorBgLayout + } = token; + return { + colorBgHeader: '#001529', + colorBgBody: colorBgLayout, + colorBgTrigger: '#002140' + }; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/layout/layout.js + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +const LayoutContext = /*#__PURE__*/react.createContext({ + siderHook: { + addSider: () => null, + removeSider: () => null + } +}); +function generator(_ref) { + let { + suffixCls, + tagName, + displayName + } = _ref; + return BasicComponent => { + const Adapter = /*#__PURE__*/react.forwardRef((props, ref) => /*#__PURE__*/react.createElement(BasicComponent, Object.assign({ + ref: ref, + suffixCls: suffixCls, + tagName: tagName + }, props))); + if (false) {} + return Adapter; + }; +} +const Basic = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + suffixCls, + className, + tagName: TagName + } = props, + others = __rest(props, ["prefixCls", "suffixCls", "className", "tagName"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('layout', customizePrefixCls); + const [wrapSSR, hashId] = layout_style(prefixCls); + const prefixWithSuffixCls = suffixCls ? `${prefixCls}-${suffixCls}` : prefixCls; + return wrapSSR( /*#__PURE__*/react.createElement(TagName, Object.assign({ + className: classnames_default()(customizePrefixCls || prefixWithSuffixCls, className, hashId), + ref: ref + }, others))); +}); +const BasicLayout = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + direction + } = react.useContext(context/* ConfigContext */.E_); + const [siders, setSiders] = react.useState([]); + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + children, + hasSider, + tagName: Tag, + style + } = props, + others = __rest(props, ["prefixCls", "className", "rootClassName", "children", "hasSider", "tagName", "style"]); + const passedProps = (0,omit/* default */.Z)(others, ['suffixCls']); + const { + getPrefixCls, + layout + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('layout', customizePrefixCls); + const [wrapSSR, hashId] = layout_style(prefixCls); + const classString = classnames_default()(prefixCls, { + [`${prefixCls}-has-sider`]: typeof hasSider === 'boolean' ? hasSider : siders.length > 0, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, layout === null || layout === void 0 ? void 0 : layout.className, className, rootClassName, hashId); + const contextValue = react.useMemo(() => ({ + siderHook: { + addSider: id => { + setSiders(prev => [].concat((0,toConsumableArray/* default */.Z)(prev), [id])); + }, + removeSider: id => { + setSiders(prev => prev.filter(currentId => currentId !== id)); + } + } + }), []); + return wrapSSR( /*#__PURE__*/react.createElement(LayoutContext.Provider, { + value: contextValue + }, /*#__PURE__*/react.createElement(Tag, Object.assign({ + ref: ref, + className: classString, + style: Object.assign(Object.assign({}, layout === null || layout === void 0 ? void 0 : layout.style), style) + }, passedProps), children))); +}); +const Layout = generator({ + tagName: 'section', + displayName: 'Layout' +})(BasicLayout); +const Header = generator({ + suffixCls: 'header', + tagName: 'header', + displayName: 'Header' +})(Basic); +const Footer = generator({ + suffixCls: 'footer', + tagName: 'footer', + displayName: 'Footer' +})(Basic); +const Content = generator({ + suffixCls: 'content', + tagName: 'main', + displayName: 'Content' +})(Basic); + +/* harmony default export */ var layout = (Layout); + +/***/ }), + +/***/ 33507: +/*!*******************************************************!*\ + !*** ./node_modules/antd/es/style/motion/collapse.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +const genCollapseMotion = token => ({ + [token.componentCls]: { + // For common/openAnimation + [`${token.antCls}-motion-collapse-legacy`]: { + overflow: 'hidden', + '&-active': { + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + }, + [`${token.antCls}-motion-collapse`]: { + overflow: 'hidden', + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + } +}); +/* harmony default export */ __webpack_exports__["Z"] = (genCollapseMotion); + +/***/ }), + +/***/ 55007: +/*!***********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_LeftOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +// This icon file is generated automatically. +var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" }; +/* harmony default export */ var asn_LeftOutlined = (LeftOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var LeftOutlined_LeftOutlined = function LeftOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_LeftOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_LeftOutlined = (/*#__PURE__*/react.forwardRef(LeftOutlined_LeftOutlined)); + +/***/ }), + +/***/ 79269: +/*!************************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js + 1 modules ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_RightOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +// This icon file is generated automatically. +var RightOutlined = { "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" }; +/* harmony default export */ var asn_RightOutlined = (RightOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var RightOutlined_RightOutlined = function RightOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_RightOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_RightOutlined = (/*#__PURE__*/react.forwardRef(RightOutlined_RightOutlined)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/1967.async.js b/1967.async.js new file mode 100644 index 0000000000..cfa9587e78 --- /dev/null +++ b/1967.async.js @@ -0,0 +1,8006 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[1967,67390,35479,47897,78917,53575,89195],{ + +/***/ 4340: +/*!**********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseCircleFilled; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +// This icon file is generated automatically. +var CloseCircleFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" } }] }, "name": "close-circle", "theme": "filled" }; +/* harmony default export */ var asn_CloseCircleFilled = (CloseCircleFilled); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseCircleFilled_CloseCircleFilled = function CloseCircleFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseCircleFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseCircleFilled = (/*#__PURE__*/react.forwardRef(CloseCircleFilled_CloseCircleFilled)); + +/***/ }), + +/***/ 14618: +/*!************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseSquareOutlined.js + 1 modules ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseSquareOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseSquareOutlined.js +// This icon file is generated automatically. +var CloseSquareOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M354 671h58.9c4.7 0 9.2-2.1 12.3-5.7L512 561.8l86.8 103.5c3 3.6 7.5 5.7 12.3 5.7H670c6.8 0 10.5-7.9 6.1-13.1L553.8 512l122.4-145.9c4.4-5.2.7-13.1-6.1-13.1h-58.9c-4.7 0-9.2 2.1-12.3 5.7L512 462.2l-86.8-103.5c-3-3.6-7.5-5.7-12.3-5.7H354c-6.8 0-10.5 7.9-6.1 13.1L470.2 512 347.9 657.9A7.95 7.95 0 00354 671z" } }, { "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, "name": "close-square", "theme": "outlined" }; +/* harmony default export */ var asn_CloseSquareOutlined = (CloseSquareOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseSquareOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseSquareOutlined_CloseSquareOutlined = function CloseSquareOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseSquareOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseSquareOutlined = (/*#__PURE__*/react.forwardRef(CloseSquareOutlined_CloseSquareOutlined)); + +/***/ }), + +/***/ 80882: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DownOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +// This icon file is generated automatically. +var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" }; +/* harmony default export */ var asn_DownOutlined = (DownOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DownOutlined_DownOutlined = function DownOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DownOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DownOutlined = (/*#__PURE__*/react.forwardRef(DownOutlined_DownOutlined)); + +/***/ }), + +/***/ 89705: +/*!*********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules ***! + \*********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EllipsisOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js +// This icon file is generated automatically. +var EllipsisOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, "name": "ellipsis", "theme": "outlined" }; +/* harmony default export */ var asn_EllipsisOutlined = (EllipsisOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EllipsisOutlined_EllipsisOutlined = function EllipsisOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EllipsisOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EllipsisOutlined = (/*#__PURE__*/react.forwardRef(EllipsisOutlined_EllipsisOutlined)); + +/***/ }), + +/***/ 11475: +/*!******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.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 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + +/***/ 13982: +/*!***********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js + 1 modules ***! + \***********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_PlusSquareOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/PlusSquareOutlined.js +// This icon file is generated automatically. +var PlusSquareOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" } }, { "tag": "path", "attrs": { "d": "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, "name": "plus-square", "theme": "outlined" }; +/* harmony default export */ var asn_PlusSquareOutlined = (PlusSquareOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/PlusSquareOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var PlusSquareOutlined_PlusSquareOutlined = function PlusSquareOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_PlusSquareOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_PlusSquareOutlined = (/*#__PURE__*/react.forwardRef(PlusSquareOutlined_PlusSquareOutlined)); + +/***/ }), + +/***/ 25035: +/*!***************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.js + 1 modules ***! + \***************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_QuestionCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/QuestionCircleOutlined.js +// This icon file is generated automatically. +var QuestionCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" } }] }, "name": "question-circle", "theme": "outlined" }; +/* harmony default export */ var asn_QuestionCircleOutlined = (QuestionCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/QuestionCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var QuestionCircleOutlined_QuestionCircleOutlined = function QuestionCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_QuestionCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_QuestionCircleOutlined = (/*#__PURE__*/react.forwardRef(QuestionCircleOutlined_QuestionCircleOutlined)); + +/***/ }), + +/***/ 88484: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_UploadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.js +// This icon file is generated automatically. +var UploadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" }; +/* harmony default export */ var asn_UploadOutlined = (UploadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var UploadOutlined_UploadOutlined = function UploadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_UploadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_UploadOutlined = (/*#__PURE__*/react.forwardRef(UploadOutlined_UploadOutlined)); + +/***/ }), + +/***/ 81643: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getRenderPropValue.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getRenderPropValue; } +/* harmony export */ }); +const getRenderPropValue = propValue => { + if (!propValue) { + return null; + } + if (typeof propValue === 'function') { + return propValue(); + } + return propValue; +}; + +/***/ }), + +/***/ 38925: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/alert/index.js + 3 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_alert; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.js + 1 modules +var CheckCircleFilled = __webpack_require__(23526); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules +var CloseCircleFilled = __webpack_require__(30186); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules +var CloseOutlined = __webpack_require__(85846); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js + 1 modules +var ExclamationCircleFilled = __webpack_require__(39291); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.js + 1 modules +var InfoCircleFilled = __webpack_require__(97454); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-motion/es/index.js + 18 modules +var es = __webpack_require__(38379); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(1337); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/alert/style/index.js + + +const genAlertTypeStyle = (bgColor, borderColor, iconColor, token, alertCls) => ({ + backgroundColor: bgColor, + border: `${token.lineWidth}px ${token.lineType} ${borderColor}`, + [`${alertCls}-icon`]: { + color: iconColor + } +}); +const genBaseStyle = token => { + const { + componentCls, + motionDurationSlow: duration, + marginXS, + marginSM, + fontSize, + fontSizeLG, + lineHeight, + borderRadiusLG: borderRadius, + motionEaseInOutCirc, + alertIconSizeLG, + colorText, + paddingContentVerticalSM, + alertPaddingHorizontal, + paddingMD, + paddingContentHorizontalLG, + colorTextHeading + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + position: 'relative', + display: 'flex', + alignItems: 'center', + padding: `${paddingContentVerticalSM}px ${alertPaddingHorizontal}px`, + wordWrap: 'break-word', + borderRadius, + [`&${componentCls}-rtl`]: { + direction: 'rtl' + }, + [`${componentCls}-content`]: { + flex: 1, + minWidth: 0 + }, + [`${componentCls}-icon`]: { + marginInlineEnd: marginXS, + lineHeight: 0 + }, + [`&-description`]: { + display: 'none', + fontSize, + lineHeight + }, + '&-message': { + color: colorText + }, + [`&${componentCls}-motion-leave`]: { + overflow: 'hidden', + opacity: 1, + transition: `max-height ${duration} ${motionEaseInOutCirc}, opacity ${duration} ${motionEaseInOutCirc}, + padding-top ${duration} ${motionEaseInOutCirc}, padding-bottom ${duration} ${motionEaseInOutCirc}, + margin-bottom ${duration} ${motionEaseInOutCirc}` + }, + [`&${componentCls}-motion-leave-active`]: { + maxHeight: 0, + marginBottom: '0 !important', + paddingTop: 0, + paddingBottom: 0, + opacity: 0 + } + }), + [`${componentCls}-with-description`]: { + alignItems: 'flex-start', + paddingInline: paddingContentHorizontalLG, + paddingBlock: paddingMD, + [`${componentCls}-icon`]: { + marginInlineEnd: marginSM, + fontSize: alertIconSizeLG, + lineHeight: 0 + }, + [`${componentCls}-message`]: { + display: 'block', + marginBottom: marginXS, + color: colorTextHeading, + fontSize: fontSizeLG + }, + [`${componentCls}-description`]: { + display: 'block' + } + }, + [`${componentCls}-banner`]: { + marginBottom: 0, + border: '0 !important', + borderRadius: 0 + } + }; +}; +const genTypeStyle = token => { + const { + componentCls, + colorSuccess, + colorSuccessBorder, + colorSuccessBg, + colorWarning, + colorWarningBorder, + colorWarningBg, + colorError, + colorErrorBorder, + colorErrorBg, + colorInfo, + colorInfoBorder, + colorInfoBg + } = token; + return { + [componentCls]: { + '&-success': genAlertTypeStyle(colorSuccessBg, colorSuccessBorder, colorSuccess, token, componentCls), + '&-info': genAlertTypeStyle(colorInfoBg, colorInfoBorder, colorInfo, token, componentCls), + '&-warning': genAlertTypeStyle(colorWarningBg, colorWarningBorder, colorWarning, token, componentCls), + '&-error': Object.assign(Object.assign({}, genAlertTypeStyle(colorErrorBg, colorErrorBorder, colorError, token, componentCls)), { + [`${componentCls}-description > pre`]: { + margin: 0, + padding: 0 + } + }) + } + }; +}; +const genActionStyle = token => { + const { + componentCls, + iconCls, + motionDurationMid, + marginXS, + fontSizeIcon, + colorIcon, + colorIconHover + } = token; + return { + [componentCls]: { + [`&-action`]: { + marginInlineStart: marginXS + }, + [`${componentCls}-close-icon`]: { + marginInlineStart: marginXS, + padding: 0, + overflow: 'hidden', + fontSize: fontSizeIcon, + lineHeight: `${fontSizeIcon}px`, + backgroundColor: 'transparent', + border: 'none', + outline: 'none', + cursor: 'pointer', + [`${iconCls}-close`]: { + color: colorIcon, + transition: `color ${motionDurationMid}`, + '&:hover': { + color: colorIconHover + } + } + }, + '&-close-text': { + color: colorIcon, + transition: `color ${motionDurationMid}`, + '&:hover': { + color: colorIconHover + } + } + } + }; +}; +const genAlertStyle = token => [genBaseStyle(token), genTypeStyle(token), genActionStyle(token)]; +/* harmony default export */ var alert_style = ((0,genComponentStyleHook/* default */.Z)('Alert', token => { + const { + fontSizeHeading3 + } = token; + const alertToken = (0,statistic/* merge */.TS)(token, { + alertIconSizeLG: fontSizeHeading3, + alertPaddingHorizontal: 12 // Fixed value here. + }); + + return [genAlertStyle(alertToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/alert/Alert.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + +// CSSINJS + +const iconMapFilled = { + success: CheckCircleFilled/* default */.Z, + info: InfoCircleFilled/* default */.Z, + error: CloseCircleFilled/* default */.Z, + warning: ExclamationCircleFilled/* default */.Z +}; +const IconNode = props => { + const { + icon, + prefixCls, + type + } = props; + const iconType = iconMapFilled[type] || null; + if (icon) { + return (0,reactNode/* replaceElement */.wm)(icon, /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-icon` + }, icon), () => ({ + className: classnames_default()(`${prefixCls}-icon`, { + [icon.props.className]: icon.props.className + }) + })); + } + return /*#__PURE__*/react.createElement(iconType, { + className: `${prefixCls}-icon` + }); +}; +const CloseIcon = props => { + const { + isClosable, + prefixCls, + closeIcon, + handleClose + } = props; + const mergedCloseIcon = closeIcon === true || closeIcon === undefined ? /*#__PURE__*/react.createElement(CloseOutlined/* default */.Z, null) : closeIcon; + return isClosable ? /*#__PURE__*/react.createElement("button", { + type: "button", + onClick: handleClose, + className: `${prefixCls}-close-icon`, + tabIndex: 0 + }, mergedCloseIcon) : null; +}; +const Alert = props => { + const { + description, + prefixCls: customizePrefixCls, + message, + banner, + className, + rootClassName, + style, + onMouseEnter, + onMouseLeave, + onClick, + afterClose, + showIcon, + closable, + closeText, + closeIcon, + action + } = props, + otherProps = __rest(props, ["description", "prefixCls", "message", "banner", "className", "rootClassName", "style", "onMouseEnter", "onMouseLeave", "onClick", "afterClose", "showIcon", "closable", "closeText", "closeIcon", "action"]); + const [closed, setClosed] = react.useState(false); + if (false) {} + const ref = react.useRef(null); + const { + getPrefixCls, + direction, + alert + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('alert', customizePrefixCls); + const [wrapSSR, hashId] = alert_style(prefixCls); + const handleClose = e => { + var _a; + setClosed(true); + (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props, e); + }; + const type = react.useMemo(() => { + if (props.type !== undefined) { + return props.type; + } + // banner mode defaults to 'warning' + return banner ? 'warning' : 'info'; + }, [props.type, banner]); + // closeable when closeText or closeIcon is assigned + const isClosable = react.useMemo(() => { + if (closeText) { + return true; + } + if (typeof closable === 'boolean') { + return closable; + } + // should be true when closeIcon is 0 or '' + return closeIcon !== false && closeIcon !== null && closeIcon !== undefined; + }, [closeText, closeIcon, closable]); + // banner mode defaults to Icon + const isShowIcon = banner && showIcon === undefined ? true : showIcon; + const alertCls = classnames_default()(prefixCls, `${prefixCls}-${type}`, { + [`${prefixCls}-with-description`]: !!description, + [`${prefixCls}-no-icon`]: !isShowIcon, + [`${prefixCls}-banner`]: !!banner, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, alert === null || alert === void 0 ? void 0 : alert.className, className, rootClassName, hashId); + const restProps = (0,pickAttrs/* default */.Z)(otherProps, { + aria: true, + data: true + }); + return wrapSSR( /*#__PURE__*/react.createElement(es["default"], { + visible: !closed, + motionName: `${prefixCls}-motion`, + motionAppear: false, + motionEnter: false, + onLeaveStart: node => ({ + maxHeight: node.offsetHeight + }), + onLeaveEnd: afterClose + }, _ref => { + let { + className: motionClassName, + style: motionStyle + } = _ref; + return /*#__PURE__*/react.createElement("div", Object.assign({ + ref: ref, + "data-show": !closed, + className: classnames_default()(alertCls, motionClassName), + style: Object.assign(Object.assign(Object.assign({}, alert === null || alert === void 0 ? void 0 : alert.style), style), motionStyle), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave, + onClick: onClick, + role: "alert" + }, restProps), isShowIcon ? /*#__PURE__*/react.createElement(IconNode, { + description: description, + icon: props.icon, + prefixCls: prefixCls, + type: type + }) : null, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-content` + }, message ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-message` + }, message) : null, description ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-description` + }, description) : null), action ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-action` + }, action) : null, /*#__PURE__*/react.createElement(CloseIcon, { + isClosable: isClosable, + prefixCls: prefixCls, + closeIcon: closeText || closeIcon, + handleClose: handleClose + })); + })); +}; +if (false) {} +/* harmony default export */ var alert_Alert = (Alert); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(15671); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(43144); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(60136); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(51630); +;// CONCATENATED MODULE: ./node_modules/antd/es/alert/ErrorBoundary.js + + + + + + +let ErrorBoundary = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(ErrorBoundary, _React$Component); + var _super = (0,createSuper/* default */.Z)(ErrorBoundary); + function ErrorBoundary() { + var _this; + (0,classCallCheck/* default */.Z)(this, ErrorBoundary); + _this = _super.apply(this, arguments); + _this.state = { + error: undefined, + info: { + componentStack: '' + } + }; + return _this; + } + (0,createClass/* default */.Z)(ErrorBoundary, [{ + key: "componentDidCatch", + value: function componentDidCatch(error, info) { + this.setState({ + error, + info + }); + } + }, { + key: "render", + value: function render() { + const { + message, + description, + children + } = this.props; + const { + error, + info + } = this.state; + const componentStack = info && info.componentStack ? info.componentStack : null; + const errorMessage = typeof message === 'undefined' ? (error || '').toString() : message; + const errorDescription = typeof description === 'undefined' ? componentStack : description; + if (error) { + return /*#__PURE__*/react.createElement(alert_Alert, { + type: "error", + message: errorMessage, + description: /*#__PURE__*/react.createElement("pre", { + style: { + fontSize: '0.9em', + overflowX: 'auto' + } + }, errorDescription) + }); + } + return children; + } + }]); + return ErrorBoundary; +}(react.Component); +/* harmony default export */ var alert_ErrorBoundary = (ErrorBoundary); +;// CONCATENATED MODULE: ./node_modules/antd/es/alert/index.js +'use client'; + + + +const es_alert_Alert = alert_Alert; +es_alert_Alert.ErrorBoundary = alert_ErrorBoundary; +/* harmony default export */ var es_alert = (es_alert_Alert); + +/***/ }), + +/***/ 49288: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/auto-complete/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 37419); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-util/es/omit */ 10366); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/PurePanel */ 8745); +/* harmony import */ var _util_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/reactNode */ 96159); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../select */ 79035); +'use client'; + + + + + + + + + + +const { + Option +} = _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z; +function isSelectOptionOrSelectOptGroup(child) { + return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup); +} +const AutoComplete = (props, ref) => { + const { + prefixCls: customizePrefixCls, + className, + popupClassName, + dropdownClassName, + children, + dataSource + } = props; + const childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children); + // ============================= Input ============================= + let customizeInput; + if (childNodes.length === 1 && (0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) { + [customizeInput] = childNodes; + } + const getInputElement = customizeInput ? () => customizeInput : undefined; + // ============================ Options ============================ + let optionChildren; + // [Legacy] convert `children` or `dataSource` into option children + if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) { + optionChildren = children; + } else { + optionChildren = dataSource ? dataSource.map(item => { + if ((0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(item)) { + return item; + } + switch (typeof item) { + case 'string': + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { + key: item, + value: item + }, item); + case 'object': + { + const { + value: optionValue + } = item; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { + key: optionValue, + value: optionValue + }, item.text); + } + default: + false ? 0 : void 0; + return undefined; + } + }) : []; + } + if (false) {} + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('select', customizePrefixCls); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, Object.assign({ + ref: ref, + showArrow: false + }, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props, ['dataSource', 'dropdownClassName']), { + prefixCls: prefixCls, + popupClassName: popupClassName || dropdownClassName, + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(`${prefixCls}-auto-complete`, className), + mode: _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"].SECRET_COMBOBOX_MODE_DO_NOT_USE */ .Z.SECRET_COMBOBOX_MODE_DO_NOT_USE, + // Internal api + getInputElement + }), optionChildren); +}; +const RefAutoComplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(AutoComplete); +// We don't care debug panel +/* istanbul ignore next */ +const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(RefAutoComplete); +RefAutoComplete.Option = Option; +RefAutoComplete._InternalPanelDoNotUseOrYouWillBeFired = PurePanel; +if (false) {} +/* harmony default export */ __webpack_exports__["Z"] = (RefAutoComplete); + +/***/ }), + +/***/ 53575: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/badge/index.js + 4 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ badge; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-motion/es/index.js + 18 modules +var es = __webpack_require__(38379); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/colors.js +var colors = __webpack_require__(98787); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/cssinjs/es/index.js + 29 modules +var cssinjs_es = __webpack_require__(73559); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genPresetColor.js +var genPresetColor = __webpack_require__(98719); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/badge/style/index.js + + + +const antStatusProcessing = new cssinjs_es.Keyframes('antStatusProcessing', { + '0%': { + transform: 'scale(0.8)', + opacity: 0.5 + }, + '100%': { + transform: 'scale(2.4)', + opacity: 0 + } +}); +const antZoomBadgeIn = new cssinjs_es.Keyframes('antZoomBadgeIn', { + '0%': { + transform: 'scale(0) translate(50%, -50%)', + opacity: 0 + }, + '100%': { + transform: 'scale(1) translate(50%, -50%)' + } +}); +const antZoomBadgeOut = new cssinjs_es.Keyframes('antZoomBadgeOut', { + '0%': { + transform: 'scale(1) translate(50%, -50%)' + }, + '100%': { + transform: 'scale(0) translate(50%, -50%)', + opacity: 0 + } +}); +const antNoWrapperZoomBadgeIn = new cssinjs_es.Keyframes('antNoWrapperZoomBadgeIn', { + '0%': { + transform: 'scale(0)', + opacity: 0 + }, + '100%': { + transform: 'scale(1)' + } +}); +const antNoWrapperZoomBadgeOut = new cssinjs_es.Keyframes('antNoWrapperZoomBadgeOut', { + '0%': { + transform: 'scale(1)' + }, + '100%': { + transform: 'scale(0)', + opacity: 0 + } +}); +const antBadgeLoadingCircle = new cssinjs_es.Keyframes('antBadgeLoadingCircle', { + '0%': { + transformOrigin: '50%' + }, + '100%': { + transform: 'translate(50%, -50%) rotate(360deg)', + transformOrigin: '50%' + } +}); +const genSharedBadgeStyle = token => { + const { + componentCls, + iconCls, + antCls, + badgeFontHeight, + badgeShadowSize, + badgeHeightSm, + motionDurationSlow, + badgeStatusSize, + marginXS, + badgeRibbonOffset + } = token; + const numberPrefixCls = `${antCls}-scroll-number`; + const ribbonPrefixCls = `${antCls}-ribbon`; + const ribbonWrapperPrefixCls = `${antCls}-ribbon-wrapper`; + const colorPreset = (0,genPresetColor/* default */.Z)(token, (colorKey, _ref) => { + let { + darkColor + } = _ref; + return { + [`&${componentCls} ${componentCls}-color-${colorKey}`]: { + background: darkColor, + [`&:not(${componentCls}-count)`]: { + color: darkColor + } + } + }; + }); + const statusRibbonPreset = (0,genPresetColor/* default */.Z)(token, (colorKey, _ref2) => { + let { + darkColor + } = _ref2; + return { + [`&${ribbonPrefixCls}-color-${colorKey}`]: { + background: darkColor, + color: darkColor + } + }; + }); + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + position: 'relative', + display: 'inline-block', + width: 'fit-content', + lineHeight: 1, + [`${componentCls}-count`]: { + zIndex: token.badgeZIndex, + minWidth: token.badgeHeight, + height: token.badgeHeight, + color: token.badgeTextColor, + fontWeight: token.badgeFontWeight, + fontSize: token.badgeFontSize, + lineHeight: `${token.badgeHeight}px`, + whiteSpace: 'nowrap', + textAlign: 'center', + background: token.badgeColor, + borderRadius: token.badgeHeight / 2, + boxShadow: `0 0 0 ${badgeShadowSize}px ${token.badgeShadowColor}`, + transition: `background ${token.motionDurationMid}`, + a: { + color: token.badgeTextColor + }, + 'a:hover': { + color: token.badgeTextColor + }, + 'a:hover &': { + background: token.badgeColorHover + } + }, + [`${componentCls}-count-sm`]: { + minWidth: badgeHeightSm, + height: badgeHeightSm, + fontSize: token.badgeFontSizeSm, + lineHeight: `${badgeHeightSm}px`, + borderRadius: badgeHeightSm / 2 + }, + [`${componentCls}-multiple-words`]: { + padding: `0 ${token.paddingXS}px` + }, + [`${componentCls}-dot`]: { + zIndex: token.badgeZIndex, + width: token.badgeDotSize, + minWidth: token.badgeDotSize, + height: token.badgeDotSize, + background: token.badgeColor, + borderRadius: '100%', + boxShadow: `0 0 0 ${badgeShadowSize}px ${token.badgeShadowColor}` + }, + [`${componentCls}-dot${numberPrefixCls}`]: { + transition: `background ${motionDurationSlow}` + }, + [`${componentCls}-count, ${componentCls}-dot, ${numberPrefixCls}-custom-component`]: { + position: 'absolute', + top: 0, + insetInlineEnd: 0, + transform: 'translate(50%, -50%)', + transformOrigin: '100% 0%', + [`&${iconCls}-spin`]: { + animationName: antBadgeLoadingCircle, + animationDuration: '1s', + animationIterationCount: 'infinite', + animationTimingFunction: 'linear' + } + }, + [`&${componentCls}-status`]: { + lineHeight: 'inherit', + verticalAlign: 'baseline', + [`${componentCls}-status-dot`]: { + position: 'relative', + top: -1, + display: 'inline-block', + width: badgeStatusSize, + height: badgeStatusSize, + verticalAlign: 'middle', + borderRadius: '50%' + }, + [`${componentCls}-status-success`]: { + backgroundColor: token.colorSuccess + }, + [`${componentCls}-status-processing`]: { + position: 'relative', + color: token.colorPrimary, + backgroundColor: token.colorPrimary, + '&::after': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '100%', + height: '100%', + borderWidth: badgeShadowSize, + borderStyle: 'solid', + borderColor: 'inherit', + borderRadius: '50%', + animationName: antStatusProcessing, + animationDuration: token.badgeProcessingDuration, + animationIterationCount: 'infinite', + animationTimingFunction: 'ease-in-out', + content: '""' + } + }, + [`${componentCls}-status-default`]: { + backgroundColor: token.colorTextPlaceholder + }, + [`${componentCls}-status-error`]: { + backgroundColor: token.colorError + }, + [`${componentCls}-status-warning`]: { + backgroundColor: token.colorWarning + }, + [`${componentCls}-status-text`]: { + marginInlineStart: marginXS, + color: token.colorText, + fontSize: token.fontSize + } + } + }), colorPreset), { + [`${componentCls}-zoom-appear, ${componentCls}-zoom-enter`]: { + animationName: antZoomBadgeIn, + animationDuration: token.motionDurationSlow, + animationTimingFunction: token.motionEaseOutBack, + animationFillMode: 'both' + }, + [`${componentCls}-zoom-leave`]: { + animationName: antZoomBadgeOut, + animationDuration: token.motionDurationSlow, + animationTimingFunction: token.motionEaseOutBack, + animationFillMode: 'both' + }, + [`&${componentCls}-not-a-wrapper`]: { + [`${componentCls}-zoom-appear, ${componentCls}-zoom-enter`]: { + animationName: antNoWrapperZoomBadgeIn, + animationDuration: token.motionDurationSlow, + animationTimingFunction: token.motionEaseOutBack + }, + [`${componentCls}-zoom-leave`]: { + animationName: antNoWrapperZoomBadgeOut, + animationDuration: token.motionDurationSlow, + animationTimingFunction: token.motionEaseOutBack + }, + [`&:not(${componentCls}-status)`]: { + verticalAlign: 'middle' + }, + [`${numberPrefixCls}-custom-component, ${componentCls}-count`]: { + transform: 'none' + }, + [`${numberPrefixCls}-custom-component, ${numberPrefixCls}`]: { + position: 'relative', + top: 'auto', + display: 'block', + transformOrigin: '50% 50%' + } + }, + [`${numberPrefixCls}`]: { + overflow: 'hidden', + [`${numberPrefixCls}-only`]: { + position: 'relative', + display: 'inline-block', + height: token.badgeHeight, + transition: `all ${token.motionDurationSlow} ${token.motionEaseOutBack}`, + WebkitTransformStyle: 'preserve-3d', + WebkitBackfaceVisibility: 'hidden', + [`> p${numberPrefixCls}-only-unit`]: { + height: token.badgeHeight, + margin: 0, + WebkitTransformStyle: 'preserve-3d', + WebkitBackfaceVisibility: 'hidden' + } + }, + [`${numberPrefixCls}-symbol`]: { + verticalAlign: 'top' + } + }, + // ====================== RTL ======================= + '&-rtl': { + direction: 'rtl', + [`${componentCls}-count, ${componentCls}-dot, ${numberPrefixCls}-custom-component`]: { + transform: 'translate(-50%, -50%)' + } + } + }), + [`${ribbonWrapperPrefixCls}`]: { + position: 'relative' + }, + [`${ribbonPrefixCls}`]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + position: 'absolute', + top: marginXS, + padding: `0 ${token.paddingXS}px`, + color: token.colorPrimary, + lineHeight: `${badgeFontHeight}px`, + whiteSpace: 'nowrap', + backgroundColor: token.colorPrimary, + borderRadius: token.borderRadiusSM, + [`${ribbonPrefixCls}-text`]: { + color: token.colorTextLightSolid + }, + [`${ribbonPrefixCls}-corner`]: { + position: 'absolute', + top: '100%', + width: badgeRibbonOffset, + height: badgeRibbonOffset, + color: 'currentcolor', + border: `${badgeRibbonOffset / 2}px solid`, + transform: token.badgeRibbonCornerTransform, + transformOrigin: 'top', + filter: token.badgeRibbonCornerFilter + } + }), statusRibbonPreset), { + [`&${ribbonPrefixCls}-placement-end`]: { + insetInlineEnd: -badgeRibbonOffset, + borderEndEndRadius: 0, + [`${ribbonPrefixCls}-corner`]: { + insetInlineEnd: 0, + borderInlineEndColor: 'transparent', + borderBlockEndColor: 'transparent' + } + }, + [`&${ribbonPrefixCls}-placement-start`]: { + insetInlineStart: -badgeRibbonOffset, + borderEndStartRadius: 0, + [`${ribbonPrefixCls}-corner`]: { + insetInlineStart: 0, + borderBlockEndColor: 'transparent', + borderInlineStartColor: 'transparent' + } + }, + // ====================== RTL ======================= + '&-rtl': { + direction: 'rtl' + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var badge_style = ((0,genComponentStyleHook/* default */.Z)('Badge', token => { + const { + fontSize, + lineHeight, + fontSizeSM, + lineWidth, + marginXS, + colorBorderBg + } = token; + const badgeFontHeight = Math.round(fontSize * lineHeight); + const badgeShadowSize = lineWidth; + const badgeZIndex = 'auto'; + const badgeHeight = badgeFontHeight - 2 * badgeShadowSize; + const badgeTextColor = token.colorBgContainer; + const badgeFontWeight = 'normal'; + const badgeFontSize = fontSizeSM; + const badgeColor = token.colorError; + const badgeColorHover = token.colorErrorHover; + const badgeHeightSm = fontSize; + const badgeDotSize = fontSizeSM / 2; + const badgeFontSizeSm = fontSizeSM; + const badgeStatusSize = fontSizeSM / 2; + const badgeToken = (0,statistic/* merge */.TS)(token, { + badgeFontHeight, + badgeShadowSize, + badgeZIndex, + badgeHeight, + badgeTextColor, + badgeFontWeight, + badgeFontSize, + badgeColor, + badgeColorHover, + badgeShadowColor: colorBorderBg, + badgeHeightSm, + badgeDotSize, + badgeFontSizeSm, + badgeStatusSize, + badgeProcessingDuration: '1.2s', + badgeRibbonOffset: marginXS, + // Follow token just by Design. Not related with token + badgeRibbonCornerTransform: 'scaleY(0.75)', + badgeRibbonCornerFilter: `brightness(75%)` + }); + return [genSharedBadgeStyle(badgeToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/badge/Ribbon.js + + + + + +const Ribbon = props => { + const { + className, + prefixCls: customizePrefixCls, + style, + color, + children, + text, + placement = 'end' + } = props; + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('ribbon', customizePrefixCls); + const colorInPreset = (0,colors/* isPresetColor */.o2)(color, false); + const ribbonCls = classnames_default()(prefixCls, `${prefixCls}-placement-${placement}`, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-color-${color}`]: colorInPreset + }, className); + const [wrapSSR, hashId] = badge_style(prefixCls); + const colorStyle = {}; + const cornerColorStyle = {}; + if (color && !colorInPreset) { + colorStyle.background = color; + cornerColorStyle.color = color; + } + return wrapSSR( /*#__PURE__*/react.createElement("div", { + className: classnames_default()(`${prefixCls}-wrapper`, hashId) + }, children, /*#__PURE__*/react.createElement("div", { + className: classnames_default()(ribbonCls, hashId), + style: Object.assign(Object.assign({}, colorStyle), style) + }, /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-text` + }, text), /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-corner`, + style: cornerColorStyle + })))); +}; +if (false) {} +/* harmony default export */ var badge_Ribbon = (Ribbon); +;// CONCATENATED MODULE: ./node_modules/antd/es/badge/SingleNumber.js + + +function UnitNumber(_ref) { + let { + prefixCls, + value, + current, + offset = 0 + } = _ref; + let style; + if (offset) { + style = { + position: 'absolute', + top: `${offset}00%`, + left: 0 + }; + } + return /*#__PURE__*/react.createElement("span", { + style: style, + className: classnames_default()(`${prefixCls}-only-unit`, { + current + }) + }, value); +} +function getOffset(start, end, unit) { + let index = start; + let offset = 0; + while ((index + 10) % 10 !== end) { + index += unit; + offset += unit; + } + return offset; +} +function SingleNumber(props) { + const { + prefixCls, + count: originCount, + value: originValue + } = props; + const value = Number(originValue); + const count = Math.abs(originCount); + const [prevValue, setPrevValue] = react.useState(value); + const [prevCount, setPrevCount] = react.useState(count); + // ============================= Events ============================= + const onTransitionEnd = () => { + setPrevValue(value); + setPrevCount(count); + }; + // Fallback if transition event not support + react.useEffect(() => { + const timeout = setTimeout(() => { + onTransitionEnd(); + }, 1000); + return () => { + clearTimeout(timeout); + }; + }, [value]); + // ============================= Render ============================= + // Render unit list + let unitNodes; + let offsetStyle; + if (prevValue === value || Number.isNaN(value) || Number.isNaN(prevValue)) { + // Nothing to change + unitNodes = [/*#__PURE__*/react.createElement(UnitNumber, Object.assign({}, props, { + key: value, + current: true + }))]; + offsetStyle = { + transition: 'none' + }; + } else { + unitNodes = []; + // Fill basic number units + const end = value + 10; + const unitNumberList = []; + for (let index = value; index <= end; index += 1) { + unitNumberList.push(index); + } + // Fill with number unit nodes + const prevIndex = unitNumberList.findIndex(n => n % 10 === prevValue); + unitNodes = unitNumberList.map((n, index) => { + const singleUnit = n % 10; + return /*#__PURE__*/react.createElement(UnitNumber, Object.assign({}, props, { + key: n, + value: singleUnit, + offset: index - prevIndex, + current: index === prevIndex + })); + }); + // Calculate container offset value + const unit = prevCount < count ? 1 : -1; + offsetStyle = { + transform: `translateY(${-getOffset(prevValue, value, unit)}00%)` + }; + } + return /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-only`, + style: offsetStyle, + onTransitionEnd: onTransitionEnd + }, unitNodes); +} +;// CONCATENATED MODULE: ./node_modules/antd/es/badge/ScrollNumber.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +const ScrollNumber = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + count, + className, + motionClassName, + style, + title, + show, + component: Component = 'sup', + children + } = props, + restProps = __rest(props, ["prefixCls", "count", "className", "motionClassName", "style", "title", "show", "component", "children"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('scroll-number', customizePrefixCls); + // ============================ Render ============================ + const newProps = Object.assign(Object.assign({}, restProps), { + 'data-show': show, + style, + className: classnames_default()(prefixCls, className, motionClassName), + title: title + }); + // Only integer need motion + let numberNodes = count; + if (count && Number(count) % 1 === 0) { + const numberList = String(count).split(''); + numberNodes = numberList.map((num, i) => /*#__PURE__*/react.createElement(SingleNumber, { + prefixCls: prefixCls, + count: Number(count), + value: num, + // eslint-disable-next-line react/no-array-index-key + key: numberList.length - i + })); + } + // allow specify the border + // mock border-color by box-shadow for compatible with old usage: + // + if (style && style.borderColor) { + newProps.style = Object.assign(Object.assign({}, style), { + boxShadow: `0 0 0 1px ${style.borderColor} inset` + }); + } + if (children) { + return (0,reactNode/* cloneElement */.Tm)(children, oriProps => ({ + className: classnames_default()(`${prefixCls}-custom-component`, oriProps === null || oriProps === void 0 ? void 0 : oriProps.className, motionClassName) + })); + } + return /*#__PURE__*/react.createElement(Component, Object.assign({}, newProps, { + ref: ref + }), numberNodes); +}); +/* harmony default export */ var badge_ScrollNumber = (ScrollNumber); +;// CONCATENATED MODULE: ./node_modules/antd/es/badge/index.js +'use client'; + +var badge_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const InternalBadge = (props, ref) => { + var _a, _b, _c, _d, _e; + const { + prefixCls: customizePrefixCls, + scrollNumberPrefixCls: customizeScrollNumberPrefixCls, + children, + status, + text, + color, + count = null, + overflowCount = 99, + dot = false, + size = 'default', + title, + offset, + style, + className, + rootClassName, + classNames, + styles, + showZero = false + } = props, + restProps = badge_rest(props, ["prefixCls", "scrollNumberPrefixCls", "children", "status", "text", "color", "count", "overflowCount", "dot", "size", "title", "offset", "style", "className", "rootClassName", "classNames", "styles", "showZero"]); + const { + getPrefixCls, + direction, + badge + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('badge', customizePrefixCls); + // Style + const [wrapSSR, hashId] = badge_style(prefixCls); + // ================================ Misc ================================ + const numberedDisplayCount = count > overflowCount ? `${overflowCount}+` : count; + const isZero = numberedDisplayCount === '0' || numberedDisplayCount === 0; + const ignoreCount = count === null || isZero && !showZero; + const hasStatus = (status !== null && status !== undefined || color !== null && color !== undefined) && ignoreCount; + const showAsDot = dot && !isZero; + const mergedCount = showAsDot ? '' : numberedDisplayCount; + const isHidden = (0,react.useMemo)(() => { + const isEmpty = mergedCount === null || mergedCount === undefined || mergedCount === ''; + return (isEmpty || isZero && !showZero) && !showAsDot; + }, [mergedCount, isZero, showZero, showAsDot]); + // Count should be cache in case hidden change it + const countRef = (0,react.useRef)(count); + if (!isHidden) { + countRef.current = count; + } + const livingCount = countRef.current; + // We need cache count since remove motion should not change count display + const displayCountRef = (0,react.useRef)(mergedCount); + if (!isHidden) { + displayCountRef.current = mergedCount; + } + const displayCount = displayCountRef.current; + // We will cache the dot status to avoid shaking on leaved motion + const isDotRef = (0,react.useRef)(showAsDot); + if (!isHidden) { + isDotRef.current = showAsDot; + } + // =============================== Styles =============================== + const mergedStyle = (0,react.useMemo)(() => { + if (!offset) { + return Object.assign(Object.assign({}, badge === null || badge === void 0 ? void 0 : badge.style), style); + } + const offsetStyle = { + marginTop: offset[1] + }; + if (direction === 'rtl') { + offsetStyle.left = parseInt(offset[0], 10); + } else { + offsetStyle.right = -parseInt(offset[0], 10); + } + return Object.assign(Object.assign(Object.assign({}, offsetStyle), badge === null || badge === void 0 ? void 0 : badge.style), style); + }, [direction, offset, style, badge === null || badge === void 0 ? void 0 : badge.style]); + // =============================== Render =============================== + // >>> Title + const titleNode = title !== null && title !== void 0 ? title : typeof livingCount === 'string' || typeof livingCount === 'number' ? livingCount : undefined; + // >>> Status Text + const statusTextNode = isHidden || !text ? null : /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-status-text` + }, text); + // >>> Display Component + const displayNode = !livingCount || typeof livingCount !== 'object' ? undefined : (0,reactNode/* cloneElement */.Tm)(livingCount, oriProps => ({ + style: Object.assign(Object.assign({}, mergedStyle), oriProps.style) + })); + // InternalColor + const isInternalColor = (0,colors/* isPresetColor */.o2)(color, false); + // Shared styles + const statusCls = classnames_default()(classNames === null || classNames === void 0 ? void 0 : classNames.indicator, (_a = badge === null || badge === void 0 ? void 0 : badge.classNames) === null || _a === void 0 ? void 0 : _a.indicator, { + [`${prefixCls}-status-dot`]: hasStatus, + [`${prefixCls}-status-${status}`]: !!status, + [`${prefixCls}-color-${color}`]: isInternalColor + }); + const statusStyle = {}; + if (color && !isInternalColor) { + statusStyle.color = color; + statusStyle.background = color; + } + const badgeClassName = classnames_default()(prefixCls, { + [`${prefixCls}-status`]: hasStatus, + [`${prefixCls}-not-a-wrapper`]: !children, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, badge === null || badge === void 0 ? void 0 : badge.className, (_b = badge === null || badge === void 0 ? void 0 : badge.classNames) === null || _b === void 0 ? void 0 : _b.root, classNames === null || classNames === void 0 ? void 0 : classNames.root, hashId); + // + if (!children && hasStatus) { + const statusTextColor = mergedStyle.color; + return wrapSSR( /*#__PURE__*/react.createElement("span", Object.assign({}, restProps, { + className: badgeClassName, + style: Object.assign(Object.assign(Object.assign({}, styles === null || styles === void 0 ? void 0 : styles.root), (_c = badge === null || badge === void 0 ? void 0 : badge.styles) === null || _c === void 0 ? void 0 : _c.root), mergedStyle) + }), /*#__PURE__*/react.createElement("span", { + className: statusCls, + style: Object.assign(Object.assign(Object.assign({}, styles === null || styles === void 0 ? void 0 : styles.indicator), (_d = badge === null || badge === void 0 ? void 0 : badge.styles) === null || _d === void 0 ? void 0 : _d.indicator), statusStyle) + }), text && /*#__PURE__*/react.createElement("span", { + style: { + color: statusTextColor + }, + className: `${prefixCls}-status-text` + }, text))); + } + return wrapSSR( /*#__PURE__*/react.createElement("span", Object.assign({ + ref: ref + }, restProps, { + className: badgeClassName, + style: Object.assign(Object.assign({}, (_e = badge === null || badge === void 0 ? void 0 : badge.styles) === null || _e === void 0 ? void 0 : _e.root), styles === null || styles === void 0 ? void 0 : styles.root) + }), children, /*#__PURE__*/react.createElement(es["default"], { + visible: !isHidden, + motionName: `${prefixCls}-zoom`, + motionAppear: false, + motionDeadline: 1000 + }, _ref => { + let { + className: motionClassName, + ref: scrollNumberRef + } = _ref; + var _a, _b; + const scrollNumberPrefixCls = getPrefixCls('scroll-number', customizeScrollNumberPrefixCls); + const isDot = isDotRef.current; + const scrollNumberCls = classnames_default()(classNames === null || classNames === void 0 ? void 0 : classNames.indicator, (_a = badge === null || badge === void 0 ? void 0 : badge.classNames) === null || _a === void 0 ? void 0 : _a.indicator, { + [`${prefixCls}-dot`]: isDot, + [`${prefixCls}-count`]: !isDot, + [`${prefixCls}-count-sm`]: size === 'small', + [`${prefixCls}-multiple-words`]: !isDot && displayCount && displayCount.toString().length > 1, + [`${prefixCls}-status-${status}`]: !!status, + [`${prefixCls}-color-${color}`]: isInternalColor + }); + let scrollNumberStyle = Object.assign(Object.assign(Object.assign({}, styles === null || styles === void 0 ? void 0 : styles.indicator), (_b = badge === null || badge === void 0 ? void 0 : badge.styles) === null || _b === void 0 ? void 0 : _b.indicator), mergedStyle); + if (color && !isInternalColor) { + scrollNumberStyle = scrollNumberStyle || {}; + scrollNumberStyle.background = color; + } + return /*#__PURE__*/react.createElement(badge_ScrollNumber, { + prefixCls: scrollNumberPrefixCls, + show: !isHidden, + motionClassName: motionClassName, + className: scrollNumberCls, + count: displayCount, + title: titleNode, + style: scrollNumberStyle, + key: "scrollNumber", + ref: scrollNumberRef + }, displayNode); + }), statusTextNode)); +}; +const Badge = /*#__PURE__*/react.forwardRef(InternalBadge); +Badge.Ribbon = badge_Ribbon; +if (false) {} +/* harmony default export */ var badge = (Badge); + +/***/ }), + +/***/ 96074: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/divider/index.js + 1 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ divider; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/style/index.js + + +// ============================== Shared ============================== +const genSharedDividerStyle = token => { + const { + componentCls, + sizePaddingEdgeHorizontal, + colorSplit, + lineWidth + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + borderBlockStart: `${lineWidth}px solid ${colorSplit}`, + // vertical + '&-vertical': { + position: 'relative', + top: '-0.06em', + display: 'inline-block', + height: '0.9em', + margin: `0 ${token.dividerVerticalGutterMargin}px`, + verticalAlign: 'middle', + borderTop: 0, + borderInlineStart: `${lineWidth}px solid ${colorSplit}` + }, + '&-horizontal': { + display: 'flex', + clear: 'both', + width: '100%', + minWidth: '100%', + margin: `${token.dividerHorizontalGutterMargin}px 0` + }, + [`&-horizontal${componentCls}-with-text`]: { + display: 'flex', + alignItems: 'center', + margin: `${token.dividerHorizontalWithTextGutterMargin}px 0`, + color: token.colorTextHeading, + fontWeight: 500, + fontSize: token.fontSizeLG, + whiteSpace: 'nowrap', + textAlign: 'center', + borderBlockStart: `0 ${colorSplit}`, + '&::before, &::after': { + position: 'relative', + width: '50%', + borderBlockStart: `${lineWidth}px solid transparent`, + // Chrome not accept `inherit` in `border-top` + borderBlockStartColor: 'inherit', + borderBlockEnd: 0, + transform: 'translateY(50%)', + content: "''" + } + }, + [`&-horizontal${componentCls}-with-text-left`]: { + '&::before': { + width: '5%' + }, + '&::after': { + width: '95%' + } + }, + [`&-horizontal${componentCls}-with-text-right`]: { + '&::before': { + width: '95%' + }, + '&::after': { + width: '5%' + } + }, + [`${componentCls}-inner-text`]: { + display: 'inline-block', + padding: '0 1em' + }, + '&-dashed': { + background: 'none', + borderColor: colorSplit, + borderStyle: 'dashed', + borderWidth: `${lineWidth}px 0 0` + }, + [`&-horizontal${componentCls}-with-text${componentCls}-dashed`]: { + '&::before, &::after': { + borderStyle: 'dashed none none' + } + }, + [`&-vertical${componentCls}-dashed`]: { + borderInlineStartWidth: lineWidth, + borderInlineEnd: 0, + borderBlockStart: 0, + borderBlockEnd: 0 + }, + [`&-plain${componentCls}-with-text`]: { + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`&-horizontal${componentCls}-with-text-left${componentCls}-no-default-orientation-margin-left`]: { + '&::before': { + width: 0 + }, + '&::after': { + width: '100%' + }, + [`${componentCls}-inner-text`]: { + paddingInlineStart: sizePaddingEdgeHorizontal + } + }, + [`&-horizontal${componentCls}-with-text-right${componentCls}-no-default-orientation-margin-right`]: { + '&::before': { + width: '100%' + }, + '&::after': { + width: 0 + }, + [`${componentCls}-inner-text`]: { + paddingInlineEnd: sizePaddingEdgeHorizontal + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var divider_style = ((0,genComponentStyleHook/* default */.Z)('Divider', token => { + const dividerToken = (0,statistic/* merge */.TS)(token, { + dividerVerticalGutterMargin: token.marginXS, + dividerHorizontalWithTextGutterMargin: token.margin, + dividerHorizontalGutterMargin: token.marginLG + }); + return [genSharedDividerStyle(dividerToken)]; +}, { + sizePaddingEdgeHorizontal: 0 +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/divider/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + +const Divider = props => { + const { + getPrefixCls, + direction, + divider + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'horizontal', + orientation = 'center', + orientationMargin, + className, + rootClassName, + children, + dashed, + plain, + style + } = props, + restProps = __rest(props, ["prefixCls", "type", "orientation", "orientationMargin", "className", "rootClassName", "children", "dashed", "plain", "style"]); + const prefixCls = getPrefixCls('divider', customizePrefixCls); + const [wrapSSR, hashId] = divider_style(prefixCls); + const orientationPrefix = orientation.length > 0 ? `-${orientation}` : orientation; + const hasChildren = !!children; + const hasCustomMarginLeft = orientation === 'left' && orientationMargin != null; + const hasCustomMarginRight = orientation === 'right' && orientationMargin != null; + const classString = classnames_default()(prefixCls, divider === null || divider === void 0 ? void 0 : divider.className, hashId, `${prefixCls}-${type}`, { + [`${prefixCls}-with-text`]: hasChildren, + [`${prefixCls}-with-text${orientationPrefix}`]: hasChildren, + [`${prefixCls}-dashed`]: !!dashed, + [`${prefixCls}-plain`]: !!plain, + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-no-default-orientation-margin-left`]: hasCustomMarginLeft, + [`${prefixCls}-no-default-orientation-margin-right`]: hasCustomMarginRight + }, className, rootClassName); + const memoizedOrientationMargin = react.useMemo(() => { + if (typeof orientationMargin === 'number') { + return orientationMargin; + } + if (/^\d+$/.test(orientationMargin)) { + return Number(orientationMargin); + } + return orientationMargin; + }, [orientationMargin]); + const innerStyle = Object.assign(Object.assign({}, hasCustomMarginLeft && { + marginLeft: memoizedOrientationMargin + }), hasCustomMarginRight && { + marginRight: memoizedOrientationMargin + }); + // Warning children not work in vertical mode + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: Object.assign(Object.assign({}, divider === null || divider === void 0 ? void 0 : divider.style), style) + }, restProps, { + role: "separator" + }), children && type !== 'vertical' && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-inner-text`, + style: innerStyle + }, children))); +}; +if (false) {} +/* harmony default export */ var divider = (Divider); + +/***/ }), + +/***/ 35479: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/drawer/index.js + 16 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ drawer; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/react-dom/index.js +var react_dom = __webpack_require__(73935); +// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/canUseDom.js +var Dom_canUseDom = __webpack_require__(98924); +// EXTERNAL MODULE: ./node_modules/rc-util/es/warning.js +var es_warning = __webpack_require__(80334); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(42550); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/Context.js + +var OrderContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var Context = (OrderContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useLayoutEffect.js +var useLayoutEffect = __webpack_require__(8410); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/useDom.js + + + + + + +var EMPTY_LIST = []; + +/** + * Will add `div` to document. Nest call will keep order + * @param render Render DOM in document + */ +function useDom(render, debug) { + var _React$useState = react.useState(function () { + if (!(0,Dom_canUseDom/* default */.Z)()) { + return null; + } + var defaultEle = document.createElement('div'); + if (false) {} + return defaultEle; + }), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 1), + ele = _React$useState2[0]; + + // ========================== Order ========================== + var appendedRef = react.useRef(false); + var queueCreate = react.useContext(Context); + var _React$useState3 = react.useState(EMPTY_LIST), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + queue = _React$useState4[0], + setQueue = _React$useState4[1]; + var mergedQueueCreate = queueCreate || (appendedRef.current ? undefined : function (appendFn) { + setQueue(function (origin) { + var newQueue = [appendFn].concat((0,toConsumableArray/* default */.Z)(origin)); + return newQueue; + }); + }); + + // =========================== DOM =========================== + function append() { + if (!ele.parentElement) { + document.body.appendChild(ele); + } + appendedRef.current = true; + } + function cleanup() { + var _ele$parentElement; + (_ele$parentElement = ele.parentElement) === null || _ele$parentElement === void 0 ? void 0 : _ele$parentElement.removeChild(ele); + appendedRef.current = false; + } + (0,useLayoutEffect/* default */.Z)(function () { + if (render) { + if (queueCreate) { + queueCreate(append); + } else { + append(); + } + } else { + cleanup(); + } + return cleanup; + }, [render]); + (0,useLayoutEffect/* default */.Z)(function () { + if (queue.length) { + queue.forEach(function (appendFn) { + return appendFn(); + }); + setQueue(EMPTY_LIST); + } + }, [queue]); + return [ele, mergedQueueCreate]; +} +// EXTERNAL MODULE: ./node_modules/rc-util/es/Dom/dynamicCSS.js + 1 modules +var dynamicCSS = __webpack_require__(48981); +// EXTERNAL MODULE: ./node_modules/rc-util/es/getScrollBarSize.js +var getScrollBarSize = __webpack_require__(74204); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/util.js +/** + * Test usage export. Do not use in your production + */ +function isBodyOverflowing() { + return document.body.scrollHeight > (window.innerHeight || document.documentElement.clientHeight) && window.innerWidth > document.body.offsetWidth; +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/useScrollLocker.js + + + + + + +var UNIQUE_ID = "rc-util-locker-".concat(Date.now()); +var uuid = 0; +function useScrollLocker(lock) { + var mergedLock = !!lock; + var _React$useState = react.useState(function () { + uuid += 1; + return "".concat(UNIQUE_ID, "_").concat(uuid); + }), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 1), + id = _React$useState2[0]; + (0,useLayoutEffect/* default */.Z)(function () { + if (mergedLock) { + var scrollbarSize = (0,getScrollBarSize/* getTargetScrollBarSize */.o)(document.body).width; + var isOverflow = isBodyOverflowing(); + (0,dynamicCSS/* updateCSS */.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(isOverflow ? "width: calc(100% - ".concat(scrollbarSize, "px);") : '', "\n}"), id); + } else { + (0,dynamicCSS/* removeCSS */.jL)(id); + } + return function () { + (0,dynamicCSS/* removeCSS */.jL)(id); + }; + }, [mergedLock, id]); +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/mock.js +var inline = false; +function inlineMock(nextInline) { + if (typeof nextInline === 'boolean') { + inline = nextInline; + } + return inline; +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/Portal.js + + + + + + + + + + +var getPortalContainer = function getPortalContainer(getContainer) { + if (getContainer === false) { + return false; + } + if (!(0,Dom_canUseDom/* default */.Z)() || !getContainer) { + return null; + } + if (typeof getContainer === 'string') { + return document.querySelector(getContainer); + } + if (typeof getContainer === 'function') { + return getContainer(); + } + return getContainer; +}; +var Portal = /*#__PURE__*/react.forwardRef(function (props, ref) { + var open = props.open, + autoLock = props.autoLock, + getContainer = props.getContainer, + debug = props.debug, + _props$autoDestroy = props.autoDestroy, + autoDestroy = _props$autoDestroy === void 0 ? true : _props$autoDestroy, + children = props.children; + var _React$useState = react.useState(open), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + shouldRender = _React$useState2[0], + setShouldRender = _React$useState2[1]; + var mergedRender = shouldRender || open; + + // ========================= Warning ========================= + if (false) {} + + // ====================== Should Render ====================== + react.useEffect(function () { + if (autoDestroy || open) { + setShouldRender(open); + } + }, [open, autoDestroy]); + + // ======================== Container ======================== + var _React$useState3 = react.useState(function () { + return getPortalContainer(getContainer); + }), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + innerContainer = _React$useState4[0], + setInnerContainer = _React$useState4[1]; + react.useEffect(function () { + var customizeContainer = getPortalContainer(getContainer); + + // Tell component that we check this in effect which is safe to be `null` + setInnerContainer(customizeContainer !== null && customizeContainer !== void 0 ? customizeContainer : null); + }); + var _useDom = useDom(mergedRender && !innerContainer, debug), + _useDom2 = (0,slicedToArray/* default */.Z)(_useDom, 2), + defaultContainer = _useDom2[0], + queueCreate = _useDom2[1]; + var mergedContainer = innerContainer !== null && innerContainer !== void 0 ? innerContainer : defaultContainer; + + // ========================= Locker ========================== + useScrollLocker(autoLock && open && (0,Dom_canUseDom/* default */.Z)() && (mergedContainer === defaultContainer || mergedContainer === document.body)); + + // =========================== Ref =========================== + var childRef = null; + if (children && (0,es_ref/* supportRef */.Yr)(children) && ref) { + var _ref = children; + childRef = _ref.ref; + } + var mergedRef = (0,es_ref/* useComposeRef */.x1)(childRef, ref); + + // ========================= Render ========================== + // Do not render when nothing need render + // When innerContainer is `undefined`, it may not ready since user use ref in the same render + if (!mergedRender || !(0,Dom_canUseDom/* default */.Z)() || innerContainer === undefined) { + return null; + } + + // Render inline + var renderInline = mergedContainer === false || inlineMock(); + var reffedChildren = children; + if (ref) { + reffedChildren = /*#__PURE__*/react.cloneElement(children, { + ref: mergedRef + }); + } + return /*#__PURE__*/react.createElement(Context.Provider, { + value: queueCreate + }, renderInline ? reffedChildren : /*#__PURE__*/(0,react_dom.createPortal)(reffedChildren, mergedContainer)); +}); +if (false) {} +/* harmony default export */ var es_Portal = (Portal); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/node_modules/@rc-component/portal/es/index.js + + + +/* harmony default export */ var es = (es_Portal); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/rc-motion/es/index.js + 11 modules +var rc_motion_es = __webpack_require__(62874); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/context.js + +var DrawerContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var context = (DrawerContext); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/DrawerPanel.js + + + + +var DrawerPanel = function DrawerPanel(props) { + var prefixCls = props.prefixCls, + className = props.className, + style = props.style, + children = props.children, + containerRef = props.containerRef, + onMouseEnter = props.onMouseEnter, + onMouseOver = props.onMouseOver, + onMouseLeave = props.onMouseLeave, + onClick = props.onClick, + onKeyDown = props.onKeyDown, + onKeyUp = props.onKeyUp; + var eventHandlers = { + onMouseEnter: onMouseEnter, + onMouseOver: onMouseOver, + onMouseLeave: onMouseLeave, + onClick: onClick, + onKeyDown: onKeyDown, + onKeyUp: onKeyUp + }; + // =============================== Render =============================== + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classnames_default()("".concat(prefixCls, "-content"), className), + style: (0,objectSpread2/* default */.Z)({}, style), + "aria-modal": "true", + role: "dialog", + ref: containerRef + }, eventHandlers), children)); +}; +if (false) {} +/* harmony default export */ var es_DrawerPanel = (DrawerPanel); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/util.js + + +function parseWidthHeight(value) { + if (typeof value === 'string' && String(Number(value)) === value) { + (0,es_warning/* default */.ZP)(false, 'Invalid value type of `width` or `height` which should be number type instead.'); + return Number(value); + } + return value; +} +function warnCheck(props) { + warning(!('wrapperClassName' in props), "'wrapperClassName' is removed. Please use 'rootClassName' instead."); + warning(canUseDom() || !props.open, "Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead."); +} +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/DrawerPopup.js + + + + + + + + + + + + +var sentinelStyle = { + width: 0, + height: 0, + overflow: 'hidden', + outline: 'none', + position: 'absolute' +}; +function DrawerPopup(props, ref) { + var _ref, _pushConfig$distance, _pushConfig, _classNames; + var prefixCls = props.prefixCls, + open = props.open, + placement = props.placement, + inline = props.inline, + push = props.push, + forceRender = props.forceRender, + autoFocus = props.autoFocus, + keyboard = props.keyboard, + rootClassName = props.rootClassName, + rootStyle = props.rootStyle, + zIndex = props.zIndex, + className = props.className, + style = props.style, + motion = props.motion, + width = props.width, + height = props.height, + children = props.children, + contentWrapperStyle = props.contentWrapperStyle, + mask = props.mask, + maskClosable = props.maskClosable, + maskMotion = props.maskMotion, + maskClassName = props.maskClassName, + maskStyle = props.maskStyle, + afterOpenChange = props.afterOpenChange, + onClose = props.onClose, + onMouseEnter = props.onMouseEnter, + onMouseOver = props.onMouseOver, + onMouseLeave = props.onMouseLeave, + onClick = props.onClick, + onKeyDown = props.onKeyDown, + onKeyUp = props.onKeyUp; + // ================================ Refs ================================ + var panelRef = react.useRef(); + var sentinelStartRef = react.useRef(); + var sentinelEndRef = react.useRef(); + react.useImperativeHandle(ref, function () { + return panelRef.current; + }); + var onPanelKeyDown = function onPanelKeyDown(event) { + var keyCode = event.keyCode, + shiftKey = event.shiftKey; + switch (keyCode) { + // Tab active + case KeyCode/* default.TAB */.Z.TAB: + { + if (keyCode === KeyCode/* default.TAB */.Z.TAB) { + if (!shiftKey && document.activeElement === sentinelEndRef.current) { + var _sentinelStartRef$cur; + (_sentinelStartRef$cur = sentinelStartRef.current) === null || _sentinelStartRef$cur === void 0 ? void 0 : _sentinelStartRef$cur.focus({ + preventScroll: true + }); + } else if (shiftKey && document.activeElement === sentinelStartRef.current) { + var _sentinelEndRef$curre; + (_sentinelEndRef$curre = sentinelEndRef.current) === null || _sentinelEndRef$curre === void 0 ? void 0 : _sentinelEndRef$curre.focus({ + preventScroll: true + }); + } + } + break; + } + // Close + case KeyCode/* default.ESC */.Z.ESC: + { + if (onClose && keyboard) { + event.stopPropagation(); + onClose(event); + } + break; + } + } + }; + // ========================== Control =========================== + // Auto Focus + react.useEffect(function () { + if (open && autoFocus) { + var _panelRef$current; + (_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 ? void 0 : _panelRef$current.focus({ + preventScroll: true + }); + } + }, [open]); + // ============================ Push ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + pushed = _React$useState2[0], + setPushed = _React$useState2[1]; + var parentContext = react.useContext(context); + // Merge push distance + var pushConfig; + if (push === false) { + pushConfig = { + distance: 0 + }; + } else if (push === true) { + pushConfig = {}; + } else { + pushConfig = push || {}; + } + var pushDistance = (_ref = (_pushConfig$distance = (_pushConfig = pushConfig) === null || _pushConfig === void 0 ? void 0 : _pushConfig.distance) !== null && _pushConfig$distance !== void 0 ? _pushConfig$distance : parentContext === null || parentContext === void 0 ? void 0 : parentContext.pushDistance) !== null && _ref !== void 0 ? _ref : 180; + var mergedContext = react.useMemo(function () { + return { + pushDistance: pushDistance, + push: function push() { + setPushed(true); + }, + pull: function pull() { + setPushed(false); + } + }; + }, [pushDistance]); + // ========================= ScrollLock ========================= + // Tell parent to push + react.useEffect(function () { + if (open) { + var _parentContext$push; + parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$push = parentContext.push) === null || _parentContext$push === void 0 ? void 0 : _parentContext$push.call(parentContext); + } else { + var _parentContext$pull; + parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull = parentContext.pull) === null || _parentContext$pull === void 0 ? void 0 : _parentContext$pull.call(parentContext); + } + }, [open]); + // Clean up + react.useEffect(function () { + return function () { + var _parentContext$pull2; + parentContext === null || parentContext === void 0 ? void 0 : (_parentContext$pull2 = parentContext.pull) === null || _parentContext$pull2 === void 0 ? void 0 : _parentContext$pull2.call(parentContext); + }; + }, []); + // ============================ Mask ============================ + var maskNode = mask && /*#__PURE__*/react.createElement(rc_motion_es/* default */.Z, (0,esm_extends/* default */.Z)({ + key: "mask" + }, maskMotion, { + visible: open + }), function (_ref2, maskRef) { + var motionMaskClassName = _ref2.className, + motionMaskStyle = _ref2.style; + return /*#__PURE__*/react.createElement("div", { + className: classnames_default()("".concat(prefixCls, "-mask"), motionMaskClassName, maskClassName), + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, motionMaskStyle), maskStyle), + onClick: maskClosable && open ? onClose : undefined, + ref: maskRef + }); + }); + // =========================== Panel ============================ + var motionProps = typeof motion === 'function' ? motion(placement) : motion; + var wrapperStyle = {}; + if (pushed && pushDistance) { + switch (placement) { + case 'top': + wrapperStyle.transform = "translateY(".concat(pushDistance, "px)"); + break; + case 'bottom': + wrapperStyle.transform = "translateY(".concat(-pushDistance, "px)"); + break; + case 'left': + wrapperStyle.transform = "translateX(".concat(pushDistance, "px)"); + break; + default: + wrapperStyle.transform = "translateX(".concat(-pushDistance, "px)"); + break; + } + } + if (placement === 'left' || placement === 'right') { + wrapperStyle.width = parseWidthHeight(width); + } else { + wrapperStyle.height = parseWidthHeight(height); + } + var eventHandlers = { + onMouseEnter: onMouseEnter, + onMouseOver: onMouseOver, + onMouseLeave: onMouseLeave, + onClick: onClick, + onKeyDown: onKeyDown, + onKeyUp: onKeyUp + }; + var panelNode = /*#__PURE__*/react.createElement(rc_motion_es/* default */.Z, (0,esm_extends/* default */.Z)({ + key: "panel" + }, motionProps, { + visible: open, + forceRender: forceRender, + onVisibleChanged: function onVisibleChanged(nextVisible) { + afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible); + }, + removeOnLeave: false, + leavedClassName: "".concat(prefixCls, "-content-wrapper-hidden") + }), function (_ref3, motionRef) { + var motionClassName = _ref3.className, + motionStyle = _ref3.style; + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classnames_default()("".concat(prefixCls, "-content-wrapper"), motionClassName), + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, wrapperStyle), motionStyle), contentWrapperStyle) + }, (0,pickAttrs/* default */.Z)(props, { + data: true + })), /*#__PURE__*/react.createElement(es_DrawerPanel, (0,esm_extends/* default */.Z)({ + containerRef: motionRef, + prefixCls: prefixCls, + className: className, + style: style + }, eventHandlers), children)); + }); + // =========================== Render =========================== + var containerStyle = (0,objectSpread2/* default */.Z)({}, rootStyle); + if (zIndex) { + containerStyle.zIndex = zIndex; + } + return /*#__PURE__*/react.createElement(context.Provider, { + value: mergedContext + }, /*#__PURE__*/react.createElement("div", { + className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(placement), rootClassName, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-open"), open), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-inline"), inline), _classNames)), + style: containerStyle, + tabIndex: -1, + ref: panelRef, + onKeyDown: onPanelKeyDown + }, maskNode, /*#__PURE__*/react.createElement("div", { + tabIndex: 0, + ref: sentinelStartRef, + style: sentinelStyle, + "aria-hidden": "true", + "data-sentinel": "start" + }), panelNode, /*#__PURE__*/react.createElement("div", { + tabIndex: 0, + ref: sentinelEndRef, + style: sentinelStyle, + "aria-hidden": "true", + "data-sentinel": "end" + }))); +} +var RefDrawerPopup = /*#__PURE__*/react.forwardRef(DrawerPopup); +if (false) {} +/* harmony default export */ var es_DrawerPopup = (RefDrawerPopup); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/Drawer.js + + + + + + + +var Drawer = function Drawer(props) { + var _props$open = props.open, + open = _props$open === void 0 ? false : _props$open, + _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-drawer' : _props$prefixCls, + _props$placement = props.placement, + placement = _props$placement === void 0 ? 'right' : _props$placement, + _props$autoFocus = props.autoFocus, + autoFocus = _props$autoFocus === void 0 ? true : _props$autoFocus, + _props$keyboard = props.keyboard, + keyboard = _props$keyboard === void 0 ? true : _props$keyboard, + _props$width = props.width, + width = _props$width === void 0 ? 378 : _props$width, + _props$mask = props.mask, + mask = _props$mask === void 0 ? true : _props$mask, + _props$maskClosable = props.maskClosable, + maskClosable = _props$maskClosable === void 0 ? true : _props$maskClosable, + getContainer = props.getContainer, + forceRender = props.forceRender, + afterOpenChange = props.afterOpenChange, + destroyOnClose = props.destroyOnClose, + onMouseEnter = props.onMouseEnter, + onMouseOver = props.onMouseOver, + onMouseLeave = props.onMouseLeave, + onClick = props.onClick, + onKeyDown = props.onKeyDown, + onKeyUp = props.onKeyUp; + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + animatedVisible = _React$useState2[0], + setAnimatedVisible = _React$useState2[1]; + // ============================= Warn ============================= + if (false) {} + // ============================= Open ============================= + var _React$useState3 = react.useState(false), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + mounted = _React$useState4[0], + setMounted = _React$useState4[1]; + (0,useLayoutEffect/* default */.Z)(function () { + setMounted(true); + }, []); + var mergedOpen = mounted ? open : false; + // ============================ Focus ============================= + var panelRef = react.useRef(); + var lastActiveRef = react.useRef(); + (0,useLayoutEffect/* default */.Z)(function () { + if (mergedOpen) { + lastActiveRef.current = document.activeElement; + } + }, [mergedOpen]); + // ============================= Open ============================= + var internalAfterOpenChange = function internalAfterOpenChange(nextVisible) { + var _panelRef$current; + setAnimatedVisible(nextVisible); + afterOpenChange === null || afterOpenChange === void 0 ? void 0 : afterOpenChange(nextVisible); + if (!nextVisible && lastActiveRef.current && !((_panelRef$current = panelRef.current) === null || _panelRef$current === void 0 ? void 0 : _panelRef$current.contains(lastActiveRef.current))) { + var _lastActiveRef$curren; + (_lastActiveRef$curren = lastActiveRef.current) === null || _lastActiveRef$curren === void 0 ? void 0 : _lastActiveRef$curren.focus({ + preventScroll: true + }); + } + }; + // ============================ Render ============================ + if (!forceRender && !animatedVisible && !mergedOpen && destroyOnClose) { + return null; + } + var eventHandlers = { + onMouseEnter: onMouseEnter, + onMouseOver: onMouseOver, + onMouseLeave: onMouseLeave, + onClick: onClick, + onKeyDown: onKeyDown, + onKeyUp: onKeyUp + }; + var drawerPopupProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), {}, { + open: mergedOpen, + prefixCls: prefixCls, + placement: placement, + autoFocus: autoFocus, + keyboard: keyboard, + width: width, + mask: mask, + maskClosable: maskClosable, + inline: getContainer === false, + afterOpenChange: internalAfterOpenChange, + ref: panelRef + }, eventHandlers); + return /*#__PURE__*/react.createElement(es, { + open: mergedOpen || forceRender || animatedVisible, + autoDestroy: false, + getContainer: getContainer, + autoLock: mask && (mergedOpen || animatedVisible) + }, /*#__PURE__*/react.createElement(es_DrawerPopup, drawerPopupProps)); +}; +if (false) {} +/* harmony default export */ var es_Drawer = (Drawer); +;// CONCATENATED MODULE: ./node_modules/rc-drawer/es/index.js +// export this package's api + +/* harmony default export */ var rc_drawer_es = (es_Drawer); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/motion.js +var motion = __webpack_require__(33603); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useClosable.js +var useClosable = __webpack_require__(69760); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/DrawerPanel.js + + + +const DrawerPanel_DrawerPanel = props => { + const { + prefixCls, + title, + footer, + extra, + closeIcon, + closable, + onClose, + headerStyle, + drawerStyle, + bodyStyle, + footerStyle, + children + } = props; + const customCloseIconRender = react.useCallback(icon => /*#__PURE__*/react.createElement("button", { + type: "button", + onClick: onClose, + "aria-label": "Close", + className: `${prefixCls}-close` + }, icon), [onClose]); + const [mergedClosable, mergedCloseIcon] = (0,useClosable/* default */.Z)(closable, closeIcon, customCloseIconRender, undefined, true); + const headerNode = react.useMemo(() => { + if (!title && !mergedClosable) { + return null; + } + return /*#__PURE__*/react.createElement("div", { + style: headerStyle, + className: classnames_default()(`${prefixCls}-header`, { + [`${prefixCls}-header-close-only`]: mergedClosable && !title && !extra + }) + }, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-header-title` + }, mergedCloseIcon, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-title` + }, title)), extra && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-extra` + }, extra)); + }, [mergedClosable, mergedCloseIcon, extra, headerStyle, prefixCls, title]); + const footerNode = react.useMemo(() => { + if (!footer) { + return null; + } + const footerClassName = `${prefixCls}-footer`; + return /*#__PURE__*/react.createElement("div", { + className: footerClassName, + style: footerStyle + }, footer); + }, [footer, footerStyle, prefixCls]); + return /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-wrapper-body`, + style: drawerStyle + }, headerNode, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-body`, + style: bodyStyle + }, children), footerNode); +}; +/* harmony default export */ var drawer_DrawerPanel = (DrawerPanel_DrawerPanel); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/style/motion.js +const genMotionStyle = token => { + const { + componentCls, + motionDurationSlow + } = token; + const sharedPanelMotion = { + '&-enter, &-appear, &-leave': { + '&-start': { + transition: 'none' + }, + '&-active': { + transition: `all ${motionDurationSlow}` + } + } + }; + return { + [componentCls]: { + // ======================== Mask ======================== + [`${componentCls}-mask-motion`]: { + '&-enter, &-appear, &-leave': { + '&-active': { + transition: `all ${motionDurationSlow}` + } + }, + '&-enter, &-appear': { + opacity: 0, + '&-active': { + opacity: 1 + } + }, + '&-leave': { + opacity: 1, + '&-active': { + opacity: 0 + } + } + }, + // ======================= Panel ======================== + [`${componentCls}-panel-motion`]: { + // Left + '&-left': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateX(-100%) !important' + }, + '&-active': { + transform: 'translateX(0)' + } + }, + '&-leave': { + transform: 'translateX(0)', + '&-active': { + transform: 'translateX(-100%)' + } + } + }], + // Right + '&-right': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateX(100%) !important' + }, + '&-active': { + transform: 'translateX(0)' + } + }, + '&-leave': { + transform: 'translateX(0)', + '&-active': { + transform: 'translateX(100%)' + } + } + }], + // Top + '&-top': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateY(-100%) !important' + }, + '&-active': { + transform: 'translateY(0)' + } + }, + '&-leave': { + transform: 'translateY(0)', + '&-active': { + transform: 'translateY(-100%)' + } + } + }], + // Bottom + '&-bottom': [sharedPanelMotion, { + '&-enter, &-appear': { + '&-start': { + transform: 'translateY(100%) !important' + }, + '&-active': { + transform: 'translateY(0)' + } + }, + '&-leave': { + transform: 'translateY(0)', + '&-active': { + transform: 'translateY(100%)' + } + } + }] + } + } + }; +}; +/* harmony default export */ var style_motion = (genMotionStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/style/index.js + + +// =============================== Base =============================== +const genDrawerStyle = token => { + const { + componentCls, + zIndexPopup, + colorBgMask, + colorBgElevated, + motionDurationSlow, + motionDurationMid, + padding, + paddingLG, + fontSizeLG, + lineHeightLG, + lineWidth, + lineType, + colorSplit, + marginSM, + colorIcon, + colorIconHover, + colorText, + fontWeightStrong, + footerPaddingBlock, + footerPaddingInline + } = token; + const wrapperCls = `${componentCls}-content-wrapper`; + return { + [componentCls]: { + position: 'fixed', + inset: 0, + zIndex: zIndexPopup, + pointerEvents: 'none', + '&-pure': { + position: 'relative', + background: colorBgElevated, + [`&${componentCls}-left`]: { + boxShadow: token.boxShadowDrawerLeft + }, + [`&${componentCls}-right`]: { + boxShadow: token.boxShadowDrawerRight + }, + [`&${componentCls}-top`]: { + boxShadow: token.boxShadowDrawerUp + }, + [`&${componentCls}-bottom`]: { + boxShadow: token.boxShadowDrawerDown + } + }, + '&-inline': { + position: 'absolute' + }, + // ====================== Mask ====================== + [`${componentCls}-mask`]: { + position: 'absolute', + inset: 0, + zIndex: zIndexPopup, + background: colorBgMask, + pointerEvents: 'auto' + }, + // ==================== Content ===================== + [wrapperCls]: { + position: 'absolute', + zIndex: zIndexPopup, + maxWidth: '100vw', + transition: `all ${motionDurationSlow}`, + '&-hidden': { + display: 'none' + } + }, + // Placement + [`&-left > ${wrapperCls}`]: { + top: 0, + bottom: 0, + left: { + _skip_check_: true, + value: 0 + }, + boxShadow: token.boxShadowDrawerLeft + }, + [`&-right > ${wrapperCls}`]: { + top: 0, + right: { + _skip_check_: true, + value: 0 + }, + bottom: 0, + boxShadow: token.boxShadowDrawerRight + }, + [`&-top > ${wrapperCls}`]: { + top: 0, + insetInline: 0, + boxShadow: token.boxShadowDrawerUp + }, + [`&-bottom > ${wrapperCls}`]: { + bottom: 0, + insetInline: 0, + boxShadow: token.boxShadowDrawerDown + }, + [`${componentCls}-content`]: { + width: '100%', + height: '100%', + overflow: 'auto', + background: colorBgElevated, + pointerEvents: 'auto' + }, + // ===================== Panel ====================== + [`${componentCls}-wrapper-body`]: { + display: 'flex', + flexDirection: 'column', + width: '100%', + height: '100%' + }, + // Header + [`${componentCls}-header`]: { + display: 'flex', + flex: 0, + alignItems: 'center', + padding: `${padding}px ${paddingLG}px`, + fontSize: fontSizeLG, + lineHeight: lineHeightLG, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}`, + '&-title': { + display: 'flex', + flex: 1, + alignItems: 'center', + minWidth: 0, + minHeight: 0 + } + }, + [`${componentCls}-extra`]: { + flex: 'none' + }, + [`${componentCls}-close`]: { + display: 'inline-block', + marginInlineEnd: marginSM, + color: colorIcon, + fontWeight: fontWeightStrong, + fontSize: fontSizeLG, + fontStyle: 'normal', + lineHeight: 1, + textAlign: 'center', + textTransform: 'none', + textDecoration: 'none', + background: 'transparent', + border: 0, + outline: 0, + cursor: 'pointer', + transition: `color ${motionDurationMid}`, + textRendering: 'auto', + '&:focus, &:hover': { + color: colorIconHover, + textDecoration: 'none' + } + }, + [`${componentCls}-title`]: { + flex: 1, + margin: 0, + color: colorText, + fontWeight: token.fontWeightStrong, + fontSize: fontSizeLG, + lineHeight: lineHeightLG + }, + // Body + [`${componentCls}-body`]: { + flex: 1, + minWidth: 0, + minHeight: 0, + padding: paddingLG, + overflow: 'auto' + }, + // Footer + [`${componentCls}-footer`]: { + flexShrink: 0, + padding: `${footerPaddingBlock}px ${footerPaddingInline}px`, + borderTop: `${lineWidth}px ${lineType} ${colorSplit}` + }, + // ====================== RTL ======================= + '&-rtl': { + direction: 'rtl' + } + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var drawer_style = ((0,genComponentStyleHook/* default */.Z)('Drawer', token => { + const drawerToken = (0,statistic/* merge */.TS)(token, {}); + return [genDrawerStyle(drawerToken), style_motion(drawerToken)]; +}, token => ({ + zIndexPopup: token.zIndexPopupBase, + footerPaddingBlock: token.paddingXS, + footerPaddingInline: token.padding +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/drawer/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + +// CSSINJS + + +const SizeTypes = (/* unused pure expression or super */ null && (['default', 'large'])); +const defaultPushState = { + distance: 180 +}; +function drawer_Drawer(props) { + var _a; + const { + rootClassName, + width, + height, + size = 'default', + mask = true, + push = defaultPushState, + open, + afterOpenChange, + onClose, + prefixCls: customizePrefixCls, + getContainer: customizeGetContainer, + style, + className, + // Deprecated + visible, + afterVisibleChange + } = props, + rest = __rest(props, ["rootClassName", "width", "height", "size", "mask", "push", "open", "afterOpenChange", "onClose", "prefixCls", "getContainer", "style", "className", "visible", "afterVisibleChange"]); + const { + getPopupContainer, + getPrefixCls, + direction, + drawer + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('drawer', customizePrefixCls); + // Style + const [wrapSSR, hashId] = drawer_style(prefixCls); + const getContainer = + // 有可能为 false,所以不能直接判断 + customizeGetContainer === undefined && getPopupContainer ? () => getPopupContainer(document.body) : customizeGetContainer; + const drawerClassName = classnames_default()({ + 'no-mask': !mask, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, rootClassName, hashId); + // ========================== Warning =========================== + if (false) {} + // ============================ Size ============================ + const mergedWidth = react.useMemo(() => width !== null && width !== void 0 ? width : size === 'large' ? 736 : 378, [width, size]); + const mergedHeight = react.useMemo(() => height !== null && height !== void 0 ? height : size === 'large' ? 736 : 378, [height, size]); + // =========================== Motion =========================== + const maskMotion = { + motionName: (0,motion/* getTransitionName */.mL)(prefixCls, 'mask-motion'), + motionAppear: true, + motionEnter: true, + motionLeave: true, + motionDeadline: 500 + }; + const panelMotion = motionPlacement => ({ + motionName: (0,motion/* getTransitionName */.mL)(prefixCls, `panel-motion-${motionPlacement}`), + motionAppear: true, + motionEnter: true, + motionLeave: true, + motionDeadline: 500 + }); + // =========================== Render =========================== + return wrapSSR( /*#__PURE__*/react.createElement(Compact/* NoCompactStyle */.BR, null, /*#__PURE__*/react.createElement(form_context/* NoFormStyle */.Ux, { + status: true, + override: true + }, /*#__PURE__*/react.createElement(rc_drawer_es, Object.assign({ + prefixCls: prefixCls, + onClose: onClose, + maskMotion: maskMotion, + motion: panelMotion + }, rest, { + open: open !== null && open !== void 0 ? open : visible, + mask: mask, + push: push, + width: mergedWidth, + height: mergedHeight, + style: Object.assign(Object.assign({}, drawer === null || drawer === void 0 ? void 0 : drawer.style), style), + className: classnames_default()(drawer === null || drawer === void 0 ? void 0 : drawer.className, className), + rootClassName: drawerClassName, + getContainer: getContainer, + afterOpenChange: afterOpenChange !== null && afterOpenChange !== void 0 ? afterOpenChange : afterVisibleChange + }), /*#__PURE__*/react.createElement(drawer_DrawerPanel, Object.assign({ + prefixCls: prefixCls + }, rest, { + onClose: onClose + })))))); +} +if (false) {} +function PurePanel(_a) { + var { + prefixCls: customizePrefixCls, + style, + className, + placement = 'right' + } = _a, + restProps = __rest(_a, ["prefixCls", "style", "className", "placement"]); + const { + getPrefixCls + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('drawer', customizePrefixCls); + // Style + const [wrapSSR, hashId] = drawer_style(prefixCls); + return wrapSSR( /*#__PURE__*/react.createElement("div", { + className: classnames_default()(prefixCls, `${prefixCls}-pure`, `${prefixCls}-${placement}`, hashId, className), + style: style + }, /*#__PURE__*/react.createElement(drawer_DrawerPanel, Object.assign({ + prefixCls: prefixCls + }, restProps)))); +} +drawer_Drawer._InternalPanelDoNotUseOrYouWillBeFired = PurePanel; +/* harmony default export */ var drawer = (drawer_Drawer); + +/***/ }), + +/***/ 97183: +/*!**********************************************!*\ + !*** ./node_modules/antd/es/layout/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 84321); +/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 19249); +'use client'; + + + +const Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP; +Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4; +Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_; +Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY; +Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; +/* harmony default export */ __webpack_exports__["Z"] = (Layout); + +/***/ }), + +/***/ 66330: +/*!***************************************************!*\ + !*** ./node_modules/antd/es/popover/PurePanel.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony exports getOverlay, RawPurePanel */ +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 92419); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 20136); +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + +const getOverlay = (prefixCls, title, content) => { + if (!title && !content) return undefined; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(content))); +}; +const RawPurePanel = props => { + const { + hashId, + prefixCls, + className, + style, + placement = 'top', + title, + content, + children + } = props; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className), + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-arrow` + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_tooltip__WEBPACK_IMPORTED_MODULE_1__/* .Popup */ .G, Object.assign({}, props, { + className: hashId, + prefixCls: prefixCls + }), children || getOverlay(prefixCls, title, content))); +}; +const PurePanel = props => { + const { + prefixCls: customizePrefixCls + } = props, + restProps = __rest(props, ["prefixCls"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(RawPurePanel, Object.assign({}, restProps, { + prefixCls: prefixCls, + hashId: hashId + }))); +}; +/* harmony default export */ __webpack_exports__["ZP"] = (PurePanel); + +/***/ }), + +/***/ 55241: +/*!***********************************************!*\ + !*** ./node_modules/antd/es/popover/index.js ***! + \***********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/motion */ 33603); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ 83062); +/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PurePanel */ 66330); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 20136); +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +// CSSINJS + +const Overlay = _ref => { + let { + title, + content, + prefixCls + } = _ref; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(content))); +}; +const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + title, + content, + overlayClassName, + placement = 'top', + trigger = 'hover', + mouseEnterDelay = 0.1, + mouseLeaveDelay = 0.1, + overlayStyle = {} + } = props, + otherProps = __rest(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(prefixCls); + const rootPrefixCls = getPrefixCls(); + const overlayCls = classnames__WEBPACK_IMPORTED_MODULE_0___default()(overlayClassName, hashId); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, Object.assign({ + placement: placement, + trigger: trigger, + mouseEnterDelay: mouseEnterDelay, + mouseLeaveDelay: mouseLeaveDelay, + overlayStyle: overlayStyle + }, otherProps, { + prefixCls: prefixCls, + overlayClassName: overlayCls, + ref: ref, + overlay: title || content ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Overlay, { + prefixCls: prefixCls, + title: title, + content: content + }) : null, + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_6__/* .getTransitionName */ .mL)(rootPrefixCls, 'zoom-big', otherProps.transitionName), + "data-popover-inject": true + }))); +}); +if (false) {} +Popover._InternalPanelDoNotUseOrYouWillBeFired = _PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP; +/* harmony default export */ __webpack_exports__["Z"] = (Popover); + +/***/ }), + +/***/ 20136: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/popover/style/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 50438); +/* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/placementArrow */ 97414); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 8796); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/internal */ 45503); + + + + +const genBaseStyle = token => { + const { + componentCls, + popoverColor, + minWidth, + fontWeightStrong, + popoverPadding, + boxShadowSecondary, + colorTextHeading, + borderRadiusLG: borderRadius, + zIndexPopup, + marginXS, + colorBgElevated, + popoverBg + } = token; + return [{ + [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + position: 'absolute', + top: 0, + // use `left` to fix https://github.com/ant-design/ant-design/issues/39195 + left: { + _skip_check_: true, + value: 0 + }, + zIndex: zIndexPopup, + fontWeight: 'normal', + whiteSpace: 'normal', + textAlign: 'start', + cursor: 'auto', + userSelect: 'text', + transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, + '--antd-arrow-background-color': colorBgElevated, + '&-rtl': { + direction: 'rtl' + }, + '&-hidden': { + display: 'none' + }, + [`${componentCls}-content`]: { + position: 'relative' + }, + [`${componentCls}-inner`]: { + backgroundColor: popoverBg, + backgroundClip: 'padding-box', + borderRadius, + boxShadow: boxShadowSecondary, + padding: popoverPadding + }, + [`${componentCls}-title`]: { + minWidth, + marginBottom: marginXS, + color: colorTextHeading, + fontWeight: fontWeightStrong + }, + [`${componentCls}-inner-content`]: { + color: popoverColor + } + }) + }, + // Arrow Style + (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(token, { + colorBg: 'var(--antd-arrow-background-color)' + }), + // Pure Render + { + [`${componentCls}-pure`]: { + position: 'relative', + maxWidth: 'none', + margin: token.sizePopupArrow, + display: 'inline-block', + [`${componentCls}-content`]: { + display: 'inline-block' + } + } + }]; +}; +const genColorStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: _theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .PresetColors.map */ .i.map(colorKey => { + const lightColor = token[`${colorKey}6`]; + return { + [`&${componentCls}-${colorKey}`]: { + '--antd-arrow-background-color': lightColor, + [`${componentCls}-inner`]: { + backgroundColor: lightColor + }, + [`${componentCls}-arrow`]: { + background: 'transparent' + } + } + }; + }) + }; +}; +const genWireframeStyle = token => { + const { + componentCls, + lineWidth, + lineType, + colorSplit, + paddingSM, + controlHeight, + fontSize, + lineHeight, + padding + } = token; + const titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight); + const popoverTitlePaddingBlockTop = titlePaddingBlockDist / 2; + const popoverTitlePaddingBlockBottom = titlePaddingBlockDist / 2 - lineWidth; + const popoverPaddingHorizontal = padding; + return { + [componentCls]: { + [`${componentCls}-inner`]: { + padding: 0 + }, + [`${componentCls}-title`]: { + margin: 0, + padding: `${popoverTitlePaddingBlockTop}px ${popoverPaddingHorizontal}px ${popoverTitlePaddingBlockBottom}px`, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}` + }, + [`${componentCls}-inner-content`]: { + padding: `${paddingSM}px ${popoverPaddingHorizontal}px` + } + } + }; +}; +/* harmony default export */ __webpack_exports__["Z"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Popover', token => { + const { + colorBgElevated, + colorText, + wireframe + } = token; + const popoverToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_4__/* .merge */ .TS)(token, { + popoverPadding: 12, + popoverBg: colorBgElevated, + popoverColor: colorText + }); + return [genBaseStyle(popoverToken), genColorStyle(popoverToken), wireframe && genWireframeStyle(popoverToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* .initZoomMotion */ ._y)(popoverToken, 'zoom-big')]; +}, token => ({ + width: 177, + minWidth: 177, + zIndexPopup: token.zIndexPopupBase + 30 +}), { + deprecatedTokens: [['width', 'minWidth']] +})); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 55054: +/*!*************************************************************!*\ + !*** ./node_modules/antd/es/statistic/index.js + 5 modules ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_statistic; } +}); + +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useForceUpdate.js +var useForceUpdate = __webpack_require__(57838); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules +var skeleton = __webpack_require__(4310); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Number.js + +const StatisticNumber = props => { + const { + value, + formatter, + precision, + decimalSeparator, + groupSeparator = '', + prefixCls + } = props; + let valueNode; + if (typeof formatter === 'function') { + // Customize formatter + valueNode = formatter(value); + } else { + // Internal formatter + const val = String(value); + const cells = val.match(/^(-?)(\d*)(\.(\d+))?$/); + // Process if illegal number + if (!cells || val === '-') { + valueNode = val; + } else { + const negative = cells[1]; + let int = cells[2] || '0'; + let decimal = cells[4] || ''; + int = int.replace(/\B(?=(\d{3})+(?!\d))/g, groupSeparator); + if (typeof precision === 'number') { + decimal = decimal.padEnd(precision, '0').slice(0, precision > 0 ? precision : 0); + } + if (decimal) { + decimal = `${decimalSeparator}${decimal}`; + } + valueNode = [/*#__PURE__*/react.createElement("span", { + key: "int", + className: `${prefixCls}-content-value-int` + }, negative, int), decimal && /*#__PURE__*/react.createElement("span", { + key: "decimal", + className: `${prefixCls}-content-value-decimal` + }, decimal)]; + } + } + return /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-value` + }, valueNode); +}; +/* harmony default export */ var statistic_Number = (StatisticNumber); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/style/index.js + + +const genStatisticStyle = token => { + const { + componentCls, + marginXXS, + padding, + colorTextDescription, + titleFontSize, + colorTextHeading, + contentFontSize, + fontFamily + } = token; + return { + [`${componentCls}`]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + [`${componentCls}-title`]: { + marginBottom: marginXXS, + color: colorTextDescription, + fontSize: titleFontSize + }, + [`${componentCls}-skeleton`]: { + paddingTop: padding + }, + [`${componentCls}-content`]: { + color: colorTextHeading, + fontSize: contentFontSize, + fontFamily, + [`${componentCls}-content-value`]: { + display: 'inline-block', + direction: 'ltr' + }, + [`${componentCls}-content-prefix, ${componentCls}-content-suffix`]: { + display: 'inline-block' + }, + [`${componentCls}-content-prefix`]: { + marginInlineEnd: marginXXS + }, + [`${componentCls}-content-suffix`]: { + marginInlineStart: marginXXS + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var statistic_style = ((0,genComponentStyleHook/* default */.Z)('Statistic', token => { + const statisticToken = (0,statistic/* merge */.TS)(token, {}); + return [genStatisticStyle(statisticToken)]; +}, token => { + const { + fontSizeHeading3, + fontSize + } = token; + return { + titleFontSize: fontSize, + contentFontSize: fontSizeHeading3 + }; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Statistic.js + + + + + + +const Statistic = props => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + valueStyle, + value = 0, + title, + valueRender, + prefix, + suffix, + loading = false, + onMouseEnter, + onMouseLeave, + decimalSeparator = '.', + groupSeparator = ',' + } = props; + const { + getPrefixCls, + direction, + statistic + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('statistic', customizePrefixCls); + const [wrapSSR, hashId] = statistic_style(prefixCls); + const valueNode = /*#__PURE__*/react.createElement(statistic_Number, Object.assign({ + decimalSeparator: decimalSeparator, + groupSeparator: groupSeparator, + prefixCls: prefixCls + }, props, { + value: value + })); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl' + }, statistic === null || statistic === void 0 ? void 0 : statistic.className, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", { + className: cls, + style: Object.assign(Object.assign({}, statistic === null || statistic === void 0 ? void 0 : statistic.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-title` + }, title), /*#__PURE__*/react.createElement(skeleton/* default */.Z, { + paragraph: false, + loading: loading, + className: `${prefixCls}-skeleton` + }, /*#__PURE__*/react.createElement("div", { + style: valueStyle, + className: `${prefixCls}-content` + }, prefix && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-prefix` + }, prefix), valueRender ? valueRender(valueNode) : valueNode, suffix && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-suffix` + }, suffix))))); +}; +if (false) {} +/* harmony default export */ var statistic_Statistic = (Statistic); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/utils.js +// Countdown +const timeUnits = [['Y', 1000 * 60 * 60 * 24 * 365], ['M', 1000 * 60 * 60 * 24 * 30], ['D', 1000 * 60 * 60 * 24], ['H', 1000 * 60 * 60], ['m', 1000 * 60], ['s', 1000], ['S', 1] // million seconds +]; + +function formatTimeStr(duration, format) { + let leftDuration = duration; + const escapeRegex = /\[[^\]]*]/g; + const keepList = (format.match(escapeRegex) || []).map(str => str.slice(1, -1)); + const templateText = format.replace(escapeRegex, '[]'); + const replacedText = timeUnits.reduce((current, _ref) => { + let [name, unit] = _ref; + if (current.includes(name)) { + const value = Math.floor(leftDuration / unit); + leftDuration -= value * unit; + return current.replace(new RegExp(`${name}+`, 'g'), match => { + const len = match.length; + return value.toString().padStart(len, '0'); + }); + } + return current; + }, templateText); + let index = 0; + return replacedText.replace(escapeRegex, () => { + const match = keepList[index]; + index += 1; + return match; + }); +} +function formatCountdown(value, config) { + const { + format = '' + } = config; + const target = new Date(value).getTime(); + const current = Date.now(); + const diff = Math.max(target - current, 0); + return formatTimeStr(diff, format); +} +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Countdown.js + + + + + +const REFRESH_INTERVAL = 1000 / 30; +function getTime(value) { + return new Date(value).getTime(); +} +const Countdown = props => { + const { + value, + format = 'HH:mm:ss', + onChange, + onFinish + } = props; + const forceUpdate = (0,useForceUpdate/* default */.Z)(); + const countdown = react.useRef(null); + const stopTimer = () => { + onFinish === null || onFinish === void 0 ? void 0 : onFinish(); + if (countdown.current) { + clearInterval(countdown.current); + countdown.current = null; + } + }; + const syncTimer = () => { + const timestamp = getTime(value); + if (timestamp >= Date.now()) { + countdown.current = setInterval(() => { + forceUpdate(); + onChange === null || onChange === void 0 ? void 0 : onChange(timestamp - Date.now()); + if (timestamp < Date.now()) { + stopTimer(); + } + }, REFRESH_INTERVAL); + } + }; + react.useEffect(() => { + syncTimer(); + return () => { + if (countdown.current) { + clearInterval(countdown.current); + countdown.current = null; + } + }; + }, [value]); + const formatter = (formatValue, config) => formatCountdown(formatValue, Object.assign(Object.assign({}, config), { + format + })); + const valueRender = node => (0,reactNode/* cloneElement */.Tm)(node, { + title: undefined + }); + return /*#__PURE__*/react.createElement(statistic_Statistic, Object.assign({}, props, { + valueRender: valueRender, + formatter: formatter + })); +}; +/* harmony default export */ var statistic_Countdown = (/*#__PURE__*/react.memo(Countdown)); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/index.js +'use client'; + + + +statistic_Statistic.Countdown = statistic_Countdown; +/* harmony default export */ var es_statistic = (statistic_Statistic); + +/***/ }), + +/***/ 47897: +/*!***********************************************************!*\ + !*** ./node_modules/antd/es/switch/index.js + 27 modules ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_switch; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LoadingOutlined.js + 1 modules +var LoadingOutlined = __webpack_require__(77322); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/extends.js +function _extends() { + _extends = Object.assign ? Object.assign.bind() : function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + return target; + }; + return _extends.apply(this, arguments); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/typeof.js +function _typeof(obj) { + "@babel/helpers - typeof"; + + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { + return typeof obj; + } : function (obj) { + return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }, _typeof(obj); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/toPrimitive.js + +function _toPrimitive(input, hint) { + if (_typeof(input) !== "object" || input === null) return input; + var prim = input[Symbol.toPrimitive]; + if (prim !== undefined) { + var res = prim.call(input, hint || "default"); + if (_typeof(res) !== "object") return res; + throw new TypeError("@@toPrimitive must return a primitive value."); + } + return (hint === "string" ? String : Number)(input); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js + + +function _toPropertyKey(arg) { + var key = _toPrimitive(arg, "string"); + return _typeof(key) === "symbol" ? key : String(key); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/defineProperty.js + +function _defineProperty(obj, key, value) { + key = _toPropertyKey(key); + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + return obj; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +function _arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +function _iterableToArrayLimit(arr, i) { + var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; + if (null != _i) { + var _s, + _e, + _x, + _r, + _arr = [], + _n = !0, + _d = !1; + try { + if (_x = (_i = _i.call(arr)).next, 0 === i) { + if (Object(_i) !== _i) return; + _n = !1; + } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); + } catch (err) { + _d = !0, _e = err; + } finally { + try { + if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; + } finally { + if (_d) throw _e; + } + } + return _arr; + } +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + return arr2; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js + +function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +function _nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/slicedToArray.js + + + + +function _slicedToArray(arr, i) { + return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +function _objectWithoutPropertiesLoose(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + return target; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js + +function _objectWithoutProperties(source, excluded) { + if (source == null) return {}; + var target = _objectWithoutPropertiesLoose(source, excluded); + var key, i; + if (Object.getOwnPropertySymbols) { + var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + for (i = 0; i < sourceSymbolKeys.length; i++) { + key = sourceSymbolKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; + target[key] = source[key]; + } + } + return target; +} +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +function arrayWithHoles_arrayWithHoles(arr) { + if (Array.isArray(arr)) return arr; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +function iterableToArrayLimit_iterableToArrayLimit(arr, i) { + var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; + if (null != _i) { + var _s, + _e, + _x, + _r, + _arr = [], + _n = !0, + _d = !1; + try { + if (_x = (_i = _i.call(arr)).next, 0 === i) { + if (Object(_i) !== _i) return; + _n = !1; + } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); + } catch (err) { + _d = !0, _e = err; + } finally { + try { + if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; + } finally { + if (_d) throw _e; + } + } + return _arr; + } +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +function arrayLikeToArray_arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + return arr2; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js + +function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +function nonIterableRest_nonIterableRest() { + throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/node_modules/@babel/runtime/helpers/esm/slicedToArray.js + + + + +function slicedToArray_slicedToArray(arr, i) { + return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest(); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/hooks/useEvent.js + +function useEvent(callback) { + var fnRef = react.useRef(); + fnRef.current = callback; + var memoFn = react.useCallback(function () { + var _fnRef$current; + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args)); + }, []); + return memoFn; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/hooks/useLayoutEffect.js + + + +/** + * Wrap `React.useLayoutEffect` which will not throw warning message in test env + */ +var useInternalLayoutEffect = true && canUseDom() ? react.useLayoutEffect : react.useEffect; +var useLayoutEffect = function useLayoutEffect(callback, deps) { + var firstMountRef = react.useRef(true); + useInternalLayoutEffect(function () { + return callback(firstMountRef.current); + }, deps); + + // We tell react that first mount has passed + useInternalLayoutEffect(function () { + firstMountRef.current = false; + return function () { + firstMountRef.current = true; + }; + }, []); +}; +var useLayoutUpdateEffect = function useLayoutUpdateEffect(callback, deps) { + useLayoutEffect(function (firstMount) { + if (!firstMount) { + return callback(); + } + }, deps); +}; +/* harmony default export */ var hooks_useLayoutEffect = ((/* unused pure expression or super */ null && (useLayoutEffect))); +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/hooks/useState.js + + +/** + * Same as React.useState but `setState` accept `ignoreDestroy` param to not to setState after destroyed. + * We do not make this auto is to avoid real memory leak. + * Developer should confirm it's safe to ignore themselves. + */ +function useSafeState(defaultValue) { + var destroyRef = react.useRef(false); + var _React$useState = react.useState(defaultValue), + _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2), + value = _React$useState2[0], + setValue = _React$useState2[1]; + react.useEffect(function () { + destroyRef.current = false; + return function () { + destroyRef.current = true; + }; + }, []); + function safeSetState(updater, ignoreDestroy) { + if (ignoreDestroy && destroyRef.current) { + return; + } + setValue(updater); + } + return [value, safeSetState]; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/hooks/useMergedState.js + + + + +/** We only think `undefined` is empty */ +function hasValue(value) { + return value !== undefined; +} + +/** + * Similar to `useState` but will use props value if provided. + * Note that internal use rc-util `useState` hook. + */ +function useMergedState(defaultStateValue, option) { + var _ref = option || {}, + defaultValue = _ref.defaultValue, + value = _ref.value, + onChange = _ref.onChange, + postState = _ref.postState; + + // ======================= Init ======================= + var _useState = useSafeState(function () { + if (hasValue(value)) { + return value; + } else if (hasValue(defaultValue)) { + return typeof defaultValue === 'function' ? defaultValue() : defaultValue; + } else { + return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue; + } + }), + _useState2 = slicedToArray_slicedToArray(_useState, 2), + innerValue = _useState2[0], + setInnerValue = _useState2[1]; + var mergedValue = value !== undefined ? value : innerValue; + var postMergedValue = postState ? postState(mergedValue) : mergedValue; + + // ====================== Change ====================== + var onChangeFn = useEvent(onChange); + var _useState3 = useSafeState([mergedValue]), + _useState4 = slicedToArray_slicedToArray(_useState3, 2), + prevValue = _useState4[0], + setPrevValue = _useState4[1]; + useLayoutUpdateEffect(function () { + var prev = prevValue[0]; + if (innerValue !== prev) { + onChangeFn(innerValue, prev); + } + }, [prevValue]); + + // Sync value back to `undefined` when it from control to un-control + useLayoutUpdateEffect(function () { + if (!hasValue(value)) { + setInnerValue(value); + } + }, [value]); + + // ====================== Update ====================== + var triggerChange = useEvent(function (updater, ignoreDestroy) { + setInnerValue(updater, ignoreDestroy); + setPrevValue([mergedValue], ignoreDestroy); + }); + return [postMergedValue, triggerChange]; +} +;// CONCATENATED MODULE: ./node_modules/rc-switch/node_modules/rc-util/es/KeyCode.js +/** + * @ignore + * some key-codes definition and utils from closure-library + * @author yiminghe@gmail.com + */ + +var KeyCode = { + /** + * MAC_ENTER + */ + MAC_ENTER: 3, + /** + * BACKSPACE + */ + BACKSPACE: 8, + /** + * TAB + */ + TAB: 9, + /** + * NUMLOCK on FF/Safari Mac + */ + NUM_CENTER: 12, + // NUMLOCK on FF/Safari Mac + /** + * ENTER + */ + ENTER: 13, + /** + * SHIFT + */ + SHIFT: 16, + /** + * CTRL + */ + CTRL: 17, + /** + * ALT + */ + ALT: 18, + /** + * PAUSE + */ + PAUSE: 19, + /** + * CAPS_LOCK + */ + CAPS_LOCK: 20, + /** + * ESC + */ + ESC: 27, + /** + * SPACE + */ + SPACE: 32, + /** + * PAGE_UP + */ + PAGE_UP: 33, + // also NUM_NORTH_EAST + /** + * PAGE_DOWN + */ + PAGE_DOWN: 34, + // also NUM_SOUTH_EAST + /** + * END + */ + END: 35, + // also NUM_SOUTH_WEST + /** + * HOME + */ + HOME: 36, + // also NUM_NORTH_WEST + /** + * LEFT + */ + LEFT: 37, + // also NUM_WEST + /** + * UP + */ + UP: 38, + // also NUM_NORTH + /** + * RIGHT + */ + RIGHT: 39, + // also NUM_EAST + /** + * DOWN + */ + DOWN: 40, + // also NUM_SOUTH + /** + * PRINT_SCREEN + */ + PRINT_SCREEN: 44, + /** + * INSERT + */ + INSERT: 45, + // also NUM_INSERT + /** + * DELETE + */ + DELETE: 46, + // also NUM_DELETE + /** + * ZERO + */ + ZERO: 48, + /** + * ONE + */ + ONE: 49, + /** + * TWO + */ + TWO: 50, + /** + * THREE + */ + THREE: 51, + /** + * FOUR + */ + FOUR: 52, + /** + * FIVE + */ + FIVE: 53, + /** + * SIX + */ + SIX: 54, + /** + * SEVEN + */ + SEVEN: 55, + /** + * EIGHT + */ + EIGHT: 56, + /** + * NINE + */ + NINE: 57, + /** + * QUESTION_MARK + */ + QUESTION_MARK: 63, + // needs localization + /** + * A + */ + A: 65, + /** + * B + */ + B: 66, + /** + * C + */ + C: 67, + /** + * D + */ + D: 68, + /** + * E + */ + E: 69, + /** + * F + */ + F: 70, + /** + * G + */ + G: 71, + /** + * H + */ + H: 72, + /** + * I + */ + I: 73, + /** + * J + */ + J: 74, + /** + * K + */ + K: 75, + /** + * L + */ + L: 76, + /** + * M + */ + M: 77, + /** + * N + */ + N: 78, + /** + * O + */ + O: 79, + /** + * P + */ + P: 80, + /** + * Q + */ + Q: 81, + /** + * R + */ + R: 82, + /** + * S + */ + S: 83, + /** + * T + */ + T: 84, + /** + * U + */ + U: 85, + /** + * V + */ + V: 86, + /** + * W + */ + W: 87, + /** + * X + */ + X: 88, + /** + * Y + */ + Y: 89, + /** + * Z + */ + Z: 90, + /** + * META + */ + META: 91, + // WIN_KEY_LEFT + /** + * WIN_KEY_RIGHT + */ + WIN_KEY_RIGHT: 92, + /** + * CONTEXT_MENU + */ + CONTEXT_MENU: 93, + /** + * NUM_ZERO + */ + NUM_ZERO: 96, + /** + * NUM_ONE + */ + NUM_ONE: 97, + /** + * NUM_TWO + */ + NUM_TWO: 98, + /** + * NUM_THREE + */ + NUM_THREE: 99, + /** + * NUM_FOUR + */ + NUM_FOUR: 100, + /** + * NUM_FIVE + */ + NUM_FIVE: 101, + /** + * NUM_SIX + */ + NUM_SIX: 102, + /** + * NUM_SEVEN + */ + NUM_SEVEN: 103, + /** + * NUM_EIGHT + */ + NUM_EIGHT: 104, + /** + * NUM_NINE + */ + NUM_NINE: 105, + /** + * NUM_MULTIPLY + */ + NUM_MULTIPLY: 106, + /** + * NUM_PLUS + */ + NUM_PLUS: 107, + /** + * NUM_MINUS + */ + NUM_MINUS: 109, + /** + * NUM_PERIOD + */ + NUM_PERIOD: 110, + /** + * NUM_DIVISION + */ + NUM_DIVISION: 111, + /** + * F1 + */ + F1: 112, + /** + * F2 + */ + F2: 113, + /** + * F3 + */ + F3: 114, + /** + * F4 + */ + F4: 115, + /** + * F5 + */ + F5: 116, + /** + * F6 + */ + F6: 117, + /** + * F7 + */ + F7: 118, + /** + * F8 + */ + F8: 119, + /** + * F9 + */ + F9: 120, + /** + * F10 + */ + F10: 121, + /** + * F11 + */ + F11: 122, + /** + * F12 + */ + F12: 123, + /** + * NUMLOCK + */ + NUMLOCK: 144, + /** + * SEMICOLON + */ + SEMICOLON: 186, + // needs localization + /** + * DASH + */ + DASH: 189, + // needs localization + /** + * EQUALS + */ + EQUALS: 187, + // needs localization + /** + * COMMA + */ + COMMA: 188, + // needs localization + /** + * PERIOD + */ + PERIOD: 190, + // needs localization + /** + * SLASH + */ + SLASH: 191, + // needs localization + /** + * APOSTROPHE + */ + APOSTROPHE: 192, + // needs localization + /** + * SINGLE_QUOTE + */ + SINGLE_QUOTE: 222, + // needs localization + /** + * OPEN_SQUARE_BRACKET + */ + OPEN_SQUARE_BRACKET: 219, + // needs localization + /** + * BACKSLASH + */ + BACKSLASH: 220, + // needs localization + /** + * CLOSE_SQUARE_BRACKET + */ + CLOSE_SQUARE_BRACKET: 221, + // needs localization + /** + * WIN_KEY + */ + WIN_KEY: 224, + /** + * MAC_FF_META + */ + MAC_FF_META: 224, + // Firefox (Gecko) fires this for the meta key instead of 91 + /** + * WIN_IME + */ + WIN_IME: 229, + // ======================== Function ======================== + /** + * whether text and modified key is entered at the same time. + */ + isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) { + var keyCode = e.keyCode; + if (e.altKey && !e.ctrlKey || e.metaKey || + // Function keys don't generate text + keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) { + return false; + } + + // The following keys are quite harmless, even in combination with + // CTRL, ALT or SHIFT. + switch (keyCode) { + case KeyCode.ALT: + case KeyCode.CAPS_LOCK: + case KeyCode.CONTEXT_MENU: + case KeyCode.CTRL: + case KeyCode.DOWN: + case KeyCode.END: + case KeyCode.ESC: + case KeyCode.HOME: + case KeyCode.INSERT: + case KeyCode.LEFT: + case KeyCode.MAC_FF_META: + case KeyCode.META: + case KeyCode.NUMLOCK: + case KeyCode.NUM_CENTER: + case KeyCode.PAGE_DOWN: + case KeyCode.PAGE_UP: + case KeyCode.PAUSE: + case KeyCode.PRINT_SCREEN: + case KeyCode.RIGHT: + case KeyCode.SHIFT: + case KeyCode.UP: + case KeyCode.WIN_KEY: + case KeyCode.WIN_KEY_RIGHT: + return false; + default: + return true; + } + }, + /** + * whether character is entered. + */ + isCharacterKey: function isCharacterKey(keyCode) { + if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) { + return true; + } + if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) { + return true; + } + if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) { + return true; + } + + // Safari sends zero key code for non-latin characters. + if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) { + return true; + } + switch (keyCode) { + case KeyCode.SPACE: + case KeyCode.QUESTION_MARK: + case KeyCode.NUM_PLUS: + case KeyCode.NUM_MINUS: + case KeyCode.NUM_PERIOD: + case KeyCode.NUM_DIVISION: + case KeyCode.SEMICOLON: + case KeyCode.DASH: + case KeyCode.EQUALS: + case KeyCode.COMMA: + case KeyCode.PERIOD: + case KeyCode.SLASH: + case KeyCode.APOSTROPHE: + case KeyCode.SINGLE_QUOTE: + case KeyCode.OPEN_SQUARE_BRACKET: + case KeyCode.BACKSLASH: + case KeyCode.CLOSE_SQUARE_BRACKET: + return true; + default: + return false; + } + } +}; +/* harmony default export */ var es_KeyCode = (KeyCode); +;// CONCATENATED MODULE: ./node_modules/rc-switch/es/index.js + + + + +var _excluded = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"]; + + + + +var Switch = /*#__PURE__*/react.forwardRef(function (_ref, ref) { + var _classNames; + var _ref$prefixCls = _ref.prefixCls, + prefixCls = _ref$prefixCls === void 0 ? 'rc-switch' : _ref$prefixCls, + className = _ref.className, + checked = _ref.checked, + defaultChecked = _ref.defaultChecked, + disabled = _ref.disabled, + loadingIcon = _ref.loadingIcon, + checkedChildren = _ref.checkedChildren, + unCheckedChildren = _ref.unCheckedChildren, + onClick = _ref.onClick, + onChange = _ref.onChange, + onKeyDown = _ref.onKeyDown, + restProps = _objectWithoutProperties(_ref, _excluded); + var _useMergedState = useMergedState(false, { + value: checked, + defaultValue: defaultChecked + }), + _useMergedState2 = _slicedToArray(_useMergedState, 2), + innerChecked = _useMergedState2[0], + setInnerChecked = _useMergedState2[1]; + function triggerChange(newChecked, event) { + var mergedChecked = innerChecked; + if (!disabled) { + mergedChecked = newChecked; + setInnerChecked(mergedChecked); + onChange === null || onChange === void 0 ? void 0 : onChange(mergedChecked, event); + } + return mergedChecked; + } + function onInternalKeyDown(e) { + if (e.which === es_KeyCode.LEFT) { + triggerChange(false, e); + } else if (e.which === es_KeyCode.RIGHT) { + triggerChange(true, e); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e); + } + function onInternalClick(e) { + var ret = triggerChange(!innerChecked, e); + // [Legacy] trigger onClick with value + onClick === null || onClick === void 0 ? void 0 : onClick(ret, e); + } + var switchClassName = classnames_default()(prefixCls, className, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-checked"), innerChecked), _defineProperty(_classNames, "".concat(prefixCls, "-disabled"), disabled), _classNames)); + return /*#__PURE__*/react.createElement("button", _extends({}, restProps, { + type: "button", + role: "switch", + "aria-checked": innerChecked, + disabled: disabled, + className: switchClassName, + ref: ref, + onKeyDown: onInternalKeyDown, + onClick: onInternalClick + }), loadingIcon, /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-inner") + }, /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-inner-checked") + }, checkedChildren), /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-inner-unchecked") + }, unCheckedChildren))); +}); +Switch.displayName = 'Switch'; +/* harmony default export */ var es = (Switch); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/wave/index.js + 4 modules +var wave = __webpack_require__(45353); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/@ctrl/tinycolor/dist/module/index.js +var dist_module = __webpack_require__(10274); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/switch/style/index.js + + + +const genSwitchSmallStyle = token => { + const { + componentCls + } = token; + const switchInnerCls = `${componentCls}-inner`; + return { + [componentCls]: { + [`&${componentCls}-small`]: { + minWidth: token.switchMinWidthSM, + height: token.switchHeightSM, + lineHeight: `${token.switchHeightSM}px`, + [`${componentCls}-inner`]: { + paddingInlineStart: token.switchInnerMarginMaxSM, + paddingInlineEnd: token.switchInnerMarginMinSM, + [`${switchInnerCls}-checked`]: { + marginInlineStart: `calc(-100% + ${token.switchPinSizeSM + token.switchPadding * 2}px - ${token.switchInnerMarginMaxSM * 2}px)`, + marginInlineEnd: `calc(100% - ${token.switchPinSizeSM + token.switchPadding * 2}px + ${token.switchInnerMarginMaxSM * 2}px)` + }, + [`${switchInnerCls}-unchecked`]: { + marginTop: -token.switchHeightSM, + marginInlineStart: 0, + marginInlineEnd: 0 + } + }, + [`${componentCls}-handle`]: { + width: token.switchPinSizeSM, + height: token.switchPinSizeSM + }, + [`${componentCls}-loading-icon`]: { + top: (token.switchPinSizeSM - token.switchLoadingIconSize) / 2, + fontSize: token.switchLoadingIconSize + }, + [`&${componentCls}-checked`]: { + [`${componentCls}-inner`]: { + paddingInlineStart: token.switchInnerMarginMinSM, + paddingInlineEnd: token.switchInnerMarginMaxSM, + [`${switchInnerCls}-checked`]: { + marginInlineStart: 0, + marginInlineEnd: 0 + }, + [`${switchInnerCls}-unchecked`]: { + marginInlineStart: `calc(100% - ${token.switchPinSizeSM + token.switchPadding * 2}px + ${token.switchInnerMarginMaxSM * 2}px)`, + marginInlineEnd: `calc(-100% + ${token.switchPinSizeSM + token.switchPadding * 2}px - ${token.switchInnerMarginMaxSM * 2}px)` + } + }, + [`${componentCls}-handle`]: { + insetInlineStart: `calc(100% - ${token.switchPinSizeSM + token.switchPadding}px)` + } + }, + [`&:not(${componentCls}-disabled):active`]: { + [`&:not(${componentCls}-checked) ${switchInnerCls}`]: { + [`${switchInnerCls}-unchecked`]: { + marginInlineStart: token.marginXXS / 2, + marginInlineEnd: -token.marginXXS / 2 + } + }, + [`&${componentCls}-checked ${switchInnerCls}`]: { + [`${switchInnerCls}-checked`]: { + marginInlineStart: -token.marginXXS / 2, + marginInlineEnd: token.marginXXS / 2 + } + } + } + } + } + }; +}; +const genSwitchLoadingStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: { + [`${componentCls}-loading-icon${token.iconCls}`]: { + position: 'relative', + top: (token.switchPinSize - token.fontSize) / 2, + color: token.switchLoadingIconColor, + verticalAlign: 'top' + }, + [`&${componentCls}-checked ${componentCls}-loading-icon`]: { + color: token.switchColor + } + } + }; +}; +const genSwitchHandleStyle = token => { + const { + componentCls, + motion + } = token; + const switchHandleCls = `${componentCls}-handle`; + return { + [componentCls]: { + [switchHandleCls]: { + position: 'absolute', + top: token.switchPadding, + insetInlineStart: token.switchPadding, + width: token.switchPinSize, + height: token.switchPinSize, + transition: `all ${token.switchDuration} ease-in-out`, + '&::before': { + position: 'absolute', + top: 0, + insetInlineEnd: 0, + bottom: 0, + insetInlineStart: 0, + backgroundColor: token.colorWhite, + borderRadius: token.switchPinSize / 2, + boxShadow: token.switchHandleShadow, + transition: `all ${token.switchDuration} ease-in-out`, + content: '""' + } + }, + [`&${componentCls}-checked ${switchHandleCls}`]: { + insetInlineStart: `calc(100% - ${token.switchPinSize + token.switchPadding}px)` + }, + [`&:not(${componentCls}-disabled):active`]: motion ? { + [`${switchHandleCls}::before`]: { + insetInlineEnd: token.switchHandleActiveInset, + insetInlineStart: 0 + }, + [`&${componentCls}-checked ${switchHandleCls}::before`]: { + insetInlineEnd: 0, + insetInlineStart: token.switchHandleActiveInset + } + } : /* istanbul ignore next */ + {} + } + }; +}; +const genSwitchInnerStyle = token => { + const { + componentCls + } = token; + const switchInnerCls = `${componentCls}-inner`; + return { + [componentCls]: { + [switchInnerCls]: { + display: 'block', + overflow: 'hidden', + borderRadius: 100, + height: '100%', + paddingInlineStart: token.switchInnerMarginMax, + paddingInlineEnd: token.switchInnerMarginMin, + transition: `padding-inline-start ${token.switchDuration} ease-in-out, padding-inline-end ${token.switchDuration} ease-in-out`, + [`${switchInnerCls}-checked, ${switchInnerCls}-unchecked`]: { + display: 'block', + color: token.colorTextLightSolid, + fontSize: token.fontSizeSM, + transition: `margin-inline-start ${token.switchDuration} ease-in-out, margin-inline-end ${token.switchDuration} ease-in-out`, + pointerEvents: 'none' + }, + [`${switchInnerCls}-checked`]: { + marginInlineStart: `calc(-100% + ${token.switchPinSize + token.switchPadding * 2}px - ${token.switchInnerMarginMax * 2}px)`, + marginInlineEnd: `calc(100% - ${token.switchPinSize + token.switchPadding * 2}px + ${token.switchInnerMarginMax * 2}px)` + }, + [`${switchInnerCls}-unchecked`]: { + marginTop: -token.switchHeight, + marginInlineStart: 0, + marginInlineEnd: 0 + } + }, + [`&${componentCls}-checked ${switchInnerCls}`]: { + paddingInlineStart: token.switchInnerMarginMin, + paddingInlineEnd: token.switchInnerMarginMax, + [`${switchInnerCls}-checked`]: { + marginInlineStart: 0, + marginInlineEnd: 0 + }, + [`${switchInnerCls}-unchecked`]: { + marginInlineStart: `calc(100% - ${token.switchPinSize + token.switchPadding * 2}px + ${token.switchInnerMarginMax * 2}px)`, + marginInlineEnd: `calc(-100% + ${token.switchPinSize + token.switchPadding * 2}px - ${token.switchInnerMarginMax * 2}px)` + } + }, + [`&:not(${componentCls}-disabled):active`]: { + [`&:not(${componentCls}-checked) ${switchInnerCls}`]: { + [`${switchInnerCls}-unchecked`]: { + marginInlineStart: token.switchPadding * 2, + marginInlineEnd: -token.switchPadding * 2 + } + }, + [`&${componentCls}-checked ${switchInnerCls}`]: { + [`${switchInnerCls}-checked`]: { + marginInlineStart: -token.switchPadding * 2, + marginInlineEnd: token.switchPadding * 2 + } + } + } + } + }; +}; +const genSwitchStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + position: 'relative', + display: 'inline-block', + boxSizing: 'border-box', + minWidth: token.switchMinWidth, + height: token.switchHeight, + lineHeight: `${token.switchHeight}px`, + verticalAlign: 'middle', + background: token.colorTextQuaternary, + border: '0', + borderRadius: 100, + cursor: 'pointer', + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [`&:hover:not(${componentCls}-disabled)`]: { + background: token.colorTextTertiary + } + }), (0,style/* genFocusStyle */.Qy)(token)), { + [`&${componentCls}-checked`]: { + background: token.switchColor, + [`&:hover:not(${componentCls}-disabled)`]: { + background: token.colorPrimaryHover + } + }, + [`&${componentCls}-loading, &${componentCls}-disabled`]: { + cursor: 'not-allowed', + opacity: token.switchDisabledOpacity, + '*': { + boxShadow: 'none', + cursor: 'not-allowed' + } + }, + // rtl style + [`&${componentCls}-rtl`]: { + direction: 'rtl' + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var switch_style = ((0,genComponentStyleHook/* default */.Z)('Switch', token => { + const switchHeight = token.fontSize * token.lineHeight; + const switchHeightSM = token.controlHeight / 2; + const switchPadding = 2; // This is magic + const switchPinSize = switchHeight - switchPadding * 2; + const switchPinSizeSM = switchHeightSM - switchPadding * 2; + const switchToken = (0,statistic/* merge */.TS)(token, { + switchMinWidth: switchPinSize * 2 + switchPadding * 4, + switchHeight, + switchDuration: token.motionDurationMid, + switchColor: token.colorPrimary, + switchDisabledOpacity: token.opacityLoading, + switchInnerMarginMin: switchPinSize / 2, + switchInnerMarginMax: switchPinSize + switchPadding + switchPadding * 2, + switchPadding, + switchPinSize, + switchBg: token.colorBgContainer, + switchMinWidthSM: switchPinSizeSM * 2 + switchPadding * 2, + switchHeightSM, + switchInnerMarginMinSM: switchPinSizeSM / 2, + switchInnerMarginMaxSM: switchPinSizeSM + switchPadding + switchPadding * 2, + switchPinSizeSM, + switchHandleShadow: `0 2px 4px 0 ${new dist_module/* TinyColor */.C('#00230b').setAlpha(0.2).toRgbString()}`, + switchLoadingIconSize: token.fontSizeIcon * 0.75, + switchLoadingIconColor: `rgba(0, 0, 0, ${token.opacityLoading})`, + switchHandleActiveInset: '-30%' + }); + return [genSwitchStyle(switchToken), + // inner style + genSwitchInnerStyle(switchToken), + // handle style + genSwitchHandleStyle(switchToken), + // loading style + genSwitchLoadingStyle(switchToken), + // small style + genSwitchSmallStyle(switchToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/switch/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const switch_Switch = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + size: customizeSize, + disabled: customDisabled, + loading, + className, + rootClassName, + style + } = props, + restProps = __rest(props, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style"]); + false ? 0 : void 0; + const { + getPrefixCls, + direction, + switch: SWITCH + } = react.useContext(context/* ConfigContext */.E_); + // ===================== Disabled ===================== + const disabled = react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (customDisabled !== null && customDisabled !== void 0 ? customDisabled : disabled) || loading; + const prefixCls = getPrefixCls('switch', customizePrefixCls); + const loadingIcon = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-handle` + }, loading && /*#__PURE__*/react.createElement(LoadingOutlined/* default */.Z, { + className: `${prefixCls}-loading-icon` + })); + // Style + const [wrapSSR, hashId] = switch_style(prefixCls); + const mergedSize = (0,useSize/* default */.Z)(customizeSize); + const classes = classnames_default()(SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.className, { + [`${prefixCls}-small`]: mergedSize === 'small', + [`${prefixCls}-loading`]: loading, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, SWITCH === null || SWITCH === void 0 ? void 0 : SWITCH.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(wave/* default */.Z, null, /*#__PURE__*/react.createElement(es, Object.assign({}, restProps, { + prefixCls: prefixCls, + className: classes, + style: mergedStyle, + disabled: mergedDisabled, + ref: ref, + loadingIcon: loadingIcon + })))); +}); +switch_Switch.__ANT_SWITCH = true; +if (false) {} +/* harmony default export */ var es_switch = (switch_Switch); + +/***/ }), + +/***/ 5584: +/*!***********************************************************!*\ + !*** ./node_modules/antd/lib/date-picker/locale/zh_CN.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; +var __webpack_unused_export__; + + +var _interopRequireDefault = (__webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 64836)["default"]); +__webpack_unused_export__ = ({ + value: true +}); +exports.Z = void 0; +var _zh_CN = _interopRequireDefault(__webpack_require__(/*! rc-picker/lib/locale/zh_CN */ 85369)); +var _zh_CN2 = _interopRequireDefault(__webpack_require__(/*! ../../time-picker/locale/zh_CN */ 15704)); +// 统一合并为完整的 Locale +const locale = { + lang: Object.assign({ + placeholder: '请选择日期', + yearPlaceholder: '请选择年份', + quarterPlaceholder: '请选择季度', + monthPlaceholder: '请选择月份', + weekPlaceholder: '请选择周', + rangePlaceholder: ['开始日期', '结束日期'], + rangeYearPlaceholder: ['开始年份', '结束年份'], + rangeMonthPlaceholder: ['开始月份', '结束月份'], + rangeQuarterPlaceholder: ['开始季度', '结束季度'], + rangeWeekPlaceholder: ['开始周', '结束周'] + }, _zh_CN.default), + timePickerLocale: Object.assign({}, _zh_CN2.default) +}; +// should add whitespace between char in Button +locale.lang.ok = '确定'; +// All settings at: +// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json +var _default = locale; +exports.Z = _default; + +/***/ }), + +/***/ 15704: +/*!***********************************************************!*\ + !*** ./node_modules/antd/lib/time-picker/locale/zh_CN.js ***! + \***********************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; +const locale = { + placeholder: '请选择时间', + rangePlaceholder: ['开始时间', '结束时间'] +}; +var _default = locale; +exports["default"] = _default; + +/***/ }), + +/***/ 20640: +/*!*************************************************!*\ + !*** ./node_modules/copy-to-clipboard/index.js ***! + \*************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +var deselectCurrent = __webpack_require__(/*! toggle-selection */ 11742); + +var clipboardToIE11Formatting = { + "text/plain": "Text", + "text/html": "Url", + "default": "Text" +} + +var defaultMessage = "Copy to clipboard: #{key}, Enter"; + +function format(message) { + var copyKey = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C"; + return message.replace(/#{\s*key\s*}/g, copyKey); +} + +function copy(text, options) { + var debug, + message, + reselectPrevious, + range, + selection, + mark, + success = false; + if (!options) { + options = {}; + } + debug = options.debug || false; + try { + reselectPrevious = deselectCurrent(); + + range = document.createRange(); + selection = document.getSelection(); + + mark = document.createElement("span"); + mark.textContent = text; + // avoid screen readers from reading out loud the text + mark.ariaHidden = "true" + // reset user styles for span element + mark.style.all = "unset"; + // prevents scrolling to the end of the page + mark.style.position = "fixed"; + mark.style.top = 0; + mark.style.clip = "rect(0, 0, 0, 0)"; + // used to preserve spaces and line breaks + mark.style.whiteSpace = "pre"; + // do not inherit user-select (it may be `none`) + mark.style.webkitUserSelect = "text"; + mark.style.MozUserSelect = "text"; + mark.style.msUserSelect = "text"; + mark.style.userSelect = "text"; + mark.addEventListener("copy", function(e) { + e.stopPropagation(); + if (options.format) { + e.preventDefault(); + if (typeof e.clipboardData === "undefined") { // IE 11 + debug && console.warn("unable to use e.clipboardData"); + debug && console.warn("trying IE specific stuff"); + window.clipboardData.clearData(); + var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting["default"] + window.clipboardData.setData(format, text); + } else { // all other browsers + e.clipboardData.clearData(); + e.clipboardData.setData(options.format, text); + } + } + if (options.onCopy) { + e.preventDefault(); + options.onCopy(e.clipboardData); + } + }); + + document.body.appendChild(mark); + + range.selectNodeContents(mark); + selection.addRange(range); + + var successful = document.execCommand("copy"); + if (!successful) { + throw new Error("copy command was unsuccessful"); + } + success = true; + } catch (err) { + debug && console.error("unable to copy using execCommand: ", err); + debug && console.warn("trying IE specific stuff"); + try { + window.clipboardData.setData(options.format || "text", text); + options.onCopy && options.onCopy(window.clipboardData); + success = true; + } catch (err) { + debug && console.error("unable to copy using clipboardData: ", err); + debug && console.error("falling back to prompt"); + message = format("message" in options ? options.message : defaultMessage); + window.prompt(message, text); + } + } finally { + if (selection) { + if (typeof selection.removeRange == "function") { + selection.removeRange(range); + } else { + selection.removeAllRanges(); + } + } + + if (mark) { + document.body.removeChild(mark); + } + reselectPrevious(); + } + + return success; +} + +module.exports = copy; + + +/***/ }), + +/***/ 85369: +/*!****************************************************!*\ + !*** ./node_modules/rc-picker/lib/locale/zh_CN.js ***! + \****************************************************/ +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; +var locale = { + locale: 'zh_CN', + today: '今天', + now: '此刻', + backToToday: '返回今天', + ok: '确定', + timeSelect: '选择时间', + dateSelect: '选择日期', + weekSelect: '选择周', + clear: '清除', + month: '月', + year: '年', + previousMonth: '上个月 (翻页上键)', + nextMonth: '下个月 (翻页下键)', + monthSelect: '选择月份', + yearSelect: '选择年份', + decadeSelect: '选择年代', + yearFormat: 'YYYY年', + dayFormat: 'D日', + dateFormat: 'YYYY年M月D日', + dateTimeFormat: 'YYYY年M月D日 HH时mm分ss秒', + previousYear: '上一年 (Control键加左方向键)', + nextYear: '下一年 (Control键加右方向键)', + previousDecade: '上一年代', + nextDecade: '下一年代', + previousCentury: '上一世纪', + nextCentury: '下一世纪' +}; +var _default = locale; +exports["default"] = _default; + +/***/ }), + +/***/ 86128: +/*!*********************************************************!*\ + !*** ./node_modules/rc-tree/es/TreeNode.js + 1 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ TreeNode; } +}); + +// UNUSED EXPORTS: InternalTreeNode + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(15671); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(43144); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +var assertThisInitialized = __webpack_require__(97326); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(60136); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(51630); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +// EXTERNAL MODULE: ./node_modules/rc-tree/es/contextTypes.js +var contextTypes = __webpack_require__(27822); +;// CONCATENATED MODULE: ./node_modules/rc-tree/es/Indent.js + + + +var Indent = function Indent(_ref) { + var prefixCls = _ref.prefixCls, + level = _ref.level, + isStart = _ref.isStart, + isEnd = _ref.isEnd; + var baseClassName = "".concat(prefixCls, "-indent-unit"); + var list = []; + for (var i = 0; i < level; i += 1) { + var _classNames; + list.push( /*#__PURE__*/react.createElement("span", { + key: i, + className: classnames_default()(baseClassName, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(baseClassName, "-start"), isStart[i]), (0,defineProperty/* default */.Z)(_classNames, "".concat(baseClassName, "-end"), isEnd[i]), _classNames)) + })); + } + return /*#__PURE__*/react.createElement("span", { + "aria-hidden": "true", + className: "".concat(prefixCls, "-indent") + }, list); +}; +/* harmony default export */ var es_Indent = (/*#__PURE__*/react.memo(Indent)); +// EXTERNAL MODULE: ./node_modules/rc-tree/es/utils/treeUtil.js +var treeUtil = __webpack_require__(1089); +;// CONCATENATED MODULE: ./node_modules/rc-tree/es/TreeNode.js + + + + + + + + + +var _excluded = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragOverGapBottom", "isLeaf", "isStart", "isEnd", "expanded", "selected", "checked", "halfChecked", "loading", "domRef", "active", "data", "onMouseMove", "selectable"]; + + + +// @ts-ignore + + + +var ICON_OPEN = 'open'; +var ICON_CLOSE = 'close'; +var defaultTitle = '---'; +var InternalTreeNode = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(InternalTreeNode, _React$Component); + var _super = (0,createSuper/* default */.Z)(InternalTreeNode); + function InternalTreeNode() { + var _this; + (0,classCallCheck/* default */.Z)(this, InternalTreeNode); + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + _this = _super.call.apply(_super, [this].concat(args)); + _this.state = { + dragNodeHighlight: false + }; + _this.selectHandle = void 0; + _this.onSelectorClick = function (e) { + // Click trigger before select/check operation + var onNodeClick = _this.props.context.onNodeClick; + onNodeClick(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + if (_this.isSelectable()) { + _this.onSelect(e); + } else { + _this.onCheck(e); + } + }; + _this.onSelectorDoubleClick = function (e) { + var onNodeDoubleClick = _this.props.context.onNodeDoubleClick; + onNodeDoubleClick(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onSelect = function (e) { + if (_this.isDisabled()) return; + var onNodeSelect = _this.props.context.onNodeSelect; + e.preventDefault(); + onNodeSelect(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onCheck = function (e) { + if (_this.isDisabled()) return; + var _this$props = _this.props, + disableCheckbox = _this$props.disableCheckbox, + checked = _this$props.checked; + var onNodeCheck = _this.props.context.onNodeCheck; + if (!_this.isCheckable() || disableCheckbox) return; + e.preventDefault(); + var targetChecked = !checked; + onNodeCheck(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props), targetChecked); + }; + _this.onMouseEnter = function (e) { + var onNodeMouseEnter = _this.props.context.onNodeMouseEnter; + onNodeMouseEnter(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onMouseLeave = function (e) { + var onNodeMouseLeave = _this.props.context.onNodeMouseLeave; + onNodeMouseLeave(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onContextMenu = function (e) { + var onNodeContextMenu = _this.props.context.onNodeContextMenu; + onNodeContextMenu(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + _this.onDragStart = function (e) { + var onNodeDragStart = _this.props.context.onNodeDragStart; + e.stopPropagation(); + _this.setState({ + dragNodeHighlight: true + }); + onNodeDragStart(e, (0,assertThisInitialized/* default */.Z)(_this)); + try { + // ie throw error + // firefox-need-it + e.dataTransfer.setData('text/plain', ''); + } catch (error) { + // empty + } + }; + _this.onDragEnter = function (e) { + var onNodeDragEnter = _this.props.context.onNodeDragEnter; + e.preventDefault(); + e.stopPropagation(); + onNodeDragEnter(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDragOver = function (e) { + var onNodeDragOver = _this.props.context.onNodeDragOver; + e.preventDefault(); + e.stopPropagation(); + onNodeDragOver(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDragLeave = function (e) { + var onNodeDragLeave = _this.props.context.onNodeDragLeave; + e.stopPropagation(); + onNodeDragLeave(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDragEnd = function (e) { + var onNodeDragEnd = _this.props.context.onNodeDragEnd; + e.stopPropagation(); + _this.setState({ + dragNodeHighlight: false + }); + onNodeDragEnd(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + _this.onDrop = function (e) { + var onNodeDrop = _this.props.context.onNodeDrop; + e.preventDefault(); + e.stopPropagation(); + _this.setState({ + dragNodeHighlight: false + }); + onNodeDrop(e, (0,assertThisInitialized/* default */.Z)(_this)); + }; + // Disabled item still can be switch + _this.onExpand = function (e) { + var _this$props2 = _this.props, + loading = _this$props2.loading, + onNodeExpand = _this$props2.context.onNodeExpand; + if (loading) return; + onNodeExpand(e, (0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + }; + // Drag usage + _this.setSelectHandle = function (node) { + _this.selectHandle = node; + }; + _this.getNodeState = function () { + var expanded = _this.props.expanded; + if (_this.isLeaf()) { + return null; + } + return expanded ? ICON_OPEN : ICON_CLOSE; + }; + _this.hasChildren = function () { + var eventKey = _this.props.eventKey; + var keyEntities = _this.props.context.keyEntities; + var _ref = keyEntities[eventKey] || {}, + children = _ref.children; + return !!(children || []).length; + }; + _this.isLeaf = function () { + var _this$props3 = _this.props, + isLeaf = _this$props3.isLeaf, + loaded = _this$props3.loaded; + var loadData = _this.props.context.loadData; + var hasChildren = _this.hasChildren(); + if (isLeaf === false) { + return false; + } + return isLeaf || !loadData && !hasChildren || loadData && loaded && !hasChildren; + }; + _this.isDisabled = function () { + var disabled = _this.props.disabled; + var treeDisabled = _this.props.context.disabled; + return !!(treeDisabled || disabled); + }; + _this.isCheckable = function () { + var checkable = _this.props.checkable; + var treeCheckable = _this.props.context.checkable; + // Return false if tree or treeNode is not checkable + if (!treeCheckable || checkable === false) return false; + return treeCheckable; + }; + // Load data to avoid default expanded tree without data + _this.syncLoadData = function (props) { + var expanded = props.expanded, + loading = props.loading, + loaded = props.loaded; + var _this$props$context = _this.props.context, + loadData = _this$props$context.loadData, + onNodeLoad = _this$props$context.onNodeLoad; + if (loading) { + return; + } + // read from state to avoid loadData at same time + if (loadData && expanded && !_this.isLeaf()) { + // We needn't reload data when has children in sync logic + // It's only needed in node expanded + if (!_this.hasChildren() && !loaded) { + onNodeLoad((0,treeUtil/* convertNodePropsToEventData */.F)(_this.props)); + } + } + }; + _this.isDraggable = function () { + var _this$props4 = _this.props, + data = _this$props4.data, + draggable = _this$props4.context.draggable; + return !!(draggable && (!draggable.nodeDraggable || draggable.nodeDraggable(data))); + }; + // ==================== Render: Drag Handler ==================== + _this.renderDragHandler = function () { + var _this$props$context2 = _this.props.context, + draggable = _this$props$context2.draggable, + prefixCls = _this$props$context2.prefixCls; + return (draggable === null || draggable === void 0 ? void 0 : draggable.icon) ? /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-draggable-icon") + }, draggable.icon) : null; + }; + // ====================== Render: Switcher ====================== + _this.renderSwitcherIconDom = function (isLeaf) { + var switcherIconFromProps = _this.props.switcherIcon; + var switcherIconFromCtx = _this.props.context.switcherIcon; + var switcherIcon = switcherIconFromProps || switcherIconFromCtx; + // if switcherIconDom is null, no render switcher span + if (typeof switcherIcon === 'function') { + return switcherIcon((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, _this.props), {}, { + isLeaf: isLeaf + })); + } + return switcherIcon; + }; + // Switcher + _this.renderSwitcher = function () { + var expanded = _this.props.expanded; + var prefixCls = _this.props.context.prefixCls; + if (_this.isLeaf()) { + // if switcherIconDom is null, no render switcher span + var _switcherIconDom = _this.renderSwitcherIconDom(true); + return _switcherIconDom !== false ? /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-switcher"), "".concat(prefixCls, "-switcher-noop")) + }, _switcherIconDom) : null; + } + var switcherCls = classnames_default()("".concat(prefixCls, "-switcher"), "".concat(prefixCls, "-switcher_").concat(expanded ? ICON_OPEN : ICON_CLOSE)); + var switcherIconDom = _this.renderSwitcherIconDom(false); + return switcherIconDom !== false ? /*#__PURE__*/react.createElement("span", { + onClick: _this.onExpand, + className: switcherCls + }, switcherIconDom) : null; + }; + // ====================== Render: Checkbox ====================== + // Checkbox + _this.renderCheckbox = function () { + var _this$props5 = _this.props, + checked = _this$props5.checked, + halfChecked = _this$props5.halfChecked, + disableCheckbox = _this$props5.disableCheckbox; + var prefixCls = _this.props.context.prefixCls; + var disabled = _this.isDisabled(); + var checkable = _this.isCheckable(); + if (!checkable) return null; + // [Legacy] Custom element should be separate with `checkable` in future + var $custom = typeof checkable !== 'boolean' ? checkable : null; + return /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-checkbox"), checked && "".concat(prefixCls, "-checkbox-checked"), !checked && halfChecked && "".concat(prefixCls, "-checkbox-indeterminate"), (disabled || disableCheckbox) && "".concat(prefixCls, "-checkbox-disabled")), + onClick: _this.onCheck + }, $custom); + }; + // ==================== Render: Title + Icon ==================== + _this.renderIcon = function () { + var loading = _this.props.loading; + var prefixCls = _this.props.context.prefixCls; + return /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-iconEle"), "".concat(prefixCls, "-icon__").concat(_this.getNodeState() || 'docu'), loading && "".concat(prefixCls, "-icon_loading")) + }); + }; + // Icon + Title + _this.renderSelector = function () { + var dragNodeHighlight = _this.state.dragNodeHighlight; + var _this$props6 = _this.props, + _this$props6$title = _this$props6.title, + title = _this$props6$title === void 0 ? defaultTitle : _this$props6$title, + selected = _this$props6.selected, + icon = _this$props6.icon, + loading = _this$props6.loading, + data = _this$props6.data; + var _this$props$context3 = _this.props.context, + prefixCls = _this$props$context3.prefixCls, + showIcon = _this$props$context3.showIcon, + treeIcon = _this$props$context3.icon, + loadData = _this$props$context3.loadData, + titleRender = _this$props$context3.titleRender; + var disabled = _this.isDisabled(); + var wrapClass = "".concat(prefixCls, "-node-content-wrapper"); + // Icon - Still show loading icon when loading without showIcon + var $icon; + if (showIcon) { + var currentIcon = icon || treeIcon; + $icon = currentIcon ? /*#__PURE__*/react.createElement("span", { + className: classnames_default()("".concat(prefixCls, "-iconEle"), "".concat(prefixCls, "-icon__customize")) + }, typeof currentIcon === 'function' ? currentIcon(_this.props) : currentIcon) : _this.renderIcon(); + } else if (loadData && loading) { + $icon = _this.renderIcon(); + } + // Title + var titleNode; + if (typeof title === 'function') { + titleNode = title(data); + } else if (titleRender) { + titleNode = titleRender(data); + } else { + titleNode = title; + } + var $title = /*#__PURE__*/react.createElement("span", { + className: "".concat(prefixCls, "-title") + }, titleNode); + return /*#__PURE__*/react.createElement("span", { + ref: _this.setSelectHandle, + title: typeof title === 'string' ? title : '', + className: classnames_default()("".concat(wrapClass), "".concat(wrapClass, "-").concat(_this.getNodeState() || 'normal'), !disabled && (selected || dragNodeHighlight) && "".concat(prefixCls, "-node-selected")), + onMouseEnter: _this.onMouseEnter, + onMouseLeave: _this.onMouseLeave, + onContextMenu: _this.onContextMenu, + onClick: _this.onSelectorClick, + onDoubleClick: _this.onSelectorDoubleClick + }, $icon, $title, _this.renderDropIndicator()); + }; + // =================== Render: Drop Indicator =================== + _this.renderDropIndicator = function () { + var _this$props7 = _this.props, + disabled = _this$props7.disabled, + eventKey = _this$props7.eventKey; + var _this$props$context4 = _this.props.context, + draggable = _this$props$context4.draggable, + dropLevelOffset = _this$props$context4.dropLevelOffset, + dropPosition = _this$props$context4.dropPosition, + prefixCls = _this$props$context4.prefixCls, + indent = _this$props$context4.indent, + dropIndicatorRender = _this$props$context4.dropIndicatorRender, + dragOverNodeKey = _this$props$context4.dragOverNodeKey, + direction = _this$props$context4.direction; + var rootDraggable = !!draggable; + // allowDrop is calculated in Tree.tsx, there is no need for calc it here + var showIndicator = !disabled && rootDraggable && dragOverNodeKey === eventKey; + return showIndicator ? dropIndicatorRender({ + dropPosition: dropPosition, + dropLevelOffset: dropLevelOffset, + indent: indent, + prefixCls: prefixCls, + direction: direction + }) : null; + }; + return _this; + } + (0,createClass/* default */.Z)(InternalTreeNode, [{ + key: "componentDidMount", + value: + // Isomorphic needn't load data in server side + function componentDidMount() { + this.syncLoadData(this.props); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate() { + this.syncLoadData(this.props); + } + }, { + key: "isSelectable", + value: function isSelectable() { + var selectable = this.props.selectable; + var treeSelectable = this.props.context.selectable; + // Ignore when selectable is undefined or null + if (typeof selectable === 'boolean') { + return selectable; + } + return treeSelectable; + } + }, { + key: "render", + value: + // =========================== Render =========================== + function render() { + var _classNames; + var _this$props8 = this.props, + eventKey = _this$props8.eventKey, + className = _this$props8.className, + style = _this$props8.style, + dragOver = _this$props8.dragOver, + dragOverGapTop = _this$props8.dragOverGapTop, + dragOverGapBottom = _this$props8.dragOverGapBottom, + isLeaf = _this$props8.isLeaf, + isStart = _this$props8.isStart, + isEnd = _this$props8.isEnd, + expanded = _this$props8.expanded, + selected = _this$props8.selected, + checked = _this$props8.checked, + halfChecked = _this$props8.halfChecked, + loading = _this$props8.loading, + domRef = _this$props8.domRef, + active = _this$props8.active, + data = _this$props8.data, + onMouseMove = _this$props8.onMouseMove, + selectable = _this$props8.selectable, + otherProps = (0,objectWithoutProperties/* default */.Z)(_this$props8, _excluded); + var _this$props$context5 = this.props.context, + prefixCls = _this$props$context5.prefixCls, + filterTreeNode = _this$props$context5.filterTreeNode, + keyEntities = _this$props$context5.keyEntities, + dropContainerKey = _this$props$context5.dropContainerKey, + dropTargetKey = _this$props$context5.dropTargetKey, + draggingNodeKey = _this$props$context5.draggingNodeKey; + var disabled = this.isDisabled(); + var dataOrAriaAttributeProps = (0,pickAttrs/* default */.Z)(otherProps, { + aria: true, + data: true + }); + var _ref2 = keyEntities[eventKey] || {}, + level = _ref2.level; + var isEndNode = isEnd[isEnd.length - 1]; + var mergedDraggable = this.isDraggable(); + var draggableWithoutDisabled = !disabled && mergedDraggable; + var dragging = draggingNodeKey === eventKey; + var ariaSelected = selectable !== undefined ? { + 'aria-selected': !!selectable + } : undefined; + return /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + ref: domRef, + className: classnames_default()(className, "".concat(prefixCls, "-treenode"), (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-switcher-").concat(expanded ? 'open' : 'close'), !isLeaf), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-checkbox-checked"), checked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-checkbox-indeterminate"), halfChecked), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-selected"), selected), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-loading"), loading), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-active"), active), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-leaf-last"), isEndNode), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-treenode-draggable"), mergedDraggable), (0,defineProperty/* default */.Z)(_classNames, "dragging", dragging), (0,defineProperty/* default */.Z)(_classNames, 'drop-target', dropTargetKey === eventKey), (0,defineProperty/* default */.Z)(_classNames, 'drop-container', dropContainerKey === eventKey), (0,defineProperty/* default */.Z)(_classNames, 'drag-over', !disabled && dragOver), (0,defineProperty/* default */.Z)(_classNames, 'drag-over-gap-top', !disabled && dragOverGapTop), (0,defineProperty/* default */.Z)(_classNames, 'drag-over-gap-bottom', !disabled && dragOverGapBottom), (0,defineProperty/* default */.Z)(_classNames, 'filter-node', filterTreeNode && filterTreeNode((0,treeUtil/* convertNodePropsToEventData */.F)(this.props))), _classNames)), + style: style + // Draggable config + , + draggable: draggableWithoutDisabled, + "aria-grabbed": dragging, + onDragStart: draggableWithoutDisabled ? this.onDragStart : undefined + // Drop config + , + onDragEnter: mergedDraggable ? this.onDragEnter : undefined, + onDragOver: mergedDraggable ? this.onDragOver : undefined, + onDragLeave: mergedDraggable ? this.onDragLeave : undefined, + onDrop: mergedDraggable ? this.onDrop : undefined, + onDragEnd: mergedDraggable ? this.onDragEnd : undefined, + onMouseMove: onMouseMove + }, ariaSelected, dataOrAriaAttributeProps), /*#__PURE__*/react.createElement(es_Indent, { + prefixCls: prefixCls, + level: level, + isStart: isStart, + isEnd: isEnd + }), this.renderDragHandler(), this.renderSwitcher(), this.renderCheckbox(), this.renderSelector()); + } + }]); + return InternalTreeNode; +}(react.Component); +var ContextTreeNode = function ContextTreeNode(props) { + return /*#__PURE__*/react.createElement(contextTypes/* TreeContext.Consumer */.k.Consumer, null, function (context) { + return /*#__PURE__*/react.createElement(InternalTreeNode, (0,esm_extends/* default */.Z)({}, props, { + context: context + })); + }); +}; +ContextTreeNode.displayName = 'TreeNode'; +ContextTreeNode.isTreeNode = 1; + +/* harmony default export */ var TreeNode = (ContextTreeNode); + +/***/ }), + +/***/ 27822: +/*!*************************************************!*\ + !*** ./node_modules/rc-tree/es/contextTypes.js ***! + \*************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "k": function() { return /* binding */ TreeContext; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/** + * Webpack has bug for import loop, which is not the same behavior as ES module. + * When util.js imports the TreeNode for tree generate will cause treeContextTypes be empty. + */ + +var TreeContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createContext(null); + +/***/ }), + +/***/ 10225: +/*!*****************************************!*\ + !*** ./node_modules/rc-tree/es/util.js ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "BT": function() { return /* binding */ calcSelectedKeys; }, +/* harmony export */ "Ds": function() { return /* binding */ isTreeNode; }, +/* harmony export */ "E6": function() { return /* binding */ parseCheckedKeys; }, +/* harmony export */ "L0": function() { return /* binding */ arrAdd; }, +/* harmony export */ "OM": function() { return /* binding */ calcDropPosition; }, +/* harmony export */ "_5": function() { return /* binding */ arrDel; }, +/* harmony export */ "bt": function() { return /* binding */ getPosition; }, +/* harmony export */ "r7": function() { return /* binding */ conductExpandParent; }, +/* harmony export */ "wA": function() { return /* binding */ getDragChildrenKeys; }, +/* harmony export */ "yx": function() { return /* binding */ posToArr; } +/* harmony export */ }); +/* unused harmony exports isLastChild, isFirstChild, convertDataToTree */ +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902); +/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 71002); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/warning */ 80334); +/* harmony import */ var _TreeNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TreeNode */ 86128); + + + + +var _excluded = (/* unused pure expression or super */ null && (["children"])); +/* eslint-disable no-lonely-if */ +/** + * Legacy code. Should avoid to use if you are new to import these code. + */ + + + +function arrDel(list, value) { + if (!list) return []; + var clone = list.slice(); + var index = clone.indexOf(value); + if (index >= 0) { + clone.splice(index, 1); + } + return clone; +} +function arrAdd(list, value) { + var clone = (list || []).slice(); + if (clone.indexOf(value) === -1) { + clone.push(value); + } + return clone; +} +function posToArr(pos) { + return pos.split('-'); +} +function getPosition(level, index) { + return "".concat(level, "-").concat(index); +} +function isTreeNode(node) { + return node && node.type && node.type.isTreeNode; +} +function getDragChildrenKeys(dragNodeKey, keyEntities) { + // not contains self + // self for left or right drag + var dragChildrenKeys = []; + var entity = keyEntities[dragNodeKey]; + function dig() { + var list = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + list.forEach(function (_ref) { + var key = _ref.key, + children = _ref.children; + dragChildrenKeys.push(key); + dig(children); + }); + } + dig(entity.children); + return dragChildrenKeys; +} +function isLastChild(treeNodeEntity) { + if (treeNodeEntity.parent) { + var posArr = posToArr(treeNodeEntity.pos); + return Number(posArr[posArr.length - 1]) === treeNodeEntity.parent.children.length - 1; + } + return false; +} +function isFirstChild(treeNodeEntity) { + var posArr = posToArr(treeNodeEntity.pos); + return Number(posArr[posArr.length - 1]) === 0; +} +// Only used when drag, not affect SSR. +function calcDropPosition(event, dragNode, targetNode, indent, startMousePosition, allowDrop, flattenedNodes, keyEntities, expandKeys, direction) { + var _abstractDropNodeEnti; + var clientX = event.clientX, + clientY = event.clientY; + var _event$target$getBoun = event.target.getBoundingClientRect(), + top = _event$target$getBoun.top, + height = _event$target$getBoun.height; + // optional chain for testing + var horizontalMouseOffset = (direction === 'rtl' ? -1 : 1) * (((startMousePosition === null || startMousePosition === void 0 ? void 0 : startMousePosition.x) || 0) - clientX); + var rawDropLevelOffset = (horizontalMouseOffset - 12) / indent; + // find abstract drop node by horizontal offset + var abstractDropNodeEntity = keyEntities[targetNode.props.eventKey]; + if (clientY < top + height / 2) { + // first half, set abstract drop node to previous node + var nodeIndex = flattenedNodes.findIndex(function (flattenedNode) { + return flattenedNode.key === abstractDropNodeEntity.key; + }); + var prevNodeIndex = nodeIndex <= 0 ? 0 : nodeIndex - 1; + var prevNodeKey = flattenedNodes[prevNodeIndex].key; + abstractDropNodeEntity = keyEntities[prevNodeKey]; + } + var initialAbstractDropNodeKey = abstractDropNodeEntity.key; + var abstractDragOverEntity = abstractDropNodeEntity; + var dragOverNodeKey = abstractDropNodeEntity.key; + var dropPosition = 0; + var dropLevelOffset = 0; + // Only allow cross level drop when dragging on a non-expanded node + if (!expandKeys.includes(initialAbstractDropNodeKey)) { + for (var i = 0; i < rawDropLevelOffset; i += 1) { + if (isLastChild(abstractDropNodeEntity)) { + abstractDropNodeEntity = abstractDropNodeEntity.parent; + dropLevelOffset += 1; + } else { + break; + } + } + } + var abstractDragDataNode = dragNode.props.data; + var abstractDropDataNode = abstractDropNodeEntity.node; + var dropAllowed = true; + if (isFirstChild(abstractDropNodeEntity) && abstractDropNodeEntity.level === 0 && clientY < top + height / 2 && allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: -1 + }) && abstractDropNodeEntity.key === targetNode.props.eventKey) { + // first half of first node in first level + dropPosition = -1; + } else if ((abstractDragOverEntity.children || []).length && expandKeys.includes(dragOverNodeKey)) { + // drop on expanded node + // only allow drop inside + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 0 + })) { + dropPosition = 0; + } else { + dropAllowed = false; + } + } else if (dropLevelOffset === 0) { + if (rawDropLevelOffset > -1.5) { + // | Node | <- abstractDropNode + // | -^-===== | <- mousePosition + // 1. try drop after + // 2. do not allow drop + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 1 + })) { + dropPosition = 1; + } else { + dropAllowed = false; + } + } else { + // | Node | <- abstractDropNode + // | ---==^== | <- mousePosition + // whether it has children or doesn't has children + // always + // 1. try drop inside + // 2. try drop after + // 3. do not allow drop + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 0 + })) { + dropPosition = 0; + } else if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 1 + })) { + dropPosition = 1; + } else { + dropAllowed = false; + } + } + } else { + // | Node1 | <- abstractDropNode + // | Node2 | + // --^--|----=====| <- mousePosition + // 1. try insert after Node1 + // 2. do not allow drop + if (allowDrop({ + dragNode: abstractDragDataNode, + dropNode: abstractDropDataNode, + dropPosition: 1 + })) { + dropPosition = 1; + } else { + dropAllowed = false; + } + } + return { + dropPosition: dropPosition, + dropLevelOffset: dropLevelOffset, + dropTargetKey: abstractDropNodeEntity.key, + dropTargetPos: abstractDropNodeEntity.pos, + dragOverNodeKey: dragOverNodeKey, + dropContainerKey: dropPosition === 0 ? null : ((_abstractDropNodeEnti = abstractDropNodeEntity.parent) === null || _abstractDropNodeEnti === void 0 ? void 0 : _abstractDropNodeEnti.key) || null, + dropAllowed: dropAllowed + }; +} +/** + * Return selectedKeys according with multiple prop + * @param selectedKeys + * @param props + * @returns [string] + */ +function calcSelectedKeys(selectedKeys, props) { + if (!selectedKeys) return undefined; + var multiple = props.multiple; + if (multiple) { + return selectedKeys.slice(); + } + if (selectedKeys.length) { + return [selectedKeys[0]]; + } + return selectedKeys; +} +var internalProcessProps = function internalProcessProps(props) { + return props; +}; +function convertDataToTree(treeData, processor) { + if (!treeData) return []; + var _ref2 = processor || {}, + _ref2$processProps = _ref2.processProps, + processProps = _ref2$processProps === void 0 ? internalProcessProps : _ref2$processProps; + var list = Array.isArray(treeData) ? treeData : [treeData]; + return list.map(function (_ref3) { + var children = _ref3.children, + props = _objectWithoutProperties(_ref3, _excluded); + var childrenNodes = convertDataToTree(children, processor); + return /*#__PURE__*/React.createElement(TreeNode, _extends({ + key: props.key + }, processProps(props)), childrenNodes); + }); +} +/** + * Parse `checkedKeys` to { checkedKeys, halfCheckedKeys } style + */ +function parseCheckedKeys(keys) { + if (!keys) { + return null; + } + // Convert keys to object format + var keyProps; + if (Array.isArray(keys)) { + // [Legacy] Follow the api doc + keyProps = { + checkedKeys: keys, + halfCheckedKeys: undefined + }; + } else if ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(keys) === 'object') { + keyProps = { + checkedKeys: keys.checked || undefined, + halfCheckedKeys: keys.halfChecked || undefined + }; + } else { + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(false, '`checkedKeys` is not an array or an object'); + return null; + } + return keyProps; +} +/** + * If user use `autoExpandParent` we should get the list of parent node + * @param keyList + * @param keyEntities + */ +function conductExpandParent(keyList, keyEntities) { + var expandedKeys = new Set(); + function conductUp(key) { + if (expandedKeys.has(key)) return; + var entity = keyEntities[key]; + if (!entity) return; + expandedKeys.add(key); + var parent = entity.parent, + node = entity.node; + if (node.disabled) return; + if (parent) { + conductUp(parent.key); + } + } + (keyList || []).forEach(function (key) { + conductUp(key); + }); + return (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(expandedKeys); +} + +/***/ }), + +/***/ 17341: +/*!******************************************************!*\ + !*** ./node_modules/rc-tree/es/utils/conductUtil.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "S": function() { return /* binding */ conductCheck; } +/* harmony export */ }); +/* unused harmony export isCheckDisabled */ +/* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/warning */ 80334); + +function removeFromCheckedKeys(halfCheckedKeys, checkedKeys) { + var filteredKeys = new Set(); + halfCheckedKeys.forEach(function (key) { + if (!checkedKeys.has(key)) { + filteredKeys.add(key); + } + }); + return filteredKeys; +} +function isCheckDisabled(node) { + var _ref = node || {}, + disabled = _ref.disabled, + disableCheckbox = _ref.disableCheckbox, + checkable = _ref.checkable; + return !!(disabled || disableCheckbox) || checkable === false; +} +// Fill miss keys +function fillConductCheck(keys, levelEntities, maxLevel, syntheticGetCheckDisabled) { + var checkedKeys = new Set(keys); + var halfCheckedKeys = new Set(); + // Add checked keys top to bottom + for (var level = 0; level <= maxLevel; level += 1) { + var entities = levelEntities.get(level) || new Set(); + entities.forEach(function (entity) { + var key = entity.key, + node = entity.node, + _entity$children = entity.children, + children = _entity$children === void 0 ? [] : _entity$children; + if (checkedKeys.has(key) && !syntheticGetCheckDisabled(node)) { + children.filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (childEntity) { + checkedKeys.add(childEntity.key); + }); + } + }); + } + // Add checked keys from bottom to top + var visitedKeys = new Set(); + for (var _level = maxLevel; _level >= 0; _level -= 1) { + var _entities = levelEntities.get(_level) || new Set(); + _entities.forEach(function (entity) { + var parent = entity.parent, + node = entity.node; + // Skip if no need to check + if (syntheticGetCheckDisabled(node) || !entity.parent || visitedKeys.has(entity.parent.key)) { + return; + } + // Skip if parent is disabled + if (syntheticGetCheckDisabled(entity.parent.node)) { + visitedKeys.add(parent.key); + return; + } + var allChecked = true; + var partialChecked = false; + (parent.children || []).filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (_ref2) { + var key = _ref2.key; + var checked = checkedKeys.has(key); + if (allChecked && !checked) { + allChecked = false; + } + if (!partialChecked && (checked || halfCheckedKeys.has(key))) { + partialChecked = true; + } + }); + if (allChecked) { + checkedKeys.add(parent.key); + } + if (partialChecked) { + halfCheckedKeys.add(parent.key); + } + visitedKeys.add(parent.key); + }); + } + return { + checkedKeys: Array.from(checkedKeys), + halfCheckedKeys: Array.from(removeFromCheckedKeys(halfCheckedKeys, checkedKeys)) + }; +} +// Remove useless key +function cleanConductCheck(keys, halfKeys, levelEntities, maxLevel, syntheticGetCheckDisabled) { + var checkedKeys = new Set(keys); + var halfCheckedKeys = new Set(halfKeys); + // Remove checked keys from top to bottom + for (var level = 0; level <= maxLevel; level += 1) { + var entities = levelEntities.get(level) || new Set(); + entities.forEach(function (entity) { + var key = entity.key, + node = entity.node, + _entity$children2 = entity.children, + children = _entity$children2 === void 0 ? [] : _entity$children2; + if (!checkedKeys.has(key) && !halfCheckedKeys.has(key) && !syntheticGetCheckDisabled(node)) { + children.filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (childEntity) { + checkedKeys.delete(childEntity.key); + }); + } + }); + } + // Remove checked keys form bottom to top + halfCheckedKeys = new Set(); + var visitedKeys = new Set(); + for (var _level2 = maxLevel; _level2 >= 0; _level2 -= 1) { + var _entities2 = levelEntities.get(_level2) || new Set(); + _entities2.forEach(function (entity) { + var parent = entity.parent, + node = entity.node; + // Skip if no need to check + if (syntheticGetCheckDisabled(node) || !entity.parent || visitedKeys.has(entity.parent.key)) { + return; + } + // Skip if parent is disabled + if (syntheticGetCheckDisabled(entity.parent.node)) { + visitedKeys.add(parent.key); + return; + } + var allChecked = true; + var partialChecked = false; + (parent.children || []).filter(function (childEntity) { + return !syntheticGetCheckDisabled(childEntity.node); + }).forEach(function (_ref3) { + var key = _ref3.key; + var checked = checkedKeys.has(key); + if (allChecked && !checked) { + allChecked = false; + } + if (!partialChecked && (checked || halfCheckedKeys.has(key))) { + partialChecked = true; + } + }); + if (!allChecked) { + checkedKeys.delete(parent.key); + } + if (partialChecked) { + halfCheckedKeys.add(parent.key); + } + visitedKeys.add(parent.key); + }); + } + return { + checkedKeys: Array.from(checkedKeys), + halfCheckedKeys: Array.from(removeFromCheckedKeys(halfCheckedKeys, checkedKeys)) + }; +} +/** + * Conduct with keys. + * @param keyList current key list + * @param keyEntities key - dataEntity map + * @param mode `fill` to fill missing key, `clean` to remove useless key + */ +function conductCheck(keyList, checked, keyEntities, getCheckDisabled) { + var warningMissKeys = []; + var syntheticGetCheckDisabled; + if (getCheckDisabled) { + syntheticGetCheckDisabled = getCheckDisabled; + } else { + syntheticGetCheckDisabled = isCheckDisabled; + } + // We only handle exist keys + var keys = new Set(keyList.filter(function (key) { + var hasEntity = !!keyEntities[key]; + if (!hasEntity) { + warningMissKeys.push(key); + } + return hasEntity; + })); + var levelEntities = new Map(); + var maxLevel = 0; + // Convert entities by level for calculation + Object.keys(keyEntities).forEach(function (key) { + var entity = keyEntities[key]; + var level = entity.level; + var levelSet = levelEntities.get(level); + if (!levelSet) { + levelSet = new Set(); + levelEntities.set(level, levelSet); + } + levelSet.add(entity); + maxLevel = Math.max(maxLevel, level); + }); + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP)(!warningMissKeys.length, "Tree missing follow keys: ".concat(warningMissKeys.slice(0, 100).map(function (key) { + return "'".concat(key, "'"); + }).join(', '))); + var result; + if (checked === true) { + result = fillConductCheck(keys, levelEntities, maxLevel, syntheticGetCheckDisabled); + } else { + result = cleanConductCheck(keys, checked.halfCheckedKeys, levelEntities, maxLevel, syntheticGetCheckDisabled); + } + return result; +} + +/***/ }), + +/***/ 1089: +/*!***************************************************!*\ + !*** ./node_modules/rc-tree/es/utils/treeUtil.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "F": function() { return /* binding */ convertNodePropsToEventData; }, +/* harmony export */ "H8": function() { return /* binding */ getTreeNodeProps; }, +/* harmony export */ "I8": function() { return /* binding */ convertDataToEntities; }, +/* harmony export */ "km": function() { return /* binding */ getKey; }, +/* harmony export */ "oH": function() { return /* binding */ flattenTreeData; }, +/* harmony export */ "w$": function() { return /* binding */ fillFieldNames; }, +/* harmony export */ "zn": function() { return /* binding */ convertTreeToData; } +/* harmony export */ }); +/* unused harmony exports warningWithoutKey, traverseDataNodes */ +/* harmony import */ var _babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 71002); +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); +/* harmony import */ var _babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutProperties */ 45987); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! rc-util/es/omit */ 98423); +/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 50344); +/* harmony import */ var rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/warning */ 80334); +/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util */ 10225); + + + + +var _excluded = ["children"]; + + + + +function getKey(key, pos) { + if (key !== null && key !== undefined) { + return key; + } + return pos; +} +function fillFieldNames(fieldNames) { + var _ref = fieldNames || {}, + title = _ref.title, + _title = _ref._title, + key = _ref.key, + children = _ref.children; + var mergedTitle = title || 'title'; + return { + title: mergedTitle, + _title: _title || [mergedTitle], + key: key || 'key', + children: children || 'children' + }; +} +/** + * Warning if TreeNode do not provides key + */ +function warningWithoutKey(treeData, fieldNames) { + var keys = new Map(); + function dig(list) { + var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ''; + (list || []).forEach(function (treeNode) { + var key = treeNode[fieldNames.key]; + var children = treeNode[fieldNames.children]; + warning(key !== null && key !== undefined, "Tree node must have a certain key: [".concat(path).concat(key, "]")); + var recordKey = String(key); + warning(!keys.has(recordKey) || key === null || key === undefined, "Same 'key' exist in the Tree: ".concat(recordKey)); + keys.set(recordKey, true); + dig(children, "".concat(path).concat(recordKey, " > ")); + }); + } + dig(treeData); +} +/** + * Convert `children` of Tree into `treeData` structure. + */ +function convertTreeToData(rootNodes) { + function dig(node) { + var treeNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(node); + return treeNodes.map(function (treeNode) { + // Filter invalidate node + if (!(0,_util__WEBPACK_IMPORTED_MODULE_2__/* .isTreeNode */ .Ds)(treeNode)) { + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(!treeNode, 'Tree/TreeNode can only accept TreeNode as children.'); + return null; + } + var key = treeNode.key; + var _treeNode$props = treeNode.props, + children = _treeNode$props.children, + rest = (0,_babel_runtime_helpers_esm_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)(_treeNode$props, _excluded); + var dataNode = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({ + key: key + }, rest); + var parsedChildren = dig(children); + if (parsedChildren.length) { + dataNode.children = parsedChildren; + } + return dataNode; + }).filter(function (dataNode) { + return dataNode; + }); + } + return dig(rootNodes); +} +/** + * Flat nest tree data into flatten list. This is used for virtual list render. + * @param treeNodeList Origin data node list + * @param expandedKeys + * need expanded keys, provides `true` means all expanded (used in `rc-tree-select`). + */ +function flattenTreeData(treeNodeList, expandedKeys, fieldNames) { + var _fillFieldNames = fillFieldNames(fieldNames), + fieldTitles = _fillFieldNames._title, + fieldKey = _fillFieldNames.key, + fieldChildren = _fillFieldNames.children; + var expandedKeySet = new Set(expandedKeys === true ? [] : expandedKeys); + var flattenList = []; + function dig(list) { + var parent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; + return list.map(function (treeNode, index) { + var pos = (0,_util__WEBPACK_IMPORTED_MODULE_2__/* .getPosition */ .bt)(parent ? parent.pos : '0', index); + var mergedKey = getKey(treeNode[fieldKey], pos); + // Pick matched title in field title list + var mergedTitle; + for (var i = 0; i < fieldTitles.length; i += 1) { + var fieldTitle = fieldTitles[i]; + if (treeNode[fieldTitle] !== undefined) { + mergedTitle = treeNode[fieldTitle]; + break; + } + } + // Add FlattenDataNode into list + var flattenNode = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(treeNode, [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(fieldTitles), [fieldKey, fieldChildren]))), {}, { + title: mergedTitle, + key: mergedKey, + parent: parent, + pos: pos, + children: null, + data: treeNode, + isStart: [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(parent ? parent.isStart : []), [index === 0]), + isEnd: [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(parent ? parent.isEnd : []), [index === list.length - 1]) + }); + flattenList.push(flattenNode); + // Loop treeNode children + if (expandedKeys === true || expandedKeySet.has(mergedKey)) { + flattenNode.children = dig(treeNode[fieldChildren] || [], flattenNode); + } else { + flattenNode.children = []; + } + return flattenNode; + }); + } + dig(treeNodeList); + return flattenList; +} +/** + * Traverse all the data by `treeData`. + * Please not use it out of the `rc-tree` since we may refactor this code. + */ +function traverseDataNodes(dataNodes, callback, +// To avoid too many params, let use config instead of origin param +config) { + var mergedConfig = {}; + if ((0,_babel_runtime_helpers_esm_typeof__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(config) === 'object') { + mergedConfig = config; + } else { + mergedConfig = { + externalGetKey: config + }; + } + mergedConfig = mergedConfig || {}; + // Init config + var _mergedConfig = mergedConfig, + childrenPropName = _mergedConfig.childrenPropName, + externalGetKey = _mergedConfig.externalGetKey, + fieldNames = _mergedConfig.fieldNames; + var _fillFieldNames2 = fillFieldNames(fieldNames), + fieldKey = _fillFieldNames2.key, + fieldChildren = _fillFieldNames2.children; + var mergeChildrenPropName = childrenPropName || fieldChildren; + // Get keys + var syntheticGetKey; + if (externalGetKey) { + if (typeof externalGetKey === 'string') { + syntheticGetKey = function syntheticGetKey(node) { + return node[externalGetKey]; + }; + } else if (typeof externalGetKey === 'function') { + syntheticGetKey = function syntheticGetKey(node) { + return externalGetKey(node); + }; + } + } else { + syntheticGetKey = function syntheticGetKey(node, pos) { + return getKey(node[fieldKey], pos); + }; + } + // Process + function processNode(node, index, parent, pathNodes) { + var children = node ? node[mergeChildrenPropName] : dataNodes; + var pos = node ? (0,_util__WEBPACK_IMPORTED_MODULE_2__/* .getPosition */ .bt)(parent.pos, index) : '0'; + var connectNodes = node ? [].concat((0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(pathNodes), [node]) : []; + // Process node if is not root + if (node) { + var key = syntheticGetKey(node, pos); + var data = { + node: node, + index: index, + pos: pos, + key: key, + parentPos: parent.node ? parent.pos : null, + level: parent.level + 1, + nodes: connectNodes + }; + callback(data); + } + // Process children node + if (children) { + children.forEach(function (subNode, subIndex) { + processNode(subNode, subIndex, { + node: node, + pos: pos, + level: parent ? parent.level + 1 : -1 + }, connectNodes); + }); + } + } + processNode(null); +} +/** + * Convert `treeData` into entity records. + */ +function convertDataToEntities(dataNodes) { + var _ref2 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + initWrapper = _ref2.initWrapper, + processEntity = _ref2.processEntity, + onProcessFinished = _ref2.onProcessFinished, + externalGetKey = _ref2.externalGetKey, + childrenPropName = _ref2.childrenPropName, + fieldNames = _ref2.fieldNames; + var /** @deprecated Use `config.externalGetKey` instead */ + legacyExternalGetKey = arguments.length > 2 ? arguments[2] : undefined; + // Init config + var mergedExternalGetKey = externalGetKey || legacyExternalGetKey; + var posEntities = {}; + var keyEntities = {}; + var wrapper = { + posEntities: posEntities, + keyEntities: keyEntities + }; + if (initWrapper) { + wrapper = initWrapper(wrapper) || wrapper; + } + traverseDataNodes(dataNodes, function (item) { + var node = item.node, + index = item.index, + pos = item.pos, + key = item.key, + parentPos = item.parentPos, + level = item.level, + nodes = item.nodes; + var entity = { + node: node, + nodes: nodes, + index: index, + key: key, + pos: pos, + level: level + }; + var mergedKey = getKey(key, pos); + posEntities[pos] = entity; + keyEntities[mergedKey] = entity; + // Fill children + entity.parent = posEntities[parentPos]; + if (entity.parent) { + entity.parent.children = entity.parent.children || []; + entity.parent.children.push(entity); + } + if (processEntity) { + processEntity(entity, wrapper); + } + }, { + externalGetKey: mergedExternalGetKey, + childrenPropName: childrenPropName, + fieldNames: fieldNames + }); + if (onProcessFinished) { + onProcessFinished(wrapper); + } + return wrapper; +} +/** + * Get TreeNode props with Tree props. + */ +function getTreeNodeProps(key, _ref3) { + var expandedKeys = _ref3.expandedKeys, + selectedKeys = _ref3.selectedKeys, + loadedKeys = _ref3.loadedKeys, + loadingKeys = _ref3.loadingKeys, + checkedKeys = _ref3.checkedKeys, + halfCheckedKeys = _ref3.halfCheckedKeys, + dragOverNodeKey = _ref3.dragOverNodeKey, + dropPosition = _ref3.dropPosition, + keyEntities = _ref3.keyEntities; + var entity = keyEntities[key]; + var treeNodeProps = { + eventKey: key, + expanded: expandedKeys.indexOf(key) !== -1, + selected: selectedKeys.indexOf(key) !== -1, + loaded: loadedKeys.indexOf(key) !== -1, + loading: loadingKeys.indexOf(key) !== -1, + checked: checkedKeys.indexOf(key) !== -1, + halfChecked: halfCheckedKeys.indexOf(key) !== -1, + pos: String(entity ? entity.pos : ''), + // [Legacy] Drag props + // Since the interaction of drag is changed, the semantic of the props are + // not accuracy, I think it should be finally removed + dragOver: dragOverNodeKey === key && dropPosition === 0, + dragOverGapTop: dragOverNodeKey === key && dropPosition === -1, + dragOverGapBottom: dragOverNodeKey === key && dropPosition === 1 + }; + return treeNodeProps; +} +function convertNodePropsToEventData(props) { + var data = props.data, + expanded = props.expanded, + selected = props.selected, + checked = props.checked, + loaded = props.loaded, + loading = props.loading, + halfChecked = props.halfChecked, + dragOver = props.dragOver, + dragOverGapTop = props.dragOverGapTop, + dragOverGapBottom = props.dragOverGapBottom, + pos = props.pos, + active = props.active, + eventKey = props.eventKey; + var eventData = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)((0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)({}, data), {}, { + expanded: expanded, + selected: selected, + checked: checked, + loaded: loaded, + loading: loading, + halfChecked: halfChecked, + dragOver: dragOver, + dragOverGapTop: dragOverGapTop, + dragOverGapBottom: dragOverGapBottom, + pos: pos, + active: active, + key: eventKey + }); + if (!('props' in eventData)) { + Object.defineProperty(eventData, 'props', { + get: function get() { + (0,rc_util_es_warning__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(false, 'Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`.'); + return props; + } + }); + } + return eventData; +} + +/***/ }), + +/***/ 74300: +/*!***************************************************************!*\ + !*** ./node_modules/react-copy-to-clipboard/lib/Component.js ***! + \***************************************************************/ +/***/ (function(__unused_webpack_module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.CopyToClipboard = void 0; + +var _react = _interopRequireDefault(__webpack_require__(/*! react */ 67294)); + +var _copyToClipboard = _interopRequireDefault(__webpack_require__(/*! copy-to-clipboard */ 20640)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } + +function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } + +function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } + +function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } + +function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } + +function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); } + +function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); } + +function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +var CopyToClipboard = +/*#__PURE__*/ +function (_React$PureComponent) { + _inherits(CopyToClipboard, _React$PureComponent); + + function CopyToClipboard() { + var _getPrototypeOf2; + + var _this; + + _classCallCheck(this, CopyToClipboard); + + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(CopyToClipboard)).call.apply(_getPrototypeOf2, [this].concat(args))); + + _defineProperty(_assertThisInitialized(_this), "onClick", function (event) { + var _this$props = _this.props, + text = _this$props.text, + onCopy = _this$props.onCopy, + children = _this$props.children, + options = _this$props.options; + + var elem = _react["default"].Children.only(children); + + var result = (0, _copyToClipboard["default"])(text, options); + + if (onCopy) { + onCopy(text, result); + } // Bypass onClick if it was present + + + if (elem && elem.props && typeof elem.props.onClick === 'function') { + elem.props.onClick(event); + } + }); + + return _this; + } + + _createClass(CopyToClipboard, [{ + key: "render", + value: function render() { + var _this$props2 = this.props, + _text = _this$props2.text, + _onCopy = _this$props2.onCopy, + _options = _this$props2.options, + children = _this$props2.children, + props = _objectWithoutProperties(_this$props2, ["text", "onCopy", "options", "children"]); + + var elem = _react["default"].Children.only(children); + + return _react["default"].cloneElement(elem, _objectSpread({}, props, { + onClick: this.onClick + })); + } + }]); + + return CopyToClipboard; +}(_react["default"].PureComponent); + +exports.CopyToClipboard = CopyToClipboard; + +_defineProperty(CopyToClipboard, "defaultProps", { + onCopy: undefined, + options: undefined +}); + +/***/ }), + +/***/ 74855: +/*!***********************************************************!*\ + !*** ./node_modules/react-copy-to-clipboard/lib/index.js ***! + \***********************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +"use strict"; + + +var _require = __webpack_require__(/*! ./Component */ 74300), + CopyToClipboard = _require.CopyToClipboard; + +CopyToClipboard.CopyToClipboard = CopyToClipboard; +module.exports = CopyToClipboard; + +/***/ }), + +/***/ 57761: +/*!*********************************************************************!*\ + !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! + \*********************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _react = __webpack_require__(/*! react */ 67294); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(/*! prop-types */ 45697); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var InfiniteScroll = function (_Component) { + _inherits(InfiniteScroll, _Component); + + function InfiniteScroll(props) { + _classCallCheck(this, InfiniteScroll); + + var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props)); + + _this.scrollListener = _this.scrollListener.bind(_this); + _this.eventListenerOptions = _this.eventListenerOptions.bind(_this); + _this.mousewheelListener = _this.mousewheelListener.bind(_this); + return _this; + } + + _createClass(InfiniteScroll, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.pageLoaded = this.props.pageStart; + this.options = this.eventListenerOptions(); + this.attachScrollListener(); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate() { + if (this.props.isReverse && this.loadMore) { + var parentElement = this.getParentElement(this.scrollComponent); + parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop; + this.loadMore = false; + } + this.attachScrollListener(); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.detachScrollListener(); + this.detachMousewheelListener(); + } + }, { + key: 'isPassiveSupported', + value: function isPassiveSupported() { + var passive = false; + + var testOptions = { + get passive() { + passive = true; + } + }; + + try { + document.addEventListener('test', null, testOptions); + document.removeEventListener('test', null, testOptions); + } catch (e) { + // ignore + } + return passive; + } + }, { + key: 'eventListenerOptions', + value: function eventListenerOptions() { + var options = this.props.useCapture; + + if (this.isPassiveSupported()) { + options = { + useCapture: this.props.useCapture, + passive: true + }; + } + return options; + } + + // Set a defaut loader for all your `InfiniteScroll` components + + }, { + key: 'setDefaultLoader', + value: function setDefaultLoader(loader) { + this.defaultLoader = loader; + } + }, { + key: 'detachMousewheelListener', + value: function detachMousewheelListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.scrollComponent.parentNode; + } + + scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'detachScrollListener', + value: function detachScrollListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.getParentElement(this.scrollComponent); + } + + scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'getParentElement', + value: function getParentElement(el) { + var scrollParent = this.props.getScrollParent && this.props.getScrollParent(); + if (scrollParent != null) { + return scrollParent; + } + return el && el.parentNode; + } + }, { + key: 'filterProps', + value: function filterProps(props) { + return props; + } + }, { + key: 'attachScrollListener', + value: function attachScrollListener() { + var parentElement = this.getParentElement(this.scrollComponent); + + if (!this.props.hasMore || !parentElement) { + return; + } + + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = parentElement; + } + + scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + + if (this.props.initialLoad) { + this.scrollListener(); + } + } + }, { + key: 'mousewheelListener', + value: function mousewheelListener(e) { + // Prevents Chrome hangups + // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257 + if (e.deltaY === 1 && !this.isPassiveSupported()) { + e.preventDefault(); + } + } + }, { + key: 'scrollListener', + value: function scrollListener() { + var el = this.scrollComponent; + var scrollEl = window; + var parentNode = this.getParentElement(el); + + var offset = void 0; + if (this.props.useWindow) { + var doc = document.documentElement || document.body.parentNode || document.body; + var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop; + if (this.props.isReverse) { + offset = scrollTop; + } else { + offset = this.calculateOffset(el, scrollTop); + } + } else if (this.props.isReverse) { + offset = parentNode.scrollTop; + } else { + offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight; + } + + // Here we make sure the element is visible as well as checking the offset + if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) { + this.detachScrollListener(); + this.beforeScrollHeight = parentNode.scrollHeight; + this.beforeScrollTop = parentNode.scrollTop; + // Call loadMore after detachScrollListener to allow for non-async loadMore functions + if (typeof this.props.loadMore === 'function') { + this.props.loadMore(this.pageLoaded += 1); + this.loadMore = true; + } + } + } + }, { + key: 'calculateOffset', + value: function calculateOffset(el, scrollTop) { + if (!el) { + return 0; + } + + return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight); + } + }, { + key: 'calculateTopPosition', + value: function calculateTopPosition(el) { + if (!el) { + return 0; + } + return el.offsetTop + this.calculateTopPosition(el.offsetParent); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var renderProps = this.filterProps(this.props); + + var children = renderProps.children, + element = renderProps.element, + hasMore = renderProps.hasMore, + initialLoad = renderProps.initialLoad, + isReverse = renderProps.isReverse, + loader = renderProps.loader, + loadMore = renderProps.loadMore, + pageStart = renderProps.pageStart, + ref = renderProps.ref, + threshold = renderProps.threshold, + useCapture = renderProps.useCapture, + useWindow = renderProps.useWindow, + getScrollParent = renderProps.getScrollParent, + props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']); + + props.ref = function (node) { + _this2.scrollComponent = node; + if (ref) { + ref(node); + } + }; + + var childrenArray = [children]; + if (hasMore) { + if (loader) { + isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader); + } else if (this.defaultLoader) { + isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader); + } + } + return _react2.default.createElement(element, props, childrenArray); + } + }]); + + return InfiniteScroll; +}(_react.Component); + +InfiniteScroll.propTypes = { + children: _propTypes2.default.node.isRequired, + element: _propTypes2.default.node, + hasMore: _propTypes2.default.bool, + initialLoad: _propTypes2.default.bool, + isReverse: _propTypes2.default.bool, + loader: _propTypes2.default.node, + loadMore: _propTypes2.default.func.isRequired, + pageStart: _propTypes2.default.number, + ref: _propTypes2.default.func, + getScrollParent: _propTypes2.default.func, + threshold: _propTypes2.default.number, + useCapture: _propTypes2.default.bool, + useWindow: _propTypes2.default.bool +}; +InfiniteScroll.defaultProps = { + element: 'div', + hasMore: false, + initialLoad: true, + pageStart: 0, + ref: null, + threshold: 250, + useWindow: true, + isReverse: false, + useCapture: false, + loader: null, + getScrollParent: null +}; +exports["default"] = InfiniteScroll; +module.exports = exports['default']; + + +/***/ }), + +/***/ 246: +/*!*******************************************************!*\ + !*** ./node_modules/react-infinite-scroller/index.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 57761) + + +/***/ }), + +/***/ 11742: +/*!************************************************!*\ + !*** ./node_modules/toggle-selection/index.js ***! + \************************************************/ +/***/ (function(module) { + + +module.exports = function () { + var selection = document.getSelection(); + if (!selection.rangeCount) { + return function () {}; + } + var active = document.activeElement; + + var ranges = []; + for (var i = 0; i < selection.rangeCount; i++) { + ranges.push(selection.getRangeAt(i)); + } + + switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML + case 'INPUT': + case 'TEXTAREA': + active.blur(); + break; + + default: + active = null; + break; + } + + selection.removeAllRanges(); + return function () { + selection.type === 'Caret' && + selection.removeAllRanges(); + + if (!selection.rangeCount) { + ranges.forEach(function(range) { + selection.addRange(range); + }); + } + + active && + active.focus(); + }; +}; + + +/***/ }), + +/***/ 64836: +/*!**********************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! + \**********************************************************************/ +/***/ (function(module) { + +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { + "default": obj + }; +} +module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; + +/***/ }) + +}]); \ No newline at end of file diff --git a/20139.async.js b/20139.async.js index 4c21fcaf59..7b98393c25 100644 --- a/20139.async.js +++ b/20139.async.js @@ -10,20 +10,20 @@ /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "Z": function() { return /* binding */ NullMDEditor; } /* harmony export */ }); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/classCallCheck.js */ 56690); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createClass.js */ 89728); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/assertThisInitialized.js */ 66115); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/inherits.js */ 61655); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createSuper.js */ 26389); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/defineProperty.js */ 38416); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/classCallCheck.js */ 56690); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createClass.js */ 89728); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/assertThisInitialized.js */ 66115); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/inherits.js */ 61655); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/createSuper.js */ 26389); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/defineProperty.js */ 38416); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6__); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ 67294); /* harmony import */ var _markdown_editor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../markdown-editor */ 55373); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 85893); @@ -39,16 +39,16 @@ var NULL_CH = '▁'; var NullMDEditor = /*#__PURE__*/function (_Component) { - _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default()(NullMDEditor, _Component); - var _super = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default()(NullMDEditor); + D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_4___default()(NullMDEditor, _Component); + var _super = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_createSuper_js__WEBPACK_IMPORTED_MODULE_5___default()(NullMDEditor); function NullMDEditor() { var _this; - _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default()(this, NullMDEditor); + D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default()(this, NullMDEditor); for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _this = _super.call.apply(_super, [this].concat(args)); - _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "getChCountBeforeCursor", function (cm, cursor) { + D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "getChCountBeforeCursor", function (cm, cursor) { var currentLine = cursor.line; var placeholderCountBefore = 0; for (var _line = 0; _line < currentLine; _line++) { @@ -58,7 +58,7 @@ var NullMDEditor = /*#__PURE__*/function (_Component) { placeholderCountBefore += currentLineStringBeforeCursor.split(NULL_CH).length - 1; return placeholderCountBefore; }); - _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "onCMBeforeChange", function (cm, change) { + D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_6___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_3___default()(_this), "onCMBeforeChange", function (cm, change) { var rangeText = cm.getRange(change.from, change.to); var totalPlaceholderCount = 0; change.text.forEach(function (item) { @@ -94,10 +94,10 @@ var NullMDEditor = /*#__PURE__*/function (_Component) { }); return _this; } - _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default()(NullMDEditor, [{ + D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default()(NullMDEditor, [{ key: "render", value: function render() { - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_markdown_editor__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, this.props), {}, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(_markdown_editor__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, this.props), {}, { onCMBeforeChange: this.onCMBeforeChange })); } @@ -117,16 +117,16 @@ var NullMDEditor = /*#__PURE__*/function (_Component) { /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "Z": function() { return /* binding */ AsyncButton; } /* harmony export */ }); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js */ 70215); -/* harmony import */ var _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js */ 70215); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4__); /* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd */ 71577); /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 67294); /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ 85893); @@ -141,16 +141,16 @@ var _excluded = ["children"]; var AsyncButton = function AsyncButton(_ref) { var children = _ref.children, - props = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default()(_ref, _excluded); + props = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectWithoutProperties_js__WEBPACK_IMPORTED_MODULE_4___default()(_ref, _excluded); var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false), - _useState2 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2), + _useState2 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_useState, 2), btnLoading = _useState2[0], setBtnLoading = _useState2[1]; - return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP, _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(antd__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP, D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, props), {}, { loading: btnLoading, onClick: /*#__PURE__*/function () { - var _ref2 = _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(e) { - return _root_workspace_ppte5yg23_local_v8_test1_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { + var _ref2 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee(e) { + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee$(_context) { while (1) switch (_context.prev = _context.next) { case 0: _context.prev = 0; @@ -209,7 +209,7 @@ var createSuper_default = /*#__PURE__*/__webpack_require__.n(createSuper); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); // EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules -var input = __webpack_require__(79531); +var input = __webpack_require__(11486); // EXTERNAL MODULE: ./node_modules/antd/es/tag/index.js + 3 modules var es_tag = __webpack_require__(51904); // EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules @@ -398,12 +398,12 @@ var react = __webpack_require__(67294); /* harmony default export */ var StepPreviewmodules = ({"flex_box_center":"flex_box_center___bZaL5","flex_space_between":"flex_space_between___oaJSq","flex_box_vertical_center":"flex_box_vertical_center____hsuP","flex_box_center_end":"flex_box_center_end___ZYbPQ","flex_box_column":"flex_box_column___nE_62","wrap":"wrap___ulhwR","left":"left___kyWln","title":"title___jsO1D","total":"total___GEhiU","list":"list___u9dBZ","name":"name___Wxggs","b":"b___Y15YO","r":"r___mKQoe","l":"l___uelFD","tag":"tag___Mpkbg","right":"right___mQ3dU","examName":"examName___Na1r8","t":"t___IgCWK","num":"num___CXI8j","topWarp":"topWarp___Kicpu","head":"head___jx3W8","so":"so___qYW7F","btn":"btn___EMJDz","content":"content___sHGsV","titleWrap":"titleWrap___I__GR","single":"single___K5iv9","analysis":"analysis___NoAuR","text":"text___xESW2","btnsElse":"btnsElse___FPu2o","btnsWrap":"btnsWrap___GNs1j","btns":"btns___dsNVj","modalColumn":"modalColumn___I_tK_","modalRow":"modalRow___lyw_U","sup":"sup___HSz3Z","popover":"popover___kE8aI"}); // EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules var es_modal = __webpack_require__(72423); -// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 21 modules -var input_number = __webpack_require__(31795); +// EXTERNAL MODULE: ./node_modules/antd/es/input-number/index.js + 23 modules +var input_number = __webpack_require__(42405); // EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules var message = __webpack_require__(2453); // EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules -var input = __webpack_require__(79531); +var input = __webpack_require__(11486); // EXTERNAL MODULE: ./node_modules/antd/es/popover/index.js var popover = __webpack_require__(55241); // EXTERNAL MODULE: ./node_modules/antd/es/button/index.js @@ -412,8 +412,8 @@ var es_button = __webpack_require__(71577); var divider = __webpack_require__(96074); // EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules var tooltip = __webpack_require__(83062); -// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 11 modules -var pagination = __webpack_require__(83338); +// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 13 modules +var pagination = __webpack_require__(34435); ;// CONCATENATED MODULE: ./src/assets/images/paper/zhong.svg function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } diff --git a/20812.async.js b/20812.async.js new file mode 100644 index 0000000000..30a104fe6d --- /dev/null +++ b/20812.async.js @@ -0,0 +1,7861 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[20812],{ + +/***/ 38780: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/_util/extendsObject.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +function extendsObject() { + const result = Object.assign({}, arguments.length <= 0 ? undefined : arguments[0]); + for (let i = 1; i < arguments.length; i++) { + const obj = i < 0 || arguments.length <= i ? undefined : arguments[i]; + if (obj) { + Object.keys(obj).forEach(key => { + const val = obj[key]; + if (val !== undefined) { + result[key] = val; + } + }); + } + } + return result; +} +/* harmony default export */ __webpack_exports__["Z"] = (extendsObject); + +/***/ }), + +/***/ 66367: +/*!*************************************************!*\ + !*** ./node_modules/antd/es/_util/getScroll.js ***! + \*************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "F": function() { return /* binding */ isWindow; }, +/* harmony export */ "Z": function() { return /* binding */ getScroll; } +/* harmony export */ }); +function isWindow(obj) { + return obj !== null && obj !== undefined && obj === obj.window; +} +function getScroll(target, top) { + var _a, _b; + if (typeof window === 'undefined') { + return 0; + } + const method = top ? 'scrollTop' : 'scrollLeft'; + let result = 0; + if (isWindow(target)) { + result = target[top ? 'pageYOffset' : 'pageXOffset']; + } else if (target instanceof Document) { + result = target.documentElement[method]; + } else if (target instanceof HTMLElement) { + result = target[method]; + } else if (target) { + // According to the type inference, the `target` is `never` type. + // Since we configured the loose mode type checking, and supports mocking the target with such shape below:: + // `{ documentElement: { scrollLeft: 200, scrollTop: 400 } }`, + // the program may falls into this branch. + // Check the corresponding tests for details. Don't sure what is the real scenario this happens. + result = target[method]; + } + if (target && !isWindow(target) && typeof result !== 'number') { + result = (_b = ((_a = target.ownerDocument) !== null && _a !== void 0 ? _a : target).documentElement) === null || _b === void 0 ? void 0 : _b[method]; + } + return result; +} + +/***/ }), + +/***/ 58375: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/_util/scrollTo.js + 1 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ scrollTo; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/raf.js +var raf = __webpack_require__(96523); +;// CONCATENATED MODULE: ./node_modules/antd/es/_util/easings.js +// eslint-disable-next-line import/prefer-default-export +function easeInOutCubic(t, b, c, d) { + const cc = c - b; + t /= d / 2; + if (t < 1) { + return cc / 2 * t * t * t + b; + } + // eslint-disable-next-line no-return-assign + return cc / 2 * ((t -= 2) * t * t + 2) + b; +} +// EXTERNAL MODULE: ./node_modules/antd/es/_util/getScroll.js +var getScroll = __webpack_require__(66367); +;// CONCATENATED MODULE: ./node_modules/antd/es/_util/scrollTo.js + + + +function scrollTo(y) { + let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + const { + getContainer = () => window, + callback, + duration = 450 + } = options; + const container = getContainer(); + const scrollTop = (0,getScroll/* default */.Z)(container, true); + const startTime = Date.now(); + const frameFunc = () => { + const timestamp = Date.now(); + const time = timestamp - startTime; + const nextScrollTop = easeInOutCubic(time > duration ? duration : time, scrollTop, y, duration); + if ((0,getScroll/* isWindow */.F)(container)) { + container.scrollTo(window.pageXOffset, nextScrollTop); + } else if (container instanceof Document || container.constructor.name === 'HTMLDocument') { + container.documentElement.scrollTop = nextScrollTop; + } else { + container.scrollTop = nextScrollTop; + } + if (time < duration) { + (0,raf/* default */.Z)(frameFunc); + } else if (typeof callback === 'function') { + callback(); + } + }; + (0,raf/* default */.Z)(frameFunc); +} + +/***/ }), + +/***/ 84567: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 3 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js + 5 modules +var es = __webpack_require__(95860); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/GroupContext.js + +const GroupContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var checkbox_GroupContext = (GroupContext); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js +var checkbox_style = __webpack_require__(63185); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const InternalCheckbox = (props, ref) => { + var _a; + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + children, + indeterminate = false, + style, + onMouseEnter, + onMouseLeave, + skipGroup = false, + disabled + } = props, + restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + const { + getPrefixCls, + direction, + checkbox + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const checkboxGroup = react.useContext(checkbox_GroupContext); + const { + isFormItemInput + } = react.useContext(context/* FormItemInputContext */.aM); + const contextDisabled = react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled; + const prevValue = react.useRef(restProps.value); + react.useEffect(() => { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(() => { + if (skipGroup) { + return; + } + if (restProps.value !== prevValue.current) { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current); + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + prevValue.current = restProps.value; + } + return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }, [restProps.value]); + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const checkboxProps = Object.assign({}, restProps); + if (checkboxGroup && !skipGroup) { + checkboxProps.onChange = function () { + if (restProps.onChange) { + restProps.onChange.apply(restProps, arguments); + } + if (checkboxGroup.toggleOption) { + checkboxGroup.toggleOption({ + label: children, + value: restProps.value + }); + } + }; + checkboxProps.name = checkboxGroup.name; + checkboxProps.checked = checkboxGroup.value.includes(restProps.value); + } + const classString = classnames_default()(`${prefixCls}-wrapper`, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-wrapper-checked`]: checkboxProps.checked, + [`${prefixCls}-wrapper-disabled`]: mergedDisabled, + [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput + }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId); + const checkboxClass = classnames_default()({ + [`${prefixCls}-indeterminate`]: indeterminate + }, hashId); + const ariaChecked = indeterminate ? 'mixed' : undefined; + return wrapSSR( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, Object.assign({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children))); +}; +const Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + +var Group_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalGroup = (props, ref) => { + const { + defaultValue, + children, + options = [], + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + onChange + } = props, + restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]); + const { + getPrefixCls, + direction + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const [value, setValue] = react.useState(restProps.value || defaultValue || []); + const [registeredValues, setRegisteredValues] = react.useState([]); + react.useEffect(() => { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + const memoOptions = react.useMemo(() => options.map(option => { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }), [options]); + const cancelValue = val => { + setRegisteredValues(prevValues => prevValues.filter(v => v !== val)); + }; + const registerValue = val => { + setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val])); + }; + const toggleOption = option => { + const optionIndex = value.indexOf(option.value); + const newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => { + const indexA = memoOptions.findIndex(opt => opt.value === a); + const indexB = memoOptions.findIndex(opt => opt.value === b); + return indexA - indexB; + })); + }; + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const groupPrefixCls = `${prefixCls}-group`; + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/react.createElement(checkbox_Checkbox, { + prefixCls: prefixCls, + key: option.value.toString(), + disabled: 'disabled' in option ? option.disabled : restProps.disabled, + value: option.value, + checked: value.includes(option.value), + onChange: option.onChange, + className: `${groupPrefixCls}-item`, + style: option.style, + title: option.title + }, option.label)) : children; + // eslint-disable-next-line react/jsx-no-constructed-context-values + const context = { + toggleOption, + value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue, + cancelValue + }; + const classString = classnames_default()(groupPrefixCls, { + [`${groupPrefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(checkbox_GroupContext.Provider, { + value: context + }, childrenNode))); +}; + +const CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js +'use client'; + + + +const es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +if (false) {} +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 85418: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/dropdown/index.js + 1 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_dropdown; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/space/index.js + 2 modules +var space = __webpack_require__(42075); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(66748); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/dropdown-button.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const DropdownButton = props => { + const { + getPopupContainer: getContextPopupContainer, + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'default', + danger, + disabled, + loading, + onClick, + htmlType, + children, + className, + menu, + arrow, + autoFocus, + overlay, + trigger, + align, + open, + onOpenChange, + placement, + getPopupContainer, + href, + icon = /*#__PURE__*/react.createElement(EllipsisOutlined/* default */.Z, null), + title, + buttonsRender = buttons => buttons, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + } = props, + restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); + const prefixCls = getPrefixCls('dropdown', customizePrefixCls); + const buttonPrefixCls = `${prefixCls}-button`; + const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); + const dropdownProps = { + menu, + arrow, + autoFocus, + align, + disabled, + trigger: disabled ? [] : trigger, + onOpenChange, + getPopupContainer: getPopupContainer || getContextPopupContainer, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + }; + const { + compactSize, + compactItemClassnames + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); + if ('overlay' in props) { + dropdownProps.overlay = overlay; + } + if ('open' in props) { + dropdownProps.open = open; + } + if ('placement' in props) { + dropdownProps.placement = placement; + } else { + dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; + } + const leftButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + disabled: disabled, + loading: loading, + onClick: onClick, + htmlType: htmlType, + href: href, + title: title + }, children); + const rightButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + icon: icon + }); + const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); + return wrapSSR( /*#__PURE__*/react.createElement(space/* default.Compact */.Z.Compact, Object.assign({ + className: classes, + size: compactSize, + block: true + }, restProps), leftButtonToRender, /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); +}; +DropdownButton.__ANT_BUTTON = true; +/* harmony default export */ var dropdown_button = (DropdownButton); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/index.js +'use client'; + + + +const Dropdown = dropdown/* default */.Z; +Dropdown.Button = dropdown_button; +/* harmony default export */ var es_dropdown = (Dropdown); + +/***/ }), + +/***/ 49867: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/style/operationUnit.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "N": function() { return /* binding */ operationUnit; } +/* harmony export */ }); +// eslint-disable-next-line import/prefer-default-export +const operationUnit = token => ({ + // FIXME: This use link but is a operation unit. Seems should be a colorPrimary. + // And Typography use this to generate link style which should not do this. + color: token.colorLink, + textDecoration: 'none', + outline: 'none', + cursor: 'pointer', + transition: `color ${token.motionDurationSlow}`, + '&:focus, &:hover': { + color: token.colorLinkHover + }, + '&:active': { + color: token.colorLinkActive + } +}); + +/***/ }), + +/***/ 20812: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/table/index.js + 94 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ table; } +}); + +;// CONCATENATED MODULE: ./node_modules/rc-table/es/constant.js +var EXPAND_COLUMN = {}; +var INTERNAL_HOOKS = 'rc-table-internal-hook'; +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useEvent.js +var useEvent = __webpack_require__(66680); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useLayoutEffect.js +var useLayoutEffect = __webpack_require__(8410); +// EXTERNAL MODULE: ./node_modules/rc-util/es/isEqual.js +var isEqual = __webpack_require__(91881); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/react-dom/index.js +var react_dom = __webpack_require__(73935); +;// CONCATENATED MODULE: ./node_modules/@rc-component/context/es/context.js + + + + + + +function createContext(defaultValue) { + var Context = /*#__PURE__*/react.createContext(undefined); + + var Provider = function Provider(_ref) { + var value = _ref.value, + children = _ref.children; + var valueRef = react.useRef(value); + valueRef.current = value; + + var _React$useState = react.useState(function () { + return { + getValue: function getValue() { + return valueRef.current; + }, + listeners: new Set() + }; + }), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 1), + context = _React$useState2[0]; + + (0,useLayoutEffect/* default */.Z)(function () { + (0,react_dom.unstable_batchedUpdates)(function () { + context.listeners.forEach(function (listener) { + listener(value); + }); + }); + }, [value]); + return /*#__PURE__*/react.createElement(Context.Provider, { + value: context + }, children); + }; + + return { + Context: Context, + Provider: Provider, + defaultValue: defaultValue + }; +} +/** e.g. useSelect(userContext) => user */ + +function useContext(holder, selector) { + var eventSelector = (0,useEvent/* default */.Z)(typeof selector === 'function' ? selector : function (ctx) { + if (selector === undefined) { + return ctx; + } + + if (!Array.isArray(selector)) { + return ctx[selector]; + } + + var obj = {}; + selector.forEach(function (key) { + obj[key] = ctx[key]; + }); + return obj; + }); + var context = react.useContext(holder === null || holder === void 0 ? void 0 : holder.Context); + + var _ref2 = context || {}, + listeners = _ref2.listeners, + getValue = _ref2.getValue; + + var valueRef = react.useRef(); + valueRef.current = eventSelector(context ? getValue() : holder === null || holder === void 0 ? void 0 : holder.defaultValue); + + var _React$useState3 = react.useState({}), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + forceUpdate = _React$useState4[1]; + + (0,useLayoutEffect/* default */.Z)(function () { + if (!context) { + return; + } + + function trigger(nextValue) { + var nextSelectorValue = eventSelector(nextValue); + + if (!(0,isEqual/* default */.Z)(valueRef.current, nextSelectorValue, true)) { + forceUpdate({}); + } + } + + listeners.add(trigger); + return function () { + listeners.delete(trigger); + }; + }, [context]); + return valueRef.current; +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/rc-util/es/ref.js +var ref = __webpack_require__(42550); +;// CONCATENATED MODULE: ./node_modules/@rc-component/context/es/Immutable.js + + + +var ImmutableContext = /*#__PURE__*/react.createContext(0); + +/** + * Get render update mark by `makeImmutable` root. + * Do not deps on the return value as render times + * but only use for `useMemo` or `useCallback` deps. + */ +function useImmutableMark() { + return react.useContext(ImmutableContext); +} +/** + * Wrapped Component will be marked as Immutable. + * When Component parent trigger render, + * it will notice children component (use with `responseImmutable`) node that parent has updated. + + * @param Component Passed Component + * @param triggerRender Customize trigger `responseImmutable` children re-render logic. Default will always trigger re-render when this component re-render. + */ + +function makeImmutable(Component, shouldTriggerRender) { + var refAble = (0,ref/* supportRef */.Yr)(Component); + + var ImmutableComponent = function ImmutableComponent(props, ref) { + var refProps = refAble ? { + ref: ref + } : {}; + var renderTimesRef = react.useRef(0); + var prevProps = react.useRef(props); + + if ( // Always trigger re-render if not provide `notTriggerRender` + !shouldTriggerRender || shouldTriggerRender(prevProps.current, props)) { + renderTimesRef.current += 1; + } + + prevProps.current = props; + return /*#__PURE__*/react.createElement(ImmutableContext.Provider, { + value: renderTimesRef.current + }, /*#__PURE__*/react.createElement(Component, (0,esm_extends/* default */.Z)({}, props, refProps))); + }; + + if (false) {} + + return refAble ? /*#__PURE__*/react.forwardRef(ImmutableComponent) : ImmutableComponent; +} +/** + * Wrapped Component with `React.memo`. + * But will rerender when parent with `makeImmutable` rerender. + */ + +function responseImmutable(Component, propsAreEqual) { + var refAble = (0,ref/* supportRef */.Yr)(Component); + + var ImmutableComponent = function ImmutableComponent(props, ref) { + var refProps = refAble ? { + ref: ref + } : {}; + useImmutableMark(); + return /*#__PURE__*/react.createElement(Component, (0,esm_extends/* default */.Z)({}, props, refProps)); + }; + + if (false) {} + + return refAble ? /*#__PURE__*/react.memo( /*#__PURE__*/react.forwardRef(ImmutableComponent), propsAreEqual) : /*#__PURE__*/react.memo(ImmutableComponent, propsAreEqual); +} +;// CONCATENATED MODULE: ./node_modules/@rc-component/context/es/index.js + + + +;// CONCATENATED MODULE: ./node_modules/rc-table/es/context/TableContext.js + +var TableContext = createContext(); +/* harmony default export */ var context_TableContext = (TableContext); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/hooks/useRenderTimes.js +/* istanbul ignore file */ + +function useRenderTimes(props, debug) { + // Render times + var timesRef = react.useRef(0); + timesRef.current += 1; + + // Props changed + var propsRef = react.useRef(props); + var keys = []; + Object.keys(props || {}).map(function (key) { + var _propsRef$current; + if ((props === null || props === void 0 ? void 0 : props[key]) !== ((_propsRef$current = propsRef.current) === null || _propsRef$current === void 0 ? void 0 : _propsRef$current[key])) { + keys.push(key); + } + }); + propsRef.current = props; + + // Cache keys since React rerender may cause it lost + var keysRef = react.useRef([]); + if (keys.length) { + keysRef.current = keys; + } + react.useDebugValue(timesRef.current); + react.useDebugValue(keysRef.current.join(', ')); + if (debug) { + console.log("".concat(debug, ":"), timesRef.current, keysRef.current); + } + return timesRef.current; +} +/* harmony default export */ var hooks_useRenderTimes = ((/* unused pure expression or super */ null && ( false ? 0 : function () {}))); +var RenderBlock = /*#__PURE__*/react.memo(function () { + var times = useRenderTimes(); + return /*#__PURE__*/react.createElement("h1", null, "Render Times: ", times); +}); +RenderBlock.displayName = 'RenderBlock'; +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/hooks/useMemo.js + +function useMemo_useMemo(getValue, condition, shouldUpdate) { + var cacheRef = react.useRef({}); + if (!('value' in cacheRef.current) || shouldUpdate(cacheRef.current.condition, condition)) { + cacheRef.current.value = getValue(); + cacheRef.current.condition = condition; + } + return cacheRef.current.value; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/warning.js +/* eslint-disable no-console */ +var warned = {}; +var preWarningFns = []; + +/** + * Pre warning enable you to parse content before console.error. + * Modify to null will prevent warning. + */ +var preMessage = function preMessage(fn) { + preWarningFns.push(fn); +}; +function warning_warning(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function note(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function resetWarned() { + warned = {}; +} +function call(method, valid, message) { + if (!valid && !warned[message]) { + method(false, message); + warned[message] = true; + } +} +function warningOnce(valid, message) { + call(warning_warning, valid, message); +} +function noteOnce(valid, message) { + call(note, valid, message); +} +warningOnce.preMessage = preMessage; +warningOnce.resetWarned = resetWarned; +warningOnce.noteOnce = noteOnce; +/* harmony default export */ var es_warning = (warningOnce); +/* eslint-enable */ +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/isEqual.js + + + +/** + * Deeply compares two object literals. + * @param obj1 object 1 + * @param obj2 object 2 + * @param shallow shallow compare + * @returns + */ +function isEqual_isEqual(obj1, obj2) { + var shallow = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + // https://github.com/mapbox/mapbox-gl-js/pull/5979/files#diff-fde7145050c47cc3a306856efd5f9c3016e86e859de9afbd02c879be5067e58f + var refSet = new Set(); + function deepEqual(a, b) { + var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1; + var circular = refSet.has(a); + es_warning(!circular, 'Warning: There may be circular references'); + if (circular) { + return false; + } + if (a === b) { + return true; + } + if (shallow && level > 1) { + return false; + } + refSet.add(a); + var newLevel = level + 1; + if (Array.isArray(a)) { + if (!Array.isArray(b) || a.length !== b.length) { + return false; + } + for (var i = 0; i < a.length; i++) { + if (!deepEqual(a[i], b[i], newLevel)) { + return false; + } + } + return true; + } + if (a && b && (0,esm_typeof/* default */.Z)(a) === 'object' && (0,esm_typeof/* default */.Z)(b) === 'object') { + var keys = Object.keys(a); + if (keys.length !== Object.keys(b).length) { + return false; + } + return keys.every(function (key) { + return deepEqual(a[key], b[key], newLevel); + }); + } + // other + return false; + } + return deepEqual(obj1, obj2); +} +/* harmony default export */ var es_isEqual = (isEqual_isEqual); +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/utils/get.js +function get(entity, path) { + var current = entity; + for (var i = 0; i < path.length; i += 1) { + if (current === null || current === undefined) { + return undefined; + } + current = current[path[i]]; + } + return current; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/context/PerfContext.js + +// TODO: Remove when use `responsiveImmutable` +var PerfContext = /*#__PURE__*/react.createContext({ + renderWithProps: false +}); +/* harmony default export */ var context_PerfContext = (PerfContext); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/utils/valueUtil.js +var INTERNAL_KEY_PREFIX = 'RC_TABLE_KEY'; +function toArray(arr) { + if (arr === undefined || arr === null) { + return []; + } + return Array.isArray(arr) ? arr : [arr]; +} +function getColumnsKey(columns) { + var columnKeys = []; + var keys = {}; + columns.forEach(function (column) { + var _ref = column || {}, + key = _ref.key, + dataIndex = _ref.dataIndex; + var mergedKey = key || toArray(dataIndex).join('-') || INTERNAL_KEY_PREFIX; + while (keys[mergedKey]) { + mergedKey = "".concat(mergedKey, "_next"); + } + keys[mergedKey] = true; + columnKeys.push(mergedKey); + }); + return columnKeys; +} +function validateValue(val) { + return val !== null && val !== undefined; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Cell/useCellRender.js + + + + + + + + + + +function isRenderCell(data) { + return data && (0,esm_typeof/* default */.Z)(data) === 'object' && !Array.isArray(data) && ! /*#__PURE__*/react.isValidElement(data); +} +function useCellRender(record, dataIndex, renderIndex, children, render, shouldCellUpdate) { + // TODO: Remove this after next major version + var perfRecord = react.useContext(context_PerfContext); + var mark = useImmutableMark(); + + // ======================== Render ======================== + var retData = useMemo_useMemo(function () { + if (validateValue(children)) { + return [children]; + } + var path = dataIndex === null || dataIndex === undefined || dataIndex === '' ? [] : Array.isArray(dataIndex) ? dataIndex : [dataIndex]; + var value = get(record, path); + + // Customize render node + var returnChildNode = value; + var returnCellProps = undefined; + if (render) { + var renderData = render(value, record, renderIndex); + if (isRenderCell(renderData)) { + if (false) {} + returnChildNode = renderData.children; + returnCellProps = renderData.props; + perfRecord.renderWithProps = true; + } else { + returnChildNode = renderData; + } + } + return [returnChildNode, returnCellProps]; + }, [ + // Force update deps + mark, + // Normal deps + record, children, dataIndex, render, renderIndex], function (prev, next) { + if (shouldCellUpdate) { + var _prev = (0,slicedToArray/* default */.Z)(prev, 2), + prevRecord = _prev[1]; + var _next = (0,slicedToArray/* default */.Z)(next, 2), + nextRecord = _next[1]; + return shouldCellUpdate(nextRecord, prevRecord); + } + + // Legacy mode should always update + if (perfRecord.renderWithProps) { + return true; + } + return !es_isEqual(prev, next, true); + }); + return retData; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Cell/useHoverState.js + + +/** Check if cell is in hover range */ +function inHoverRange(cellStartRow, cellRowSpan, startRow, endRow) { + var cellEndRow = cellStartRow + cellRowSpan - 1; + return cellStartRow <= endRow && cellEndRow >= startRow; +} +function useHoverState(rowIndex, rowSpan) { + return useContext(context_TableContext, function (ctx) { + var hovering = inHoverRange(rowIndex, rowSpan || 1, ctx.hoverStartRow, ctx.hoverEndRow); + return [hovering, ctx.onHover]; + }); +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Cell/index.js + + + + + + + + + + + + +var getTitleFromCellRenderChildren = function getTitleFromCellRenderChildren(_ref) { + var ellipsis = _ref.ellipsis, + rowType = _ref.rowType, + children = _ref.children; + var title; + var ellipsisConfig = ellipsis === true ? { + showTitle: true + } : ellipsis; + if (ellipsisConfig && (ellipsisConfig.showTitle || rowType === 'header')) { + if (typeof children === 'string' || typeof children === 'number') { + title = children.toString(); + } else if ( /*#__PURE__*/react.isValidElement(children) && typeof children.props.children === 'string') { + title = children.props.children; + } + } + return title; +}; +function Cell(props) { + var _ref2, _ref3, _legacyCellProps$colS, _ref4, _ref5, _legacyCellProps$rowS, _additionalProps$titl, _classNames; + if (false) {} + var Component = props.component, + children = props.children, + ellipsis = props.ellipsis, + scope = props.scope, + prefixCls = props.prefixCls, + className = props.className, + align = props.align, + record = props.record, + render = props.render, + dataIndex = props.dataIndex, + renderIndex = props.renderIndex, + shouldCellUpdate = props.shouldCellUpdate, + index = props.index, + rowType = props.rowType, + colSpan = props.colSpan, + rowSpan = props.rowSpan, + fixLeft = props.fixLeft, + fixRight = props.fixRight, + firstFixLeft = props.firstFixLeft, + lastFixLeft = props.lastFixLeft, + firstFixRight = props.firstFixRight, + lastFixRight = props.lastFixRight, + appendNode = props.appendNode, + _props$additionalProp = props.additionalProps, + additionalProps = _props$additionalProp === void 0 ? {} : _props$additionalProp, + isSticky = props.isSticky; + var cellPrefixCls = "".concat(prefixCls, "-cell"); + var _useContext = useContext(context_TableContext, ['supportSticky', 'allColumnsFixedLeft']), + supportSticky = _useContext.supportSticky, + allColumnsFixedLeft = _useContext.allColumnsFixedLeft; + + // ====================== Value ======================= + var _useCellRender = useCellRender(record, dataIndex, renderIndex, children, render, shouldCellUpdate), + _useCellRender2 = (0,slicedToArray/* default */.Z)(_useCellRender, 2), + childNode = _useCellRender2[0], + legacyCellProps = _useCellRender2[1]; + + // ====================== Fixed ======================= + var fixedStyle = {}; + var isFixLeft = typeof fixLeft === 'number' && supportSticky; + var isFixRight = typeof fixRight === 'number' && supportSticky; + if (isFixLeft) { + fixedStyle.position = 'sticky'; + fixedStyle.left = fixLeft; + } + if (isFixRight) { + fixedStyle.position = 'sticky'; + fixedStyle.right = fixRight; + } + + // ================ RowSpan & ColSpan ================= + var mergedColSpan = (_ref2 = (_ref3 = (_legacyCellProps$colS = legacyCellProps === null || legacyCellProps === void 0 ? void 0 : legacyCellProps.colSpan) !== null && _legacyCellProps$colS !== void 0 ? _legacyCellProps$colS : additionalProps.colSpan) !== null && _ref3 !== void 0 ? _ref3 : colSpan) !== null && _ref2 !== void 0 ? _ref2 : 1; + var mergedRowSpan = (_ref4 = (_ref5 = (_legacyCellProps$rowS = legacyCellProps === null || legacyCellProps === void 0 ? void 0 : legacyCellProps.rowSpan) !== null && _legacyCellProps$rowS !== void 0 ? _legacyCellProps$rowS : additionalProps.rowSpan) !== null && _ref5 !== void 0 ? _ref5 : rowSpan) !== null && _ref4 !== void 0 ? _ref4 : 1; + + // ====================== Hover ======================= + var _useHoverState = useHoverState(index, mergedRowSpan), + _useHoverState2 = (0,slicedToArray/* default */.Z)(_useHoverState, 2), + hovering = _useHoverState2[0], + onHover = _useHoverState2[1]; + var onMouseEnter = function onMouseEnter(event) { + var _additionalProps$onMo; + if (record) { + onHover(index, index + mergedRowSpan - 1); + } + additionalProps === null || additionalProps === void 0 ? void 0 : (_additionalProps$onMo = additionalProps.onMouseEnter) === null || _additionalProps$onMo === void 0 ? void 0 : _additionalProps$onMo.call(additionalProps, event); + }; + var onMouseLeave = function onMouseLeave(event) { + var _additionalProps$onMo2; + if (record) { + onHover(-1, -1); + } + additionalProps === null || additionalProps === void 0 ? void 0 : (_additionalProps$onMo2 = additionalProps.onMouseLeave) === null || _additionalProps$onMo2 === void 0 ? void 0 : _additionalProps$onMo2.call(additionalProps, event); + }; + + // ====================== Render ====================== + if (mergedColSpan === 0 || mergedRowSpan === 0) { + return null; + } + + // >>>>> Title + var title = (_additionalProps$titl = additionalProps.title) !== null && _additionalProps$titl !== void 0 ? _additionalProps$titl : getTitleFromCellRenderChildren({ + rowType: rowType, + ellipsis: ellipsis, + children: childNode + }); + + // >>>>> ClassName + var mergedClassName = classnames_default()(cellPrefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-fix-left"), isFixLeft && supportSticky), (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-fix-left-first"), firstFixLeft && supportSticky), (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-fix-left-last"), lastFixLeft && supportSticky), (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-fix-left-all"), lastFixLeft && allColumnsFixedLeft && supportSticky), (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-fix-right"), isFixRight && supportSticky), (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-fix-right-first"), firstFixRight && supportSticky), (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-fix-right-last"), lastFixRight && supportSticky), (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-ellipsis"), ellipsis), (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-with-append"), appendNode), (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-fix-sticky"), (isFixLeft || isFixRight) && isSticky && supportSticky), (0,defineProperty/* default */.Z)(_classNames, "".concat(cellPrefixCls, "-row-hover"), !legacyCellProps && hovering), _classNames), additionalProps.className, legacyCellProps === null || legacyCellProps === void 0 ? void 0 : legacyCellProps.className); + + // >>>>> Style + var alignStyle = {}; + if (align) { + alignStyle.textAlign = align; + } + var mergedStyle = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, additionalProps.style), alignStyle), fixedStyle), legacyCellProps === null || legacyCellProps === void 0 ? void 0 : legacyCellProps.style); + + // >>>>> Children Node + var mergedChildNode = childNode; + + // Not crash if final `childNode` is not validate ReactNode + if ((0,esm_typeof/* default */.Z)(mergedChildNode) === 'object' && !Array.isArray(mergedChildNode) && ! /*#__PURE__*/react.isValidElement(mergedChildNode)) { + mergedChildNode = null; + } + if (ellipsis && (lastFixLeft || firstFixRight)) { + mergedChildNode = /*#__PURE__*/react.createElement("span", { + className: "".concat(cellPrefixCls, "-content") + }, mergedChildNode); + } + return /*#__PURE__*/react.createElement(Component, (0,esm_extends/* default */.Z)({}, legacyCellProps, additionalProps, { + className: mergedClassName, + style: mergedStyle + // A11y + , + title: title, + scope: scope + // Hover + , + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + //Span + , + colSpan: mergedColSpan !== 1 ? mergedColSpan : null, + rowSpan: mergedRowSpan !== 1 ? mergedRowSpan : null + }), appendNode, mergedChildNode); +} +/* harmony default export */ var es_Cell = (/*#__PURE__*/react.memo(Cell)); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/utils/fixUtil.js +function getCellFixedInfo(colStart, colEnd, columns, stickyOffsets, direction, curColumns) { + var startColumn = columns[colStart] || {}; + var endColumn = columns[colEnd] || {}; + var fixLeft; + var fixRight; + if (startColumn.fixed === 'left') { + fixLeft = stickyOffsets.left[direction === 'rtl' ? colEnd : colStart]; + } else if (endColumn.fixed === 'right') { + fixRight = stickyOffsets.right[direction === 'rtl' ? colStart : colEnd]; + } + var lastFixLeft = false; + var firstFixRight = false; + var lastFixRight = false; + var firstFixLeft = false; + var nextColumn = columns[colEnd + 1]; + var prevColumn = columns[colStart - 1]; + + // no children only + var canLastFix = !(curColumns !== null && curColumns !== void 0 && curColumns.children); + if (direction === 'rtl') { + if (fixLeft !== undefined) { + var prevFixLeft = prevColumn && prevColumn.fixed === 'left'; + firstFixLeft = !prevFixLeft && canLastFix; + } else if (fixRight !== undefined) { + var nextFixRight = nextColumn && nextColumn.fixed === 'right'; + lastFixRight = !nextFixRight && canLastFix; + } + } else if (fixLeft !== undefined) { + var nextFixLeft = nextColumn && nextColumn.fixed === 'left'; + lastFixLeft = !nextFixLeft && canLastFix; + } else if (fixRight !== undefined) { + var prevFixRight = prevColumn && prevColumn.fixed === 'right'; + firstFixRight = !prevFixRight && canLastFix; + } + return { + fixLeft: fixLeft, + fixRight: fixRight, + lastFixLeft: lastFixLeft, + firstFixRight: firstFixRight, + lastFixRight: lastFixRight, + firstFixLeft: firstFixLeft, + isSticky: stickyOffsets.isSticky + }; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Footer/SummaryContext.js + +var SummaryContext = /*#__PURE__*/react.createContext({}); +/* harmony default export */ var Footer_SummaryContext = (SummaryContext); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Footer/Cell.js + + + + + + + +function SummaryCell(_ref) { + var className = _ref.className, + index = _ref.index, + children = _ref.children, + _ref$colSpan = _ref.colSpan, + colSpan = _ref$colSpan === void 0 ? 1 : _ref$colSpan, + rowSpan = _ref.rowSpan, + align = _ref.align; + var _useContext = useContext(context_TableContext, ['prefixCls', 'direction']), + prefixCls = _useContext.prefixCls, + direction = _useContext.direction; + var _React$useContext = react.useContext(Footer_SummaryContext), + scrollColumnIndex = _React$useContext.scrollColumnIndex, + stickyOffsets = _React$useContext.stickyOffsets, + flattenColumns = _React$useContext.flattenColumns, + columns = _React$useContext.columns; + var lastIndex = index + colSpan - 1; + var mergedColSpan = lastIndex + 1 === scrollColumnIndex ? colSpan + 1 : colSpan; + var fixedInfo = getCellFixedInfo(index, index + mergedColSpan - 1, flattenColumns, stickyOffsets, direction, columns === null || columns === void 0 ? void 0 : columns[index]); + return /*#__PURE__*/react.createElement(es_Cell, (0,esm_extends/* default */.Z)({ + className: className, + index: index, + component: "td", + prefixCls: prefixCls, + record: null, + dataIndex: null, + align: align, + colSpan: mergedColSpan, + rowSpan: rowSpan, + render: function render() { + return children; + } + }, fixedInfo)); +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Footer/Row.js + +var _excluded = ["children"]; + +function FooterRow(_ref) { + var children = _ref.children, + props = (0,objectWithoutProperties/* default */.Z)(_ref, _excluded); + return /*#__PURE__*/react.createElement("tr", props, children); +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Footer/Summary.js + + +/** + * Syntactic sugar. Do not support HOC. + */ +function Summary(_ref) { + var children = _ref.children; + return children; +} +Summary.Row = FooterRow; +Summary.Cell = SummaryCell; +/* harmony default export */ var Footer_Summary = (Summary); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Footer/index.js + + + + + + +function Footer(props) { + if (false) {} + var children = props.children, + stickyOffsets = props.stickyOffsets, + flattenColumns = props.flattenColumns, + columns = props.columns; + var prefixCls = useContext(context_TableContext, 'prefixCls'); + var lastColumnIndex = flattenColumns.length - 1; + var scrollColumn = flattenColumns[lastColumnIndex]; + var summaryContext = react.useMemo(function () { + return { + stickyOffsets: stickyOffsets, + flattenColumns: flattenColumns, + scrollColumnIndex: scrollColumn !== null && scrollColumn !== void 0 && scrollColumn.scrollbar ? lastColumnIndex : null, + columns: columns + }; + }, [scrollColumn, flattenColumns, lastColumnIndex, stickyOffsets, columns]); + return /*#__PURE__*/react.createElement(Footer_SummaryContext.Provider, { + value: summaryContext + }, /*#__PURE__*/react.createElement("tfoot", { + className: "".concat(prefixCls, "-summary") + }, children)); +} +/* harmony default export */ var es_Footer = (responseImmutable(Footer)); +var FooterComponents = Footer_Summary; +// EXTERNAL MODULE: ./node_modules/rc-resize-observer/es/index.js + 4 modules +var es = __webpack_require__(48555); +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/Dom/isVisible.js +/* harmony default export */ var isVisible = (function (element) { + if (!element) { + return false; + } + if (element instanceof Element) { + if (element.offsetParent) { + return true; + } + if (element.getBBox) { + var _getBBox = element.getBBox(), + width = _getBBox.width, + height = _getBBox.height; + if (width || height) { + return true; + } + } + if (element.getBoundingClientRect) { + var _element$getBoundingC = element.getBoundingClientRect(), + _width = _element$getBoundingC.width, + _height = _element$getBoundingC.height; + if (_width || _height) { + return true; + } + } + } + return false; +}); +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/Dom/styleChecker.js + +var isStyleNameSupport = function isStyleNameSupport(styleName) { + if (canUseDom() && window.document.documentElement) { + var styleNameList = Array.isArray(styleName) ? styleName : [styleName]; + var documentElement = window.document.documentElement; + return styleNameList.some(function (name) { + return name in documentElement.style; + }); + } + return false; +}; +var isStyleValueSupport = function isStyleValueSupport(styleName, value) { + if (!isStyleNameSupport(styleName)) { + return false; + } + var ele = document.createElement('div'); + var origin = ele.style[styleName]; + ele.style[styleName] = value; + return ele.style[styleName] !== origin; +}; +function isStyleSupport(styleName, styleValue) { + if (!Array.isArray(styleName) && styleValue !== undefined) { + return isStyleValueSupport(styleName, styleValue); + } + return isStyleNameSupport(styleName); +} +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/getScrollBarSize.js +/* eslint-disable no-param-reassign */ + +var cached; +function getScrollBarSize(fresh) { + if (typeof document === 'undefined') { + return 0; + } + if (fresh || cached === undefined) { + var inner = document.createElement('div'); + inner.style.width = '100%'; + inner.style.height = '200px'; + var outer = document.createElement('div'); + var outerStyle = outer.style; + outerStyle.position = 'absolute'; + outerStyle.top = '0'; + outerStyle.left = '0'; + outerStyle.pointerEvents = 'none'; + outerStyle.visibility = 'hidden'; + outerStyle.width = '200px'; + outerStyle.height = '150px'; + outerStyle.overflow = 'hidden'; + outer.appendChild(inner); + document.body.appendChild(outer); + var widthContained = inner.offsetWidth; + outer.style.overflow = 'scroll'; + var widthScroll = inner.offsetWidth; + if (widthContained === widthScroll) { + widthScroll = outer.clientWidth; + } + document.body.removeChild(outer); + cached = widthContained - widthScroll; + } + return cached; +} +function ensureSize(str) { + var match = str.match(/^(.*)px$/); + var value = Number(match === null || match === void 0 ? void 0 : match[1]); + return Number.isNaN(value) ? getScrollBarSize() : value; +} +function getTargetScrollBarSize(target) { + if (typeof document === 'undefined' || !target || !(target instanceof Element)) { + return { + width: 0, + height: 0 + }; + } + var _getComputedStyle = getComputedStyle(target, '::-webkit-scrollbar'), + width = _getComputedStyle.width, + height = _getComputedStyle.height; + return { + width: ensureSize(width), + height: ensureSize(height) + }; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/hooks/useEvent.js + +function useEvent_useEvent(callback) { + var fnRef = react.useRef(); + fnRef.current = callback; + var memoFn = react.useCallback(function () { + var _fnRef$current; + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + return (_fnRef$current = fnRef.current) === null || _fnRef$current === void 0 ? void 0 : _fnRef$current.call.apply(_fnRef$current, [fnRef].concat(args)); + }, []); + return memoFn; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/pickAttrs.js + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,objectSpread2/* default */.Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/hooks/useFlattenRecords.js + + +// recursion (flat tree structure) +function flatRecord(record, indent, childrenColumnName, expandedKeys, getRowKey, index) { + var arr = []; + arr.push({ + record: record, + indent: indent, + index: index + }); + var key = getRowKey(record); + var expanded = expandedKeys === null || expandedKeys === void 0 ? void 0 : expandedKeys.has(key); + if (record && Array.isArray(record[childrenColumnName]) && expanded) { + // expanded state, flat record + for (var i = 0; i < record[childrenColumnName].length; i += 1) { + var tempArr = flatRecord(record[childrenColumnName][i], indent + 1, childrenColumnName, expandedKeys, getRowKey, i); + arr.push.apply(arr, (0,toConsumableArray/* default */.Z)(tempArr)); + } + } + return arr; +} + +/** + * flat tree data on expanded state + * + * @export + * @template T + * @param {*} data : table data + * @param {string} childrenColumnName : 指定树形结构的列名 + * @param {Set} expandedKeys : 展开的行对应的keys + * @param {GetRowKey} getRowKey : 获取当前rowKey的方法 + * @returns flattened data + */ +function useFlattenRecords(data, childrenColumnName, expandedKeys, getRowKey) { + var arr = react.useMemo(function () { + if (expandedKeys !== null && expandedKeys !== void 0 && expandedKeys.size) { + var temp = []; + + // collect flattened record + for (var i = 0; i < (data === null || data === void 0 ? void 0 : data.length); i += 1) { + var record = data[i]; + temp.push.apply(temp, (0,toConsumableArray/* default */.Z)(flatRecord(record, 0, childrenColumnName, expandedKeys, getRowKey, i))); + } + return temp; + } + return data === null || data === void 0 ? void 0 : data.map(function (item, index) { + return { + record: item, + indent: 0, + index: index + }; + }); + }, [data, childrenColumnName, expandedKeys, getRowKey]); + return arr; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Body/ExpandedRow.js + + + + + +function ExpandedRow(props) { + if (false) {} + var prefixCls = props.prefixCls, + children = props.children, + Component = props.component, + cellComponent = props.cellComponent, + className = props.className, + expanded = props.expanded, + colSpan = props.colSpan, + isEmpty = props.isEmpty; + var _useContext = useContext(context_TableContext, ['scrollbarSize', 'fixHeader', 'fixColumn', 'componentWidth', 'horizonScroll']), + scrollbarSize = _useContext.scrollbarSize, + fixHeader = _useContext.fixHeader, + fixColumn = _useContext.fixColumn, + componentWidth = _useContext.componentWidth, + horizonScroll = _useContext.horizonScroll; + + // Cache render node + var contentNode = children; + if (isEmpty ? horizonScroll : fixColumn) { + contentNode = /*#__PURE__*/react.createElement("div", { + style: { + width: componentWidth - (fixHeader ? scrollbarSize : 0), + position: 'sticky', + left: 0, + overflow: 'hidden' + }, + className: "".concat(prefixCls, "-expanded-row-fixed") + }, componentWidth !== 0 && contentNode); + } + return /*#__PURE__*/react.createElement(Component, { + className: className, + style: { + display: expanded ? null : 'none' + } + }, /*#__PURE__*/react.createElement(es_Cell, { + component: cellComponent, + prefixCls: prefixCls, + colSpan: colSpan + }, contentNode)); +} +/* harmony default export */ var Body_ExpandedRow = (ExpandedRow); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Body/BodyRow.js + + + + + + + + + + + +function BodyRow(props) { + if (false) {} + var className = props.className, + style = props.style, + record = props.record, + index = props.index, + renderIndex = props.renderIndex, + rowKey = props.rowKey, + rowExpandable = props.rowExpandable, + expandedKeys = props.expandedKeys, + onRow = props.onRow, + _props$indent = props.indent, + indent = _props$indent === void 0 ? 0 : _props$indent, + RowComponent = props.rowComponent, + cellComponent = props.cellComponent, + scopeCellComponent = props.scopeCellComponent, + childrenColumnName = props.childrenColumnName; + var _useContext = useContext(context_TableContext, ['prefixCls', 'fixedInfoList', 'flattenColumns', 'expandableType', 'expandRowByClick', 'onTriggerExpand', 'rowClassName', 'expandedRowClassName', 'indentSize', 'expandIcon', 'expandedRowRender', 'expandIconColumnIndex']), + prefixCls = _useContext.prefixCls, + fixedInfoList = _useContext.fixedInfoList, + flattenColumns = _useContext.flattenColumns, + expandableType = _useContext.expandableType, + expandRowByClick = _useContext.expandRowByClick, + onTriggerExpand = _useContext.onTriggerExpand, + rowClassName = _useContext.rowClassName, + expandedRowClassName = _useContext.expandedRowClassName, + indentSize = _useContext.indentSize, + expandIcon = _useContext.expandIcon, + expandedRowRender = _useContext.expandedRowRender, + expandIconColumnIndex = _useContext.expandIconColumnIndex; + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + expandRended = _React$useState2[0], + setExpandRended = _React$useState2[1]; + if (false) {} + var expanded = expandedKeys && expandedKeys.has(rowKey); + react.useEffect(function () { + if (expanded) { + setExpandRended(true); + } + }, [expanded]); + var rowSupportExpand = expandableType === 'row' && (!rowExpandable || rowExpandable(record)); + // Only when row is not expandable and `children` exist in record + var nestExpandable = expandableType === 'nest'; + var hasNestChildren = childrenColumnName && record && record[childrenColumnName]; + var mergedExpandable = rowSupportExpand || nestExpandable; + + // ======================== Expandable ========================= + var onExpandRef = react.useRef(onTriggerExpand); + onExpandRef.current = onTriggerExpand; + var onInternalTriggerExpand = function onInternalTriggerExpand() { + onExpandRef.current.apply(onExpandRef, arguments); + }; + + // =========================== onRow =========================== + var additionalProps = onRow === null || onRow === void 0 ? void 0 : onRow(record, index); + var onClick = function onClick(event) { + var _additionalProps$onCl; + if (expandRowByClick && mergedExpandable) { + onInternalTriggerExpand(record, event); + } + for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { + args[_key - 1] = arguments[_key]; + } + additionalProps === null || additionalProps === void 0 ? void 0 : (_additionalProps$onCl = additionalProps.onClick) === null || _additionalProps$onCl === void 0 ? void 0 : _additionalProps$onCl.call.apply(_additionalProps$onCl, [additionalProps, event].concat(args)); + }; + + // ======================== Base tr row ======================== + var computeRowClassName; + if (typeof rowClassName === 'string') { + computeRowClassName = rowClassName; + } else if (typeof rowClassName === 'function') { + computeRowClassName = rowClassName(record, index, indent); + } + var columnsKey = getColumnsKey(flattenColumns); + var baseRowNode = /*#__PURE__*/react.createElement(RowComponent, (0,esm_extends/* default */.Z)({}, additionalProps, { + "data-row-key": rowKey, + className: classnames_default()(className, "".concat(prefixCls, "-row"), "".concat(prefixCls, "-row-level-").concat(indent), computeRowClassName, additionalProps && additionalProps.className), + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, style), additionalProps ? additionalProps.style : null), + onClick: onClick + }), flattenColumns.map(function (column, colIndex) { + var render = column.render, + dataIndex = column.dataIndex, + columnClassName = column.className; + var key = columnsKey[colIndex]; + var fixedInfo = fixedInfoList[colIndex]; + + // ============= Used for nest expandable ============= + var appendCellNode; + if (colIndex === (expandIconColumnIndex || 0) && nestExpandable) { + appendCellNode = /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("span", { + style: { + paddingLeft: "".concat(indentSize * indent, "px") + }, + className: "".concat(prefixCls, "-row-indent indent-level-").concat(indent) + }), expandIcon({ + prefixCls: prefixCls, + expanded: expanded, + expandable: hasNestChildren, + record: record, + onExpand: onInternalTriggerExpand + })); + } + var additionalCellProps; + if (column.onCell) { + additionalCellProps = column.onCell(record, index); + } + return /*#__PURE__*/react.createElement(es_Cell, (0,esm_extends/* default */.Z)({ + className: columnClassName, + ellipsis: column.ellipsis, + align: column.align, + scope: column.rowScope, + component: column.rowScope ? scopeCellComponent : cellComponent, + prefixCls: prefixCls, + key: key, + record: record, + index: index, + renderIndex: renderIndex, + dataIndex: dataIndex, + render: render, + shouldCellUpdate: column.shouldCellUpdate, + expanded: appendCellNode && expanded + }, fixedInfo, { + appendNode: appendCellNode, + additionalProps: additionalCellProps + })); + })); + + // ======================== Expand Row ========================= + var expandRowNode; + if (rowSupportExpand && (expandRended || expanded)) { + var expandContent = expandedRowRender(record, index, indent + 1, expanded); + var computedExpandedRowClassName = expandedRowClassName && expandedRowClassName(record, index, indent); + expandRowNode = /*#__PURE__*/react.createElement(Body_ExpandedRow, { + expanded: expanded, + className: classnames_default()("".concat(prefixCls, "-expanded-row"), "".concat(prefixCls, "-expanded-row-level-").concat(indent + 1), computedExpandedRowClassName), + prefixCls: prefixCls, + component: RowComponent, + cellComponent: cellComponent, + colSpan: flattenColumns.length, + isEmpty: false + }, expandContent); + } + return /*#__PURE__*/react.createElement(react.Fragment, null, baseRowNode, expandRowNode); +} +BodyRow.displayName = 'BodyRow'; +/* harmony default export */ var Body_BodyRow = (responseImmutable(BodyRow)); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Body/MeasureCell.js + + +function MeasureCell(_ref) { + var columnKey = _ref.columnKey, + onColumnResize = _ref.onColumnResize; + var cellRef = react.useRef(); + react.useEffect(function () { + if (cellRef.current) { + onColumnResize(columnKey, cellRef.current.offsetWidth); + } + }, []); + return /*#__PURE__*/react.createElement(es/* default */.Z, { + data: columnKey + }, /*#__PURE__*/react.createElement("td", { + ref: cellRef, + style: { + padding: 0, + border: 0, + height: 0 + } + }, /*#__PURE__*/react.createElement("div", { + style: { + height: 0, + overflow: 'hidden' + } + }, "\xA0"))); +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Body/MeasureRow.js + + + +function MeasureRow(_ref) { + var prefixCls = _ref.prefixCls, + columnsKey = _ref.columnsKey, + onColumnResize = _ref.onColumnResize; + return /*#__PURE__*/react.createElement("tr", { + "aria-hidden": "true", + className: "".concat(prefixCls, "-measure-row"), + style: { + height: 0, + fontSize: 0 + } + }, /*#__PURE__*/react.createElement(es/* default.Collection */.Z.Collection, { + onBatchResize: function onBatchResize(infoList) { + infoList.forEach(function (_ref2) { + var columnKey = _ref2.data, + size = _ref2.size; + onColumnResize(columnKey, size.offsetWidth); + }); + } + }, columnsKey.map(function (columnKey) { + return /*#__PURE__*/react.createElement(MeasureCell, { + key: columnKey, + columnKey: columnKey, + onColumnResize: onColumnResize + }); + }))); +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Body/index.js + + + + + + + + + + +function Body(props) { + if (false) {} + var data = props.data, + getRowKey = props.getRowKey, + measureColumnWidth = props.measureColumnWidth, + expandedKeys = props.expandedKeys, + onRow = props.onRow, + rowExpandable = props.rowExpandable, + emptyNode = props.emptyNode, + childrenColumnName = props.childrenColumnName; + var _useContext = useContext(context_TableContext, ['prefixCls', 'getComponent', 'onColumnResize', 'flattenColumns']), + prefixCls = _useContext.prefixCls, + getComponent = _useContext.getComponent, + onColumnResize = _useContext.onColumnResize, + flattenColumns = _useContext.flattenColumns; + var flattenData = useFlattenRecords(data, childrenColumnName, expandedKeys, getRowKey); + + // =================== Performance ==================== + var perfRef = react.useRef({ + renderWithProps: false + }); + + // ====================== Render ====================== + var WrapperComponent = getComponent(['body', 'wrapper'], 'tbody'); + var trComponent = getComponent(['body', 'row'], 'tr'); + var tdComponent = getComponent(['body', 'cell'], 'td'); + var thComponent = getComponent(['body', 'cell'], 'th'); + var rows; + if (data.length) { + rows = flattenData.map(function (item, idx) { + var record = item.record, + indent = item.indent, + renderIndex = item.index; + var key = getRowKey(record, idx); + return /*#__PURE__*/react.createElement(Body_BodyRow, { + key: key, + rowKey: key, + record: record, + index: idx, + renderIndex: renderIndex, + rowComponent: trComponent, + cellComponent: tdComponent, + scopeCellComponent: thComponent, + expandedKeys: expandedKeys, + onRow: onRow, + getRowKey: getRowKey, + rowExpandable: rowExpandable, + childrenColumnName: childrenColumnName, + indent: indent + }); + }); + } else { + rows = /*#__PURE__*/react.createElement(Body_ExpandedRow, { + expanded: true, + className: "".concat(prefixCls, "-placeholder"), + prefixCls: prefixCls, + component: trComponent, + cellComponent: tdComponent, + colSpan: flattenColumns.length, + isEmpty: true + }, emptyNode); + } + var columnsKey = getColumnsKey(flattenColumns); + return /*#__PURE__*/react.createElement(context_PerfContext.Provider, { + value: perfRef.current + }, /*#__PURE__*/react.createElement(WrapperComponent, { + className: "".concat(prefixCls, "-tbody") + }, measureColumnWidth && /*#__PURE__*/react.createElement(MeasureRow, { + prefixCls: prefixCls, + columnsKey: columnsKey, + onColumnResize: onColumnResize + }), rows)); +} +Body.displayName = 'Body'; +/* harmony default export */ var es_Body = (responseImmutable(Body)); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/utils/legacyUtil.js + + +var legacyUtil_excluded = ["expandable"]; + +var INTERNAL_COL_DEFINE = 'RC_TABLE_INTERNAL_COL_DEFINE'; +function getExpandableProps(props) { + var expandable = props.expandable, + legacyExpandableConfig = (0,objectWithoutProperties/* default */.Z)(props, legacyUtil_excluded); + var config; + if ('expandable' in props) { + config = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, legacyExpandableConfig), expandable); + } else { + if (false) {} + config = legacyExpandableConfig; + } + if (config.showExpandColumn === false) { + config.expandIconColumnIndex = -1; + } + return config; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/ColGroup.js + + +var ColGroup_excluded = ["columnType"]; + + +function ColGroup(_ref) { + var colWidths = _ref.colWidths, + columns = _ref.columns, + columCount = _ref.columCount; + var cols = []; + var len = columCount || columns.length; + + // Only insert col with width & additional props + // Skip if rest col do not have any useful info + var mustInsert = false; + for (var i = len - 1; i >= 0; i -= 1) { + var width = colWidths[i]; + var column = columns && columns[i]; + var additionalProps = column && column[INTERNAL_COL_DEFINE]; + if (width || additionalProps || mustInsert) { + var _ref2 = additionalProps || {}, + columnType = _ref2.columnType, + restAdditionalProps = (0,objectWithoutProperties/* default */.Z)(_ref2, ColGroup_excluded); + cols.unshift( /*#__PURE__*/react.createElement("col", (0,esm_extends/* default */.Z)({ + key: i, + style: { + width: width + } + }, restAdditionalProps))); + mustInsert = true; + } + } + return /*#__PURE__*/react.createElement("colgroup", null, cols); +} +/* harmony default export */ var es_ColGroup = (ColGroup); +// EXTERNAL MODULE: ./node_modules/react-is/index.js +var react_is = __webpack_require__(59864); +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/ref.js + +/* eslint-disable no-param-reassign */ + + + +function fillRef(ref, node) { + if (typeof ref === 'function') { + ref(node); + } else if ((0,esm_typeof/* default */.Z)(ref) === 'object' && ref && 'current' in ref) { + ref.current = node; + } +} + +/** + * Merge refs into one ref function to support ref passing. + */ +function composeRef() { + for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) { + refs[_key] = arguments[_key]; + } + var refList = refs.filter(function (ref) { + return ref; + }); + if (refList.length <= 1) { + return refList[0]; + } + return function (node) { + refs.forEach(function (ref) { + fillRef(ref, node); + }); + }; +} +function useComposeRef() { + for (var _len2 = arguments.length, refs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { + refs[_key2] = arguments[_key2]; + } + return useMemo(function () { + return composeRef.apply(void 0, refs); + }, refs, function (prev, next) { + return prev.length === next.length && prev.every(function (ref, i) { + return ref === next[i]; + }); + }); +} +function supportRef(nodeOrComponent) { + var _type$prototype, _nodeOrComponent$prot; + var type = isMemo(nodeOrComponent) ? nodeOrComponent.type.type : nodeOrComponent.type; + + // Function component node + if (typeof type === 'function' && !((_type$prototype = type.prototype) !== null && _type$prototype !== void 0 && _type$prototype.render)) { + return false; + } + + // Class component + if (typeof nodeOrComponent === 'function' && !((_nodeOrComponent$prot = nodeOrComponent.prototype) !== null && _nodeOrComponent$prot !== void 0 && _nodeOrComponent$prot.render)) { + return false; + } + return true; +} +/* eslint-enable */ +;// CONCATENATED MODULE: ./node_modules/rc-table/es/FixedHolder/index.js + + + + +var FixedHolder_excluded = ["className", "noData", "columns", "flattenColumns", "colWidths", "columCount", "stickyOffsets", "direction", "fixHeader", "stickyTopOffset", "stickyBottomOffset", "stickyClassName", "onScroll", "maxContentScroll", "children"]; + + + + + + + + +function useColumnWidth(colWidths, columCount) { + return (0,react.useMemo)(function () { + var cloneColumns = []; + for (var i = 0; i < columCount; i += 1) { + var val = colWidths[i]; + if (val !== undefined) { + cloneColumns[i] = val; + } else { + return null; + } + } + return cloneColumns; + }, [colWidths.join('_'), columCount]); +} +var FixedHolder = /*#__PURE__*/react.forwardRef(function (props, ref) { + if (false) {} + var className = props.className, + noData = props.noData, + columns = props.columns, + flattenColumns = props.flattenColumns, + colWidths = props.colWidths, + columCount = props.columCount, + stickyOffsets = props.stickyOffsets, + direction = props.direction, + fixHeader = props.fixHeader, + stickyTopOffset = props.stickyTopOffset, + stickyBottomOffset = props.stickyBottomOffset, + stickyClassName = props.stickyClassName, + onScroll = props.onScroll, + maxContentScroll = props.maxContentScroll, + children = props.children, + restProps = (0,objectWithoutProperties/* default */.Z)(props, FixedHolder_excluded); + var _useContext = useContext(context_TableContext, ['prefixCls', 'scrollbarSize', 'isSticky']), + prefixCls = _useContext.prefixCls, + scrollbarSize = _useContext.scrollbarSize, + isSticky = _useContext.isSticky; + var combinationScrollBarSize = isSticky && !fixHeader ? 0 : scrollbarSize; + + // Pass wheel to scroll event + var scrollRef = react.useRef(null); + var setScrollRef = react.useCallback(function (element) { + fillRef(ref, element); + fillRef(scrollRef, element); + }, []); + react.useEffect(function () { + var _scrollRef$current; + function onWheel(e) { + var _ref = e, + currentTarget = _ref.currentTarget, + deltaX = _ref.deltaX; + if (deltaX) { + onScroll({ + currentTarget: currentTarget, + scrollLeft: currentTarget.scrollLeft + deltaX + }); + e.preventDefault(); + } + } + (_scrollRef$current = scrollRef.current) === null || _scrollRef$current === void 0 ? void 0 : _scrollRef$current.addEventListener('wheel', onWheel); + return function () { + var _scrollRef$current2; + (_scrollRef$current2 = scrollRef.current) === null || _scrollRef$current2 === void 0 ? void 0 : _scrollRef$current2.removeEventListener('wheel', onWheel); + }; + }, []); + + // Check if all flattenColumns has width + var allFlattenColumnsWithWidth = react.useMemo(function () { + return flattenColumns.every(function (column) { + return column.width >= 0; + }); + }, [flattenColumns]); + + // Add scrollbar column + var lastColumn = flattenColumns[flattenColumns.length - 1]; + var ScrollBarColumn = { + fixed: lastColumn ? lastColumn.fixed : null, + scrollbar: true, + onHeaderCell: function onHeaderCell() { + return { + className: "".concat(prefixCls, "-cell-scrollbar") + }; + } + }; + var columnsWithScrollbar = (0,react.useMemo)(function () { + return combinationScrollBarSize ? [].concat((0,toConsumableArray/* default */.Z)(columns), [ScrollBarColumn]) : columns; + }, [combinationScrollBarSize, columns]); + var flattenColumnsWithScrollbar = (0,react.useMemo)(function () { + return combinationScrollBarSize ? [].concat((0,toConsumableArray/* default */.Z)(flattenColumns), [ScrollBarColumn]) : flattenColumns; + }, [combinationScrollBarSize, flattenColumns]); + + // Calculate the sticky offsets + var headerStickyOffsets = (0,react.useMemo)(function () { + var right = stickyOffsets.right, + left = stickyOffsets.left; + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, stickyOffsets), {}, { + left: direction === 'rtl' ? [].concat((0,toConsumableArray/* default */.Z)(left.map(function (width) { + return width + combinationScrollBarSize; + })), [0]) : left, + right: direction === 'rtl' ? right : [].concat((0,toConsumableArray/* default */.Z)(right.map(function (width) { + return width + combinationScrollBarSize; + })), [0]), + isSticky: isSticky + }); + }, [combinationScrollBarSize, stickyOffsets, isSticky]); + var mergedColumnWidth = useColumnWidth(colWidths, columCount); + return /*#__PURE__*/react.createElement("div", { + style: (0,objectSpread2/* default */.Z)({ + overflow: 'hidden' + }, isSticky ? { + top: stickyTopOffset, + bottom: stickyBottomOffset + } : {}), + ref: setScrollRef, + className: classnames_default()(className, (0,defineProperty/* default */.Z)({}, stickyClassName, !!stickyClassName)) + }, /*#__PURE__*/react.createElement("table", { + style: { + tableLayout: 'fixed', + visibility: noData || mergedColumnWidth ? null : 'hidden' + } + }, (!noData || !maxContentScroll || allFlattenColumnsWithWidth) && /*#__PURE__*/react.createElement(es_ColGroup, { + colWidths: mergedColumnWidth ? [].concat((0,toConsumableArray/* default */.Z)(mergedColumnWidth), [combinationScrollBarSize]) : [], + columCount: columCount + 1, + columns: flattenColumnsWithScrollbar + }), children((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, restProps), {}, { + stickyOffsets: headerStickyOffsets, + columns: columnsWithScrollbar, + flattenColumns: flattenColumnsWithScrollbar + })))); +}); +FixedHolder.displayName = 'FixedHolder'; + +/** Return a table in div as fixed element which contains sticky info */ +// export default responseImmutable(FixedHolder); +/* harmony default export */ var es_FixedHolder = (/*#__PURE__*/react.memo(FixedHolder)); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Header/HeaderRow.js + + + + + + + +function HeaderRow(_ref) { + var cells = _ref.cells, + stickyOffsets = _ref.stickyOffsets, + flattenColumns = _ref.flattenColumns, + RowComponent = _ref.rowComponent, + CellComponent = _ref.cellComponent, + tdCellComponent = _ref.tdCellComponent, + onHeaderRow = _ref.onHeaderRow, + index = _ref.index; + var _useContext = useContext(context_TableContext, ['prefixCls', 'direction']), + prefixCls = _useContext.prefixCls, + direction = _useContext.direction; + var rowProps; + if (onHeaderRow) { + rowProps = onHeaderRow(cells.map(function (cell) { + return cell.column; + }), index); + } + var columnsKey = getColumnsKey(cells.map(function (cell) { + return cell.column; + })); + return /*#__PURE__*/react.createElement(RowComponent, rowProps, cells.map(function (cell, cellIndex) { + var column = cell.column; + var fixedInfo = getCellFixedInfo(cell.colStart, cell.colEnd, flattenColumns, stickyOffsets, direction, column); + var additionalProps; + if (column && column.onHeaderCell) { + additionalProps = cell.column.onHeaderCell(column); + } + return /*#__PURE__*/react.createElement(es_Cell, (0,esm_extends/* default */.Z)({}, cell, { + scope: column.title ? cell.colSpan > 1 ? 'colgroup' : 'col' : null, + ellipsis: column.ellipsis, + align: column.align, + component: column.title ? CellComponent : tdCellComponent, + prefixCls: prefixCls, + key: columnsKey[cellIndex] + }, fixedInfo, { + additionalProps: additionalProps, + rowType: "header" + })); + })); +} +HeaderRow.displayName = 'HeaderRow'; +/* harmony default export */ var Header_HeaderRow = (HeaderRow); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Header/Header.js + + + + + +function parseHeaderRows(rootColumns) { + var rows = []; + function fillRowCells(columns, colIndex) { + var rowIndex = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0; + // Init rows + rows[rowIndex] = rows[rowIndex] || []; + var currentColIndex = colIndex; + var colSpans = columns.filter(Boolean).map(function (column) { + var cell = { + key: column.key, + className: column.className || '', + children: column.title, + column: column, + colStart: currentColIndex + }; + var colSpan = 1; + var subColumns = column.children; + if (subColumns && subColumns.length > 0) { + colSpan = fillRowCells(subColumns, currentColIndex, rowIndex + 1).reduce(function (total, count) { + return total + count; + }, 0); + cell.hasSubColumns = true; + } + if ('colSpan' in column) { + colSpan = column.colSpan; + } + if ('rowSpan' in column) { + cell.rowSpan = column.rowSpan; + } + cell.colSpan = colSpan; + cell.colEnd = cell.colStart + colSpan - 1; + rows[rowIndex].push(cell); + currentColIndex += colSpan; + return colSpan; + }); + return colSpans; + } + + // Generate `rows` cell data + fillRowCells(rootColumns, 0); + + // Handle `rowSpan` + var rowCount = rows.length; + var _loop = function _loop(rowIndex) { + rows[rowIndex].forEach(function (cell) { + if (!('rowSpan' in cell) && !cell.hasSubColumns) { + // eslint-disable-next-line no-param-reassign + cell.rowSpan = rowCount - rowIndex; + } + }); + }; + for (var rowIndex = 0; rowIndex < rowCount; rowIndex += 1) { + _loop(rowIndex); + } + return rows; +} +function Header(props) { + if (false) {} + var stickyOffsets = props.stickyOffsets, + columns = props.columns, + flattenColumns = props.flattenColumns, + onHeaderRow = props.onHeaderRow; + var _useContext = useContext(context_TableContext, ['prefixCls', 'getComponent']), + prefixCls = _useContext.prefixCls, + getComponent = _useContext.getComponent; + var rows = react.useMemo(function () { + return parseHeaderRows(columns); + }, [columns]); + var WrapperComponent = getComponent(['header', 'wrapper'], 'thead'); + var trComponent = getComponent(['header', 'row'], 'tr'); + var thComponent = getComponent(['header', 'cell'], 'th'); + var tdComponent = getComponent(['header', 'cell'], 'td'); + return /*#__PURE__*/react.createElement(WrapperComponent, { + className: "".concat(prefixCls, "-thead") + }, rows.map(function (row, rowIndex) { + var rowNode = /*#__PURE__*/react.createElement(Header_HeaderRow, { + key: rowIndex, + flattenColumns: flattenColumns, + cells: row, + stickyOffsets: stickyOffsets, + rowComponent: trComponent, + cellComponent: thComponent, + tdCellComponent: tdComponent, + onHeaderRow: onHeaderRow, + index: rowIndex + }); + return rowNode; + })); +} +/* harmony default export */ var Header_Header = (responseImmutable(Header)); +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/Children/toArray.js + + +function toArray_toArray(children) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var ret = []; + react.Children.forEach(children, function (child) { + if ((child === undefined || child === null) && !option.keepEmpty) { + return; + } + if (Array.isArray(child)) { + ret = ret.concat(toArray_toArray(child)); + } else if ((0,react_is.isFragment)(child) && child.props) { + ret = ret.concat(toArray_toArray(child.props.children, option)); + } else { + ret.push(child); + } + }); + return ret; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/hooks/useColumns.js + + + + + +var useColumns_excluded = ["children"], + _excluded2 = ["fixed"]; + + + + + +function convertChildrenToColumns(children) { + return toArray_toArray(children).filter(function (node) { + return /*#__PURE__*/react.isValidElement(node); + }).map(function (_ref) { + var key = _ref.key, + props = _ref.props; + var nodeChildren = props.children, + restProps = (0,objectWithoutProperties/* default */.Z)(props, useColumns_excluded); + var column = (0,objectSpread2/* default */.Z)({ + key: key + }, restProps); + if (nodeChildren) { + column.children = convertChildrenToColumns(nodeChildren); + } + return column; + }); +} +function flatColumns(columns) { + return columns.filter(function (column) { + return column && (0,esm_typeof/* default */.Z)(column) === 'object'; + }).reduce(function (list, column) { + var fixed = column.fixed; + // Convert `fixed='true'` to `fixed='left'` instead + var parsedFixed = fixed === true ? 'left' : fixed; + var subColumns = column.children; + if (subColumns && subColumns.length > 0) { + return [].concat((0,toConsumableArray/* default */.Z)(list), (0,toConsumableArray/* default */.Z)(flatColumns(subColumns).map(function (subColum) { + return (0,objectSpread2/* default */.Z)({ + fixed: parsedFixed + }, subColum); + }))); + } + return [].concat((0,toConsumableArray/* default */.Z)(list), [(0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, column), {}, { + fixed: parsedFixed + })]); + }, []); +} +function warningFixed(flattenColumns) { + var allFixLeft = true; + for (var i = 0; i < flattenColumns.length; i += 1) { + var col = flattenColumns[i]; + if (allFixLeft && col.fixed !== 'left') { + allFixLeft = false; + } else if (!allFixLeft && col.fixed === 'left') { + warning(false, "Index ".concat(i - 1, " of `columns` missing `fixed='left'` prop.")); + break; + } + } + var allFixRight = true; + for (var _i = flattenColumns.length - 1; _i >= 0; _i -= 1) { + var _col = flattenColumns[_i]; + if (allFixRight && _col.fixed !== 'right') { + allFixRight = false; + } else if (!allFixRight && _col.fixed === 'right') { + warning(false, "Index ".concat(_i + 1, " of `columns` missing `fixed='right'` prop.")); + break; + } + } +} +function revertForRtl(columns) { + return columns.map(function (column) { + var fixed = column.fixed, + restProps = (0,objectWithoutProperties/* default */.Z)(column, _excluded2); + + // Convert `fixed='left'` to `fixed='right'` instead + var parsedFixed = fixed; + if (fixed === 'left') { + parsedFixed = 'right'; + } else if (fixed === 'right') { + parsedFixed = 'left'; + } + return (0,objectSpread2/* default */.Z)({ + fixed: parsedFixed + }, restProps); + }); +} + +/** + * Parse `columns` & `children` into `columns`. + */ +function useColumns(_ref2, transformColumns) { + var prefixCls = _ref2.prefixCls, + columns = _ref2.columns, + children = _ref2.children, + expandable = _ref2.expandable, + expandedKeys = _ref2.expandedKeys, + columnTitle = _ref2.columnTitle, + getRowKey = _ref2.getRowKey, + onTriggerExpand = _ref2.onTriggerExpand, + expandIcon = _ref2.expandIcon, + rowExpandable = _ref2.rowExpandable, + expandIconColumnIndex = _ref2.expandIconColumnIndex, + direction = _ref2.direction, + expandRowByClick = _ref2.expandRowByClick, + columnWidth = _ref2.columnWidth, + fixed = _ref2.fixed; + var baseColumns = react.useMemo(function () { + return columns || convertChildrenToColumns(children); + }, [columns, children]); + + // ========================== Expand ========================== + var withExpandColumns = react.useMemo(function () { + if (expandable) { + var _expandColumn; + var cloneColumns = baseColumns.slice(); + + // >>> Warning if use `expandIconColumnIndex` + if (false) {} + + // >>> Insert expand column if not exist + if (!cloneColumns.includes(EXPAND_COLUMN)) { + var expandColIndex = expandIconColumnIndex || 0; + if (expandColIndex >= 0) { + cloneColumns.splice(expandColIndex, 0, EXPAND_COLUMN); + } + } + + // >>> Deduplicate additional expand column + if (false) {} + var expandColumnIndex = cloneColumns.indexOf(EXPAND_COLUMN); + cloneColumns = cloneColumns.filter(function (column, index) { + return column !== EXPAND_COLUMN || index === expandColumnIndex; + }); + + // >>> Check if expand column need to fixed + var prevColumn = baseColumns[expandColumnIndex]; + var fixedColumn; + if ((fixed === 'left' || fixed) && !expandIconColumnIndex) { + fixedColumn = 'left'; + } else if ((fixed === 'right' || fixed) && expandIconColumnIndex === baseColumns.length) { + fixedColumn = 'right'; + } else { + fixedColumn = prevColumn ? prevColumn.fixed : null; + } + + // >>> Create expandable column + var expandColumn = (_expandColumn = {}, (0,defineProperty/* default */.Z)(_expandColumn, INTERNAL_COL_DEFINE, { + className: "".concat(prefixCls, "-expand-icon-col"), + columnType: 'EXPAND_COLUMN' + }), (0,defineProperty/* default */.Z)(_expandColumn, "title", columnTitle), (0,defineProperty/* default */.Z)(_expandColumn, "fixed", fixedColumn), (0,defineProperty/* default */.Z)(_expandColumn, "className", "".concat(prefixCls, "-row-expand-icon-cell")), (0,defineProperty/* default */.Z)(_expandColumn, "width", columnWidth), (0,defineProperty/* default */.Z)(_expandColumn, "render", function render(_, record, index) { + var rowKey = getRowKey(record, index); + var expanded = expandedKeys.has(rowKey); + var recordExpandable = rowExpandable ? rowExpandable(record) : true; + var icon = expandIcon({ + prefixCls: prefixCls, + expanded: expanded, + expandable: recordExpandable, + record: record, + onExpand: onTriggerExpand + }); + if (expandRowByClick) { + return /*#__PURE__*/react.createElement("span", { + onClick: function onClick(e) { + return e.stopPropagation(); + } + }, icon); + } + return icon; + }), _expandColumn); + return cloneColumns.map(function (col) { + return col === EXPAND_COLUMN ? expandColumn : col; + }); + } + if (false) {} + return baseColumns.filter(function (col) { + return col !== EXPAND_COLUMN; + }); + }, [expandable, baseColumns, getRowKey, expandedKeys, expandIcon, direction]); + + // ========================= Transform ======================== + var mergedColumns = react.useMemo(function () { + var finalColumns = withExpandColumns; + if (transformColumns) { + finalColumns = transformColumns(finalColumns); + } + + // Always provides at least one column for table display + if (!finalColumns.length) { + finalColumns = [{ + render: function render() { + return null; + } + }]; + } + return finalColumns; + }, [transformColumns, withExpandColumns, direction]); + + // ========================== Flatten ========================= + var flattenColumns = react.useMemo(function () { + if (direction === 'rtl') { + return revertForRtl(flatColumns(mergedColumns)); + } + return flatColumns(mergedColumns); + }, [mergedColumns, direction]); + // Only check out of production since it's waste for each render + if (false) {} + return [mergedColumns, flattenColumns]; +} +/* harmony default export */ var hooks_useColumns = (useColumns); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/utils/expandUtil.js + + + +function renderExpandIcon(_ref) { + var _classNames; + var prefixCls = _ref.prefixCls, + record = _ref.record, + onExpand = _ref.onExpand, + expanded = _ref.expanded, + expandable = _ref.expandable; + var expandClassName = "".concat(prefixCls, "-row-expand-icon"); + if (!expandable) { + return /*#__PURE__*/react.createElement("span", { + className: classnames_default()(expandClassName, "".concat(prefixCls, "-row-spaced")) + }); + } + var onClick = function onClick(event) { + onExpand(record, event); + event.stopPropagation(); + }; + return /*#__PURE__*/react.createElement("span", { + className: classnames_default()(expandClassName, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-row-expanded"), expanded), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-row-collapsed"), !expanded), _classNames)), + onClick: onClick + }); +} +function findAllChildrenKeys(data, getRowKey, childrenColumnName) { + var keys = []; + function dig(list) { + (list || []).forEach(function (item, index) { + keys.push(getRowKey(item, index)); + dig(item[childrenColumnName]); + }); + } + dig(data); + return keys; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/hooks/useExpand.js + + + + + + + + +function useExpand(props, mergedData, getRowKey) { + var expandableConfig = getExpandableProps(props); + var expandIcon = expandableConfig.expandIcon, + expandedRowKeys = expandableConfig.expandedRowKeys, + defaultExpandedRowKeys = expandableConfig.defaultExpandedRowKeys, + defaultExpandAllRows = expandableConfig.defaultExpandAllRows, + expandedRowRender = expandableConfig.expandedRowRender, + onExpand = expandableConfig.onExpand, + onExpandedRowsChange = expandableConfig.onExpandedRowsChange, + childrenColumnName = expandableConfig.childrenColumnName; + var mergedExpandIcon = expandIcon || renderExpandIcon; + var mergedChildrenColumnName = childrenColumnName || 'children'; + var expandableType = react.useMemo(function () { + if (expandedRowRender) { + return 'row'; + } + /* eslint-disable no-underscore-dangle */ + /** + * Fix https://github.com/ant-design/ant-design/issues/21154 + * This is a workaround to not to break current behavior. + * We can remove follow code after final release. + * + * To other developer: + * Do not use `__PARENT_RENDER_ICON__` in prod since we will remove this when refactor + */ + if (props.expandable && props.internalHooks === INTERNAL_HOOKS && props.expandable.__PARENT_RENDER_ICON__ || mergedData.some(function (record) { + return record && (0,esm_typeof/* default */.Z)(record) === 'object' && record[mergedChildrenColumnName]; + })) { + return 'nest'; + } + /* eslint-enable */ + return false; + }, [!!expandedRowRender, mergedData]); + var _React$useState = react.useState(function () { + if (defaultExpandedRowKeys) { + return defaultExpandedRowKeys; + } + if (defaultExpandAllRows) { + return findAllChildrenKeys(mergedData, getRowKey, mergedChildrenColumnName); + } + return []; + }), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + innerExpandedKeys = _React$useState2[0], + setInnerExpandedKeys = _React$useState2[1]; + var mergedExpandedKeys = react.useMemo(function () { + return new Set(expandedRowKeys || innerExpandedKeys || []); + }, [expandedRowKeys, innerExpandedKeys]); + var onTriggerExpand = react.useCallback(function (record) { + var key = getRowKey(record, mergedData.indexOf(record)); + var newExpandedKeys; + var hasKey = mergedExpandedKeys.has(key); + if (hasKey) { + mergedExpandedKeys.delete(key); + newExpandedKeys = (0,toConsumableArray/* default */.Z)(mergedExpandedKeys); + } else { + newExpandedKeys = [].concat((0,toConsumableArray/* default */.Z)(mergedExpandedKeys), [key]); + } + setInnerExpandedKeys(newExpandedKeys); + if (onExpand) { + onExpand(!hasKey, record); + } + if (onExpandedRowsChange) { + onExpandedRowsChange(newExpandedKeys); + } + }, [getRowKey, mergedExpandedKeys, mergedData, onExpand, onExpandedRowsChange]); + + // Warning if use `expandedRowRender` and nest children in the same time + if (false) {} + return [expandableConfig, expandableType, mergedExpandedKeys, mergedExpandIcon, mergedChildrenColumnName, onTriggerExpand]; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/hooks/useFixedInfo.js + + + +function useFixedInfo(flattenColumns, stickyOffsets, direction, columns) { + var fixedInfoList = flattenColumns.map(function (_, colIndex) { + return getCellFixedInfo(colIndex, colIndex, flattenColumns, stickyOffsets, direction, columns === null || columns === void 0 ? void 0 : columns[colIndex]); + }); + return useMemo_useMemo(function () { + return fixedInfoList; + }, [fixedInfoList], function (prev, next) { + return !es_isEqual(prev, next); + }); +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/hooks/useFrame.js + + +/** + * Execute code before next frame but async + */ +function useLayoutState(defaultState) { + var stateRef = (0,react.useRef)(defaultState); + var _useState = (0,react.useState)({}), + _useState2 = (0,slicedToArray/* default */.Z)(_useState, 2), + forceUpdate = _useState2[1]; + var lastPromiseRef = (0,react.useRef)(null); + var updateBatchRef = (0,react.useRef)([]); + function setFrameState(updater) { + updateBatchRef.current.push(updater); + var promise = Promise.resolve(); + lastPromiseRef.current = promise; + promise.then(function () { + if (lastPromiseRef.current === promise) { + var prevBatch = updateBatchRef.current; + var prevState = stateRef.current; + updateBatchRef.current = []; + prevBatch.forEach(function (batchUpdater) { + stateRef.current = batchUpdater(stateRef.current); + }); + lastPromiseRef.current = null; + if (prevState !== stateRef.current) { + forceUpdate({}); + } + } + }); + } + (0,react.useEffect)(function () { + return function () { + lastPromiseRef.current = null; + }; + }, []); + return [stateRef.current, setFrameState]; +} + +/** Lock frame, when frame pass reset the lock. */ +function useTimeoutLock(defaultState) { + var frameRef = (0,react.useRef)(defaultState || null); + var timeoutRef = (0,react.useRef)(); + function cleanUp() { + window.clearTimeout(timeoutRef.current); + } + function setState(newState) { + frameRef.current = newState; + cleanUp(); + timeoutRef.current = window.setTimeout(function () { + frameRef.current = null; + timeoutRef.current = undefined; + }, 100); + } + function getState() { + return frameRef.current; + } + (0,react.useEffect)(function () { + return cleanUp; + }, []); + return [setState, getState]; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/hooks/useHover.js + + +function useHover() { + var _React$useState = react.useState(-1), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + startRow = _React$useState2[0], + setStartRow = _React$useState2[1]; + var _React$useState3 = react.useState(-1), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + endRow = _React$useState4[0], + setEndRow = _React$useState4[1]; + var onHover = react.useCallback(function (start, end) { + setStartRow(start); + setEndRow(end); + }, []); + return [startRow, endRow, onHover]; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/hooks/useSticky.js + + + +// fix ssr render +var defaultContainer = canUseDom() ? window : null; + +/** Sticky header hooks */ +function useSticky(sticky, prefixCls) { + var _ref = (0,esm_typeof/* default */.Z)(sticky) === 'object' ? sticky : {}, + _ref$offsetHeader = _ref.offsetHeader, + offsetHeader = _ref$offsetHeader === void 0 ? 0 : _ref$offsetHeader, + _ref$offsetSummary = _ref.offsetSummary, + offsetSummary = _ref$offsetSummary === void 0 ? 0 : _ref$offsetSummary, + _ref$offsetScroll = _ref.offsetScroll, + offsetScroll = _ref$offsetScroll === void 0 ? 0 : _ref$offsetScroll, + _ref$getContainer = _ref.getContainer, + getContainer = _ref$getContainer === void 0 ? function () { + return defaultContainer; + } : _ref$getContainer; + var container = getContainer() || defaultContainer; + return react.useMemo(function () { + var isSticky = !!sticky; + return { + isSticky: isSticky, + stickyClassName: isSticky ? "".concat(prefixCls, "-sticky-holder") : '', + offsetHeader: offsetHeader, + offsetSummary: offsetSummary, + offsetScroll: offsetScroll, + container: container + }; + }, [offsetScroll, offsetHeader, offsetSummary, prefixCls, container]); +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/hooks/useStickyOffsets.js + +/** + * Get sticky column offset width + */ +function useStickyOffsets(colWidths, columnCount, direction) { + var stickyOffsets = (0,react.useMemo)(function () { + var leftOffsets = []; + var rightOffsets = []; + var left = 0; + var right = 0; + for (var start = 0; start < columnCount; start += 1) { + if (direction === 'rtl') { + // Left offset + rightOffsets[start] = right; + right += colWidths[start] || 0; + + // Right offset + var end = columnCount - start - 1; + leftOffsets[end] = left; + left += colWidths[end] || 0; + } else { + // Left offset + leftOffsets[start] = left; + left += colWidths[start] || 0; + + // Right offset + var _end = columnCount - start - 1; + rightOffsets[_end] = right; + right += colWidths[_end] || 0; + } + } + return { + left: leftOffsets, + right: rightOffsets + }; + }, [colWidths, columnCount, direction]); + return stickyOffsets; +} +/* harmony default export */ var hooks_useStickyOffsets = (useStickyOffsets); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Panel/index.js + +function Panel(_ref) { + var className = _ref.className, + children = _ref.children; + return /*#__PURE__*/react.createElement("div", { + className: className + }, children); +} +/* harmony default export */ var es_Panel = (Panel); +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/Dom/addEventListener.js + +function addEventListenerWrap(target, eventType, cb, option) { + /* eslint camelcase: 2 */ + var callback = react_dom.unstable_batchedUpdates ? function run(e) { + react_dom.unstable_batchedUpdates(cb, e); + } : cb; + if (target !== null && target !== void 0 && target.addEventListener) { + target.addEventListener(eventType, callback, option); + } + return { + remove: function remove() { + if (target !== null && target !== void 0 && target.removeEventListener) { + target.removeEventListener(eventType, callback, option); + } + } + }; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/node_modules/rc-util/es/Dom/css.js +/* eslint-disable no-nested-ternary */ +var PIXEL_PATTERN = /margin|padding|width|height|max|min|offset/; +var removePixel = { + left: true, + top: true +}; +var floatMap = { + cssFloat: 1, + styleFloat: 1, + float: 1 +}; +function css_getComputedStyle(node) { + return node.nodeType === 1 ? node.ownerDocument.defaultView.getComputedStyle(node, null) : {}; +} +function getStyleValue(node, type, value) { + type = type.toLowerCase(); + if (value === 'auto') { + if (type === 'height') { + return node.offsetHeight; + } + if (type === 'width') { + return node.offsetWidth; + } + } + if (!(type in removePixel)) { + removePixel[type] = PIXEL_PATTERN.test(type); + } + return removePixel[type] ? parseFloat(value) || 0 : value; +} +function css_get(node, name) { + var length = arguments.length; + var style = css_getComputedStyle(node); + name = floatMap[name] ? 'cssFloat' in node.style ? 'cssFloat' : 'styleFloat' : name; + return length === 1 ? style : getStyleValue(node, name, style[name] || node.style[name]); +} +function set(node, name, value) { + var length = arguments.length; + name = floatMap[name] ? 'cssFloat' in node.style ? 'cssFloat' : 'styleFloat' : name; + if (length === 3) { + if (typeof value === 'number' && PIXEL_PATTERN.test(name)) { + value = "".concat(value, "px"); + } + node.style[name] = value; // Number + return value; + } + for (var x in name) { + if (name.hasOwnProperty(x)) { + set(node, x, name[x]); + } + } + return css_getComputedStyle(node); +} +function getOuterWidth(el) { + if (el === document.body) { + return document.documentElement.clientWidth; + } + return el.offsetWidth; +} +function getOuterHeight(el) { + if (el === document.body) { + return window.innerHeight || document.documentElement.clientHeight; + } + return el.offsetHeight; +} +function getDocSize() { + var width = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth); + var height = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight); + return { + width: width, + height: height + }; +} +function getClientSize() { + var width = document.documentElement.clientWidth; + var height = window.innerHeight || document.documentElement.clientHeight; + return { + width: width, + height: height + }; +} +function getScroll() { + return { + scrollLeft: Math.max(document.documentElement.scrollLeft, document.body.scrollLeft), + scrollTop: Math.max(document.documentElement.scrollTop, document.body.scrollTop) + }; +} +function getOffset(node) { + var box = node.getBoundingClientRect(); + var docElem = document.documentElement; + + // < ie8 不支持 win.pageXOffset, 则使用 docElem.scrollLeft + return { + left: box.left + (window.pageXOffset || docElem.scrollLeft) - (docElem.clientLeft || document.body.clientLeft || 0), + top: box.top + (window.pageYOffset || docElem.scrollTop) - (docElem.clientTop || document.body.clientTop || 0) + }; +} +;// CONCATENATED MODULE: ./node_modules/rc-table/es/stickyScrollBar.js + + + + + + + + + + + +var StickyScrollBar = function StickyScrollBar(_ref, ref) { + var _scrollBodyRef$curren, _scrollBodyRef$curren2; + var scrollBodyRef = _ref.scrollBodyRef, + onScroll = _ref.onScroll, + offsetScroll = _ref.offsetScroll, + container = _ref.container; + var prefixCls = useContext(context_TableContext, 'prefixCls'); + var bodyScrollWidth = ((_scrollBodyRef$curren = scrollBodyRef.current) === null || _scrollBodyRef$curren === void 0 ? void 0 : _scrollBodyRef$curren.scrollWidth) || 0; + var bodyWidth = ((_scrollBodyRef$curren2 = scrollBodyRef.current) === null || _scrollBodyRef$curren2 === void 0 ? void 0 : _scrollBodyRef$curren2.clientWidth) || 0; + var scrollBarWidth = bodyScrollWidth && bodyWidth * (bodyWidth / bodyScrollWidth); + var scrollBarRef = react.useRef(); + var _useLayoutState = useLayoutState({ + scrollLeft: 0, + isHiddenScrollBar: false + }), + _useLayoutState2 = (0,slicedToArray/* default */.Z)(_useLayoutState, 2), + scrollState = _useLayoutState2[0], + setScrollState = _useLayoutState2[1]; + var refState = react.useRef({ + delta: 0, + x: 0 + }); + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + isActive = _React$useState2[0], + setActive = _React$useState2[1]; + var onMouseUp = function onMouseUp() { + setActive(false); + }; + var onMouseDown = function onMouseDown(event) { + event.persist(); + refState.current.delta = event.pageX - scrollState.scrollLeft; + refState.current.x = 0; + setActive(true); + event.preventDefault(); + }; + var onMouseMove = function onMouseMove(event) { + var _window; + // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons + var _ref2 = event || ((_window = window) === null || _window === void 0 ? void 0 : _window.event), + buttons = _ref2.buttons; + if (!isActive || buttons === 0) { + // If out body mouse up, we can set isActive false when mouse move + if (isActive) { + setActive(false); + } + return; + } + var left = refState.current.x + event.pageX - refState.current.x - refState.current.delta; + if (left <= 0) { + left = 0; + } + if (left + scrollBarWidth >= bodyWidth) { + left = bodyWidth - scrollBarWidth; + } + onScroll({ + scrollLeft: left / bodyWidth * (bodyScrollWidth + 2) + }); + refState.current.x = event.pageX; + }; + var onContainerScroll = function onContainerScroll() { + if (!scrollBodyRef.current) { + return; + } + var tableOffsetTop = getOffset(scrollBodyRef.current).top; + var tableBottomOffset = tableOffsetTop + scrollBodyRef.current.offsetHeight; + var currentClientOffset = container === window ? document.documentElement.scrollTop + window.innerHeight : getOffset(container).top + container.clientHeight; + if (tableBottomOffset - getScrollBarSize() <= currentClientOffset || tableOffsetTop >= currentClientOffset - offsetScroll) { + setScrollState(function (state) { + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, state), {}, { + isHiddenScrollBar: true + }); + }); + } else { + setScrollState(function (state) { + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, state), {}, { + isHiddenScrollBar: false + }); + }); + } + }; + var setScrollLeft = function setScrollLeft(left) { + setScrollState(function (state) { + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, state), {}, { + scrollLeft: left / bodyScrollWidth * bodyWidth || 0 + }); + }); + }; + react.useImperativeHandle(ref, function () { + return { + setScrollLeft: setScrollLeft + }; + }); + react.useEffect(function () { + var onMouseUpListener = addEventListenerWrap(document.body, 'mouseup', onMouseUp, false); + var onMouseMoveListener = addEventListenerWrap(document.body, 'mousemove', onMouseMove, false); + onContainerScroll(); + return function () { + onMouseUpListener.remove(); + onMouseMoveListener.remove(); + }; + }, [scrollBarWidth, isActive]); + react.useEffect(function () { + var onScrollListener = addEventListenerWrap(container, 'scroll', onContainerScroll, false); + var onResizeListener = addEventListenerWrap(window, 'resize', onContainerScroll, false); + return function () { + onScrollListener.remove(); + onResizeListener.remove(); + }; + }, [container]); + react.useEffect(function () { + if (!scrollState.isHiddenScrollBar) { + setScrollState(function (state) { + var bodyNode = scrollBodyRef.current; + if (!bodyNode) { + return state; + } + return (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, state), {}, { + scrollLeft: bodyNode.scrollLeft / bodyNode.scrollWidth * bodyNode.clientWidth + }); + }); + } + }, [scrollState.isHiddenScrollBar]); + if (bodyScrollWidth <= bodyWidth || !scrollBarWidth || scrollState.isHiddenScrollBar) { + return null; + } + return /*#__PURE__*/react.createElement("div", { + style: { + height: getScrollBarSize(), + width: bodyWidth, + bottom: offsetScroll + }, + className: "".concat(prefixCls, "-sticky-scroll") + }, /*#__PURE__*/react.createElement("div", { + onMouseDown: onMouseDown, + ref: scrollBarRef, + className: classnames_default()("".concat(prefixCls, "-sticky-scroll-bar"), (0,defineProperty/* default */.Z)({}, "".concat(prefixCls, "-sticky-scroll-bar-active"), isActive)), + style: { + width: "".concat(scrollBarWidth, "px"), + transform: "translate3d(".concat(scrollState.scrollLeft, "px, 0, 0)") + } + })); +}; +/* harmony default export */ var stickyScrollBar = (/*#__PURE__*/react.forwardRef(StickyScrollBar)); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/sugar/Column.js +/* istanbul ignore next */ +/** + * This is a syntactic sugar for `columns` prop. + * So HOC will not work on this. + */ +// eslint-disable-next-line @typescript-eslint/no-unused-vars +function Column(_) { + return null; +} +/* harmony default export */ var sugar_Column = (Column); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/sugar/ColumnGroup.js +/* istanbul ignore next */ +/** + * This is a syntactic sugar for `columns` prop. + * So HOC will not work on this. + */ +// eslint-disable-next-line @typescript-eslint/no-unused-vars +function ColumnGroup(_) { + return null; +} +/* harmony default export */ var sugar_ColumnGroup = (ColumnGroup); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/Table.js + + + + +/** + * Feature: + * - fixed not need to set width + * - support `rowExpandable` to config row expand logic + * - add `summary` to support `() => ReactNode` + * + * Update: + * - `dataIndex` is `array[]` now + * - `expandable` wrap all the expand related props + * + * Removed: + * - expandIconAsCell + * - useFixedHeader + * - rowRef + * - columns[number].onCellClick + * - onRowClick + * - onRowDoubleClick + * - onRowMouseEnter + * - onRowMouseLeave + * - getBodyWrapper + * - bodyStyle + * + * Deprecated: + * - All expanded props, move into expandable + */ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +// Used for conditions cache +var EMPTY_DATA = []; + +// Used for customize scroll +var EMPTY_SCROLL_TARGET = {}; +function defaultEmpty() { + return 'No Data'; +} +function Table_Table(tableProps) { + var _classNames; + var props = (0,objectSpread2/* default */.Z)({ + rowKey: 'key', + prefixCls: 'rc-table', + emptyText: defaultEmpty + }, tableProps); + var prefixCls = props.prefixCls, + className = props.className, + rowClassName = props.rowClassName, + style = props.style, + data = props.data, + rowKey = props.rowKey, + scroll = props.scroll, + tableLayout = props.tableLayout, + direction = props.direction, + title = props.title, + footer = props.footer, + summary = props.summary, + caption = props.caption, + id = props.id, + showHeader = props.showHeader, + components = props.components, + emptyText = props.emptyText, + onRow = props.onRow, + onHeaderRow = props.onHeaderRow, + internalHooks = props.internalHooks, + transformColumns = props.transformColumns, + internalRefs = props.internalRefs, + sticky = props.sticky; + var mergedData = data || EMPTY_DATA; + var hasData = !!mergedData.length; + + // ===================== Warning ====================== + if (false) {} + + // ==================== Customize ===================== + var getComponent = react.useCallback(function (path, defaultComponent) { + return get(components, path) || defaultComponent; + }, [components]); + var getRowKey = react.useMemo(function () { + if (typeof rowKey === 'function') { + return rowKey; + } + return function (record) { + var key = record && record[rowKey]; + if (false) {} + return key; + }; + }, [rowKey]); + + // ====================== Hover ======================= + var _useHover = useHover(), + _useHover2 = (0,slicedToArray/* default */.Z)(_useHover, 3), + startRow = _useHover2[0], + endRow = _useHover2[1], + onHover = _useHover2[2]; + + // ====================== Expand ====================== + var _useExpand = useExpand(props, mergedData, getRowKey), + _useExpand2 = (0,slicedToArray/* default */.Z)(_useExpand, 6), + expandableConfig = _useExpand2[0], + expandableType = _useExpand2[1], + mergedExpandedKeys = _useExpand2[2], + mergedExpandIcon = _useExpand2[3], + mergedChildrenColumnName = _useExpand2[4], + onTriggerExpand = _useExpand2[5]; + + // ====================== Column ====================== + var _React$useState = react.useState(0), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + componentWidth = _React$useState2[0], + setComponentWidth = _React$useState2[1]; + var _useColumns = hooks_useColumns((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, props), expandableConfig), {}, { + expandable: !!expandableConfig.expandedRowRender, + columnTitle: expandableConfig.columnTitle, + expandedKeys: mergedExpandedKeys, + getRowKey: getRowKey, + // https://github.com/ant-design/ant-design/issues/23894 + onTriggerExpand: onTriggerExpand, + expandIcon: mergedExpandIcon, + expandIconColumnIndex: expandableConfig.expandIconColumnIndex, + direction: direction + }), internalHooks === INTERNAL_HOOKS ? transformColumns : null), + _useColumns2 = (0,slicedToArray/* default */.Z)(_useColumns, 2), + columns = _useColumns2[0], + flattenColumns = _useColumns2[1]; + var columnContext = react.useMemo(function () { + return { + columns: columns, + flattenColumns: flattenColumns + }; + }, [columns, flattenColumns]); + + // ====================== Scroll ====================== + var fullTableRef = react.useRef(); + var scrollHeaderRef = react.useRef(); + var scrollBodyRef = react.useRef(); + var scrollBodyContainerRef = react.useRef(); + var scrollSummaryRef = react.useRef(); + var _React$useState3 = react.useState(false), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + pingedLeft = _React$useState4[0], + setPingedLeft = _React$useState4[1]; + var _React$useState5 = react.useState(false), + _React$useState6 = (0,slicedToArray/* default */.Z)(_React$useState5, 2), + pingedRight = _React$useState6[0], + setPingedRight = _React$useState6[1]; + var _useLayoutState = useLayoutState(new Map()), + _useLayoutState2 = (0,slicedToArray/* default */.Z)(_useLayoutState, 2), + colsWidths = _useLayoutState2[0], + updateColsWidths = _useLayoutState2[1]; + + // Convert map to number width + var colsKeys = getColumnsKey(flattenColumns); + var pureColWidths = colsKeys.map(function (columnKey) { + return colsWidths.get(columnKey); + }); + var colWidths = react.useMemo(function () { + return pureColWidths; + }, [pureColWidths.join('_')]); + var stickyOffsets = hooks_useStickyOffsets(colWidths, flattenColumns.length, direction); + var fixHeader = scroll && validateValue(scroll.y); + var horizonScroll = scroll && validateValue(scroll.x) || Boolean(expandableConfig.fixed); + var fixColumn = horizonScroll && flattenColumns.some(function (_ref) { + var fixed = _ref.fixed; + return fixed; + }); + + // Sticky + var stickyRef = react.useRef(); + var _useSticky = useSticky(sticky, prefixCls), + isSticky = _useSticky.isSticky, + offsetHeader = _useSticky.offsetHeader, + offsetSummary = _useSticky.offsetSummary, + offsetScroll = _useSticky.offsetScroll, + stickyClassName = _useSticky.stickyClassName, + container = _useSticky.container; + + // Footer (Fix footer must fixed header) + var summaryNode = react.useMemo(function () { + return summary === null || summary === void 0 ? void 0 : summary(mergedData); + }, [summary, mergedData]); + var fixFooter = (fixHeader || isSticky) && /*#__PURE__*/react.isValidElement(summaryNode) && summaryNode.type === Footer_Summary && summaryNode.props.fixed; + + // Scroll + var scrollXStyle; + var scrollYStyle; + var scrollTableStyle; + if (fixHeader) { + scrollYStyle = { + overflowY: 'scroll', + maxHeight: scroll.y + }; + } + if (horizonScroll) { + scrollXStyle = { + overflowX: 'auto' + }; + // When no vertical scrollbar, should hide it + // https://github.com/ant-design/ant-design/pull/20705 + // https://github.com/ant-design/ant-design/issues/21879 + if (!fixHeader) { + scrollYStyle = { + overflowY: 'hidden' + }; + } + scrollTableStyle = { + width: (scroll === null || scroll === void 0 ? void 0 : scroll.x) === true ? 'auto' : scroll === null || scroll === void 0 ? void 0 : scroll.x, + minWidth: '100%' + }; + } + var onColumnResize = react.useCallback(function (columnKey, width) { + if (isVisible(fullTableRef.current)) { + updateColsWidths(function (widths) { + if (widths.get(columnKey) !== width) { + var newWidths = new Map(widths); + newWidths.set(columnKey, width); + return newWidths; + } + return widths; + }); + } + }, []); + var _useTimeoutLock = useTimeoutLock(null), + _useTimeoutLock2 = (0,slicedToArray/* default */.Z)(_useTimeoutLock, 2), + setScrollTarget = _useTimeoutLock2[0], + getScrollTarget = _useTimeoutLock2[1]; + function forceScroll(scrollLeft, target) { + if (!target) { + return; + } + if (typeof target === 'function') { + target(scrollLeft); + } else if (target.scrollLeft !== scrollLeft) { + target.scrollLeft = scrollLeft; + + // Delay to force scroll position if not sync + // ref: https://github.com/ant-design/ant-design/issues/37179 + if (target.scrollLeft !== scrollLeft) { + setTimeout(function () { + target.scrollLeft = scrollLeft; + }, 0); + } + } + } + var onScroll = useEvent_useEvent(function (_ref2) { + var currentTarget = _ref2.currentTarget, + scrollLeft = _ref2.scrollLeft; + var isRTL = direction === 'rtl'; + var mergedScrollLeft = typeof scrollLeft === 'number' ? scrollLeft : currentTarget.scrollLeft; + var compareTarget = currentTarget || EMPTY_SCROLL_TARGET; + if (!getScrollTarget() || getScrollTarget() === compareTarget) { + var _stickyRef$current; + setScrollTarget(compareTarget); + forceScroll(mergedScrollLeft, scrollHeaderRef.current); + forceScroll(mergedScrollLeft, scrollBodyRef.current); + forceScroll(mergedScrollLeft, scrollSummaryRef.current); + forceScroll(mergedScrollLeft, (_stickyRef$current = stickyRef.current) === null || _stickyRef$current === void 0 ? void 0 : _stickyRef$current.setScrollLeft); + } + if (currentTarget) { + var scrollWidth = currentTarget.scrollWidth, + clientWidth = currentTarget.clientWidth; + // There is no space to scroll + if (scrollWidth === clientWidth) { + setPingedLeft(false); + setPingedRight(false); + return; + } + if (isRTL) { + setPingedLeft(-mergedScrollLeft < scrollWidth - clientWidth); + setPingedRight(-mergedScrollLeft > 0); + } else { + setPingedLeft(mergedScrollLeft > 0); + setPingedRight(mergedScrollLeft < scrollWidth - clientWidth); + } + } + }); + var triggerOnScroll = function triggerOnScroll() { + if (horizonScroll && scrollBodyRef.current) { + onScroll({ + currentTarget: scrollBodyRef.current + }); + } else { + setPingedLeft(false); + setPingedRight(false); + } + }; + var onFullTableResize = function onFullTableResize(_ref3) { + var width = _ref3.width; + if (width !== componentWidth) { + triggerOnScroll(); + setComponentWidth(fullTableRef.current ? fullTableRef.current.offsetWidth : width); + } + }; + + // Sync scroll bar when init or `horizonScroll`, `data` and `columns.length` changed + var mounted = react.useRef(false); + react.useEffect(function () { + // onFullTableResize will be trigger once when ResizeObserver is mounted + // This will reduce one duplicated triggerOnScroll time + if (mounted.current) { + triggerOnScroll(); + } + }, [horizonScroll, data, columns.length]); + react.useEffect(function () { + mounted.current = true; + }, []); + + // ===================== Effects ====================== + var _React$useState7 = react.useState(0), + _React$useState8 = (0,slicedToArray/* default */.Z)(_React$useState7, 2), + scrollbarSize = _React$useState8[0], + setScrollbarSize = _React$useState8[1]; + var _React$useState9 = react.useState(true), + _React$useState10 = (0,slicedToArray/* default */.Z)(_React$useState9, 2), + supportSticky = _React$useState10[0], + setSupportSticky = _React$useState10[1]; // Only IE not support, we mark as support first + + react.useEffect(function () { + if (scrollBodyRef.current instanceof Element) { + setScrollbarSize(getTargetScrollBarSize(scrollBodyRef.current).width); + } else { + setScrollbarSize(getTargetScrollBarSize(scrollBodyContainerRef.current).width); + } + setSupportSticky(isStyleSupport('position', 'sticky')); + }, []); + + // ================== INTERNAL HOOKS ================== + react.useEffect(function () { + if (internalHooks === INTERNAL_HOOKS && internalRefs) { + internalRefs.body.current = scrollBodyRef.current; + } + }); + + // ======================================================================== + // == Render == + // ======================================================================== + // =================== Render: Func =================== + var renderFixedHeaderTable = react.useCallback(function (fixedHolderPassProps) { + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Header_Header, fixedHolderPassProps), fixFooter === 'top' && /*#__PURE__*/react.createElement(es_Footer, fixedHolderPassProps, summaryNode)); + }, [fixFooter, summaryNode]); + var renderFixedFooterTable = react.useCallback(function (fixedHolderPassProps) { + return /*#__PURE__*/react.createElement(es_Footer, fixedHolderPassProps, summaryNode); + }, [summaryNode]); + + // =================== Render: Node =================== + var TableComponent = getComponent(['table'], 'table'); + + // Table layout + var mergedTableLayout = react.useMemo(function () { + if (tableLayout) { + return tableLayout; + } + // https://github.com/ant-design/ant-design/issues/25227 + // When scroll.x is max-content, no need to fix table layout + // it's width should stretch out to fit content + if (fixColumn) { + return (scroll === null || scroll === void 0 ? void 0 : scroll.x) === 'max-content' ? 'auto' : 'fixed'; + } + if (fixHeader || isSticky || flattenColumns.some(function (_ref4) { + var ellipsis = _ref4.ellipsis; + return ellipsis; + })) { + return 'fixed'; + } + return 'auto'; + }, [fixHeader, fixColumn, flattenColumns, tableLayout, isSticky]); + var groupTableNode; + + // Header props + var headerProps = { + colWidths: colWidths, + columCount: flattenColumns.length, + stickyOffsets: stickyOffsets, + onHeaderRow: onHeaderRow, + fixHeader: fixHeader, + scroll: scroll + }; + + // Empty + var emptyNode = react.useMemo(function () { + if (hasData) { + return null; + } + if (typeof emptyText === 'function') { + return emptyText(); + } + return emptyText; + }, [hasData, emptyText]); + + // Body + var bodyTable = /*#__PURE__*/react.createElement(es_Body, { + data: mergedData, + measureColumnWidth: fixHeader || horizonScroll || isSticky, + expandedKeys: mergedExpandedKeys, + rowExpandable: expandableConfig.rowExpandable, + getRowKey: getRowKey, + onRow: onRow, + emptyNode: emptyNode, + childrenColumnName: mergedChildrenColumnName + }); + var bodyColGroup = /*#__PURE__*/react.createElement(es_ColGroup, { + colWidths: flattenColumns.map(function (_ref5) { + var width = _ref5.width; + return width; + }), + columns: flattenColumns + }); + var captionElement = caption !== null && caption !== undefined ? /*#__PURE__*/react.createElement("caption", { + className: "".concat(prefixCls, "-caption") + }, caption) : undefined; + var customizeScrollBody = getComponent(['body']); + if (false) {} + var dataProps = pickAttrs(props, { + data: true + }); + var ariaProps = pickAttrs(props, { + aria: true + }); + if (fixHeader || isSticky) { + // >>>>>> Fixed Header + var bodyContent; + if (typeof customizeScrollBody === 'function') { + bodyContent = customizeScrollBody(mergedData, { + scrollbarSize: scrollbarSize, + ref: scrollBodyRef, + onScroll: onScroll + }); + headerProps.colWidths = flattenColumns.map(function (_ref6, index) { + var width = _ref6.width; + var colWidth = index === columns.length - 1 ? width - scrollbarSize : width; + if (typeof colWidth === 'number' && !Number.isNaN(colWidth)) { + return colWidth; + } + if (false) {} + return 0; + }); + } else { + bodyContent = /*#__PURE__*/react.createElement("div", { + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, scrollXStyle), scrollYStyle), + onScroll: onScroll, + ref: scrollBodyRef, + className: classnames_default()("".concat(prefixCls, "-body")) + }, /*#__PURE__*/react.createElement(TableComponent, (0,esm_extends/* default */.Z)({ + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, scrollTableStyle), {}, { + tableLayout: mergedTableLayout + }) + }, ariaProps), captionElement, bodyColGroup, bodyTable, !fixFooter && summaryNode && /*#__PURE__*/react.createElement(es_Footer, { + stickyOffsets: stickyOffsets, + flattenColumns: flattenColumns, + columns: columns + }, summaryNode))); + } + + // Fixed holder share the props + var fixedHolderProps = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + noData: !mergedData.length, + maxContentScroll: horizonScroll && scroll.x === 'max-content' + }, headerProps), columnContext), {}, { + direction: direction, + stickyClassName: stickyClassName, + onScroll: onScroll + }); + groupTableNode = /*#__PURE__*/react.createElement(react.Fragment, null, showHeader !== false && /*#__PURE__*/react.createElement(es_FixedHolder, (0,esm_extends/* default */.Z)({}, fixedHolderProps, { + stickyTopOffset: offsetHeader, + className: "".concat(prefixCls, "-header"), + ref: scrollHeaderRef + }), renderFixedHeaderTable), bodyContent, fixFooter && fixFooter !== 'top' && /*#__PURE__*/react.createElement(es_FixedHolder, (0,esm_extends/* default */.Z)({}, fixedHolderProps, { + stickyBottomOffset: offsetSummary, + className: "".concat(prefixCls, "-summary"), + ref: scrollSummaryRef + }), renderFixedFooterTable), isSticky && /*#__PURE__*/react.createElement(stickyScrollBar, { + ref: stickyRef, + offsetScroll: offsetScroll, + scrollBodyRef: scrollBodyRef, + onScroll: onScroll, + container: container + })); + } else { + // >>>>>> Unique table + groupTableNode = /*#__PURE__*/react.createElement("div", { + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, scrollXStyle), scrollYStyle), + className: classnames_default()("".concat(prefixCls, "-content")), + onScroll: onScroll, + ref: scrollBodyRef + }, /*#__PURE__*/react.createElement(TableComponent, (0,esm_extends/* default */.Z)({ + style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, scrollTableStyle), {}, { + tableLayout: mergedTableLayout + }) + }, ariaProps), captionElement, bodyColGroup, showHeader !== false && /*#__PURE__*/react.createElement(Header_Header, (0,esm_extends/* default */.Z)({}, headerProps, columnContext)), bodyTable, summaryNode && /*#__PURE__*/react.createElement(es_Footer, { + stickyOffsets: stickyOffsets, + flattenColumns: flattenColumns, + columns: columns + }, summaryNode))); + } + var fullTable = /*#__PURE__*/react.createElement("div", (0,esm_extends/* default */.Z)({ + className: classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-ping-left"), pingedLeft), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-ping-right"), pingedRight), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-layout-fixed"), tableLayout === 'fixed'), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-fixed-header"), fixHeader), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-fixed-column"), fixColumn), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-scroll-horizontal"), horizonScroll), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-has-fix-left"), flattenColumns[0] && flattenColumns[0].fixed), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-has-fix-right"), flattenColumns[flattenColumns.length - 1] && flattenColumns[flattenColumns.length - 1].fixed === 'right'), _classNames)), + style: style, + id: id, + ref: fullTableRef + }, dataProps), title && /*#__PURE__*/react.createElement(es_Panel, { + className: "".concat(prefixCls, "-title") + }, title(mergedData)), /*#__PURE__*/react.createElement("div", { + ref: scrollBodyContainerRef, + className: "".concat(prefixCls, "-container") + }, groupTableNode), footer && /*#__PURE__*/react.createElement(es_Panel, { + className: "".concat(prefixCls, "-footer") + }, footer(mergedData))); + if (horizonScroll) { + fullTable = /*#__PURE__*/react.createElement(es/* default */.Z, { + onResize: onFullTableResize + }, fullTable); + } + var fixedInfoList = useFixedInfo(flattenColumns, stickyOffsets, direction, columns); + var TableContextValue = react.useMemo(function () { + return { + // Table + prefixCls: prefixCls, + getComponent: getComponent, + scrollbarSize: scrollbarSize, + direction: direction, + fixedInfoList: fixedInfoList, + isSticky: isSticky, + supportSticky: supportSticky, + componentWidth: componentWidth, + fixHeader: fixHeader, + fixColumn: fixColumn, + horizonScroll: horizonScroll, + // Body + + tableLayout: mergedTableLayout, + rowClassName: rowClassName, + expandedRowClassName: expandableConfig.expandedRowClassName, + expandIcon: mergedExpandIcon, + expandableType: expandableType, + expandRowByClick: expandableConfig.expandRowByClick, + expandedRowRender: expandableConfig.expandedRowRender, + onTriggerExpand: onTriggerExpand, + expandIconColumnIndex: expandableConfig.expandIconColumnIndex, + indentSize: expandableConfig.indentSize, + allColumnsFixedLeft: flattenColumns.every(function (col) { + return col.fixed === 'left'; + }), + // Column + columns: columns, + flattenColumns: flattenColumns, + onColumnResize: onColumnResize, + // Row + hoverStartRow: startRow, + hoverEndRow: endRow, + onHover: onHover + }; + }, [ + // Table + prefixCls, getComponent, scrollbarSize, direction, fixedInfoList, isSticky, supportSticky, componentWidth, fixHeader, fixColumn, horizonScroll, + // Body + mergedTableLayout, rowClassName, expandableConfig.expandedRowClassName, mergedExpandIcon, expandableType, expandableConfig.expandRowByClick, expandableConfig.expandedRowRender, onTriggerExpand, expandableConfig.expandIconColumnIndex, expandableConfig.indentSize, + // Column + columns, flattenColumns, onColumnResize, + // Row + startRow, endRow, onHover]); + return /*#__PURE__*/react.createElement(context_TableContext.Provider, { + value: TableContextValue + }, fullTable); +} +function genTable(shouldTriggerRender) { + return makeImmutable(Table_Table, shouldTriggerRender); +} +var ImmutableTable = genTable(); +ImmutableTable.EXPAND_COLUMN = EXPAND_COLUMN; +ImmutableTable.Column = sugar_Column; +ImmutableTable.ColumnGroup = sugar_ColumnGroup; +ImmutableTable.Summary = FooterComponents; +/* harmony default export */ var es_Table = ((/* unused pure expression or super */ null && (ImmutableTable))); +;// CONCATENATED MODULE: ./node_modules/rc-table/es/index.js + + + + + + + +/* harmony default export */ var rc_table_es = ((/* unused pure expression or super */ null && (Table))); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/Column.js +/* istanbul ignore next */ +/** This is a syntactic sugar for `columns` prop. So HOC will not work on this. */ +// eslint-disable-next-line no-unused-vars +function Column_Column(_) { + return null; +} +/* harmony default export */ var table_Column = (Column_Column); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/ColumnGroup.js +/* istanbul ignore next */ +/** This is a syntactic sugar for `columns` prop. So HOC will not work on this. */ +// eslint-disable-next-line no-unused-vars +function ColumnGroup_ColumnGroup(_) { + return null; +} +/* harmony default export */ var table_ColumnGroup = (ColumnGroup_ColumnGroup); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/scrollTo.js + 1 modules +var scrollTo = __webpack_require__(58375); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/defaultRenderEmpty.js +var defaultRenderEmpty = __webpack_require__(88258); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/grid/hooks/useBreakpoint.js +var useBreakpoint = __webpack_require__(25378); +// EXTERNAL MODULE: ./node_modules/antd/es/locale/en_US.js + 1 modules +var en_US = __webpack_require__(24457); +// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 13 modules +var es_pagination = __webpack_require__(34435); +// EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js + 1 modules +var spin = __webpack_require__(57953); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/ExpandIcon.js + + +function ExpandIcon_renderExpandIcon(locale) { + return function expandIcon(_ref) { + let { + prefixCls, + onExpand, + record, + expanded, + expandable + } = _ref; + const iconPrefix = `${prefixCls}-row-expand-icon`; + return /*#__PURE__*/react.createElement("button", { + type: "button", + onClick: e => { + onExpand(record, e); + e.stopPropagation(); + }, + className: classnames_default()(iconPrefix, { + [`${iconPrefix}-spaced`]: !expandable, + [`${iconPrefix}-expanded`]: expandable && expanded, + [`${iconPrefix}-collapsed`]: expandable && !expanded + }), + "aria-label": expanded ? locale.collapse : locale.expand, + "aria-expanded": expanded + }); + }; +} +/* harmony default export */ var ExpandIcon = (ExpandIcon_renderExpandIcon); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/RcTable.js + +/** + * Same as `rc-table` but we modify trigger children update logic instead. + */ +/* harmony default export */ var RcTable = (genTable((prev, next) => { + const { + _renderTimes: prevRenderTimes + } = prev; + const { + _renderTimes: nextRenderTimes + } = next; + return prevRenderTimes !== nextRenderTimes; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/util.js +function getColumnKey(column, defaultKey) { + if ('key' in column && column.key !== undefined && column.key !== null) { + return column.key; + } + if (column.dataIndex) { + return Array.isArray(column.dataIndex) ? column.dataIndex.join('.') : column.dataIndex; + } + return defaultKey; +} +function getColumnPos(index, pos) { + return pos ? `${pos}-${index}` : `${index}`; +} +function renderColumnTitle(title, props) { + if (typeof title === 'function') { + return title(props); + } + return title; +} +/** + * Safe get column title + * + * Should filter [object Object] + * + * @param title + * @returns + */ +function safeColumnTitle(title, props) { + const res = renderColumnTitle(title, props); + if (Object.prototype.toString.call(res) === '[object Object]') return ''; + return res; +} +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/FilterFilled.js +// This icon file is generated automatically. +var FilterFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" } }] }, "name": "filter", "theme": "filled" }; +/* harmony default export */ var asn_FilterFilled = (FilterFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/FilterFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var FilterFilled_FilterFilled = function FilterFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_FilterFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_FilterFilled = (/*#__PURE__*/react.forwardRef(FilterFilled_FilterFilled)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/isEqual.js +var rc_util_es_isEqual = __webpack_require__(7699); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useForceUpdate.js +var useForceUpdate = __webpack_require__(57838); +;// CONCATENATED MODULE: ./node_modules/antd/es/_util/hooks/useSyncState.js + + +function useSyncState(initialValue) { + const ref = react.useRef(initialValue); + const forceUpdate = (0,useForceUpdate/* default */.Z)(); + return [() => ref.current, newValue => { + ref.current = newValue; + // re-render + forceUpdate(); + }]; +} +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 3 modules +var es_checkbox = __webpack_require__(84567); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/index.js + 1 modules +var dropdown = __webpack_require__(85418); +// EXTERNAL MODULE: ./node_modules/antd/es/empty/index.js + 3 modules +var empty = __webpack_require__(32983); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 11 modules +var es_menu = __webpack_require__(68508); +// EXTERNAL MODULE: ./node_modules/antd/es/menu/OverrideContext.js +var OverrideContext = __webpack_require__(76529); +// EXTERNAL MODULE: ./node_modules/antd/es/radio/index.js + 5 modules +var es_radio = __webpack_require__(78045); +// EXTERNAL MODULE: ./node_modules/antd/es/tree/index.js + 37 modules +var tree = __webpack_require__(86132); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules +var input = __webpack_require__(11486); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/hooks/useFilter/FilterSearch.js + + + +function FilterSearch(_ref) { + let { + value, + onChange, + filterSearch, + tablePrefixCls, + locale + } = _ref; + if (!filterSearch) { + return null; + } + return /*#__PURE__*/react.createElement("div", { + className: `${tablePrefixCls}-filter-dropdown-search` + }, /*#__PURE__*/react.createElement(input/* default */.Z, { + prefix: /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null), + placeholder: locale.filterSearchPlaceholder, + onChange: onChange, + value: value, + // for skip min-width of input + htmlSize: 1, + className: `${tablePrefixCls}-filter-dropdown-search-input` + })); +} +/* harmony default export */ var useFilter_FilterSearch = (FilterSearch); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(92389); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/hooks/useFilter/FilterWrapper.js + + +const onKeyDown = event => { + const { + keyCode + } = event; + if (keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + event.stopPropagation(); + } +}; +const FilterDropdownMenuWrapper = /*#__PURE__*/react.forwardRef((props, ref) => /*#__PURE__*/react.createElement("div", { + className: props.className, + onClick: e => e.stopPropagation(), + onKeyDown: onKeyDown, + ref: ref +}, props.children)); +if (false) {} +/* harmony default export */ var FilterWrapper = (FilterDropdownMenuWrapper); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js + + + + + + + + + + + + + + + + + + +function flattenKeys(filters) { + let keys = []; + (filters || []).forEach(_ref => { + let { + value, + children + } = _ref; + keys.push(value); + if (children) { + keys = [].concat((0,toConsumableArray/* default */.Z)(keys), (0,toConsumableArray/* default */.Z)(flattenKeys(children))); + } + }); + return keys; +} +function hasSubMenu(filters) { + return filters.some(_ref2 => { + let { + children + } = _ref2; + return children; + }); +} +function searchValueMatched(searchValue, text) { + if (typeof text === 'string' || typeof text === 'number') { + return text === null || text === void 0 ? void 0 : text.toString().toLowerCase().includes(searchValue.trim().toLowerCase()); + } + return false; +} +function renderFilterItems(_ref3) { + let { + filters, + prefixCls, + filteredKeys, + filterMultiple, + searchValue, + filterSearch + } = _ref3; + return filters.map((filter, index) => { + const key = String(filter.value); + if (filter.children) { + return { + key: key || index, + label: filter.text, + popupClassName: `${prefixCls}-dropdown-submenu`, + children: renderFilterItems({ + filters: filter.children, + prefixCls, + filteredKeys, + filterMultiple, + searchValue, + filterSearch + }) + }; + } + const Component = filterMultiple ? es_checkbox/* default */.Z : es_radio/* default */.ZP; + const item = { + key: filter.value !== undefined ? key : index, + label: /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Component, { + checked: filteredKeys.includes(key) + }), /*#__PURE__*/react.createElement("span", null, filter.text)) + }; + if (searchValue.trim()) { + if (typeof filterSearch === 'function') { + return filterSearch(searchValue, filter) ? item : null; + } + return searchValueMatched(searchValue, filter.text) ? item : null; + } + return item; + }); +} +function FilterDropdown(props) { + var _a, _b; + const { + tablePrefixCls, + prefixCls, + column, + dropdownPrefixCls, + columnKey, + filterMultiple, + filterMode = 'menu', + filterSearch = false, + filterState, + triggerFilter, + locale, + children, + getPopupContainer + } = props; + const { + filterDropdownOpen, + onFilterDropdownOpenChange, + filterResetToDefaultFilteredValue, + defaultFilteredValue, + // Deprecated + filterDropdownVisible, + onFilterDropdownVisibleChange + } = column; + const [visible, setVisible] = react.useState(false); + const filtered = !!(filterState && (((_a = filterState.filteredKeys) === null || _a === void 0 ? void 0 : _a.length) || filterState.forceFiltered)); + const triggerVisible = newVisible => { + setVisible(newVisible); + onFilterDropdownOpenChange === null || onFilterDropdownOpenChange === void 0 ? void 0 : onFilterDropdownOpenChange(newVisible); + onFilterDropdownVisibleChange === null || onFilterDropdownVisibleChange === void 0 ? void 0 : onFilterDropdownVisibleChange(newVisible); + }; + if (false) {} + const mergedVisible = (_b = filterDropdownOpen !== null && filterDropdownOpen !== void 0 ? filterDropdownOpen : filterDropdownVisible) !== null && _b !== void 0 ? _b : visible; + // ===================== Select Keys ===================== + const propFilteredKeys = filterState === null || filterState === void 0 ? void 0 : filterState.filteredKeys; + const [getFilteredKeysSync, setFilteredKeysSync] = useSyncState(propFilteredKeys || []); + const onSelectKeys = _ref5 => { + let { + selectedKeys + } = _ref5; + setFilteredKeysSync(selectedKeys); + }; + const onCheck = (keys, _ref6) => { + let { + node, + checked + } = _ref6; + if (!filterMultiple) { + onSelectKeys({ + selectedKeys: checked && node.key ? [node.key] : [] + }); + } else { + onSelectKeys({ + selectedKeys: keys + }); + } + }; + react.useEffect(() => { + if (!visible) { + return; + } + onSelectKeys({ + selectedKeys: propFilteredKeys || [] + }); + }, [propFilteredKeys]); + // ====================== Open Keys ====================== + const [openKeys, setOpenKeys] = react.useState([]); + const onOpenChange = keys => { + setOpenKeys(keys); + }; + // search in tree mode column filter + const [searchValue, setSearchValue] = react.useState(''); + const onSearch = e => { + const { + value + } = e.target; + setSearchValue(value); + }; + // clear search value after close filter dropdown + react.useEffect(() => { + if (!visible) { + setSearchValue(''); + } + }, [visible]); + // ======================= Submit ======================== + const internalTriggerFilter = keys => { + const mergedKeys = keys && keys.length ? keys : null; + if (mergedKeys === null && (!filterState || !filterState.filteredKeys)) { + return null; + } + if ((0,rc_util_es_isEqual/* default */.Z)(mergedKeys, filterState === null || filterState === void 0 ? void 0 : filterState.filteredKeys, true)) { + return null; + } + triggerFilter({ + column, + key: columnKey, + filteredKeys: mergedKeys + }); + }; + const onConfirm = () => { + triggerVisible(false); + internalTriggerFilter(getFilteredKeysSync()); + }; + const onReset = function () { + let { + confirm, + closeDropdown + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { + confirm: false, + closeDropdown: false + }; + if (confirm) { + internalTriggerFilter([]); + } + if (closeDropdown) { + triggerVisible(false); + } + setSearchValue(''); + if (filterResetToDefaultFilteredValue) { + setFilteredKeysSync((defaultFilteredValue || []).map(key => String(key))); + } else { + setFilteredKeysSync([]); + } + }; + const doFilter = function () { + let { + closeDropdown + } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { + closeDropdown: true + }; + if (closeDropdown) { + triggerVisible(false); + } + internalTriggerFilter(getFilteredKeysSync()); + }; + const onVisibleChange = newVisible => { + if (newVisible && propFilteredKeys !== undefined) { + // Sync filteredKeys on appear in controlled mode (propFilteredKeys !== undefined) + setFilteredKeysSync(propFilteredKeys || []); + } + triggerVisible(newVisible); + // Default will filter when closed + if (!newVisible && !column.filterDropdown) { + onConfirm(); + } + }; + // ======================== Style ======================== + const dropdownMenuClass = classnames_default()({ + [`${dropdownPrefixCls}-menu-without-submenu`]: !hasSubMenu(column.filters || []) + }); + const onCheckAll = e => { + if (e.target.checked) { + const allFilterKeys = flattenKeys(column === null || column === void 0 ? void 0 : column.filters).map(key => String(key)); + setFilteredKeysSync(allFilterKeys); + } else { + setFilteredKeysSync([]); + } + }; + const getTreeData = _ref7 => { + let { + filters + } = _ref7; + return (filters || []).map((filter, index) => { + const key = String(filter.value); + const item = { + title: filter.text, + key: filter.value !== undefined ? key : index + }; + if (filter.children) { + item.children = getTreeData({ + filters: filter.children + }); + } + return item; + }); + }; + const getFilterData = node => { + var _a; + return Object.assign(Object.assign({}, node), { + text: node.title, + value: node.key, + children: ((_a = node.children) === null || _a === void 0 ? void 0 : _a.map(item => getFilterData(item))) || [] + }); + }; + let dropdownContent; + if (typeof column.filterDropdown === 'function') { + dropdownContent = column.filterDropdown({ + prefixCls: `${dropdownPrefixCls}-custom`, + setSelectedKeys: selectedKeys => onSelectKeys({ + selectedKeys + }), + selectedKeys: getFilteredKeysSync(), + confirm: doFilter, + clearFilters: onReset, + filters: column.filters, + visible: mergedVisible, + close: () => { + triggerVisible(false); + } + }); + } else if (column.filterDropdown) { + dropdownContent = column.filterDropdown; + } else { + const selectedKeys = getFilteredKeysSync() || []; + const getFilterComponent = () => { + if ((column.filters || []).length === 0) { + return /*#__PURE__*/react.createElement(empty/* default */.Z, { + image: empty/* default.PRESENTED_IMAGE_SIMPLE */.Z.PRESENTED_IMAGE_SIMPLE, + description: locale.filterEmptyText, + imageStyle: { + height: 24 + }, + style: { + margin: 0, + padding: '16px 0' + } + }); + } + if (filterMode === 'tree') { + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(useFilter_FilterSearch, { + filterSearch: filterSearch, + value: searchValue, + onChange: onSearch, + tablePrefixCls: tablePrefixCls, + locale: locale + }), /*#__PURE__*/react.createElement("div", { + className: `${tablePrefixCls}-filter-dropdown-tree` + }, filterMultiple ? /*#__PURE__*/react.createElement(es_checkbox/* default */.Z, { + checked: selectedKeys.length === flattenKeys(column.filters).length, + indeterminate: selectedKeys.length > 0 && selectedKeys.length < flattenKeys(column.filters).length, + className: `${tablePrefixCls}-filter-dropdown-checkall`, + onChange: onCheckAll + }, locale.filterCheckall) : null, /*#__PURE__*/react.createElement(tree/* default */.Z, { + checkable: true, + selectable: false, + blockNode: true, + multiple: filterMultiple, + checkStrictly: !filterMultiple, + className: `${dropdownPrefixCls}-menu`, + onCheck: onCheck, + checkedKeys: selectedKeys, + selectedKeys: selectedKeys, + showIcon: false, + treeData: getTreeData({ + filters: column.filters + }), + autoExpandParent: true, + defaultExpandAll: true, + filterTreeNode: searchValue.trim() ? node => { + if (typeof filterSearch === 'function') { + return filterSearch(searchValue, getFilterData(node)); + } + return searchValueMatched(searchValue, node.title); + } : undefined + }))); + } + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(useFilter_FilterSearch, { + filterSearch: filterSearch, + value: searchValue, + onChange: onSearch, + tablePrefixCls: tablePrefixCls, + locale: locale + }), /*#__PURE__*/react.createElement(es_menu/* default */.Z, { + selectable: true, + multiple: filterMultiple, + prefixCls: `${dropdownPrefixCls}-menu`, + className: dropdownMenuClass, + onSelect: onSelectKeys, + onDeselect: onSelectKeys, + selectedKeys: selectedKeys, + getPopupContainer: getPopupContainer, + openKeys: openKeys, + onOpenChange: onOpenChange, + items: renderFilterItems({ + filters: column.filters || [], + filterSearch, + prefixCls, + filteredKeys: getFilteredKeysSync(), + filterMultiple, + searchValue + }) + })); + }; + const getResetDisabled = () => { + if (filterResetToDefaultFilteredValue) { + return (0,rc_util_es_isEqual/* default */.Z)((defaultFilteredValue || []).map(key => String(key)), selectedKeys, true); + } + return selectedKeys.length === 0; + }; + dropdownContent = /*#__PURE__*/react.createElement(react.Fragment, null, getFilterComponent(), /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-dropdown-btns` + }, /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: "link", + size: "small", + disabled: getResetDisabled(), + onClick: () => onReset() + }, locale.filterReset), /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: "primary", + size: "small", + onClick: onConfirm + }, locale.filterConfirm))); + } + // We should not block customize Menu with additional props + if (column.filterDropdown) { + dropdownContent = /*#__PURE__*/react.createElement(OverrideContext/* OverrideProvider */.J, { + selectable: undefined + }, dropdownContent); + } + const menu = () => /*#__PURE__*/react.createElement(FilterWrapper, { + className: `${prefixCls}-dropdown` + }, dropdownContent); + let filterIcon; + if (typeof column.filterIcon === 'function') { + filterIcon = column.filterIcon(filtered); + } else if (column.filterIcon) { + filterIcon = column.filterIcon; + } else { + filterIcon = /*#__PURE__*/react.createElement(icons_FilterFilled, null); + } + const { + direction + } = react.useContext(context/* ConfigContext */.E_); + return /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-column` + }, /*#__PURE__*/react.createElement("span", { + className: `${tablePrefixCls}-column-title` + }, children), /*#__PURE__*/react.createElement(dropdown/* default */.Z, { + dropdownRender: menu, + trigger: ['click'], + open: mergedVisible, + onOpenChange: onVisibleChange, + getPopupContainer: getPopupContainer, + placement: direction === 'rtl' ? 'bottomLeft' : 'bottomRight' + }, /*#__PURE__*/react.createElement("span", { + role: "button", + tabIndex: -1, + className: classnames_default()(`${prefixCls}-trigger`, { + active: filtered + }), + onClick: e => { + e.stopPropagation(); + } + }, filterIcon))); +} +/* harmony default export */ var useFilter_FilterDropdown = (FilterDropdown); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/hooks/useFilter/index.js + + + + + +function collectFilterStates(columns, init, pos) { + let filterStates = []; + (columns || []).forEach((column, index) => { + var _a; + const columnPos = getColumnPos(index, pos); + if (column.filters || 'filterDropdown' in column || 'onFilter' in column) { + if ('filteredValue' in column) { + // Controlled + let filteredValues = column.filteredValue; + if (!('filterDropdown' in column)) { + filteredValues = (_a = filteredValues === null || filteredValues === void 0 ? void 0 : filteredValues.map(String)) !== null && _a !== void 0 ? _a : filteredValues; + } + filterStates.push({ + column, + key: getColumnKey(column, columnPos), + filteredKeys: filteredValues, + forceFiltered: column.filtered + }); + } else { + // Uncontrolled + filterStates.push({ + column, + key: getColumnKey(column, columnPos), + filteredKeys: init && column.defaultFilteredValue ? column.defaultFilteredValue : undefined, + forceFiltered: column.filtered + }); + } + } + if ('children' in column) { + filterStates = [].concat((0,toConsumableArray/* default */.Z)(filterStates), (0,toConsumableArray/* default */.Z)(collectFilterStates(column.children, init, columnPos))); + } + }); + return filterStates; +} +function injectFilter(prefixCls, dropdownPrefixCls, columns, filterStates, locale, triggerFilter, getPopupContainer, pos) { + return columns.map((column, index) => { + const columnPos = getColumnPos(index, pos); + const { + filterMultiple = true, + filterMode, + filterSearch + } = column; + let newColumn = column; + if (newColumn.filters || newColumn.filterDropdown) { + const columnKey = getColumnKey(newColumn, columnPos); + const filterState = filterStates.find(_ref => { + let { + key + } = _ref; + return columnKey === key; + }); + newColumn = Object.assign(Object.assign({}, newColumn), { + title: renderProps => /*#__PURE__*/react.createElement(useFilter_FilterDropdown, { + tablePrefixCls: prefixCls, + prefixCls: `${prefixCls}-filter`, + dropdownPrefixCls: dropdownPrefixCls, + column: newColumn, + columnKey: columnKey, + filterState: filterState, + filterMultiple: filterMultiple, + filterMode: filterMode, + filterSearch: filterSearch, + triggerFilter: triggerFilter, + locale: locale, + getPopupContainer: getPopupContainer + }, renderColumnTitle(column.title, renderProps)) + }); + } + if ('children' in newColumn) { + newColumn = Object.assign(Object.assign({}, newColumn), { + children: injectFilter(prefixCls, dropdownPrefixCls, newColumn.children, filterStates, locale, triggerFilter, getPopupContainer, columnPos) + }); + } + return newColumn; + }); +} +function generateFilterInfo(filterStates) { + const currentFilters = {}; + filterStates.forEach(_ref2 => { + let { + key, + filteredKeys, + column + } = _ref2; + const { + filters, + filterDropdown + } = column; + if (filterDropdown) { + currentFilters[key] = filteredKeys || null; + } else if (Array.isArray(filteredKeys)) { + const keys = flattenKeys(filters); + currentFilters[key] = keys.filter(originKey => filteredKeys.includes(String(originKey))); + } else { + currentFilters[key] = null; + } + }); + return currentFilters; +} +function getFilterData(data, filterStates) { + return filterStates.reduce((currentData, filterState) => { + const { + column: { + onFilter, + filters + }, + filteredKeys + } = filterState; + if (onFilter && filteredKeys && filteredKeys.length) { + return currentData.filter(record => filteredKeys.some(key => { + const keys = flattenKeys(filters); + const keyIndex = keys.findIndex(k => String(k) === String(key)); + const realKey = keyIndex !== -1 ? keys[keyIndex] : key; + return onFilter(realKey, record); + })); + } + return currentData; + }, data); +} +const getMergedColumns = rawMergedColumns => rawMergedColumns.flatMap(column => { + if ('children' in column) { + return [column].concat((0,toConsumableArray/* default */.Z)(getMergedColumns(column.children || []))); + } + return [column]; +}); +function useFilter(_ref3) { + let { + prefixCls, + dropdownPrefixCls, + mergedColumns: rawMergedColumns, + onFilterChange, + getPopupContainer, + locale: tableLocale + } = _ref3; + const mergedColumns = react.useMemo(() => getMergedColumns(rawMergedColumns || []), [rawMergedColumns]); + const [filterStates, setFilterStates] = react.useState(() => collectFilterStates(mergedColumns, true)); + const mergedFilterStates = react.useMemo(() => { + const collectedStates = collectFilterStates(mergedColumns, false); + if (collectedStates.length === 0) { + return collectedStates; + } + let filteredKeysIsAllNotControlled = true; + let filteredKeysIsAllControlled = true; + collectedStates.forEach(_ref4 => { + let { + filteredKeys + } = _ref4; + if (filteredKeys !== undefined) { + filteredKeysIsAllNotControlled = false; + } else { + filteredKeysIsAllControlled = false; + } + }); + // Return if not controlled + if (filteredKeysIsAllNotControlled) { + // Filter column may have been removed + const keyList = (mergedColumns || []).map((column, index) => getColumnKey(column, getColumnPos(index))); + return filterStates.filter(_ref5 => { + let { + key + } = _ref5; + return keyList.includes(key); + }).map(item => { + const col = mergedColumns[keyList.findIndex(key => key === item.key)]; + return Object.assign(Object.assign({}, item), { + column: Object.assign(Object.assign({}, item.column), col), + forceFiltered: col.filtered + }); + }); + } + false ? 0 : void 0; + return collectedStates; + }, [mergedColumns, filterStates]); + const filters = react.useMemo(() => generateFilterInfo(mergedFilterStates), [mergedFilterStates]); + const triggerFilter = filterState => { + const newFilterStates = mergedFilterStates.filter(_ref6 => { + let { + key + } = _ref6; + return key !== filterState.key; + }); + newFilterStates.push(filterState); + setFilterStates(newFilterStates); + onFilterChange(generateFilterInfo(newFilterStates), newFilterStates); + }; + const transformColumns = innerColumns => injectFilter(prefixCls, dropdownPrefixCls, innerColumns, mergedFilterStates, tableLocale, triggerFilter, getPopupContainer); + return [transformColumns, mergedFilterStates, filters]; +} + +/* harmony default export */ var hooks_useFilter = (useFilter); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/hooks/useLazyKVMap.js + +function useLazyKVMap(data, childrenColumnName, getRowKey) { + const mapCacheRef = react.useRef({}); + function getRecordByKey(key) { + if (!mapCacheRef.current || mapCacheRef.current.data !== data || mapCacheRef.current.childrenColumnName !== childrenColumnName || mapCacheRef.current.getRowKey !== getRowKey) { + const kvMap = new Map(); + /* eslint-disable no-inner-declarations */ + function dig(records) { + records.forEach((record, index) => { + const rowKey = getRowKey(record, index); + kvMap.set(rowKey, record); + if (record && typeof record === 'object' && childrenColumnName in record) { + dig(record[childrenColumnName] || []); + } + }); + } + /* eslint-enable */ + dig(data); + mapCacheRef.current = { + data, + childrenColumnName, + kvMap, + getRowKey + }; + } + return mapCacheRef.current.kvMap.get(key); + } + return [getRecordByKey]; +} +// EXTERNAL MODULE: ./node_modules/antd/es/_util/extendsObject.js +var extendsObject = __webpack_require__(38780); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/hooks/usePagination.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + +const DEFAULT_PAGE_SIZE = 10; +function getPaginationParam(mergedPagination, pagination) { + const param = { + current: mergedPagination.current, + pageSize: mergedPagination.pageSize + }; + const paginationObj = pagination && typeof pagination === 'object' ? pagination : {}; + Object.keys(paginationObj).forEach(pageProp => { + const value = mergedPagination[pageProp]; + if (typeof value !== 'function') { + param[pageProp] = value; + } + }); + return param; +} +function usePagination(total, onChange, pagination) { + const _a = pagination && typeof pagination === 'object' ? pagination : {}, + { + total: paginationTotal = 0 + } = _a, + paginationObj = __rest(_a, ["total"]); + const [innerPagination, setInnerPagination] = (0,react.useState)(() => ({ + current: 'defaultCurrent' in paginationObj ? paginationObj.defaultCurrent : 1, + pageSize: 'defaultPageSize' in paginationObj ? paginationObj.defaultPageSize : DEFAULT_PAGE_SIZE + })); + // ============ Basic Pagination Config ============ + const mergedPagination = (0,extendsObject/* default */.Z)(innerPagination, paginationObj, { + total: paginationTotal > 0 ? paginationTotal : total + }); + // Reset `current` if data length or pageSize changed + const maxPage = Math.ceil((paginationTotal || total) / mergedPagination.pageSize); + if (mergedPagination.current > maxPage) { + // Prevent a maximum page count of 0 + mergedPagination.current = maxPage || 1; + } + const refreshPagination = (current, pageSize) => { + setInnerPagination({ + current: current !== null && current !== void 0 ? current : 1, + pageSize: pageSize || mergedPagination.pageSize + }); + }; + const onInternalChange = (current, pageSize) => { + var _a; + if (pagination) { + (_a = pagination.onChange) === null || _a === void 0 ? void 0 : _a.call(pagination, current, pageSize); + } + refreshPagination(current, pageSize); + onChange(current, pageSize || (mergedPagination === null || mergedPagination === void 0 ? void 0 : mergedPagination.pageSize)); + }; + if (pagination === false) { + return [{}, () => {}]; + } + return [Object.assign(Object.assign({}, mergedPagination), { + onChange: onInternalChange + }), refreshPagination]; +} +/* harmony default export */ var hooks_usePagination = (usePagination); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules +var DownOutlined = __webpack_require__(15558); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-tree/es/util.js +var util = __webpack_require__(29873); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-tree/es/utils/conductUtil.js +var conductUtil = __webpack_require__(97153); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-tree/es/utils/treeUtil.js + 2 modules +var treeUtil = __webpack_require__(83898); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(5663); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/hooks/useSelection.js + + + + + + + + + + + + + + +// TODO: warning if use ajax!!! +const SELECTION_COLUMN = {}; +const SELECTION_ALL = 'SELECT_ALL'; +const SELECTION_INVERT = 'SELECT_INVERT'; +const SELECTION_NONE = 'SELECT_NONE'; +const EMPTY_LIST = []; +const flattenData = (childrenColumnName, data) => { + let list = []; + (data || []).forEach(record => { + list.push(record); + if (record && typeof record === 'object' && childrenColumnName in record) { + list = [].concat((0,toConsumableArray/* default */.Z)(list), (0,toConsumableArray/* default */.Z)(flattenData(childrenColumnName, record[childrenColumnName]))); + } + }); + return list; +}; +const useSelection = (config, rowSelection) => { + const { + preserveSelectedRowKeys, + selectedRowKeys, + defaultSelectedRowKeys, + getCheckboxProps, + onChange: onSelectionChange, + onSelect, + onSelectAll, + onSelectInvert, + onSelectNone, + onSelectMultiple, + columnWidth: selectionColWidth, + type: selectionType, + selections, + fixed, + renderCell: customizeRenderCell, + hideSelectAll, + checkStrictly = true + } = rowSelection || {}; + const { + prefixCls, + data, + pageData, + getRecordByKey, + getRowKey, + expandType, + childrenColumnName, + locale: tableLocale, + getPopupContainer + } = config; + // ========================= Keys ========================= + const [mergedSelectedKeys, setMergedSelectedKeys] = (0,useMergedState/* default */.Z)(selectedRowKeys || defaultSelectedRowKeys || EMPTY_LIST, { + value: selectedRowKeys + }); + // ======================== Caches ======================== + const preserveRecordsRef = react.useRef(new Map()); + const updatePreserveRecordsCache = (0,react.useCallback)(keys => { + if (preserveSelectedRowKeys) { + const newCache = new Map(); + // Keep key if mark as preserveSelectedRowKeys + keys.forEach(key => { + let record = getRecordByKey(key); + if (!record && preserveRecordsRef.current.has(key)) { + record = preserveRecordsRef.current.get(key); + } + newCache.set(key, record); + }); + // Refresh to new cache + preserveRecordsRef.current = newCache; + } + }, [getRecordByKey, preserveSelectedRowKeys]); + // Update cache with selectedKeys + react.useEffect(() => { + updatePreserveRecordsCache(mergedSelectedKeys); + }, [mergedSelectedKeys]); + const { + keyEntities + } = (0,react.useMemo)(() => { + if (checkStrictly) { + return { + keyEntities: null + }; + } + let convertData = data; + if (preserveSelectedRowKeys) { + const keysSet = new Set(data.map((record, index) => getRowKey(record, index))); + // remove preserveRecords that duplicate data + const preserveRecords = Array.from(preserveRecordsRef.current).reduce((total, _ref) => { + let [key, value] = _ref; + return keysSet.has(key) ? total : total.concat(value); + }, []); + convertData = [].concat((0,toConsumableArray/* default */.Z)(convertData), (0,toConsumableArray/* default */.Z)(preserveRecords)); + } + return (0,treeUtil/* convertDataToEntities */.I8)(convertData, { + externalGetKey: getRowKey, + childrenPropName: childrenColumnName + }); + }, [data, getRowKey, checkStrictly, childrenColumnName, preserveSelectedRowKeys]); + // Get flatten data + const flattedData = (0,react.useMemo)(() => flattenData(childrenColumnName, pageData), [childrenColumnName, pageData]); + // Get all checkbox props + const checkboxPropsMap = (0,react.useMemo)(() => { + const map = new Map(); + flattedData.forEach((record, index) => { + const key = getRowKey(record, index); + const checkboxProps = (getCheckboxProps ? getCheckboxProps(record) : null) || {}; + map.set(key, checkboxProps); + false ? 0 : void 0; + }); + return map; + }, [flattedData, getRowKey, getCheckboxProps]); + const isCheckboxDisabled = (0,react.useCallback)(r => { + var _a; + return !!((_a = checkboxPropsMap.get(getRowKey(r))) === null || _a === void 0 ? void 0 : _a.disabled); + }, [checkboxPropsMap, getRowKey]); + const [derivedSelectedKeys, derivedHalfSelectedKeys] = (0,react.useMemo)(() => { + if (checkStrictly) { + return [mergedSelectedKeys || [], []]; + } + const { + checkedKeys, + halfCheckedKeys + } = (0,conductUtil/* conductCheck */.S)(mergedSelectedKeys, true, keyEntities, isCheckboxDisabled); + return [checkedKeys || [], halfCheckedKeys]; + }, [mergedSelectedKeys, checkStrictly, keyEntities, isCheckboxDisabled]); + const derivedSelectedKeySet = (0,react.useMemo)(() => { + const keys = selectionType === 'radio' ? derivedSelectedKeys.slice(0, 1) : derivedSelectedKeys; + return new Set(keys); + }, [derivedSelectedKeys, selectionType]); + const derivedHalfSelectedKeySet = (0,react.useMemo)(() => selectionType === 'radio' ? new Set() : new Set(derivedHalfSelectedKeys), [derivedHalfSelectedKeys, selectionType]); + // Save last selected key to enable range selection + const [lastSelectedKey, setLastSelectedKey] = (0,react.useState)(null); + // Reset if rowSelection reset + react.useEffect(() => { + if (!rowSelection) { + setMergedSelectedKeys(EMPTY_LIST); + } + }, [!!rowSelection]); + const setSelectedKeys = (0,react.useCallback)((keys, method) => { + let availableKeys; + let records; + updatePreserveRecordsCache(keys); + if (preserveSelectedRowKeys) { + availableKeys = keys; + records = keys.map(key => preserveRecordsRef.current.get(key)); + } else { + // Filter key which not exist in the `dataSource` + availableKeys = []; + records = []; + keys.forEach(key => { + const record = getRecordByKey(key); + if (record !== undefined) { + availableKeys.push(key); + records.push(record); + } + }); + } + setMergedSelectedKeys(availableKeys); + onSelectionChange === null || onSelectionChange === void 0 ? void 0 : onSelectionChange(availableKeys, records, { + type: method + }); + }, [setMergedSelectedKeys, getRecordByKey, onSelectionChange, preserveSelectedRowKeys]); + // ====================== Selections ====================== + // Trigger single `onSelect` event + const triggerSingleSelection = (0,react.useCallback)((key, selected, keys, event) => { + if (onSelect) { + const rows = keys.map(k => getRecordByKey(k)); + onSelect(getRecordByKey(key), selected, rows, event); + } + setSelectedKeys(keys, 'single'); + }, [onSelect, getRecordByKey, setSelectedKeys]); + const mergedSelections = (0,react.useMemo)(() => { + if (!selections || hideSelectAll) { + return null; + } + const selectionList = selections === true ? [SELECTION_ALL, SELECTION_INVERT, SELECTION_NONE] : selections; + return selectionList.map(selection => { + if (selection === SELECTION_ALL) { + return { + key: 'all', + text: tableLocale.selectionAll, + onSelect() { + setSelectedKeys(data.map((record, index) => getRowKey(record, index)).filter(key => { + const checkProps = checkboxPropsMap.get(key); + return !(checkProps === null || checkProps === void 0 ? void 0 : checkProps.disabled) || derivedSelectedKeySet.has(key); + }), 'all'); + } + }; + } + if (selection === SELECTION_INVERT) { + return { + key: 'invert', + text: tableLocale.selectInvert, + onSelect() { + const keySet = new Set(derivedSelectedKeySet); + pageData.forEach((record, index) => { + const key = getRowKey(record, index); + const checkProps = checkboxPropsMap.get(key); + if (!(checkProps === null || checkProps === void 0 ? void 0 : checkProps.disabled)) { + if (keySet.has(key)) { + keySet.delete(key); + } else { + keySet.add(key); + } + } + }); + const keys = Array.from(keySet); + if (onSelectInvert) { + false ? 0 : void 0; + onSelectInvert(keys); + } + setSelectedKeys(keys, 'invert'); + } + }; + } + if (selection === SELECTION_NONE) { + return { + key: 'none', + text: tableLocale.selectNone, + onSelect() { + onSelectNone === null || onSelectNone === void 0 ? void 0 : onSelectNone(); + setSelectedKeys(Array.from(derivedSelectedKeySet).filter(key => { + const checkProps = checkboxPropsMap.get(key); + return checkProps === null || checkProps === void 0 ? void 0 : checkProps.disabled; + }), 'none'); + } + }; + } + return selection; + }).map(selection => Object.assign(Object.assign({}, selection), { + onSelect: function () { + var _a2; + var _a; + for (var _len = arguments.length, rest = new Array(_len), _key = 0; _key < _len; _key++) { + rest[_key] = arguments[_key]; + } + (_a = selection.onSelect) === null || _a === void 0 ? void 0 : (_a2 = _a).call.apply(_a2, [selection].concat(rest)); + setLastSelectedKey(null); + } + })); + }, [selections, derivedSelectedKeySet, pageData, getRowKey, onSelectInvert, setSelectedKeys]); + // ======================= Columns ======================== + const transformColumns = (0,react.useCallback)(columns => { + var _a; + // >>>>>>>>>>> Skip if not exists `rowSelection` + if (!rowSelection) { + false ? 0 : void 0; + return columns.filter(col => col !== SELECTION_COLUMN); + } + // >>>>>>>>>>> Support selection + let cloneColumns = (0,toConsumableArray/* default */.Z)(columns); + const keySet = new Set(derivedSelectedKeySet); + // Record key only need check with enabled + const recordKeys = flattedData.map(getRowKey).filter(key => !checkboxPropsMap.get(key).disabled); + const checkedCurrentAll = recordKeys.every(key => keySet.has(key)); + const checkedCurrentSome = recordKeys.some(key => keySet.has(key)); + const onSelectAllChange = () => { + const changeKeys = []; + if (checkedCurrentAll) { + recordKeys.forEach(key => { + keySet.delete(key); + changeKeys.push(key); + }); + } else { + recordKeys.forEach(key => { + if (!keySet.has(key)) { + keySet.add(key); + changeKeys.push(key); + } + }); + } + const keys = Array.from(keySet); + onSelectAll === null || onSelectAll === void 0 ? void 0 : onSelectAll(!checkedCurrentAll, keys.map(k => getRecordByKey(k)), changeKeys.map(k => getRecordByKey(k))); + setSelectedKeys(keys, 'all'); + setLastSelectedKey(null); + }; + // ===================== Render ===================== + // Title Cell + let title; + if (selectionType !== 'radio') { + let customizeSelections; + if (mergedSelections) { + const menu = { + getPopupContainer, + items: mergedSelections.map((selection, index) => { + const { + key, + text, + onSelect: onSelectionClick + } = selection; + return { + key: key !== null && key !== void 0 ? key : index, + onClick: () => { + onSelectionClick === null || onSelectionClick === void 0 ? void 0 : onSelectionClick(recordKeys); + }, + label: text + }; + }) + }; + customizeSelections = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-selection-extra` + }, /*#__PURE__*/react.createElement(dropdown/* default */.Z, { + menu: menu, + getPopupContainer: getPopupContainer + }, /*#__PURE__*/react.createElement("span", null, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null)))); + } + const allDisabledData = flattedData.map((record, index) => { + const key = getRowKey(record, index); + const checkboxProps = checkboxPropsMap.get(key) || {}; + return Object.assign({ + checked: keySet.has(key) + }, checkboxProps); + }).filter(_ref2 => { + let { + disabled + } = _ref2; + return disabled; + }); + const allDisabled = !!allDisabledData.length && allDisabledData.length === flattedData.length; + const allDisabledAndChecked = allDisabled && allDisabledData.every(_ref3 => { + let { + checked + } = _ref3; + return checked; + }); + const allDisabledSomeChecked = allDisabled && allDisabledData.some(_ref4 => { + let { + checked + } = _ref4; + return checked; + }); + title = !hideSelectAll && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-selection` + }, /*#__PURE__*/react.createElement(es_checkbox/* default */.Z, { + checked: !allDisabled ? !!flattedData.length && checkedCurrentAll : allDisabledAndChecked, + indeterminate: !allDisabled ? !checkedCurrentAll && checkedCurrentSome : !allDisabledAndChecked && allDisabledSomeChecked, + onChange: onSelectAllChange, + disabled: flattedData.length === 0 || allDisabled, + "aria-label": customizeSelections ? 'Custom selection' : 'Select all', + skipGroup: true + }), customizeSelections); + } + // Body Cell + let renderCell; + if (selectionType === 'radio') { + renderCell = (_, record, index) => { + const key = getRowKey(record, index); + const checked = keySet.has(key); + return { + node: /*#__PURE__*/react.createElement(es_radio/* default */.ZP, Object.assign({}, checkboxPropsMap.get(key), { + checked: checked, + onClick: e => e.stopPropagation(), + onChange: event => { + if (!keySet.has(key)) { + triggerSingleSelection(key, true, [key], event.nativeEvent); + } + } + })), + checked + }; + }; + } else { + renderCell = (_, record, index) => { + var _a; + const key = getRowKey(record, index); + const checked = keySet.has(key); + const indeterminate = derivedHalfSelectedKeySet.has(key); + const checkboxProps = checkboxPropsMap.get(key); + let mergedIndeterminate; + if (expandType === 'nest') { + mergedIndeterminate = indeterminate; + false ? 0 : void 0; + } else { + mergedIndeterminate = (_a = checkboxProps === null || checkboxProps === void 0 ? void 0 : checkboxProps.indeterminate) !== null && _a !== void 0 ? _a : indeterminate; + } + // Record checked + return { + node: /*#__PURE__*/react.createElement(es_checkbox/* default */.Z, Object.assign({}, checkboxProps, { + indeterminate: mergedIndeterminate, + checked: checked, + skipGroup: true, + onClick: e => e.stopPropagation(), + onChange: _ref5 => { + let { + nativeEvent + } = _ref5; + const { + shiftKey + } = nativeEvent; + let startIndex = -1; + let endIndex = -1; + // Get range of this + if (shiftKey && checkStrictly) { + const pointKeys = new Set([lastSelectedKey, key]); + recordKeys.some((recordKey, recordIndex) => { + if (pointKeys.has(recordKey)) { + if (startIndex === -1) { + startIndex = recordIndex; + } else { + endIndex = recordIndex; + return true; + } + } + return false; + }); + } + if (endIndex !== -1 && startIndex !== endIndex && checkStrictly) { + // Batch update selections + const rangeKeys = recordKeys.slice(startIndex, endIndex + 1); + const changedKeys = []; + if (checked) { + rangeKeys.forEach(recordKey => { + if (keySet.has(recordKey)) { + changedKeys.push(recordKey); + keySet.delete(recordKey); + } + }); + } else { + rangeKeys.forEach(recordKey => { + if (!keySet.has(recordKey)) { + changedKeys.push(recordKey); + keySet.add(recordKey); + } + }); + } + const keys = Array.from(keySet); + onSelectMultiple === null || onSelectMultiple === void 0 ? void 0 : onSelectMultiple(!checked, keys.map(recordKey => getRecordByKey(recordKey)), changedKeys.map(recordKey => getRecordByKey(recordKey))); + setSelectedKeys(keys, 'multiple'); + } else { + // Single record selected + const originCheckedKeys = derivedSelectedKeys; + if (checkStrictly) { + const checkedKeys = checked ? (0,util/* arrDel */._5)(originCheckedKeys, key) : (0,util/* arrAdd */.L0)(originCheckedKeys, key); + triggerSingleSelection(key, !checked, checkedKeys, nativeEvent); + } else { + // Always fill first + const result = (0,conductUtil/* conductCheck */.S)([].concat((0,toConsumableArray/* default */.Z)(originCheckedKeys), [key]), true, keyEntities, isCheckboxDisabled); + const { + checkedKeys, + halfCheckedKeys + } = result; + let nextCheckedKeys = checkedKeys; + // If remove, we do it again to correction + if (checked) { + const tempKeySet = new Set(checkedKeys); + tempKeySet.delete(key); + nextCheckedKeys = (0,conductUtil/* conductCheck */.S)(Array.from(tempKeySet), { + checked: false, + halfCheckedKeys + }, keyEntities, isCheckboxDisabled).checkedKeys; + } + triggerSingleSelection(key, !checked, nextCheckedKeys, nativeEvent); + } + } + if (checked) { + setLastSelectedKey(null); + } else { + setLastSelectedKey(key); + } + } + })), + checked + }; + }; + } + const renderSelectionCell = (_, record, index) => { + const { + node, + checked + } = renderCell(_, record, index); + if (customizeRenderCell) { + return customizeRenderCell(checked, record, index, node); + } + return node; + }; + // Insert selection column if not exist + if (!cloneColumns.includes(SELECTION_COLUMN)) { + // Always after expand icon + if (cloneColumns.findIndex(col => { + var _a; + return ((_a = col[INTERNAL_COL_DEFINE]) === null || _a === void 0 ? void 0 : _a.columnType) === 'EXPAND_COLUMN'; + }) === 0) { + const [expandColumn, ...restColumns] = cloneColumns; + cloneColumns = [expandColumn, SELECTION_COLUMN].concat((0,toConsumableArray/* default */.Z)(restColumns)); + } else { + // Normal insert at first column + cloneColumns = [SELECTION_COLUMN].concat((0,toConsumableArray/* default */.Z)(cloneColumns)); + } + } + // Deduplicate selection column + const selectionColumnIndex = cloneColumns.indexOf(SELECTION_COLUMN); + false ? 0 : void 0; + cloneColumns = cloneColumns.filter((column, index) => column !== SELECTION_COLUMN || index === selectionColumnIndex); + // Fixed column logic + const prevCol = cloneColumns[selectionColumnIndex - 1]; + const nextCol = cloneColumns[selectionColumnIndex + 1]; + let mergedFixed = fixed; + if (mergedFixed === undefined) { + if ((nextCol === null || nextCol === void 0 ? void 0 : nextCol.fixed) !== undefined) { + mergedFixed = nextCol.fixed; + } else if ((prevCol === null || prevCol === void 0 ? void 0 : prevCol.fixed) !== undefined) { + mergedFixed = prevCol.fixed; + } + } + if (mergedFixed && prevCol && ((_a = prevCol[INTERNAL_COL_DEFINE]) === null || _a === void 0 ? void 0 : _a.columnType) === 'EXPAND_COLUMN' && prevCol.fixed === undefined) { + prevCol.fixed = mergedFixed; + } + const columnCls = classnames_default()(`${prefixCls}-selection-col`, { + [`${prefixCls}-selection-col-with-dropdown`]: selections && selectionType === 'checkbox' + }); + // Replace with real selection column + const selectionColumn = { + fixed: mergedFixed, + width: selectionColWidth, + className: `${prefixCls}-selection-column`, + title: rowSelection.columnTitle || title, + render: renderSelectionCell, + onCell: rowSelection.onCell, + [INTERNAL_COL_DEFINE]: { + className: columnCls + } + }; + return cloneColumns.map(col => col === SELECTION_COLUMN ? selectionColumn : col); + }, [getRowKey, flattedData, rowSelection, derivedSelectedKeys, derivedSelectedKeySet, derivedHalfSelectedKeySet, selectionColWidth, mergedSelections, expandType, lastSelectedKey, checkboxPropsMap, onSelectMultiple, triggerSingleSelection, isCheckboxDisabled]); + return [transformColumns, derivedSelectedKeySet]; +}; +/* harmony default export */ var hooks_useSelection = (useSelection); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.js +// This icon file is generated automatically. +var CaretDownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" } }] }, "name": "caret-down", "theme": "outlined" }; +/* harmony default export */ var asn_CaretDownOutlined = (CaretDownOutlined); + +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CaretDownOutlined_CaretDownOutlined = function CaretDownOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CaretDownOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CaretDownOutlined = (/*#__PURE__*/react.forwardRef(CaretDownOutlined_CaretDownOutlined)); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/CaretUpOutlined.js +// This icon file is generated automatically. +var CaretUpOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" } }] }, "name": "caret-up", "theme": "outlined" }; +/* harmony default export */ var asn_CaretUpOutlined = (CaretUpOutlined); + +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CaretUpOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CaretUpOutlined_CaretUpOutlined = function CaretUpOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CaretUpOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CaretUpOutlined = (/*#__PURE__*/react.forwardRef(CaretUpOutlined_CaretUpOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/hooks/useSorter.js + + + + + + + + +const ASCEND = 'ascend'; +const DESCEND = 'descend'; +function getMultiplePriority(column) { + if (typeof column.sorter === 'object' && typeof column.sorter.multiple === 'number') { + return column.sorter.multiple; + } + return false; +} +function getSortFunction(sorter) { + if (typeof sorter === 'function') { + return sorter; + } + if (sorter && typeof sorter === 'object' && sorter.compare) { + return sorter.compare; + } + return false; +} +function nextSortDirection(sortDirections, current) { + if (!current) { + return sortDirections[0]; + } + return sortDirections[sortDirections.indexOf(current) + 1]; +} +function collectSortStates(columns, init, pos) { + let sortStates = []; + function pushState(column, columnPos) { + sortStates.push({ + column, + key: getColumnKey(column, columnPos), + multiplePriority: getMultiplePriority(column), + sortOrder: column.sortOrder + }); + } + (columns || []).forEach((column, index) => { + const columnPos = getColumnPos(index, pos); + if (column.children) { + if ('sortOrder' in column) { + // Controlled + pushState(column, columnPos); + } + sortStates = [].concat((0,toConsumableArray/* default */.Z)(sortStates), (0,toConsumableArray/* default */.Z)(collectSortStates(column.children, init, columnPos))); + } else if (column.sorter) { + if ('sortOrder' in column) { + // Controlled + pushState(column, columnPos); + } else if (init && column.defaultSortOrder) { + // Default sorter + sortStates.push({ + column, + key: getColumnKey(column, columnPos), + multiplePriority: getMultiplePriority(column), + sortOrder: column.defaultSortOrder + }); + } + } + }); + return sortStates; +} +function injectSorter(prefixCls, columns, sorterStates, triggerSorter, defaultSortDirections, tableLocale, tableShowSorterTooltip, pos) { + return (columns || []).map((column, index) => { + const columnPos = getColumnPos(index, pos); + let newColumn = column; + if (newColumn.sorter) { + const sortDirections = newColumn.sortDirections || defaultSortDirections; + const showSorterTooltip = newColumn.showSorterTooltip === undefined ? tableShowSorterTooltip : newColumn.showSorterTooltip; + const columnKey = getColumnKey(newColumn, columnPos); + const sorterState = sorterStates.find(_ref => { + let { + key + } = _ref; + return key === columnKey; + }); + const sortOrder = sorterState ? sorterState.sortOrder : null; + const nextSortOrder = nextSortDirection(sortDirections, sortOrder); + let sorter; + if (column.sortIcon) { + sorter = column.sortIcon({ + sortOrder + }); + } else { + const upNode = sortDirections.includes(ASCEND) && /*#__PURE__*/react.createElement(icons_CaretUpOutlined, { + className: classnames_default()(`${prefixCls}-column-sorter-up`, { + active: sortOrder === ASCEND + }) + }); + const downNode = sortDirections.includes(DESCEND) && /*#__PURE__*/react.createElement(icons_CaretDownOutlined, { + className: classnames_default()(`${prefixCls}-column-sorter-down`, { + active: sortOrder === DESCEND + }) + }); + sorter = /*#__PURE__*/react.createElement("span", { + className: classnames_default()(`${prefixCls}-column-sorter`, { + [`${prefixCls}-column-sorter-full`]: !!(upNode && downNode) + }) + }, /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-column-sorter-inner`, + "aria-hidden": "true" + }, upNode, downNode)); + } + const { + cancelSort, + triggerAsc, + triggerDesc + } = tableLocale || {}; + let sortTip = cancelSort; + if (nextSortOrder === DESCEND) { + sortTip = triggerDesc; + } else if (nextSortOrder === ASCEND) { + sortTip = triggerAsc; + } + const tooltipProps = typeof showSorterTooltip === 'object' ? showSorterTooltip : { + title: sortTip + }; + newColumn = Object.assign(Object.assign({}, newColumn), { + className: classnames_default()(newColumn.className, { + [`${prefixCls}-column-sort`]: sortOrder + }), + title: renderProps => { + const renderSortTitle = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-column-sorters` + }, /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-column-title` + }, renderColumnTitle(column.title, renderProps)), sorter); + return showSorterTooltip ? /*#__PURE__*/react.createElement(tooltip/* default */.Z, Object.assign({}, tooltipProps), renderSortTitle) : renderSortTitle; + }, + onHeaderCell: col => { + const cell = column.onHeaderCell && column.onHeaderCell(col) || {}; + const originOnClick = cell.onClick; + const originOKeyDown = cell.onKeyDown; + cell.onClick = event => { + triggerSorter({ + column, + key: columnKey, + sortOrder: nextSortOrder, + multiplePriority: getMultiplePriority(column) + }); + originOnClick === null || originOnClick === void 0 ? void 0 : originOnClick(event); + }; + cell.onKeyDown = event => { + if (event.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + triggerSorter({ + column, + key: columnKey, + sortOrder: nextSortOrder, + multiplePriority: getMultiplePriority(column) + }); + originOKeyDown === null || originOKeyDown === void 0 ? void 0 : originOKeyDown(event); + } + }; + const renderTitle = safeColumnTitle(column.title, {}); + const displayTitle = renderTitle === null || renderTitle === void 0 ? void 0 : renderTitle.toString(); + // Inform the screen-reader so it can tell the visually impaired user which column is sorted + if (sortOrder) { + cell['aria-sort'] = sortOrder === 'ascend' ? 'ascending' : 'descending'; + } else { + cell['aria-label'] = displayTitle || ''; + } + cell.className = classnames_default()(cell.className, `${prefixCls}-column-has-sorters`); + cell.tabIndex = 0; + if (column.ellipsis) { + cell.title = (renderTitle !== null && renderTitle !== void 0 ? renderTitle : '').toString(); + } + return cell; + } + }); + } + if ('children' in newColumn) { + newColumn = Object.assign(Object.assign({}, newColumn), { + children: injectSorter(prefixCls, newColumn.children, sorterStates, triggerSorter, defaultSortDirections, tableLocale, tableShowSorterTooltip, columnPos) + }); + } + return newColumn; + }); +} +function stateToInfo(sorterStates) { + const { + column, + sortOrder + } = sorterStates; + return { + column, + order: sortOrder, + field: column.dataIndex, + columnKey: column.key + }; +} +function generateSorterInfo(sorterStates) { + const list = sorterStates.filter(_ref2 => { + let { + sortOrder + } = _ref2; + return sortOrder; + }).map(stateToInfo); + // =========== Legacy compatible support =========== + // https://github.com/ant-design/ant-design/pull/19226 + if (list.length === 0 && sorterStates.length) { + return Object.assign(Object.assign({}, stateToInfo(sorterStates[sorterStates.length - 1])), { + column: undefined + }); + } + if (list.length <= 1) { + return list[0] || {}; + } + return list; +} +function getSortData(data, sortStates, childrenColumnName) { + const innerSorterStates = sortStates.slice().sort((a, b) => b.multiplePriority - a.multiplePriority); + const cloneData = data.slice(); + const runningSorters = innerSorterStates.filter(_ref3 => { + let { + column: { + sorter + }, + sortOrder + } = _ref3; + return getSortFunction(sorter) && sortOrder; + }); + // Skip if no sorter needed + if (!runningSorters.length) { + return cloneData; + } + return cloneData.sort((record1, record2) => { + for (let i = 0; i < runningSorters.length; i += 1) { + const sorterState = runningSorters[i]; + const { + column: { + sorter + }, + sortOrder + } = sorterState; + const compareFn = getSortFunction(sorter); + if (compareFn && sortOrder) { + const compareResult = compareFn(record1, record2, sortOrder); + if (compareResult !== 0) { + return sortOrder === ASCEND ? compareResult : -compareResult; + } + } + } + return 0; + }).map(record => { + const subRecords = record[childrenColumnName]; + if (subRecords) { + return Object.assign(Object.assign({}, record), { + [childrenColumnName]: getSortData(subRecords, sortStates, childrenColumnName) + }); + } + return record; + }); +} +function useFilterSorter(_ref4) { + let { + prefixCls, + mergedColumns, + onSorterChange, + sortDirections, + tableLocale, + showSorterTooltip + } = _ref4; + const [sortStates, setSortStates] = react.useState(collectSortStates(mergedColumns, true)); + const mergedSorterStates = react.useMemo(() => { + let validate = true; + const collectedStates = collectSortStates(mergedColumns, false); + // Return if not controlled + if (!collectedStates.length) { + return sortStates; + } + const validateStates = []; + function patchStates(state) { + if (validate) { + validateStates.push(state); + } else { + validateStates.push(Object.assign(Object.assign({}, state), { + sortOrder: null + })); + } + } + let multipleMode = null; + collectedStates.forEach(state => { + if (multipleMode === null) { + patchStates(state); + if (state.sortOrder) { + if (state.multiplePriority === false) { + validate = false; + } else { + multipleMode = true; + } + } + } else if (multipleMode && state.multiplePriority !== false) { + patchStates(state); + } else { + validate = false; + patchStates(state); + } + }); + return validateStates; + }, [mergedColumns, sortStates]); + // Get render columns title required props + const columnTitleSorterProps = react.useMemo(() => { + const sortColumns = mergedSorterStates.map(_ref5 => { + let { + column, + sortOrder + } = _ref5; + return { + column, + order: sortOrder + }; + }); + return { + sortColumns, + // Legacy + sortColumn: sortColumns[0] && sortColumns[0].column, + sortOrder: sortColumns[0] && sortColumns[0].order + }; + }, [mergedSorterStates]); + function triggerSorter(sortState) { + let newSorterStates; + if (sortState.multiplePriority === false || !mergedSorterStates.length || mergedSorterStates[0].multiplePriority === false) { + newSorterStates = [sortState]; + } else { + newSorterStates = [].concat((0,toConsumableArray/* default */.Z)(mergedSorterStates.filter(_ref6 => { + let { + key + } = _ref6; + return key !== sortState.key; + })), [sortState]); + } + setSortStates(newSorterStates); + onSorterChange(generateSorterInfo(newSorterStates), newSorterStates); + } + const transformColumns = innerColumns => injectSorter(prefixCls, innerColumns, mergedSorterStates, triggerSorter, sortDirections, tableLocale, showSorterTooltip); + const getSorters = () => generateSorterInfo(mergedSorterStates); + return [transformColumns, mergedSorterStates, columnTitleSorterProps, getSorters]; +} +;// CONCATENATED MODULE: ./node_modules/antd/es/table/hooks/useTitleColumns.js + + +function fillTitle(columns, columnTitleProps) { + return columns.map(column => { + const cloneColumn = Object.assign({}, column); + cloneColumn.title = renderColumnTitle(column.title, columnTitleProps); + if ('children' in cloneColumn) { + cloneColumn.children = fillTitle(cloneColumn.children, columnTitleProps); + } + return cloneColumn; + }); +} +function useTitleColumns(columnTitleProps) { + const filledColumns = react.useCallback(columns => fillTitle(columns, columnTitleProps), [columnTitleProps]); + return [filledColumns]; +} +// EXTERNAL MODULE: ./node_modules/@ctrl/tinycolor/dist/module/index.js +var dist_module = __webpack_require__(10274); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/bordered.js +const genBorderedStyle = token => { + const { + componentCls + } = token; + const tableBorder = `${token.lineWidth}px ${token.lineType} ${token.tableBorderColor}`; + const getSizeBorderStyle = (size, paddingVertical, paddingHorizontal) => ({ + [`&${componentCls}-${size}`]: { + [`> ${componentCls}-container`]: { + [`> ${componentCls}-content, > ${componentCls}-body`]: { + [` + > table > tbody > tr > th, + > table > tbody > tr > td + `]: { + [`> ${componentCls}-expanded-row-fixed`]: { + margin: `-${paddingVertical}px -${paddingHorizontal + token.lineWidth}px` + } + } + } + } + } + }); + return { + [`${componentCls}-wrapper`]: { + [`${componentCls}${componentCls}-bordered`]: Object.assign(Object.assign(Object.assign({ + // ============================ Title ============================= + [`> ${componentCls}-title`]: { + border: tableBorder, + borderBottom: 0 + }, + // ============================ Content ============================ + [`> ${componentCls}-container`]: { + borderInlineStart: tableBorder, + borderTop: tableBorder, + [` + > ${componentCls}-content, + > ${componentCls}-header, + > ${componentCls}-body, + > ${componentCls}-summary + `]: { + '> table': { + // ============================= Cell ============================= + [` + > thead > tr > th, + > thead > tr > td, + > tbody > tr > th, + > tbody > tr > td, + > tfoot > tr > th, + > tfoot > tr > td + `]: { + borderInlineEnd: tableBorder + }, + // ============================ Header ============================ + '> thead': { + '> tr:not(:last-child) > th': { + borderBottom: tableBorder + }, + '> tr > th::before': { + backgroundColor: 'transparent !important' + } + }, + // Fixed right should provides additional border + [` + > thead > tr, + > tbody > tr, + > tfoot > tr + `]: { + [`> ${componentCls}-cell-fix-right-first::after`]: { + borderInlineEnd: tableBorder + } + }, + // ========================== Expandable ========================== + [` + > tbody > tr > th, + > tbody > tr > td + `]: { + [`> ${componentCls}-expanded-row-fixed`]: { + margin: `-${token.tablePaddingVertical}px -${token.tablePaddingHorizontal + token.lineWidth}px`, + '&::after': { + position: 'absolute', + top: 0, + insetInlineEnd: token.lineWidth, + bottom: 0, + borderInlineEnd: tableBorder, + content: '""' + } + } + } + } + } + }, + // ============================ Scroll ============================ + [`&${componentCls}-scroll-horizontal`]: { + [`> ${componentCls}-container > ${componentCls}-body`]: { + '> table > tbody': { + [` + > tr${componentCls}-expanded-row, + > tr${componentCls}-placeholder + `]: { + [`> th, > td`]: { + borderInlineEnd: 0 + } + } + } + } + } + }, getSizeBorderStyle('middle', token.tablePaddingVerticalMiddle, token.tablePaddingHorizontalMiddle)), getSizeBorderStyle('small', token.tablePaddingVerticalSmall, token.tablePaddingHorizontalSmall)), { + // ============================ Footer ============================ + [`> ${componentCls}-footer`]: { + border: tableBorder, + borderTop: 0 + } + }), + // ============================ Nested ============================ + [`${componentCls}-cell`]: { + [`${componentCls}-container:first-child`]: { + // :first-child to avoid the case when bordered and title is set + borderTop: 0 + }, + // https://github.com/ant-design/ant-design/issues/35577 + '&-scrollbar:not([rowspan])': { + boxShadow: `0 ${token.lineWidth}px 0 ${token.lineWidth}px ${token.tableHeaderBg}` + } + }, + [`${componentCls}-bordered ${componentCls}-cell-scrollbar`]: { + borderInlineEnd: tableBorder + } + } + }; +}; +/* harmony default export */ var bordered = (genBorderedStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/ellipsis.js + +const genEllipsisStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-wrapper`]: { + [`${componentCls}-cell-ellipsis`]: Object.assign(Object.assign({}, style/* textEllipsis */.vS), { + wordBreak: 'keep-all', + // Fixed first or last should special process + [` + &${componentCls}-cell-fix-left-last, + &${componentCls}-cell-fix-right-first + `]: { + overflow: 'visible', + [`${componentCls}-cell-content`]: { + display: 'block', + overflow: 'hidden', + textOverflow: 'ellipsis' + } + }, + [`${componentCls}-column-title`]: { + overflow: 'hidden', + textOverflow: 'ellipsis', + wordBreak: 'keep-all' + } + }) + } + }; +}; +/* harmony default export */ var ellipsis = (genEllipsisStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/empty.js +// ========================= Placeholder ========================== +const genEmptyStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-wrapper`]: { + [`${componentCls}-tbody > tr${componentCls}-placeholder`]: { + textAlign: 'center', + color: token.colorTextDisabled, + [` + &:hover > th, + &:hover > td, + `]: { + background: token.colorBgContainer + } + } + } + }; +}; +/* harmony default export */ var style_empty = (genEmptyStyle); +// EXTERNAL MODULE: ./node_modules/antd/es/style/operationUnit.js +var operationUnit = __webpack_require__(49867); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/expand.js + +const genExpandStyle = token => { + const { + componentCls, + antCls, + controlInteractiveSize: checkboxSize, + motionDurationSlow, + lineWidth, + paddingXS, + lineType, + tableBorderColor, + tableExpandIconBg, + tableExpandColumnWidth, + borderRadius, + fontSize, + fontSizeSM, + lineHeight, + tablePaddingVertical, + tablePaddingHorizontal, + tableExpandedRowBg, + paddingXXS + } = token; + const halfInnerSize = checkboxSize / 2 - lineWidth; + // must be odd number, unless it cannot align center + const expandIconSize = halfInnerSize * 2 + lineWidth * 3; + const tableBorder = `${lineWidth}px ${lineType} ${tableBorderColor}`; + const expandIconLineOffset = paddingXXS - lineWidth; + return { + [`${componentCls}-wrapper`]: { + [`${componentCls}-expand-icon-col`]: { + width: tableExpandColumnWidth + }, + [`${componentCls}-row-expand-icon-cell`]: { + textAlign: 'center', + [`${componentCls}-row-expand-icon`]: { + display: 'inline-flex', + float: 'none', + verticalAlign: 'sub' + } + }, + [`${componentCls}-row-indent`]: { + height: 1, + float: 'left' + }, + [`${componentCls}-row-expand-icon`]: Object.assign(Object.assign({}, (0,operationUnit/* operationUnit */.N)(token)), { + position: 'relative', + float: 'left', + boxSizing: 'border-box', + width: expandIconSize, + height: expandIconSize, + padding: 0, + color: 'inherit', + lineHeight: `${expandIconSize}px`, + background: tableExpandIconBg, + border: tableBorder, + borderRadius, + transform: `scale(${checkboxSize / expandIconSize})`, + transition: `all ${motionDurationSlow}`, + userSelect: 'none', + [`&:focus, &:hover, &:active`]: { + borderColor: 'currentcolor' + }, + [`&::before, &::after`]: { + position: 'absolute', + background: 'currentcolor', + transition: `transform ${motionDurationSlow} ease-out`, + content: '""' + }, + '&::before': { + top: halfInnerSize, + insetInlineEnd: expandIconLineOffset, + insetInlineStart: expandIconLineOffset, + height: lineWidth + }, + '&::after': { + top: expandIconLineOffset, + bottom: expandIconLineOffset, + insetInlineStart: halfInnerSize, + width: lineWidth, + transform: 'rotate(90deg)' + }, + // Motion effect + '&-collapsed::before': { + transform: 'rotate(-180deg)' + }, + '&-collapsed::after': { + transform: 'rotate(0deg)' + }, + '&-spaced': { + '&::before, &::after': { + display: 'none', + content: 'none' + }, + background: 'transparent', + border: 0, + visibility: 'hidden' + } + }), + [`${componentCls}-row-indent + ${componentCls}-row-expand-icon`]: { + marginTop: (fontSize * lineHeight - lineWidth * 3) / 2 - Math.ceil((fontSizeSM * 1.4 - lineWidth * 3) / 2), + marginInlineEnd: paddingXS + }, + [`tr${componentCls}-expanded-row`]: { + '&, &:hover': { + [`> th, > td`]: { + background: tableExpandedRowBg + } + }, + // https://github.com/ant-design/ant-design/issues/25573 + [`${antCls}-descriptions-view`]: { + display: 'flex', + table: { + flex: 'auto', + width: 'auto' + } + } + }, + // With fixed + [`${componentCls}-expanded-row-fixed`]: { + position: 'relative', + margin: `-${tablePaddingVertical}px -${tablePaddingHorizontal}px`, + padding: `${tablePaddingVertical}px ${tablePaddingHorizontal}px` + } + } + }; +}; +/* harmony default export */ var expand = (genExpandStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/filter.js + +const genFilterStyle = token => { + const { + componentCls, + antCls, + iconCls, + tableFilterDropdownWidth, + tableFilterDropdownSearchWidth, + paddingXXS, + paddingXS, + colorText, + lineWidth, + lineType, + tableBorderColor, + tableHeaderIconColor, + fontSizeSM, + tablePaddingHorizontal, + borderRadius, + motionDurationSlow, + colorTextDescription, + colorPrimary, + tableHeaderFilterActiveBg, + colorTextDisabled, + tableFilterDropdownBg, + tableFilterDropdownHeight, + controlItemBgHover, + controlItemBgActive, + boxShadowSecondary + } = token; + const dropdownPrefixCls = `${antCls}-dropdown`; + const tableFilterDropdownPrefixCls = `${componentCls}-filter-dropdown`; + const treePrefixCls = `${antCls}-tree`; + const tableBorder = `${lineWidth}px ${lineType} ${tableBorderColor}`; + return [{ + [`${componentCls}-wrapper`]: { + [`${componentCls}-filter-column`]: { + display: 'flex', + justifyContent: 'space-between' + }, + [`${componentCls}-filter-trigger`]: { + position: 'relative', + display: 'flex', + alignItems: 'center', + marginBlock: -paddingXXS, + marginInline: `${paddingXXS}px ${-tablePaddingHorizontal / 2}px`, + padding: `0 ${paddingXXS}px`, + color: tableHeaderIconColor, + fontSize: fontSizeSM, + borderRadius, + cursor: 'pointer', + transition: `all ${motionDurationSlow}`, + '&:hover': { + color: colorTextDescription, + background: tableHeaderFilterActiveBg + }, + '&.active': { + color: colorPrimary + } + } + } + }, { + // Dropdown + [`${antCls}-dropdown`]: { + [tableFilterDropdownPrefixCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + minWidth: tableFilterDropdownWidth, + backgroundColor: tableFilterDropdownBg, + borderRadius, + boxShadow: boxShadowSecondary, + overflow: 'hidden', + // Reset menu + [`${dropdownPrefixCls}-menu`]: { + // https://github.com/ant-design/ant-design/issues/4916 + // https://github.com/ant-design/ant-design/issues/19542 + maxHeight: tableFilterDropdownHeight, + overflowX: 'hidden', + border: 0, + boxShadow: 'none', + borderRadius: 'unset', + '&:empty::after': { + display: 'block', + padding: `${paddingXS}px 0`, + color: colorTextDisabled, + fontSize: fontSizeSM, + textAlign: 'center', + content: '"Not Found"' + } + }, + [`${tableFilterDropdownPrefixCls}-tree`]: { + paddingBlock: `${paddingXS}px 0`, + paddingInline: paddingXS, + [treePrefixCls]: { + padding: 0 + }, + [`${treePrefixCls}-treenode ${treePrefixCls}-node-content-wrapper:hover`]: { + backgroundColor: controlItemBgHover + }, + [`${treePrefixCls}-treenode-checkbox-checked ${treePrefixCls}-node-content-wrapper`]: { + '&, &:hover': { + backgroundColor: controlItemBgActive + } + } + }, + [`${tableFilterDropdownPrefixCls}-search`]: { + padding: paddingXS, + borderBottom: tableBorder, + '&-input': { + input: { + minWidth: tableFilterDropdownSearchWidth + }, + [iconCls]: { + color: colorTextDisabled + } + } + }, + [`${tableFilterDropdownPrefixCls}-checkall`]: { + width: '100%', + marginBottom: paddingXXS, + marginInlineStart: paddingXXS + }, + // Operation + [`${tableFilterDropdownPrefixCls}-btns`]: { + display: 'flex', + justifyContent: 'space-between', + padding: `${paddingXS - lineWidth}px ${paddingXS}px`, + overflow: 'hidden', + borderTop: tableBorder + } + }) + } + }, + // Dropdown Menu & SubMenu + { + // submenu of table filter dropdown + [`${antCls}-dropdown ${tableFilterDropdownPrefixCls}, ${tableFilterDropdownPrefixCls}-submenu`]: { + // Checkbox + [`${antCls}-checkbox-wrapper + span`]: { + paddingInlineStart: paddingXS, + color: colorText + }, + [`> ul`]: { + maxHeight: 'calc(100vh - 130px)', + overflowX: 'hidden', + overflowY: 'auto' + } + } + }]; +}; +/* harmony default export */ var filter = (genFilterStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/fixed.js +const genFixedStyle = token => { + const { + componentCls, + lineWidth, + colorSplit, + motionDurationSlow, + zIndexTableFixed, + tableBg, + zIndexTableSticky + } = token; + const shadowColor = colorSplit; + // Follow style is magic of shadow which should not follow token: + return { + [`${componentCls}-wrapper`]: { + [` + ${componentCls}-cell-fix-left, + ${componentCls}-cell-fix-right + `]: { + position: 'sticky !important', + zIndex: zIndexTableFixed, + background: tableBg + }, + [` + ${componentCls}-cell-fix-left-first::after, + ${componentCls}-cell-fix-left-last::after + `]: { + position: 'absolute', + top: 0, + right: { + _skip_check_: true, + value: 0 + }, + bottom: -lineWidth, + width: 30, + transform: 'translateX(100%)', + transition: `box-shadow ${motionDurationSlow}`, + content: '""', + pointerEvents: 'none' + }, + [`${componentCls}-cell-fix-left-all::after`]: { + display: 'none' + }, + [` + ${componentCls}-cell-fix-right-first::after, + ${componentCls}-cell-fix-right-last::after + `]: { + position: 'absolute', + top: 0, + bottom: -lineWidth, + left: { + _skip_check_: true, + value: 0 + }, + width: 30, + transform: 'translateX(-100%)', + transition: `box-shadow ${motionDurationSlow}`, + content: '""', + pointerEvents: 'none' + }, + [`${componentCls}-container`]: { + '&::before, &::after': { + position: 'absolute', + top: 0, + bottom: 0, + zIndex: zIndexTableSticky + 1, + width: 30, + transition: `box-shadow ${motionDurationSlow}`, + content: '""', + pointerEvents: 'none' + }, + '&::before': { + insetInlineStart: 0 + }, + '&::after': { + insetInlineEnd: 0 + } + }, + [`${componentCls}-ping-left`]: { + [`&:not(${componentCls}-has-fix-left) ${componentCls}-container`]: { + position: 'relative', + '&::before': { + boxShadow: `inset 10px 0 8px -8px ${shadowColor}` + } + }, + [` + ${componentCls}-cell-fix-left-first::after, + ${componentCls}-cell-fix-left-last::after + `]: { + boxShadow: `inset 10px 0 8px -8px ${shadowColor}` + }, + [`${componentCls}-cell-fix-left-last::before`]: { + backgroundColor: 'transparent !important' + } + }, + [`${componentCls}-ping-right`]: { + [`&:not(${componentCls}-has-fix-right) ${componentCls}-container`]: { + position: 'relative', + '&::after': { + boxShadow: `inset -10px 0 8px -8px ${shadowColor}` + } + }, + [` + ${componentCls}-cell-fix-right-first::after, + ${componentCls}-cell-fix-right-last::after + `]: { + boxShadow: `inset -10px 0 8px -8px ${shadowColor}` + } + } + } + }; +}; +/* harmony default export */ var fixed = (genFixedStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/pagination.js +const genPaginationStyle = token => { + const { + componentCls, + antCls + } = token; + return { + [`${componentCls}-wrapper`]: { + // ========================== Pagination ========================== + [`${componentCls}-pagination${antCls}-pagination`]: { + margin: `${token.margin}px 0` + }, + [`${componentCls}-pagination`]: { + display: 'flex', + flexWrap: 'wrap', + rowGap: token.paddingXS, + '> *': { + flex: 'none' + }, + '&-left': { + justifyContent: 'flex-start' + }, + '&-center': { + justifyContent: 'center' + }, + '&-right': { + justifyContent: 'flex-end' + } + } + } + }; +}; +/* harmony default export */ var pagination = (genPaginationStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/radius.js +const genRadiusStyle = token => { + const { + componentCls, + tableRadius + } = token; + return { + [`${componentCls}-wrapper`]: { + [componentCls]: { + // https://github.com/ant-design/ant-design/issues/39115#issuecomment-1362314574 + [`${componentCls}-title, ${componentCls}-header`]: { + borderRadius: `${tableRadius}px ${tableRadius}px 0 0` + }, + [`${componentCls}-title + ${componentCls}-container`]: { + borderStartStartRadius: 0, + borderStartEndRadius: 0, + // https://github.com/ant-design/ant-design/issues/41975 + [`${componentCls}-header, table`]: { + borderRadius: 0 + }, + 'table > thead > tr:first-child': { + 'th:first-child, th:last-child, td:first-child, td:last-child': { + borderRadius: 0 + } + } + }, + '&-container': { + borderStartStartRadius: tableRadius, + borderStartEndRadius: tableRadius, + 'table > thead > tr:first-child': { + '> *:first-child': { + borderStartStartRadius: tableRadius + }, + '> *:last-child': { + borderStartEndRadius: tableRadius + } + } + }, + '&-footer': { + borderRadius: `0 0 ${tableRadius}px ${tableRadius}px` + } + } + } + }; +}; +/* harmony default export */ var radius = (genRadiusStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/rtl.js +const genStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-wrapper-rtl`]: { + direction: 'rtl', + table: { + direction: 'rtl' + }, + [`${componentCls}-pagination-left`]: { + justifyContent: 'flex-end' + }, + [`${componentCls}-pagination-right`]: { + justifyContent: 'flex-start' + }, + [`${componentCls}-row-expand-icon`]: { + '&::after': { + transform: 'rotate(-90deg)' + }, + '&-collapsed::before': { + transform: 'rotate(180deg)' + }, + '&-collapsed::after': { + transform: 'rotate(0deg)' + } + }, + [`${componentCls}-container`]: { + '&::before': { + insetInlineStart: 'unset', + insetInlineEnd: 0 + }, + '&::after': { + insetInlineStart: 0, + insetInlineEnd: 'unset' + } + } + } + }; +}; +/* harmony default export */ var rtl = (genStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/selection.js +const genSelectionStyle = token => { + const { + componentCls, + antCls, + iconCls, + fontSizeIcon, + padding, + paddingXS, + tableHeaderIconColor, + tableHeaderIconColorHover, + tableSelectionColumnWidth + } = token; + return { + [`${componentCls}-wrapper`]: { + // ========================== Selections ========================== + [`${componentCls}-selection-col`]: { + width: tableSelectionColumnWidth, + [`&${componentCls}-selection-col-with-dropdown`]: { + width: tableSelectionColumnWidth + fontSizeIcon + padding / 4 + } + }, + [`${componentCls}-bordered ${componentCls}-selection-col`]: { + width: tableSelectionColumnWidth + paddingXS * 2, + [`&${componentCls}-selection-col-with-dropdown`]: { + width: tableSelectionColumnWidth + fontSizeIcon + padding / 4 + paddingXS * 2 + } + }, + [` + table tr th${componentCls}-selection-column, + table tr td${componentCls}-selection-column + `]: { + paddingInlineEnd: token.paddingXS, + paddingInlineStart: token.paddingXS, + textAlign: 'center', + [`${antCls}-radio-wrapper`]: { + marginInlineEnd: 0 + } + }, + [`table tr th${componentCls}-selection-column${componentCls}-cell-fix-left`]: { + zIndex: token.zIndexTableFixed + 1 + }, + [`table tr th${componentCls}-selection-column::after`]: { + backgroundColor: 'transparent !important' + }, + [`${componentCls}-selection`]: { + position: 'relative', + display: 'inline-flex', + flexDirection: 'column' + }, + [`${componentCls}-selection-extra`]: { + position: 'absolute', + top: 0, + zIndex: 1, + cursor: 'pointer', + transition: `all ${token.motionDurationSlow}`, + marginInlineStart: '100%', + paddingInlineStart: `${token.tablePaddingHorizontal / 4}px`, + [iconCls]: { + color: tableHeaderIconColor, + fontSize: fontSizeIcon, + verticalAlign: 'baseline', + '&:hover': { + color: tableHeaderIconColorHover + } + } + } + } + }; +}; +/* harmony default export */ var selection = (genSelectionStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/size.js +const genSizeStyle = token => { + const { + componentCls + } = token; + const getSizeStyle = (size, paddingVertical, paddingHorizontal, fontSize) => ({ + [`${componentCls}${componentCls}-${size}`]: { + fontSize, + [` + ${componentCls}-title, + ${componentCls}-footer, + ${componentCls}-thead > tr > th, + ${componentCls}-tbody > tr > th, + ${componentCls}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]: { + padding: `${paddingVertical}px ${paddingHorizontal}px` + }, + [`${componentCls}-filter-trigger`]: { + marginInlineEnd: `-${paddingHorizontal / 2}px` + }, + [`${componentCls}-expanded-row-fixed`]: { + margin: `-${paddingVertical}px -${paddingHorizontal}px` + }, + [`${componentCls}-tbody`]: { + // ========================= Nest Table =========================== + [`${componentCls}-wrapper:only-child ${componentCls}`]: { + marginBlock: `-${paddingVertical}px`, + marginInline: `${token.tableExpandColumnWidth - paddingHorizontal}px -${paddingHorizontal}px` + } + }, + // https://github.com/ant-design/ant-design/issues/35167 + [`${componentCls}-selection-column`]: { + paddingInlineStart: `${paddingHorizontal / 4}px` + } + } + }); + return { + [`${componentCls}-wrapper`]: Object.assign(Object.assign({}, getSizeStyle('middle', token.tablePaddingVerticalMiddle, token.tablePaddingHorizontalMiddle, token.tableFontSizeMiddle)), getSizeStyle('small', token.tablePaddingVerticalSmall, token.tablePaddingHorizontalSmall, token.tableFontSizeSmall)) + }; +}; +/* harmony default export */ var size = (genSizeStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/sorter.js +const genSorterStyle = token => { + const { + componentCls, + marginXXS, + fontSizeIcon, + tableHeaderIconColor, + tableHeaderIconColorHover + } = token; + return { + [`${componentCls}-wrapper`]: { + [`${componentCls}-thead th${componentCls}-column-has-sorters`]: { + outline: 'none', + cursor: 'pointer', + transition: `all ${token.motionDurationSlow}`, + '&:hover': { + background: token.tableHeaderSortHoverBg, + '&::before': { + backgroundColor: 'transparent !important' + } + }, + '&:focus-visible': { + color: token.colorPrimary + }, + // https://github.com/ant-design/ant-design/issues/30969 + [` + &${componentCls}-cell-fix-left:hover, + &${componentCls}-cell-fix-right:hover + `]: { + background: token.tableFixedHeaderSortActiveBg + } + }, + [`${componentCls}-thead th${componentCls}-column-sort`]: { + background: token.tableHeaderSortBg, + '&::before': { + backgroundColor: 'transparent !important' + } + }, + [`td${componentCls}-column-sort`]: { + background: token.tableBodySortBg + }, + [`${componentCls}-column-title`]: { + position: 'relative', + zIndex: 1, + flex: 1 + }, + [`${componentCls}-column-sorters`]: { + display: 'flex', + flex: 'auto', + alignItems: 'center', + justifyContent: 'space-between', + '&::after': { + position: 'absolute', + inset: 0, + width: '100%', + height: '100%', + content: '""' + } + }, + [`${componentCls}-column-sorter`]: { + marginInlineStart: marginXXS, + color: tableHeaderIconColor, + fontSize: 0, + transition: `color ${token.motionDurationSlow}`, + '&-inner': { + display: 'inline-flex', + flexDirection: 'column', + alignItems: 'center' + }, + '&-up, &-down': { + fontSize: fontSizeIcon, + '&.active': { + color: token.colorPrimary + } + }, + [`${componentCls}-column-sorter-up + ${componentCls}-column-sorter-down`]: { + marginTop: '-0.3em' + } + }, + [`${componentCls}-column-sorters:hover ${componentCls}-column-sorter`]: { + color: tableHeaderIconColorHover + } + } + }; +}; +/* harmony default export */ var sorter = (genSorterStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/sticky.js +const genStickyStyle = token => { + const { + componentCls, + opacityLoading, + tableScrollThumbBg, + tableScrollThumbBgHover, + tableScrollThumbSize, + tableScrollBg, + zIndexTableSticky + } = token; + const tableBorder = `${token.lineWidth}px ${token.lineType} ${token.tableBorderColor}`; + return { + [`${componentCls}-wrapper`]: { + [`${componentCls}-sticky`]: { + '&-holder': { + position: 'sticky', + zIndex: zIndexTableSticky, + background: token.colorBgContainer + }, + '&-scroll': { + position: 'sticky', + bottom: 0, + height: `${tableScrollThumbSize}px !important`, + zIndex: zIndexTableSticky, + display: 'flex', + alignItems: 'center', + background: tableScrollBg, + borderTop: tableBorder, + opacity: opacityLoading, + '&:hover': { + transformOrigin: 'center bottom' + }, + // fake scrollbar style of sticky + '&-bar': { + height: tableScrollThumbSize, + backgroundColor: tableScrollThumbBg, + borderRadius: 100, + transition: `all ${token.motionDurationSlow}, transform none`, + position: 'absolute', + bottom: 0, + '&:hover, &-active': { + backgroundColor: tableScrollThumbBgHover + } + } + } + } + } + }; +}; +/* harmony default export */ var sticky = (genStickyStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/summary.js +const genSummaryStyle = token => { + const { + componentCls, + lineWidth, + tableBorderColor + } = token; + const tableBorder = `${lineWidth}px ${token.lineType} ${tableBorderColor}`; + return { + [`${componentCls}-wrapper`]: { + [`${componentCls}-summary`]: { + position: 'relative', + zIndex: token.zIndexTableFixed, + background: token.tableBg, + '> tr': { + '> th, > td': { + borderBottom: tableBorder + } + } + }, + [`div${componentCls}-summary`]: { + boxShadow: `0 -${lineWidth}px 0 ${tableBorderColor}` + } + } + }; +}; +/* harmony default export */ var summary = (genSummaryStyle); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/style/index.js + + + + + + + + + + + + + + + + + +const genTableStyle = token => { + const { + componentCls, + fontWeightStrong, + tablePaddingVertical, + tablePaddingHorizontal, + lineWidth, + lineType, + tableBorderColor, + tableFontSize, + tableBg, + tableRadius, + tableHeaderTextColor, + motionDurationMid, + tableHeaderBg, + tableHeaderCellSplitColor, + tableRowHoverBg, + tableSelectedRowBg, + tableSelectedRowHoverBg, + tableFooterTextColor, + tableFooterBg, + paddingContentVerticalLG + } = token; + const tableBorder = `${lineWidth}px ${lineType} ${tableBorderColor}`; + return { + [`${componentCls}-wrapper`]: Object.assign(Object.assign({ + clear: 'both', + maxWidth: '100%' + }, (0,style/* clearFix */.dF)()), { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + fontSize: tableFontSize, + background: tableBg, + borderRadius: `${tableRadius}px ${tableRadius}px 0 0` + }), + // https://github.com/ant-design/ant-design/issues/17611 + table: { + width: '100%', + textAlign: 'start', + borderRadius: `${tableRadius}px ${tableRadius}px 0 0`, + borderCollapse: 'separate', + borderSpacing: 0 + }, + // ============================= Cell ============================= + [` + ${componentCls}-thead > tr > th, + ${componentCls}-tbody > tr > th, + ${componentCls}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]: { + position: 'relative', + padding: `${paddingContentVerticalLG}px ${tablePaddingHorizontal}px`, + overflowWrap: 'break-word' + }, + // ============================ Title ============================= + [`${componentCls}-title`]: { + padding: `${tablePaddingVertical}px ${tablePaddingHorizontal}px` + }, + // ============================ Header ============================ + [`${componentCls}-thead`]: { + [` + > tr > th, + > tr > td + `]: { + position: 'relative', + color: tableHeaderTextColor, + fontWeight: fontWeightStrong, + textAlign: 'start', + background: tableHeaderBg, + borderBottom: tableBorder, + transition: `background ${motionDurationMid} ease`, + "&[colspan]:not([colspan='1'])": { + textAlign: 'center' + }, + [`&:not(:last-child):not(${componentCls}-selection-column):not(${componentCls}-row-expand-icon-cell):not([colspan])::before`]: { + position: 'absolute', + top: '50%', + insetInlineEnd: 0, + width: 1, + height: '1.6em', + backgroundColor: tableHeaderCellSplitColor, + transform: 'translateY(-50%)', + transition: `background-color ${motionDurationMid}`, + content: '""' + } + }, + '> tr:not(:last-child) > th[colspan]': { + borderBottom: 0 + } + }, + // ============================ Body ============================ + [`${componentCls}-tbody`]: { + '> tr': { + [`> th, > td`]: { + transition: `background ${motionDurationMid}, border-color ${motionDurationMid}`, + borderBottom: tableBorder, + // ========================= Nest Table =========================== + [` + > ${componentCls}-wrapper:only-child, + > ${componentCls}-expanded-row-fixed > ${componentCls}-wrapper:only-child + `]: { + [componentCls]: { + marginBlock: `-${tablePaddingVertical}px`, + marginInline: `${token.tableExpandColumnWidth - tablePaddingHorizontal}px -${tablePaddingHorizontal}px`, + [`${componentCls}-tbody > tr:last-child > td`]: { + borderBottom: 0, + '&:first-child, &:last-child': { + borderRadius: 0 + } + } + } + } + }, + '> th': { + position: 'relative', + color: tableHeaderTextColor, + fontWeight: fontWeightStrong, + textAlign: 'start', + background: tableHeaderBg, + borderBottom: tableBorder, + transition: `background ${motionDurationMid} ease` + }, + [` + &${componentCls}-row:hover > th, + &${componentCls}-row:hover > td, + > th${componentCls}-cell-row-hover, + > td${componentCls}-cell-row-hover + `]: { + background: tableRowHoverBg + }, + [`&${componentCls}-row-selected`]: { + [`> th, > td`]: { + background: tableSelectedRowBg + }, + [`&:hover > th, &:hover > td`]: { + background: tableSelectedRowHoverBg + } + } + } + }, + // ============================ Footer ============================ + [`${componentCls}-footer`]: { + padding: `${tablePaddingVertical}px ${tablePaddingHorizontal}px`, + color: tableFooterTextColor, + background: tableFooterBg + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var table_style = ((0,genComponentStyleHook/* default */.Z)('Table', token => { + const { + controlItemBgActive, + controlItemBgActiveHover, + colorTextPlaceholder, + colorTextHeading, + colorSplit, + colorBorderSecondary, + fontSize, + padding, + paddingXS, + paddingSM, + controlHeight, + colorFillAlter, + colorIcon, + colorIconHover, + opacityLoading, + colorBgContainer, + borderRadiusLG, + colorFillContent, + colorFillSecondary, + controlInteractiveSize: checkboxSize + } = token; + const baseColorAction = new dist_module/* TinyColor */.C(colorIcon); + const baseColorActionHover = new dist_module/* TinyColor */.C(colorIconHover); + const tableSelectedRowBg = controlItemBgActive; + const zIndexTableFixed = 2; + const colorFillSecondarySolid = new dist_module/* TinyColor */.C(colorFillSecondary).onBackground(colorBgContainer).toHexShortString(); + const colorFillContentSolid = new dist_module/* TinyColor */.C(colorFillContent).onBackground(colorBgContainer).toHexShortString(); + const colorFillAlterSolid = new dist_module/* TinyColor */.C(colorFillAlter).onBackground(colorBgContainer).toHexShortString(); + const tableToken = (0,statistic/* merge */.TS)(token, { + tableFontSize: fontSize, + tableBg: colorBgContainer, + tableRadius: borderRadiusLG, + tablePaddingVertical: padding, + tablePaddingHorizontal: padding, + tablePaddingVerticalMiddle: paddingSM, + tablePaddingHorizontalMiddle: paddingXS, + tablePaddingVerticalSmall: paddingXS, + tablePaddingHorizontalSmall: paddingXS, + tableBorderColor: colorBorderSecondary, + tableHeaderTextColor: colorTextHeading, + tableHeaderBg: colorFillAlterSolid, + tableFooterTextColor: colorTextHeading, + tableFooterBg: colorFillAlterSolid, + tableHeaderCellSplitColor: colorBorderSecondary, + tableHeaderSortBg: colorFillSecondarySolid, + tableHeaderSortHoverBg: colorFillContentSolid, + tableHeaderIconColor: baseColorAction.clone().setAlpha(baseColorAction.getAlpha() * opacityLoading).toRgbString(), + tableHeaderIconColorHover: baseColorActionHover.clone().setAlpha(baseColorActionHover.getAlpha() * opacityLoading).toRgbString(), + tableBodySortBg: colorFillAlterSolid, + tableFixedHeaderSortActiveBg: colorFillSecondarySolid, + tableHeaderFilterActiveBg: colorFillContent, + tableFilterDropdownBg: colorBgContainer, + tableRowHoverBg: colorFillAlterSolid, + tableSelectedRowBg, + tableSelectedRowHoverBg: controlItemBgActiveHover, + zIndexTableFixed, + zIndexTableSticky: zIndexTableFixed + 1, + tableFontSizeMiddle: fontSize, + tableFontSizeSmall: fontSize, + tableSelectionColumnWidth: controlHeight, + tableExpandIconBg: colorBgContainer, + tableExpandColumnWidth: checkboxSize + 2 * token.padding, + tableExpandedRowBg: colorFillAlter, + // Dropdown + tableFilterDropdownWidth: 120, + tableFilterDropdownHeight: 264, + tableFilterDropdownSearchWidth: 140, + // Virtual Scroll Bar + tableScrollThumbSize: 8, + tableScrollThumbBg: colorTextPlaceholder, + tableScrollThumbBgHover: colorTextHeading, + tableScrollBg: colorSplit + }); + return [genTableStyle(tableToken), pagination(tableToken), summary(tableToken), sorter(tableToken), filter(tableToken), bordered(tableToken), radius(tableToken), expand(tableToken), summary(tableToken), style_empty(tableToken), selection(tableToken), fixed(tableToken), sticky(tableToken), ellipsis(tableToken), size(tableToken), rtl(tableToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/InternalTable.js + + + + + + + + + + + + + + + + + + + + + + + +const InternalTable_EMPTY_LIST = []; +const InternalTable = (props, ref) => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + size: customizeSize, + bordered, + dropdownPrefixCls: customizeDropdownPrefixCls, + dataSource, + pagination, + rowSelection, + rowKey = 'key', + rowClassName, + columns, + children, + childrenColumnName: legacyChildrenColumnName, + onChange, + getPopupContainer, + loading, + expandIcon, + expandable, + expandedRowRender, + expandIconColumnIndex, + indentSize, + scroll, + sortDirections, + locale, + showSorterTooltip = true + } = props; + if (false) {} + const baseColumns = react.useMemo(() => columns || convertChildrenToColumns(children), [columns, children]); + const needResponsive = react.useMemo(() => baseColumns.some(col => col.responsive), [baseColumns]); + const screens = (0,useBreakpoint/* default */.Z)(needResponsive); + const mergedColumns = react.useMemo(() => { + const matched = new Set(Object.keys(screens).filter(m => screens[m])); + return baseColumns.filter(c => !c.responsive || c.responsive.some(r => matched.has(r))); + }, [baseColumns, screens]); + const tableProps = (0,omit/* default */.Z)(props, ['className', 'style', 'columns']); + const { + locale: contextLocale = en_US/* default */.Z, + direction, + table, + renderEmpty, + getPrefixCls, + getPopupContainer: getContextPopupContainer + } = react.useContext(context/* ConfigContext */.E_); + const mergedSize = (0,useSize/* default */.Z)(customizeSize); + const tableLocale = Object.assign(Object.assign({}, contextLocale.Table), locale); + const rawData = dataSource || InternalTable_EMPTY_LIST; + const prefixCls = getPrefixCls('table', customizePrefixCls); + const dropdownPrefixCls = getPrefixCls('dropdown', customizeDropdownPrefixCls); + const mergedExpandable = Object.assign({ + childrenColumnName: legacyChildrenColumnName, + expandIconColumnIndex + }, expandable); + const { + childrenColumnName = 'children' + } = mergedExpandable; + const expandType = react.useMemo(() => { + if (rawData.some(item => item === null || item === void 0 ? void 0 : item[childrenColumnName])) { + return 'nest'; + } + if (expandedRowRender || expandable && expandable.expandedRowRender) { + return 'row'; + } + return null; + }, [rawData]); + const internalRefs = { + body: react.useRef() + }; + // ============================ RowKey ============================ + const getRowKey = react.useMemo(() => { + if (typeof rowKey === 'function') { + return rowKey; + } + return record => record === null || record === void 0 ? void 0 : record[rowKey]; + }, [rowKey]); + const [getRecordByKey] = useLazyKVMap(rawData, childrenColumnName, getRowKey); + // ============================ Events ============================= + const changeEventInfo = {}; + const triggerOnChange = function (info, action) { + let reset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; + var _a, _b, _c; + const changeInfo = Object.assign(Object.assign({}, changeEventInfo), info); + if (reset) { + (_a = changeEventInfo.resetPagination) === null || _a === void 0 ? void 0 : _a.call(changeEventInfo); + // Reset event param + if ((_b = changeInfo.pagination) === null || _b === void 0 ? void 0 : _b.current) { + changeInfo.pagination.current = 1; + } + // Trigger pagination events + if (pagination && pagination.onChange) { + pagination.onChange(1, (_c = changeInfo.pagination) === null || _c === void 0 ? void 0 : _c.pageSize); + } + } + if (scroll && scroll.scrollToFirstRowOnChange !== false && internalRefs.body.current) { + (0,scrollTo/* default */.Z)(0, { + getContainer: () => internalRefs.body.current + }); + } + onChange === null || onChange === void 0 ? void 0 : onChange(changeInfo.pagination, changeInfo.filters, changeInfo.sorter, { + currentDataSource: getFilterData(getSortData(rawData, changeInfo.sorterStates, childrenColumnName), changeInfo.filterStates), + action + }); + }; + /** + * Controlled state in `columns` is not a good idea that makes too many code (1000+ line?) to read + * state out and then put it back to title render. Move these code into `hooks` but still too + * complex. We should provides Table props like `sorter` & `filter` to handle control in next big + * version. + */ + // ============================ Sorter ============================= + const onSorterChange = (sorter, sorterStates) => { + triggerOnChange({ + sorter, + sorterStates + }, 'sort', false); + }; + const [transformSorterColumns, sortStates, sorterTitleProps, getSorters] = useFilterSorter({ + prefixCls, + mergedColumns, + onSorterChange, + sortDirections: sortDirections || ['ascend', 'descend'], + tableLocale, + showSorterTooltip + }); + const sortedData = react.useMemo(() => getSortData(rawData, sortStates, childrenColumnName), [rawData, sortStates]); + changeEventInfo.sorter = getSorters(); + changeEventInfo.sorterStates = sortStates; + // ============================ Filter ============================ + const onFilterChange = (filters, filterStates) => { + triggerOnChange({ + filters, + filterStates + }, 'filter', true); + }; + const [transformFilterColumns, filterStates, filters] = hooks_useFilter({ + prefixCls, + locale: tableLocale, + dropdownPrefixCls, + mergedColumns, + onFilterChange, + getPopupContainer: getPopupContainer || getContextPopupContainer + }); + const mergedData = getFilterData(sortedData, filterStates); + changeEventInfo.filters = filters; + changeEventInfo.filterStates = filterStates; + // ============================ Column ============================ + const columnTitleProps = react.useMemo(() => { + const mergedFilters = {}; + Object.keys(filters).forEach(filterKey => { + if (filters[filterKey] !== null) { + mergedFilters[filterKey] = filters[filterKey]; + } + }); + return Object.assign(Object.assign({}, sorterTitleProps), { + filters: mergedFilters + }); + }, [sorterTitleProps, filters]); + const [transformTitleColumns] = useTitleColumns(columnTitleProps); + // ========================== Pagination ========================== + const onPaginationChange = (current, pageSize) => { + triggerOnChange({ + pagination: Object.assign(Object.assign({}, changeEventInfo.pagination), { + current, + pageSize + }) + }, 'paginate'); + }; + const [mergedPagination, resetPagination] = hooks_usePagination(mergedData.length, onPaginationChange, pagination); + changeEventInfo.pagination = pagination === false ? {} : getPaginationParam(mergedPagination, pagination); + changeEventInfo.resetPagination = resetPagination; + // ============================= Data ============================= + const pageData = react.useMemo(() => { + if (pagination === false || !mergedPagination.pageSize) { + return mergedData; + } + const { + current = 1, + total, + pageSize = DEFAULT_PAGE_SIZE + } = mergedPagination; + false ? 0 : void 0; + // Dynamic table data + if (mergedData.length < total) { + if (mergedData.length > pageSize) { + false ? 0 : void 0; + return mergedData.slice((current - 1) * pageSize, current * pageSize); + } + return mergedData; + } + return mergedData.slice((current - 1) * pageSize, current * pageSize); + }, [!!pagination, mergedData, mergedPagination && mergedPagination.current, mergedPagination && mergedPagination.pageSize, mergedPagination && mergedPagination.total]); + // ========================== Selections ========================== + const [transformSelectionColumns, selectedKeySet] = hooks_useSelection({ + prefixCls, + data: mergedData, + pageData, + getRowKey, + getRecordByKey, + expandType, + childrenColumnName, + locale: tableLocale, + getPopupContainer: getPopupContainer || getContextPopupContainer + }, rowSelection); + const internalRowClassName = (record, index, indent) => { + let mergedRowClassName; + if (typeof rowClassName === 'function') { + mergedRowClassName = classnames_default()(rowClassName(record, index, indent)); + } else { + mergedRowClassName = classnames_default()(rowClassName); + } + return classnames_default()({ + [`${prefixCls}-row-selected`]: selectedKeySet.has(getRowKey(record, index)) + }, mergedRowClassName); + }; + // ========================== Expandable ========================== + // Pass origin render status into `rc-table`, this can be removed when refactor with `rc-table` + mergedExpandable.__PARENT_RENDER_ICON__ = mergedExpandable.expandIcon; + // Customize expandable icon + mergedExpandable.expandIcon = mergedExpandable.expandIcon || expandIcon || ExpandIcon(tableLocale); + // Adjust expand icon index, no overwrite expandIconColumnIndex if set. + if (expandType === 'nest' && mergedExpandable.expandIconColumnIndex === undefined) { + mergedExpandable.expandIconColumnIndex = rowSelection ? 1 : 0; + } else if (mergedExpandable.expandIconColumnIndex > 0 && rowSelection) { + mergedExpandable.expandIconColumnIndex -= 1; + } + // Indent size + if (typeof mergedExpandable.indentSize !== 'number') { + mergedExpandable.indentSize = typeof indentSize === 'number' ? indentSize : 15; + } + // ============================ Render ============================ + const transformColumns = react.useCallback(innerColumns => transformTitleColumns(transformSelectionColumns(transformFilterColumns(transformSorterColumns(innerColumns)))), [transformSorterColumns, transformFilterColumns, transformSelectionColumns]); + let topPaginationNode; + let bottomPaginationNode; + if (pagination !== false && (mergedPagination === null || mergedPagination === void 0 ? void 0 : mergedPagination.total)) { + let paginationSize; + if (mergedPagination.size) { + paginationSize = mergedPagination.size; + } else { + paginationSize = mergedSize === 'small' || mergedSize === 'middle' ? 'small' : undefined; + } + const renderPagination = position => /*#__PURE__*/react.createElement(es_pagination/* default */.Z, Object.assign({}, mergedPagination, { + className: classnames_default()(`${prefixCls}-pagination ${prefixCls}-pagination-${position}`, mergedPagination.className), + size: paginationSize + })); + const defaultPosition = direction === 'rtl' ? 'left' : 'right'; + const { + position + } = mergedPagination; + if (position !== null && Array.isArray(position)) { + const topPos = position.find(p => p.includes('top')); + const bottomPos = position.find(p => p.includes('bottom')); + const isDisable = position.every(p => `${p}` === 'none'); + if (!topPos && !bottomPos && !isDisable) { + bottomPaginationNode = renderPagination(defaultPosition); + } + if (topPos) { + topPaginationNode = renderPagination(topPos.toLowerCase().replace('top', '')); + } + if (bottomPos) { + bottomPaginationNode = renderPagination(bottomPos.toLowerCase().replace('bottom', '')); + } + } else { + bottomPaginationNode = renderPagination(defaultPosition); + } + } + // >>>>>>>>> Spinning + let spinProps; + if (typeof loading === 'boolean') { + spinProps = { + spinning: loading + }; + } else if (typeof loading === 'object') { + spinProps = Object.assign({ + spinning: true + }, loading); + } + // Style + const [wrapSSR, hashId] = table_style(prefixCls); + const wrapperClassNames = classnames_default()(`${prefixCls}-wrapper`, table === null || table === void 0 ? void 0 : table.className, { + [`${prefixCls}-wrapper-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, table === null || table === void 0 ? void 0 : table.style), style); + const emptyText = locale && locale.emptyText || (renderEmpty === null || renderEmpty === void 0 ? void 0 : renderEmpty('Table')) || /*#__PURE__*/react.createElement(defaultRenderEmpty/* default */.Z, { + componentName: "Table" + }); + return wrapSSR( /*#__PURE__*/react.createElement("div", { + ref: ref, + className: wrapperClassNames, + style: mergedStyle + }, /*#__PURE__*/react.createElement(spin/* default */.Z, Object.assign({ + spinning: false + }, spinProps), topPaginationNode, /*#__PURE__*/react.createElement(RcTable, Object.assign({}, tableProps, { + columns: mergedColumns, + direction: direction, + expandable: mergedExpandable, + prefixCls: prefixCls, + className: classnames_default()({ + [`${prefixCls}-middle`]: mergedSize === 'middle', + [`${prefixCls}-small`]: mergedSize === 'small', + [`${prefixCls}-bordered`]: bordered, + [`${prefixCls}-empty`]: rawData.length === 0 + }), + data: pageData, + rowKey: getRowKey, + rowClassName: internalRowClassName, + emptyText: emptyText, + // Internal + internalHooks: INTERNAL_HOOKS, + internalRefs: internalRefs, + transformColumns: transformColumns + })), bottomPaginationNode))); +}; +/* harmony default export */ var table_InternalTable = (/*#__PURE__*/react.forwardRef(InternalTable)); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/Table.js + + + + + + +const table_Table_Table = (props, ref) => { + const renderTimesRef = react.useRef(0); + renderTimesRef.current += 1; + return /*#__PURE__*/react.createElement(table_InternalTable, Object.assign({}, props, { + ref: ref, + _renderTimes: renderTimesRef.current + })); +}; +const ForwardTable = /*#__PURE__*/react.forwardRef(table_Table_Table); +ForwardTable.SELECTION_COLUMN = SELECTION_COLUMN; +ForwardTable.EXPAND_COLUMN = EXPAND_COLUMN; +ForwardTable.SELECTION_ALL = SELECTION_ALL; +ForwardTable.SELECTION_INVERT = SELECTION_INVERT; +ForwardTable.SELECTION_NONE = SELECTION_NONE; +ForwardTable.Column = table_Column; +ForwardTable.ColumnGroup = table_ColumnGroup; +ForwardTable.Summary = FooterComponents; +if (false) {} +/* harmony default export */ var table_Table = (ForwardTable); +;// CONCATENATED MODULE: ./node_modules/antd/es/table/index.js +'use client'; + + +/* harmony default export */ var table = (table_Table); + +/***/ }), + +/***/ 92389: +/*!**************************************************************!*\ + !*** ./node_modules/antd/node_modules/rc-util/es/KeyCode.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +/** + * @ignore + * some key-codes definition and utils from closure-library + * @author yiminghe@gmail.com + */ + +var KeyCode = { + /** + * MAC_ENTER + */ + MAC_ENTER: 3, + /** + * BACKSPACE + */ + BACKSPACE: 8, + /** + * TAB + */ + TAB: 9, + /** + * NUMLOCK on FF/Safari Mac + */ + NUM_CENTER: 12, + // NUMLOCK on FF/Safari Mac + /** + * ENTER + */ + ENTER: 13, + /** + * SHIFT + */ + SHIFT: 16, + /** + * CTRL + */ + CTRL: 17, + /** + * ALT + */ + ALT: 18, + /** + * PAUSE + */ + PAUSE: 19, + /** + * CAPS_LOCK + */ + CAPS_LOCK: 20, + /** + * ESC + */ + ESC: 27, + /** + * SPACE + */ + SPACE: 32, + /** + * PAGE_UP + */ + PAGE_UP: 33, + // also NUM_NORTH_EAST + /** + * PAGE_DOWN + */ + PAGE_DOWN: 34, + // also NUM_SOUTH_EAST + /** + * END + */ + END: 35, + // also NUM_SOUTH_WEST + /** + * HOME + */ + HOME: 36, + // also NUM_NORTH_WEST + /** + * LEFT + */ + LEFT: 37, + // also NUM_WEST + /** + * UP + */ + UP: 38, + // also NUM_NORTH + /** + * RIGHT + */ + RIGHT: 39, + // also NUM_EAST + /** + * DOWN + */ + DOWN: 40, + // also NUM_SOUTH + /** + * PRINT_SCREEN + */ + PRINT_SCREEN: 44, + /** + * INSERT + */ + INSERT: 45, + // also NUM_INSERT + /** + * DELETE + */ + DELETE: 46, + // also NUM_DELETE + /** + * ZERO + */ + ZERO: 48, + /** + * ONE + */ + ONE: 49, + /** + * TWO + */ + TWO: 50, + /** + * THREE + */ + THREE: 51, + /** + * FOUR + */ + FOUR: 52, + /** + * FIVE + */ + FIVE: 53, + /** + * SIX + */ + SIX: 54, + /** + * SEVEN + */ + SEVEN: 55, + /** + * EIGHT + */ + EIGHT: 56, + /** + * NINE + */ + NINE: 57, + /** + * QUESTION_MARK + */ + QUESTION_MARK: 63, + // needs localization + /** + * A + */ + A: 65, + /** + * B + */ + B: 66, + /** + * C + */ + C: 67, + /** + * D + */ + D: 68, + /** + * E + */ + E: 69, + /** + * F + */ + F: 70, + /** + * G + */ + G: 71, + /** + * H + */ + H: 72, + /** + * I + */ + I: 73, + /** + * J + */ + J: 74, + /** + * K + */ + K: 75, + /** + * L + */ + L: 76, + /** + * M + */ + M: 77, + /** + * N + */ + N: 78, + /** + * O + */ + O: 79, + /** + * P + */ + P: 80, + /** + * Q + */ + Q: 81, + /** + * R + */ + R: 82, + /** + * S + */ + S: 83, + /** + * T + */ + T: 84, + /** + * U + */ + U: 85, + /** + * V + */ + V: 86, + /** + * W + */ + W: 87, + /** + * X + */ + X: 88, + /** + * Y + */ + Y: 89, + /** + * Z + */ + Z: 90, + /** + * META + */ + META: 91, + // WIN_KEY_LEFT + /** + * WIN_KEY_RIGHT + */ + WIN_KEY_RIGHT: 92, + /** + * CONTEXT_MENU + */ + CONTEXT_MENU: 93, + /** + * NUM_ZERO + */ + NUM_ZERO: 96, + /** + * NUM_ONE + */ + NUM_ONE: 97, + /** + * NUM_TWO + */ + NUM_TWO: 98, + /** + * NUM_THREE + */ + NUM_THREE: 99, + /** + * NUM_FOUR + */ + NUM_FOUR: 100, + /** + * NUM_FIVE + */ + NUM_FIVE: 101, + /** + * NUM_SIX + */ + NUM_SIX: 102, + /** + * NUM_SEVEN + */ + NUM_SEVEN: 103, + /** + * NUM_EIGHT + */ + NUM_EIGHT: 104, + /** + * NUM_NINE + */ + NUM_NINE: 105, + /** + * NUM_MULTIPLY + */ + NUM_MULTIPLY: 106, + /** + * NUM_PLUS + */ + NUM_PLUS: 107, + /** + * NUM_MINUS + */ + NUM_MINUS: 109, + /** + * NUM_PERIOD + */ + NUM_PERIOD: 110, + /** + * NUM_DIVISION + */ + NUM_DIVISION: 111, + /** + * F1 + */ + F1: 112, + /** + * F2 + */ + F2: 113, + /** + * F3 + */ + F3: 114, + /** + * F4 + */ + F4: 115, + /** + * F5 + */ + F5: 116, + /** + * F6 + */ + F6: 117, + /** + * F7 + */ + F7: 118, + /** + * F8 + */ + F8: 119, + /** + * F9 + */ + F9: 120, + /** + * F10 + */ + F10: 121, + /** + * F11 + */ + F11: 122, + /** + * F12 + */ + F12: 123, + /** + * NUMLOCK + */ + NUMLOCK: 144, + /** + * SEMICOLON + */ + SEMICOLON: 186, + // needs localization + /** + * DASH + */ + DASH: 189, + // needs localization + /** + * EQUALS + */ + EQUALS: 187, + // needs localization + /** + * COMMA + */ + COMMA: 188, + // needs localization + /** + * PERIOD + */ + PERIOD: 190, + // needs localization + /** + * SLASH + */ + SLASH: 191, + // needs localization + /** + * APOSTROPHE + */ + APOSTROPHE: 192, + // needs localization + /** + * SINGLE_QUOTE + */ + SINGLE_QUOTE: 222, + // needs localization + /** + * OPEN_SQUARE_BRACKET + */ + OPEN_SQUARE_BRACKET: 219, + // needs localization + /** + * BACKSLASH + */ + BACKSLASH: 220, + // needs localization + /** + * CLOSE_SQUARE_BRACKET + */ + CLOSE_SQUARE_BRACKET: 221, + // needs localization + /** + * WIN_KEY + */ + WIN_KEY: 224, + /** + * MAC_FF_META + */ + MAC_FF_META: 224, + // Firefox (Gecko) fires this for the meta key instead of 91 + /** + * WIN_IME + */ + WIN_IME: 229, + // ======================== Function ======================== + /** + * whether text and modified key is entered at the same time. + */ + isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) { + var keyCode = e.keyCode; + if (e.altKey && !e.ctrlKey || e.metaKey || + // Function keys don't generate text + keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) { + return false; + } + + // The following keys are quite harmless, even in combination with + // CTRL, ALT or SHIFT. + switch (keyCode) { + case KeyCode.ALT: + case KeyCode.CAPS_LOCK: + case KeyCode.CONTEXT_MENU: + case KeyCode.CTRL: + case KeyCode.DOWN: + case KeyCode.END: + case KeyCode.ESC: + case KeyCode.HOME: + case KeyCode.INSERT: + case KeyCode.LEFT: + case KeyCode.MAC_FF_META: + case KeyCode.META: + case KeyCode.NUMLOCK: + case KeyCode.NUM_CENTER: + case KeyCode.PAGE_DOWN: + case KeyCode.PAGE_UP: + case KeyCode.PAUSE: + case KeyCode.PRINT_SCREEN: + case KeyCode.RIGHT: + case KeyCode.SHIFT: + case KeyCode.UP: + case KeyCode.WIN_KEY: + case KeyCode.WIN_KEY_RIGHT: + return false; + default: + return true; + } + }, + /** + * whether character is entered. + */ + isCharacterKey: function isCharacterKey(keyCode) { + if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) { + return true; + } + if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) { + return true; + } + if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) { + return true; + } + + // Safari sends zero key code for non-latin characters. + if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) { + return true; + } + switch (keyCode) { + case KeyCode.SPACE: + case KeyCode.QUESTION_MARK: + case KeyCode.NUM_PLUS: + case KeyCode.NUM_MINUS: + case KeyCode.NUM_PERIOD: + case KeyCode.NUM_DIVISION: + case KeyCode.SEMICOLON: + case KeyCode.DASH: + case KeyCode.EQUALS: + case KeyCode.COMMA: + case KeyCode.PERIOD: + case KeyCode.SLASH: + case KeyCode.APOSTROPHE: + case KeyCode.SINGLE_QUOTE: + case KeyCode.OPEN_SQUARE_BRACKET: + case KeyCode.BACKSLASH: + case KeyCode.CLOSE_SQUARE_BRACKET: + return true; + default: + return false; + } + } +}; +/* harmony default export */ __webpack_exports__["Z"] = (KeyCode); + +/***/ }) + +}]); \ No newline at end of file diff --git a/21286.async.js b/21286.async.js index c9d5fbf636..fe50c80f3a 100644 --- a/21286.async.js +++ b/21286.async.js @@ -39,7 +39,7 @@ var _umi_production_exports = __webpack_require__(89214); // EXTERNAL MODULE: ./node_modules/antd/es/layout/index.js var layout = __webpack_require__(97183); // EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules -var input = __webpack_require__(79531); +var input = __webpack_require__(11486); // EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules var modal = __webpack_require__(72423); // EXTERNAL MODULE: ./src/components/ImagesIcon/index.ts + 33 modules diff --git a/2156.async.js b/2156.async.js new file mode 100644 index 0000000000..fc7eaf20ce --- /dev/null +++ b/2156.async.js @@ -0,0 +1,1563 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[2156,57348,37949,58846,60010,55537,70446,88628,59688,56987,71058,99820,13917,49516],{ + +/***/ 82826: +/*!**********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + 1 modules ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ArrowLeftOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.js +// This icon file is generated automatically. +var ArrowLeftOutlined = { "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" }; +/* harmony default export */ var asn_ArrowLeftOutlined = (ArrowLeftOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ArrowLeftOutlined_ArrowLeftOutlined = function ArrowLeftOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ArrowLeftOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ArrowLeftOutlined = (/*#__PURE__*/react.forwardRef(ArrowLeftOutlined_ArrowLeftOutlined)); + +/***/ }), + +/***/ 64082: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_InboxOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/InboxOutlined.js +// This icon file is generated automatically. +var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.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 0060.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-43l-.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" } }] }, "name": "inbox", "theme": "outlined" }; +/* harmony default export */ var asn_InboxOutlined = (InboxOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var InboxOutlined_InboxOutlined = function InboxOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_InboxOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_InboxOutlined = (/*#__PURE__*/react.forwardRef(InboxOutlined_InboxOutlined)); + +/***/ }), + +/***/ 57838: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/_util/hooks/useForceUpdate.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ useForceUpdate; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +function useForceUpdate() { + const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0); + return forceUpdate; +} + +/***/ }), + +/***/ 85673: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/breadcrumb/index.js + 6 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ breadcrumb; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/Children/toArray.js +var toArray = __webpack_require__(37419); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(1337); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules +var DownOutlined = __webpack_require__(15558); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbSeparator.js + + +const BreadcrumbSeparator = _ref => { + let { + children + } = _ref; + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb'); + return /*#__PURE__*/react.createElement("li", { + className: `${prefixCls}-separator`, + "aria-hidden": "true" + }, children === '' ? children : children || '/'); +}; +BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true; +/* harmony default export */ var breadcrumb_BreadcrumbSeparator = (BreadcrumbSeparator); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/useItemRender.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +function getBreadcrumbName(route, params) { + if (route.title === undefined || route.title === null) { + return null; + } + const paramsKeys = Object.keys(params).join('|'); + return typeof route.title === 'object' ? route.title : String(route.title).replace(new RegExp(`:(${paramsKeys})`, 'g'), (replacement, key) => params[key] || replacement); +} +function renderItem(prefixCls, item, children, href) { + if (children === null || children === undefined) { + return null; + } + const { + className, + onClick + } = item, + restItem = __rest(item, ["className", "onClick"]); + const passedProps = Object.assign(Object.assign({}, (0,pickAttrs/* default */.Z)(restItem, { + data: true, + aria: true + })), { + onClick + }); + if (href !== undefined) { + return /*#__PURE__*/react.createElement("a", Object.assign({}, passedProps, { + className: classnames_default()(`${prefixCls}-link`, className), + href: href + }), children); + } + return /*#__PURE__*/react.createElement("span", Object.assign({}, passedProps, { + className: classnames_default()(`${prefixCls}-link`, className) + }), children); +} +function useItemRender(prefixCls, itemRender) { + const mergedItemRender = (item, params, routes, path, href) => { + if (itemRender) { + return itemRender(item, params, routes, path); + } + const name = getBreadcrumbName(item, params); + return renderItem(prefixCls, item, name, href); + }; + return mergedItemRender; +} +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/BreadcrumbItem.js +var BreadcrumbItem_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalBreadcrumbItem = props => { + const { + prefixCls, + separator = '/', + children, + menu, + overlay, + dropdownProps, + href + } = props; + // Warning for deprecated usage + if (false) {} + /** If overlay is have Wrap a Dropdown */ + const renderBreadcrumbNode = breadcrumbItem => { + if (menu || overlay) { + const mergeDropDownProps = Object.assign({}, dropdownProps); + if (menu) { + const _a = menu || {}, + { + items + } = _a, + menuProps = BreadcrumbItem_rest(_a, ["items"]); + mergeDropDownProps.menu = Object.assign(Object.assign({}, menuProps), { + items: items === null || items === void 0 ? void 0 : items.map((_a, index) => { + var { + key, + title, + label, + path + } = _a, + itemProps = BreadcrumbItem_rest(_a, ["key", "title", "label", "path"]); + let mergedLabel = label !== null && label !== void 0 ? label : title; + if (path) { + mergedLabel = /*#__PURE__*/react.createElement("a", { + href: `${href}${path}` + }, mergedLabel); + } + return Object.assign(Object.assign({}, itemProps), { + key: key !== null && key !== void 0 ? key : index, + label: mergedLabel + }); + }) + }); + } else if (overlay) { + mergeDropDownProps.overlay = overlay; + } + return /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({ + placement: "bottom" + }, mergeDropDownProps), /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-overlay-link` + }, breadcrumbItem, /*#__PURE__*/react.createElement(DownOutlined/* default */.Z, null))); + } + return breadcrumbItem; + }; + // wrap to dropDown + const link = renderBreadcrumbNode(children); + if (link !== undefined && link !== null) { + return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("li", null, link), separator && /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbSeparator, null, separator)); + } + return null; +}; +const BreadcrumbItem = props => { + const { + prefixCls: customizePrefixCls, + children, + href + } = props, + restProps = BreadcrumbItem_rest(props, ["prefixCls", "children", "href"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + return /*#__PURE__*/react.createElement(InternalBreadcrumbItem, Object.assign({}, restProps, { + prefixCls: prefixCls + }), renderItem(prefixCls, restProps, children, href)); +}; +BreadcrumbItem.__ANT_BREADCRUMB_ITEM = true; +/* harmony default export */ var breadcrumb_BreadcrumbItem = (BreadcrumbItem); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/style/index.js + + +const genBreadcrumbStyle = token => { + const { + componentCls, + iconCls + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + color: token.itemColor, + fontSize: token.fontSize, + [iconCls]: { + fontSize: token.iconFontSize + }, + ol: { + display: 'flex', + flexWrap: 'wrap', + margin: 0, + padding: 0, + listStyle: 'none' + }, + a: Object.assign({ + color: token.linkColor, + transition: `color ${token.motionDurationMid}`, + padding: `0 ${token.paddingXXS}px`, + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + marginInline: -token.marginXXS, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover + } + }, (0,style/* genFocusStyle */.Qy)(token)), + [`li:last-child`]: { + color: token.lastItemColor + }, + [`${componentCls}-separator`]: { + marginInline: token.separatorMargin, + color: token.separatorColor + }, + [`${componentCls}-link`]: { + [` + > ${iconCls} + span, + > ${iconCls} + a + `]: { + marginInlineStart: token.marginXXS + } + }, + [`${componentCls}-overlay-link`]: { + borderRadius: token.borderRadiusSM, + height: token.lineHeight * token.fontSize, + display: 'inline-block', + padding: `0 ${token.paddingXXS}px`, + marginInline: -token.marginXXS, + [`> ${iconCls}`]: { + marginInlineStart: token.marginXXS, + fontSize: token.fontSizeIcon + }, + '&:hover': { + color: token.linkHoverColor, + backgroundColor: token.colorBgTextHover, + a: { + color: token.linkHoverColor + } + }, + a: { + '&:hover': { + backgroundColor: 'transparent' + } + } + }, + // rtl style + [`&${token.componentCls}-rtl`]: { + direction: 'rtl' + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var breadcrumb_style = ((0,genComponentStyleHook/* default */.Z)('Breadcrumb', token => { + const BreadcrumbToken = (0,statistic/* merge */.TS)(token, {}); + return [genBreadcrumbStyle(BreadcrumbToken)]; +}, token => ({ + itemColor: token.colorTextDescription, + lastItemColor: token.colorText, + iconFontSize: token.fontSize, + linkColor: token.colorTextDescription, + linkHoverColor: token.colorText, + separatorColor: token.colorTextDescription, + separatorMargin: token.marginXS +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/useItems.js +var useItems_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + +function route2item(route) { + const { + breadcrumbName, + children + } = route, + rest = useItems_rest(route, ["breadcrumbName", "children"]); + const clone = Object.assign({ + title: breadcrumbName + }, rest); + if (children) { + clone.menu = { + items: children.map(_a => { + var { + breadcrumbName: itemBreadcrumbName + } = _a, + itemProps = useItems_rest(_a, ["breadcrumbName"]); + return Object.assign(Object.assign({}, itemProps), { + title: itemBreadcrumbName + }); + }) + }; + } + return clone; +} +function useItems(items, routes) { + return (0,react.useMemo)(() => { + if (items) { + return items; + } + if (routes) { + return routes.map(route2item); + } + return null; + }, [items, routes]); +} +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/Breadcrumb.js +var Breadcrumb_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + +const getPath = (params, path) => { + if (path === undefined) { + return path; + } + let mergedPath = (path || '').replace(/^\//, ''); + Object.keys(params).forEach(key => { + mergedPath = mergedPath.replace(`:${key}`, params[key]); + }); + return mergedPath; +}; +const Breadcrumb = props => { + const { + prefixCls: customizePrefixCls, + separator = '/', + style, + className, + rootClassName, + routes: legacyRoutes, + items, + children, + itemRender, + params = {} + } = props, + restProps = Breadcrumb_rest(props, ["prefixCls", "separator", "style", "className", "rootClassName", "routes", "items", "children", "itemRender", "params"]); + const { + getPrefixCls, + direction, + breadcrumb + } = react.useContext(context/* ConfigContext */.E_); + let crumbs; + const prefixCls = getPrefixCls('breadcrumb', customizePrefixCls); + const [wrapSSR, hashId] = breadcrumb_style(prefixCls); + const mergedItems = useItems(items, legacyRoutes); + if (false) {} + const mergedItemRender = useItemRender(prefixCls, itemRender); + if (mergedItems && mergedItems.length > 0) { + // generated by route + const paths = []; + const itemRenderRoutes = items || legacyRoutes; + crumbs = mergedItems.map((item, index) => { + const { + path, + key, + type, + menu, + overlay, + onClick, + className: itemClassName, + separator: itemSeparator, + dropdownProps + } = item; + const mergedPath = getPath(params, path); + if (mergedPath !== undefined) { + paths.push(mergedPath); + } + const mergedKey = key !== null && key !== void 0 ? key : index; + if (type === 'separator') { + return /*#__PURE__*/react.createElement(breadcrumb_BreadcrumbSeparator, { + key: mergedKey + }, itemSeparator); + } + const itemProps = {}; + const isLastItem = index === mergedItems.length - 1; + if (menu) { + itemProps.menu = menu; + } else if (overlay) { + itemProps.overlay = overlay; + } + let { + href + } = item; + if (paths.length && mergedPath !== undefined) { + href = `#/${paths.join('/')}`; + } + return /*#__PURE__*/react.createElement(InternalBreadcrumbItem, Object.assign({ + key: mergedKey + }, itemProps, (0,pickAttrs/* default */.Z)(item, { + data: true, + aria: true + }), { + className: itemClassName, + dropdownProps: dropdownProps, + href: href, + separator: isLastItem ? '' : separator, + onClick: onClick, + prefixCls: prefixCls + }), mergedItemRender(item, params, itemRenderRoutes, paths, href)); + }); + } else if (children) { + const childrenLength = (0,toArray/* default */.Z)(children).length; + crumbs = (0,toArray/* default */.Z)(children).map((element, index) => { + if (!element) { + return element; + } + // =================== Warning ===================== + if (false) {} + false ? 0 : void 0; + const isLastItem = index === childrenLength - 1; + return (0,reactNode/* cloneElement */.Tm)(element, { + separator: isLastItem ? '' : separator, + key: index + }); + }); + } + const breadcrumbClassName = classnames_default()(prefixCls, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.className, { + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, breadcrumb === null || breadcrumb === void 0 ? void 0 : breadcrumb.style), style); + return wrapSSR( /*#__PURE__*/react.createElement("nav", Object.assign({ + className: breadcrumbClassName, + style: mergedStyle + }, restProps), /*#__PURE__*/react.createElement("ol", null, crumbs))); +}; +Breadcrumb.Item = breadcrumb_BreadcrumbItem; +Breadcrumb.Separator = breadcrumb_BreadcrumbSeparator; +if (false) {} +/* harmony default export */ var breadcrumb_Breadcrumb = (Breadcrumb); +;// CONCATENATED MODULE: ./node_modules/antd/es/breadcrumb/index.js +'use client'; + + +/* harmony default export */ var breadcrumb = (breadcrumb_Breadcrumb); + +/***/ }), + +/***/ 84567: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 3 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js + 5 modules +var es = __webpack_require__(95860); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/GroupContext.js + +const GroupContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var checkbox_GroupContext = (GroupContext); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js +var checkbox_style = __webpack_require__(63185); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const InternalCheckbox = (props, ref) => { + var _a; + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + children, + indeterminate = false, + style, + onMouseEnter, + onMouseLeave, + skipGroup = false, + disabled + } = props, + restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + const { + getPrefixCls, + direction, + checkbox + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const checkboxGroup = react.useContext(checkbox_GroupContext); + const { + isFormItemInput + } = react.useContext(context/* FormItemInputContext */.aM); + const contextDisabled = react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled; + const prevValue = react.useRef(restProps.value); + react.useEffect(() => { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(() => { + if (skipGroup) { + return; + } + if (restProps.value !== prevValue.current) { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current); + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + prevValue.current = restProps.value; + } + return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }, [restProps.value]); + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const checkboxProps = Object.assign({}, restProps); + if (checkboxGroup && !skipGroup) { + checkboxProps.onChange = function () { + if (restProps.onChange) { + restProps.onChange.apply(restProps, arguments); + } + if (checkboxGroup.toggleOption) { + checkboxGroup.toggleOption({ + label: children, + value: restProps.value + }); + } + }; + checkboxProps.name = checkboxGroup.name; + checkboxProps.checked = checkboxGroup.value.includes(restProps.value); + } + const classString = classnames_default()(`${prefixCls}-wrapper`, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-wrapper-checked`]: checkboxProps.checked, + [`${prefixCls}-wrapper-disabled`]: mergedDisabled, + [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput + }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId); + const checkboxClass = classnames_default()({ + [`${prefixCls}-indeterminate`]: indeterminate + }, hashId); + const ariaChecked = indeterminate ? 'mixed' : undefined; + return wrapSSR( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, Object.assign({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children))); +}; +const Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + +var Group_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalGroup = (props, ref) => { + const { + defaultValue, + children, + options = [], + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + onChange + } = props, + restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]); + const { + getPrefixCls, + direction + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const [value, setValue] = react.useState(restProps.value || defaultValue || []); + const [registeredValues, setRegisteredValues] = react.useState([]); + react.useEffect(() => { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + const memoOptions = react.useMemo(() => options.map(option => { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }), [options]); + const cancelValue = val => { + setRegisteredValues(prevValues => prevValues.filter(v => v !== val)); + }; + const registerValue = val => { + setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val])); + }; + const toggleOption = option => { + const optionIndex = value.indexOf(option.value); + const newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => { + const indexA = memoOptions.findIndex(opt => opt.value === a); + const indexB = memoOptions.findIndex(opt => opt.value === b); + return indexA - indexB; + })); + }; + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const groupPrefixCls = `${prefixCls}-group`; + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/react.createElement(checkbox_Checkbox, { + prefixCls: prefixCls, + key: option.value.toString(), + disabled: 'disabled' in option ? option.disabled : restProps.disabled, + value: option.value, + checked: value.includes(option.value), + onChange: option.onChange, + className: `${groupPrefixCls}-item`, + style: option.style, + title: option.title + }, option.label)) : children; + // eslint-disable-next-line react/jsx-no-constructed-context-values + const context = { + toggleOption, + value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue, + cancelValue + }; + const classString = classnames_default()(groupPrefixCls, { + [`${groupPrefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(checkbox_GroupContext.Provider, { + value: context + }, childrenNode))); +}; + +const CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js +'use client'; + + + +const es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +if (false) {} +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 63185: +/*!******************************************************!*\ + !*** ./node_modules/antd/es/checkbox/style/index.js ***! + \******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "C2": function() { return /* binding */ getStyle; } +/* harmony export */ }); +/* unused harmony export genCheckboxStyle */ +/* harmony import */ var _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @ant-design/cssinjs */ 73559); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 45503); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); + + + +// ============================== Motion ============================== +const antCheckboxEffect = new _ant_design_cssinjs__WEBPACK_IMPORTED_MODULE_0__.Keyframes('antCheckboxEffect', { + '0%': { + transform: 'scale(1)', + opacity: 0.5 + }, + '100%': { + transform: 'scale(1.6)', + opacity: 0 + } +}); +// ============================== Styles ============================== +const genCheckboxStyle = token => { + const { + checkboxCls + } = token; + const wrapperCls = `${checkboxCls}-wrapper`; + return [ + // ===================== Basic ===================== + { + // Group + [`${checkboxCls}-group`]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + flexWrap: 'wrap', + columnGap: token.marginXS, + // Group > Grid + [`> ${token.antCls}-row`]: { + flex: 1 + } + }), + // Wrapper + [wrapperCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + display: 'inline-flex', + alignItems: 'baseline', + cursor: 'pointer', + // Fix checkbox & radio in flex align #30260 + '&:after': { + display: 'inline-block', + width: 0, + overflow: 'hidden', + content: "'\\a0'" + }, + // Checkbox near checkbox + [`& + ${wrapperCls}`]: { + marginInlineStart: 0 + }, + [`&${wrapperCls}-in-form-item`]: { + 'input[type="checkbox"]': { + width: 14, + height: 14 // FIXME: magic + } + } + }), + + // Wrapper > Checkbox + [checkboxCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .resetComponent */ .Wf)(token)), { + position: 'relative', + whiteSpace: 'nowrap', + lineHeight: 1, + cursor: 'pointer', + // To make alignment right when `controlHeight` is changed + // Ref: https://github.com/ant-design/ant-design/issues/41564 + alignSelf: 'center', + // Wrapper > Checkbox > input + [`${checkboxCls}-input`]: { + position: 'absolute', + // Since baseline align will get additional space offset, + // we need to move input to top to make it align with text. + // Ref: https://github.com/ant-design/ant-design/issues/38926#issuecomment-1486137799 + inset: 0, + zIndex: 1, + cursor: 'pointer', + opacity: 0, + margin: 0, + [`&:focus-visible + ${checkboxCls}-inner`]: Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_1__/* .genFocusOutline */ .oN)(token)) + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + boxSizing: 'border-box', + position: 'relative', + top: 0, + insetInlineStart: 0, + display: 'block', + width: token.checkboxSize, + height: token.checkboxSize, + direction: 'ltr', + backgroundColor: token.colorBgContainer, + border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`, + borderRadius: token.borderRadiusSM, + borderCollapse: 'separate', + transition: `all ${token.motionDurationSlow}`, + '&:after': { + boxSizing: 'border-box', + position: 'absolute', + top: '50%', + insetInlineStart: '21.5%', + display: 'table', + width: token.checkboxSize / 14 * 5, + height: token.checkboxSize / 14 * 8, + border: `${token.lineWidthBold}px solid ${token.colorWhite}`, + borderTop: 0, + borderInlineStart: 0, + transform: 'rotate(45deg) scale(0) translate(-50%,-50%)', + opacity: 0, + content: '""', + transition: `all ${token.motionDurationFast} ${token.motionEaseInBack}, opacity ${token.motionDurationFast}` + } + }, + // Wrapper > Checkbox + Text + '& + span': { + paddingInlineStart: token.paddingXS, + paddingInlineEnd: token.paddingXS + } + }) + }, + // ===================== Hover ===================== + { + // Wrapper + [`${wrapperCls}:hover ${checkboxCls}:after`]: { + visibility: 'visible' + }, + // Wrapper & Wrapper > Checkbox + [` + ${wrapperCls}:not(${wrapperCls}-disabled), + ${checkboxCls}:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + borderColor: token.colorPrimary + } + }, + [`${wrapperCls}:not(${wrapperCls}-disabled)`]: { + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled) ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}-checked:not(${checkboxCls}-disabled):after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ==================== Checked ==================== + { + // Wrapper > Checkbox + [`${checkboxCls}-checked`]: { + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimary, + borderColor: token.colorPrimary, + '&:after': { + opacity: 1, + transform: 'rotate(45deg) scale(1) translate(-50%,-50%)', + transition: `all ${token.motionDurationMid} ${token.motionEaseOutBack} ${token.motionDurationFast}` + } + }, + // Checked Effect + '&:after': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '100%', + height: '100%', + borderRadius: token.borderRadiusSM, + visibility: 'hidden', + border: `${token.lineWidthBold}px solid ${token.colorPrimary}`, + animationName: antCheckboxEffect, + animationDuration: token.motionDurationSlow, + animationTimingFunction: 'ease-in-out', + animationFillMode: 'backwards', + content: '""', + transition: `all ${token.motionDurationSlow}` + } + }, + [` + ${wrapperCls}-checked:not(${wrapperCls}-disabled), + ${checkboxCls}-checked:not(${checkboxCls}-disabled) + `]: { + [`&:hover ${checkboxCls}-inner`]: { + backgroundColor: token.colorPrimaryHover, + borderColor: 'transparent' + }, + [`&:hover ${checkboxCls}:after`]: { + borderColor: token.colorPrimaryHover + } + } + }, + // ================= Indeterminate ================= + { + [checkboxCls]: { + '&-indeterminate': { + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + backgroundColor: token.colorBgContainer, + borderColor: token.colorBorder, + '&:after': { + top: '50%', + insetInlineStart: '50%', + width: token.fontSizeLG / 2, + height: token.fontSizeLG / 2, + backgroundColor: token.colorPrimary, + border: 0, + transform: 'translate(-50%, -50%) scale(1)', + opacity: 1, + content: '""' + } + } + } + } + }, + // ==================== Disable ==================== + { + // Wrapper + [`${wrapperCls}-disabled`]: { + cursor: 'not-allowed' + }, + // Wrapper > Checkbox + [`${checkboxCls}-disabled`]: { + // Wrapper > Checkbox > input + [`&, ${checkboxCls}-input`]: { + cursor: 'not-allowed', + // Disabled for native input to enable Tooltip event handler + // ref: https://github.com/ant-design/ant-design/issues/39822#issuecomment-1365075901 + pointerEvents: 'none' + }, + // Wrapper > Checkbox > inner + [`${checkboxCls}-inner`]: { + background: token.colorBgContainerDisabled, + borderColor: token.colorBorder, + '&:after': { + borderColor: token.colorTextDisabled + } + }, + '&:after': { + display: 'none' + }, + '& + span': { + color: token.colorTextDisabled + }, + [`&${checkboxCls}-indeterminate ${checkboxCls}-inner::after`]: { + background: token.colorTextDisabled + } + } + }]; +}; +// ============================== Export ============================== +function getStyle(prefixCls, token) { + const checkboxToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .merge */ .TS)(token, { + checkboxCls: `.${prefixCls}`, + checkboxSize: token.controlInteractiveSize + }); + return [genCheckboxStyle(checkboxToken)]; +} +/* harmony default export */ __webpack_exports__["ZP"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Checkbox', (token, _ref) => { + let { + prefixCls + } = _ref; + return [getStyle(prefixCls, token)]; +})); + +/***/ }), + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/21788.async.js b/21788.async.js new file mode 100644 index 0000000000..80d0a4ba65 --- /dev/null +++ b/21788.async.js @@ -0,0 +1,749 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[21788],{ + +/***/ 64082: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_InboxOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/InboxOutlined.js +// This icon file is generated automatically. +var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.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 0060.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-43l-.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" } }] }, "name": "inbox", "theme": "outlined" }; +/* harmony default export */ var asn_InboxOutlined = (InboxOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var InboxOutlined_InboxOutlined = function InboxOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_InboxOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_InboxOutlined = (/*#__PURE__*/react.forwardRef(InboxOutlined_InboxOutlined)); + +/***/ }), + +/***/ 48783: +/*!****************************************************************!*\ + !*** ./node_modules/antd/es/_util/throttleByAnimationFrame.js ***! + \****************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime/helpers/esm/toConsumableArray */ 74902); +/* harmony import */ var rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rc-util/es/raf */ 96523); + + +function throttleByAnimationFrame(fn) { + let requestId; + const later = args => () => { + requestId = null; + fn.apply(void 0, (0,_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(args)); + }; + const throttled = function () { + if (requestId == null) { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + requestId = (0,rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(later(args)); + } + }; + throttled.cancel = () => { + rc_util_es_raf__WEBPACK_IMPORTED_MODULE_0__/* ["default"].cancel */ .Z.cancel(requestId); + requestId = null; + }; + return throttled; +} +/* harmony default export */ __webpack_exports__["Z"] = (throttleByAnimationFrame); + +/***/ }), + +/***/ 30291: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/affix/index.js + 2 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ affix; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js +var classCallCheck = __webpack_require__(15671); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js +var createClass = __webpack_require__(43144); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js +var inherits = __webpack_require__(60136); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js + 1 modules +var createSuper = __webpack_require__(51630); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-resize-observer/es/index.js + 4 modules +var es = __webpack_require__(48555); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/throttleByAnimationFrame.js +var throttleByAnimationFrame = __webpack_require__(48783); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/affix/style/index.js + +// ============================== Shared ============================== +const genSharedAffixStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: { + position: 'fixed', + zIndex: token.zIndexPopup + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var style = ((0,genComponentStyleHook/* default */.Z)('Affix', token => { + const affixToken = (0,statistic/* merge */.TS)(token, { + zIndexPopup: token.zIndexBase + 10 + }); + return [genSharedAffixStyle(affixToken)]; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/affix/utils.js +function getTargetRect(target) { + return target !== window ? target.getBoundingClientRect() : { + top: 0, + bottom: window.innerHeight + }; +} +function getFixedTop(placeholderRect, targetRect, offsetTop) { + if (offsetTop !== undefined && targetRect.top > placeholderRect.top - offsetTop) { + return offsetTop + targetRect.top; + } + return undefined; +} +function getFixedBottom(placeholderRect, targetRect, offsetBottom) { + if (offsetBottom !== undefined && targetRect.bottom < placeholderRect.bottom + offsetBottom) { + const targetBottomOffset = window.innerHeight - targetRect.bottom; + return offsetBottom + targetBottomOffset; + } + return undefined; +} +;// CONCATENATED MODULE: ./node_modules/antd/es/affix/index.js +'use client'; + + + + + + + + + + + + + +const TRIGGER_EVENTS = ['resize', 'scroll', 'touchstart', 'touchmove', 'touchend', 'pageshow', 'load']; +function getDefaultTarget() { + return typeof window !== 'undefined' ? window : null; +} +var AffixStatus; +(function (AffixStatus) { + AffixStatus[AffixStatus["None"] = 0] = "None"; + AffixStatus[AffixStatus["Prepare"] = 1] = "Prepare"; +})(AffixStatus || (AffixStatus = {})); +let InternalAffix = /*#__PURE__*/function (_React$Component) { + (0,inherits/* default */.Z)(InternalAffix, _React$Component); + var _super = (0,createSuper/* default */.Z)(InternalAffix); + function InternalAffix() { + var _this; + (0,classCallCheck/* default */.Z)(this, InternalAffix); + _this = _super.apply(this, arguments); + _this.state = { + status: AffixStatus.None, + lastAffix: false, + prevTarget: null + }; + _this.placeholderNodeRef = /*#__PURE__*/(0,react.createRef)(); + _this.fixedNodeRef = /*#__PURE__*/(0,react.createRef)(); + _this.addListeners = () => { + const targetFunc = _this.getTargetFunc(); + const target = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); + const { + prevTarget + } = _this.state; + if (prevTarget !== target) { + TRIGGER_EVENTS.forEach(eventName => { + prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + target === null || target === void 0 ? void 0 : target.addEventListener(eventName, _this.lazyUpdatePosition); + }); + _this.updatePosition(); + _this.setState({ + prevTarget: target + }); + } + }; + _this.removeListeners = () => { + if (_this.timer) { + clearTimeout(_this.timer); + _this.timer = null; + } + const { + prevTarget + } = _this.state; + const targetFunc = _this.getTargetFunc(); + const newTarget = targetFunc === null || targetFunc === void 0 ? void 0 : targetFunc(); + TRIGGER_EVENTS.forEach(eventName => { + newTarget === null || newTarget === void 0 ? void 0 : newTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + prevTarget === null || prevTarget === void 0 ? void 0 : prevTarget.removeEventListener(eventName, _this.lazyUpdatePosition); + }); + _this.updatePosition.cancel(); + // https://github.com/ant-design/ant-design/issues/22683 + _this.lazyUpdatePosition.cancel(); + }; + _this.getOffsetTop = () => { + const { + offsetBottom, + offsetTop + } = _this.props; + return offsetBottom === undefined && offsetTop === undefined ? 0 : offsetTop; + }; + _this.getOffsetBottom = () => _this.props.offsetBottom; + // =================== Measure =================== + _this.measure = () => { + const { + status, + lastAffix + } = _this.state; + const { + onChange + } = _this.props; + const targetFunc = _this.getTargetFunc(); + if (status !== AffixStatus.Prepare || !_this.fixedNodeRef.current || !_this.placeholderNodeRef.current || !targetFunc) { + return; + } + const offsetTop = _this.getOffsetTop(); + const offsetBottom = _this.getOffsetBottom(); + const targetNode = targetFunc(); + if (targetNode) { + const newState = { + status: AffixStatus.None + }; + const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); + if (placeholderRect.top === 0 && placeholderRect.left === 0 && placeholderRect.width === 0 && placeholderRect.height === 0) { + return; + } + const targetRect = getTargetRect(targetNode); + const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); + const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); + if (fixedTop !== undefined) { + newState.affixStyle = { + position: 'fixed', + top: fixedTop, + width: placeholderRect.width, + height: placeholderRect.height + }; + newState.placeholderStyle = { + width: placeholderRect.width, + height: placeholderRect.height + }; + } else if (fixedBottom !== undefined) { + newState.affixStyle = { + position: 'fixed', + bottom: fixedBottom, + width: placeholderRect.width, + height: placeholderRect.height + }; + newState.placeholderStyle = { + width: placeholderRect.width, + height: placeholderRect.height + }; + } + newState.lastAffix = !!newState.affixStyle; + if (onChange && lastAffix !== newState.lastAffix) { + onChange(newState.lastAffix); + } + _this.setState(newState); + } + }; + _this.prepareMeasure = () => { + // event param is used before. Keep compatible ts define here. + _this.setState({ + status: AffixStatus.Prepare, + affixStyle: undefined, + placeholderStyle: undefined + }); + // Test if `updatePosition` called + if (false) {} + }; + _this.updatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { + _this.prepareMeasure(); + }); + _this.lazyUpdatePosition = (0,throttleByAnimationFrame/* default */.Z)(() => { + const targetFunc = _this.getTargetFunc(); + const { + affixStyle + } = _this.state; + // Check position change before measure to make Safari smooth + if (targetFunc && affixStyle) { + const offsetTop = _this.getOffsetTop(); + const offsetBottom = _this.getOffsetBottom(); + const targetNode = targetFunc(); + if (targetNode && _this.placeholderNodeRef.current) { + const targetRect = getTargetRect(targetNode); + const placeholderRect = getTargetRect(_this.placeholderNodeRef.current); + const fixedTop = getFixedTop(placeholderRect, targetRect, offsetTop); + const fixedBottom = getFixedBottom(placeholderRect, targetRect, offsetBottom); + if (fixedTop !== undefined && affixStyle.top === fixedTop || fixedBottom !== undefined && affixStyle.bottom === fixedBottom) { + return; + } + } + } + // Directly call prepare measure since it's already throttled. + _this.prepareMeasure(); + }); + return _this; + } + (0,createClass/* default */.Z)(InternalAffix, [{ + key: "getTargetFunc", + value: function getTargetFunc() { + const { + getTargetContainer + } = this.context; + const { + target + } = this.props; + if (target !== undefined) { + return target; + } + return getTargetContainer !== null && getTargetContainer !== void 0 ? getTargetContainer : getDefaultTarget; + } + // Event handler + }, { + key: "componentDidMount", + value: function componentDidMount() { + // [Legacy] Wait for parent component ref has its value. + // We should use target as directly element instead of function which makes element check hard. + this.timer = setTimeout(this.addListeners); + } + }, { + key: "componentDidUpdate", + value: function componentDidUpdate(prevProps) { + this.addListeners(); + if (prevProps.offsetTop !== this.props.offsetTop || prevProps.offsetBottom !== this.props.offsetBottom) { + this.updatePosition(); + } + this.measure(); + } + }, { + key: "componentWillUnmount", + value: function componentWillUnmount() { + this.removeListeners(); + } + // =================== Render =================== + }, { + key: "render", + value: function render() { + const { + affixStyle, + placeholderStyle + } = this.state; + const { + affixPrefixCls, + rootClassName, + children + } = this.props; + const className = classnames_default()(affixStyle && rootClassName, { + [affixPrefixCls]: !!affixStyle + }); + let props = (0,omit/* default */.Z)(this.props, ['prefixCls', 'offsetTop', 'offsetBottom', 'target', 'onChange', 'affixPrefixCls', 'rootClassName']); + // Omit this since `onTestUpdatePosition` only works on test. + if (false) {} + return /*#__PURE__*/react.createElement(es/* default */.Z, { + onResize: this.updatePosition + }, /*#__PURE__*/react.createElement("div", Object.assign({}, props, { + ref: this.placeholderNodeRef + }), affixStyle && /*#__PURE__*/react.createElement("div", { + style: placeholderStyle, + "aria-hidden": "true" + }), /*#__PURE__*/react.createElement("div", { + className: className, + ref: this.fixedNodeRef, + style: affixStyle + }, /*#__PURE__*/react.createElement(es/* default */.Z, { + onResize: this.updatePosition + }, children)))); + } + }]); + return InternalAffix; +}(react.Component); +InternalAffix.contextType = context/* ConfigContext */.E_; +const Affix = /*#__PURE__*/(0,react.forwardRef)((props, ref) => { + const { + prefixCls: customizePrefixCls, + rootClassName + } = props; + const { + getPrefixCls + } = (0,react.useContext)(context/* ConfigContext */.E_); + const affixPrefixCls = getPrefixCls('affix', customizePrefixCls); + const [wrapSSR, hashId] = style(affixPrefixCls); + const AffixProps = Object.assign(Object.assign({}, props), { + affixPrefixCls, + rootClassName: classnames_default()(rootClassName, hashId) + }); + return wrapSSR( /*#__PURE__*/react.createElement(InternalAffix, Object.assign({}, AffixProps, { + ref: ref + }))); +}); +if (false) {} +/* harmony default export */ var affix = (Affix); + +/***/ }), + +/***/ 57761: +/*!*********************************************************************!*\ + !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! + \*********************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _react = __webpack_require__(/*! react */ 67294); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(/*! prop-types */ 45697); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var InfiniteScroll = function (_Component) { + _inherits(InfiniteScroll, _Component); + + function InfiniteScroll(props) { + _classCallCheck(this, InfiniteScroll); + + var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props)); + + _this.scrollListener = _this.scrollListener.bind(_this); + _this.eventListenerOptions = _this.eventListenerOptions.bind(_this); + _this.mousewheelListener = _this.mousewheelListener.bind(_this); + return _this; + } + + _createClass(InfiniteScroll, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.pageLoaded = this.props.pageStart; + this.options = this.eventListenerOptions(); + this.attachScrollListener(); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate() { + if (this.props.isReverse && this.loadMore) { + var parentElement = this.getParentElement(this.scrollComponent); + parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop; + this.loadMore = false; + } + this.attachScrollListener(); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.detachScrollListener(); + this.detachMousewheelListener(); + } + }, { + key: 'isPassiveSupported', + value: function isPassiveSupported() { + var passive = false; + + var testOptions = { + get passive() { + passive = true; + } + }; + + try { + document.addEventListener('test', null, testOptions); + document.removeEventListener('test', null, testOptions); + } catch (e) { + // ignore + } + return passive; + } + }, { + key: 'eventListenerOptions', + value: function eventListenerOptions() { + var options = this.props.useCapture; + + if (this.isPassiveSupported()) { + options = { + useCapture: this.props.useCapture, + passive: true + }; + } + return options; + } + + // Set a defaut loader for all your `InfiniteScroll` components + + }, { + key: 'setDefaultLoader', + value: function setDefaultLoader(loader) { + this.defaultLoader = loader; + } + }, { + key: 'detachMousewheelListener', + value: function detachMousewheelListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.scrollComponent.parentNode; + } + + scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'detachScrollListener', + value: function detachScrollListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.getParentElement(this.scrollComponent); + } + + scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'getParentElement', + value: function getParentElement(el) { + var scrollParent = this.props.getScrollParent && this.props.getScrollParent(); + if (scrollParent != null) { + return scrollParent; + } + return el && el.parentNode; + } + }, { + key: 'filterProps', + value: function filterProps(props) { + return props; + } + }, { + key: 'attachScrollListener', + value: function attachScrollListener() { + var parentElement = this.getParentElement(this.scrollComponent); + + if (!this.props.hasMore || !parentElement) { + return; + } + + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = parentElement; + } + + scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + + if (this.props.initialLoad) { + this.scrollListener(); + } + } + }, { + key: 'mousewheelListener', + value: function mousewheelListener(e) { + // Prevents Chrome hangups + // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257 + if (e.deltaY === 1 && !this.isPassiveSupported()) { + e.preventDefault(); + } + } + }, { + key: 'scrollListener', + value: function scrollListener() { + var el = this.scrollComponent; + var scrollEl = window; + var parentNode = this.getParentElement(el); + + var offset = void 0; + if (this.props.useWindow) { + var doc = document.documentElement || document.body.parentNode || document.body; + var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop; + if (this.props.isReverse) { + offset = scrollTop; + } else { + offset = this.calculateOffset(el, scrollTop); + } + } else if (this.props.isReverse) { + offset = parentNode.scrollTop; + } else { + offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight; + } + + // Here we make sure the element is visible as well as checking the offset + if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) { + this.detachScrollListener(); + this.beforeScrollHeight = parentNode.scrollHeight; + this.beforeScrollTop = parentNode.scrollTop; + // Call loadMore after detachScrollListener to allow for non-async loadMore functions + if (typeof this.props.loadMore === 'function') { + this.props.loadMore(this.pageLoaded += 1); + this.loadMore = true; + } + } + } + }, { + key: 'calculateOffset', + value: function calculateOffset(el, scrollTop) { + if (!el) { + return 0; + } + + return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight); + } + }, { + key: 'calculateTopPosition', + value: function calculateTopPosition(el) { + if (!el) { + return 0; + } + return el.offsetTop + this.calculateTopPosition(el.offsetParent); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var renderProps = this.filterProps(this.props); + + var children = renderProps.children, + element = renderProps.element, + hasMore = renderProps.hasMore, + initialLoad = renderProps.initialLoad, + isReverse = renderProps.isReverse, + loader = renderProps.loader, + loadMore = renderProps.loadMore, + pageStart = renderProps.pageStart, + ref = renderProps.ref, + threshold = renderProps.threshold, + useCapture = renderProps.useCapture, + useWindow = renderProps.useWindow, + getScrollParent = renderProps.getScrollParent, + props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']); + + props.ref = function (node) { + _this2.scrollComponent = node; + if (ref) { + ref(node); + } + }; + + var childrenArray = [children]; + if (hasMore) { + if (loader) { + isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader); + } else if (this.defaultLoader) { + isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader); + } + } + return _react2.default.createElement(element, props, childrenArray); + } + }]); + + return InfiniteScroll; +}(_react.Component); + +InfiniteScroll.propTypes = { + children: _propTypes2.default.node.isRequired, + element: _propTypes2.default.node, + hasMore: _propTypes2.default.bool, + initialLoad: _propTypes2.default.bool, + isReverse: _propTypes2.default.bool, + loader: _propTypes2.default.node, + loadMore: _propTypes2.default.func.isRequired, + pageStart: _propTypes2.default.number, + ref: _propTypes2.default.func, + getScrollParent: _propTypes2.default.func, + threshold: _propTypes2.default.number, + useCapture: _propTypes2.default.bool, + useWindow: _propTypes2.default.bool +}; +InfiniteScroll.defaultProps = { + element: 'div', + hasMore: false, + initialLoad: true, + pageStart: 0, + ref: null, + threshold: 250, + useWindow: true, + isReverse: false, + useCapture: false, + loader: null, + getScrollParent: null +}; +exports["default"] = InfiniteScroll; +module.exports = exports['default']; + + +/***/ }), + +/***/ 246: +/*!*******************************************************!*\ + !*** ./node_modules/react-infinite-scroller/index.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 57761) + + +/***/ }) + +}]); \ No newline at end of file diff --git a/23281.async.js b/23281.async.js new file mode 100644 index 0000000000..3d623027a2 --- /dev/null +++ b/23281.async.js @@ -0,0 +1,1485 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[23281,91708,8852,53898,53764,4751,84551],{ + +/***/ 43387: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ AntdIcon; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@ant-design/colors/es/index.js + 1 modules +var es = __webpack_require__(16397); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js + +var IconContext = /*#__PURE__*/(0,react.createContext)({}); +/* harmony default export */ var Context = (IconContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/warning.js +/* eslint-disable no-console */ +var warned = {}; +var preWarningFns = []; + +/** + * Pre warning enable you to parse content before console.error. + * Modify to null will prevent warning. + */ +var preMessage = function preMessage(fn) { + preWarningFns.push(fn); +}; +function warning(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function note(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function resetWarned() { + warned = {}; +} +function call(method, valid, message) { + if (!valid && !warned[message]) { + method(false, message); + warned[message] = true; + } +} +function warningOnce(valid, message) { + call(warning, valid, message); +} +function noteOnce(valid, message) { + call(note, valid, message); +} +warningOnce.preMessage = preMessage; +warningOnce.resetWarned = resetWarned; +warningOnce.noteOnce = noteOnce; +/* harmony default export */ var es_warning = (warningOnce); +/* eslint-enable */ +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/contains.js +function contains(root, n) { + if (!root) { + return false; + } + + // Use native if support + if (root.contains) { + return root.contains(n); + } + + // `document.contains` not support with IE11 + var node = n; + while (node) { + if (node === root) { + return true; + } + node = node.parentNode; + } + return false; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/dynamicCSS.js + + +var APPEND_ORDER = 'data-rc-order'; +var MARK_KEY = "rc-util-key"; +var containerCache = new Map(); +function getMark() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + mark = _ref.mark; + if (mark) { + return mark.startsWith('data-') ? mark : "data-".concat(mark); + } + return MARK_KEY; +} +function getContainer(option) { + if (option.attachTo) { + return option.attachTo; + } + var head = document.querySelector('head'); + return head || document.body; +} +function getOrder(prepend) { + if (prepend === 'queue') { + return 'prependQueue'; + } + return prepend ? 'prepend' : 'append'; +} + +/** + * Find style which inject by rc-util + */ +function findStyles(container) { + return Array.from((containerCache.get(container) || container).children).filter(function (node) { + return node.tagName === 'STYLE'; + }); +} +function injectCSS(css) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + if (!canUseDom()) { + return null; + } + var csp = option.csp, + prepend = option.prepend; + var styleNode = document.createElement('style'); + styleNode.setAttribute(APPEND_ORDER, getOrder(prepend)); + if (csp !== null && csp !== void 0 && csp.nonce) { + styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce; + } + styleNode.innerHTML = css; + var container = getContainer(option); + var firstChild = container.firstChild; + if (prepend) { + // If is queue `prepend`, it will prepend first style and then append rest style + if (prepend === 'queue') { + var existStyle = findStyles(container).filter(function (node) { + return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER)); + }); + if (existStyle.length) { + container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling); + return styleNode; + } + } + + // Use `insertBefore` as `prepend` + container.insertBefore(styleNode, firstChild); + } else { + container.appendChild(styleNode); + } + return styleNode; +} +function findExistNode(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var container = getContainer(option); + return findStyles(container).find(function (node) { + return node.getAttribute(getMark(option)) === key; + }); +} +function removeCSS(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var existNode = findExistNode(key, option); + if (existNode) { + var container = getContainer(option); + container.removeChild(existNode); + } +} + +/** + * qiankun will inject `appendChild` to insert into other + */ +function syncRealContainer(container, option) { + var cachedRealContainer = containerCache.get(container); + + // Find real container when not cached or cached container removed + if (!cachedRealContainer || !contains(document, cachedRealContainer)) { + var placeholderStyle = injectCSS('', option); + var parentNode = placeholderStyle.parentNode; + containerCache.set(container, parentNode); + container.removeChild(placeholderStyle); + } +} + +/** + * manually clear container cache to avoid global cache in unit testes + */ +function clearContainerCache() { + containerCache.clear(); +} +function updateCSS(css, key) { + var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var container = getContainer(option); + + // Sync real parent + syncRealContainer(container, option); + var existNode = findExistNode(key, option); + if (existNode) { + var _option$csp, _option$csp2; + if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) { + var _option$csp3; + existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce; + } + if (existNode.innerHTML !== css) { + existNode.innerHTML = css; + } + return existNode; + } + var newNode = injectCSS(css, option); + newNode.setAttribute(getMark(option), key); + return newNode; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/shadow.js +function getRoot(ele) { + var _ele$getRootNode; + return ele === null || ele === void 0 ? void 0 : (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele); +} + +/** + * Check if is in shadowRoot + */ +function inShadow(ele) { + return getRoot(ele) !== (ele === null || ele === void 0 ? void 0 : ele.ownerDocument); +} + +/** + * Return shadowRoot if possible + */ +function getShadowRoot(ele) { + return inShadow(ele) ? getRoot(ele) : null; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js + + + + + + + + +function utils_warning(valid, message) { + es_warning(valid, "[@ant-design/icons] ".concat(message)); +} +function isIconDefinition(target) { + return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); +} +function normalizeAttrs() { + var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return Object.keys(attrs).reduce(function (acc, key) { + var val = attrs[key]; + switch (key) { + case 'class': + acc.className = val; + delete acc.class; + break; + default: + acc[key] = val; + } + return acc; + }, {}); +} +function generate(node, key, rootProps) { + if (!rootProps) { + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); + } + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); +} +function getSecondaryColor(primaryColor) { + // choose the second color + return (0,es.generate)(primaryColor)[0]; +} +function normalizeTwoToneColors(twoToneColor) { + if (!twoToneColor) { + return []; + } + return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; +} + +// These props make sure that the SVG behaviours like general text. +// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 +var svgBaseProps = { + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true', + focusable: 'false' +}; +var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; +var useInsertStyles = function useInsertStyles(eleRef) { + var _useContext = (0,react.useContext)(Context), + csp = _useContext.csp, + prefixCls = _useContext.prefixCls; + var mergedStyleStr = iconStyles; + if (prefixCls) { + mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); + } + (0,react.useEffect)(function () { + var ele = eleRef.current; + var shadowRoot = getShadowRoot(ele); + updateCSS(mergedStyleStr, '@ant-design-icons', { + prepend: true, + csp: csp, + attachTo: shadowRoot + }); + }, []); +}; +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js + + +var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; + + +var twoToneColorPalette = { + primaryColor: '#333', + secondaryColor: '#E6E6E6', + calculated: false +}; +function setTwoToneColors(_ref) { + var primaryColor = _ref.primaryColor, + secondaryColor = _ref.secondaryColor; + twoToneColorPalette.primaryColor = primaryColor; + twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); + twoToneColorPalette.calculated = !!secondaryColor; +} +function getTwoToneColors() { + return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); +} +var IconBase = function IconBase(props) { + var icon = props.icon, + className = props.className, + onClick = props.onClick, + style = props.style, + primaryColor = props.primaryColor, + secondaryColor = props.secondaryColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var svgRef = react.useRef(); + var colors = twoToneColorPalette; + if (primaryColor) { + colors = { + primaryColor: primaryColor, + secondaryColor: secondaryColor || getSecondaryColor(primaryColor) + }; + } + useInsertStyles(svgRef); + utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); + if (!isIconDefinition(icon)) { + return null; + } + var target = icon; + if (target && typeof target.icon === 'function') { + target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { + icon: target.icon(colors.primaryColor, colors.secondaryColor) + }); + } + return generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + className: className, + onClick: onClick, + style: style, + 'data-icon': target.name, + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true' + }, restProps), {}, { + ref: svgRef + })); +}; +IconBase.displayName = 'IconReact'; +IconBase.getTwoToneColors = getTwoToneColors; +IconBase.setTwoToneColors = setTwoToneColors; +/* harmony default export */ var components_IconBase = (IconBase); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js + + + +function setTwoToneColor(twoToneColor) { + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return components_IconBase.setTwoToneColors({ + primaryColor: primaryColor, + secondaryColor: secondaryColor + }); +} +function getTwoToneColor() { + var colors = components_IconBase.getTwoToneColors(); + if (!colors.calculated) { + return colors.primaryColor; + } + return [colors.primaryColor, colors.secondaryColor]; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + + + + +var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; + + + + + + + +// Initial setting +// should move it to antd main repo? +setTwoToneColor(es.blue.primary); + +// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757#issuecomment-488848720 + +var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var className = props.className, + icon = props.icon, + spin = props.spin, + rotate = props.rotate, + tabIndex = props.tabIndex, + onClick = props.onClick, + twoToneColor = props.twoToneColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); + var _React$useContext = react.useContext(Context), + _React$useContext$pre = _React$useContext.prefixCls, + prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, + rootClassName = _React$useContext.rootClassName; + var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); + var iconTabIndex = tabIndex; + if (iconTabIndex === undefined && onClick) { + iconTabIndex = -1; + } + var svgStyle = rotate ? { + msTransform: "rotate(".concat(rotate, "deg)"), + transform: "rotate(".concat(rotate, "deg)") + } : undefined; + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + role: "img", + "aria-label": icon.name + }, restProps, { + ref: ref, + tabIndex: iconTabIndex, + onClick: onClick, + className: classString + }), /*#__PURE__*/react.createElement(components_IconBase, { + icon: icon, + primaryColor: primaryColor, + secondaryColor: secondaryColor, + style: svgStyle + })); +}); +Icon.displayName = 'AntdIcon'; +Icon.getTwoToneColor = getTwoToneColor; +Icon.setTwoToneColor = setTwoToneColor; +/* harmony default export */ var AntdIcon = (Icon); + +/***/ }), + +/***/ 18429: +/*!************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js + 1 modules ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.js +// This icon file is generated automatically. +var CloseCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z" } }, { "tag": "path", "attrs": { "d": "M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, "name": "close-circle", "theme": "outlined" }; +/* harmony default export */ var asn_CloseCircleOutlined = (CloseCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseCircleOutlined_CloseCircleOutlined = function CloseCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseCircleOutlined = (/*#__PURE__*/react.forwardRef(CloseCircleOutlined_CloseCircleOutlined)); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 55054: +/*!*************************************************************!*\ + !*** ./node_modules/antd/es/statistic/index.js + 5 modules ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_statistic; } +}); + +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useForceUpdate.js +var useForceUpdate = __webpack_require__(57838); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules +var skeleton = __webpack_require__(4310); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Number.js + +const StatisticNumber = props => { + const { + value, + formatter, + precision, + decimalSeparator, + groupSeparator = '', + prefixCls + } = props; + let valueNode; + if (typeof formatter === 'function') { + // Customize formatter + valueNode = formatter(value); + } else { + // Internal formatter + const val = String(value); + const cells = val.match(/^(-?)(\d*)(\.(\d+))?$/); + // Process if illegal number + if (!cells || val === '-') { + valueNode = val; + } else { + const negative = cells[1]; + let int = cells[2] || '0'; + let decimal = cells[4] || ''; + int = int.replace(/\B(?=(\d{3})+(?!\d))/g, groupSeparator); + if (typeof precision === 'number') { + decimal = decimal.padEnd(precision, '0').slice(0, precision > 0 ? precision : 0); + } + if (decimal) { + decimal = `${decimalSeparator}${decimal}`; + } + valueNode = [/*#__PURE__*/react.createElement("span", { + key: "int", + className: `${prefixCls}-content-value-int` + }, negative, int), decimal && /*#__PURE__*/react.createElement("span", { + key: "decimal", + className: `${prefixCls}-content-value-decimal` + }, decimal)]; + } + } + return /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-value` + }, valueNode); +}; +/* harmony default export */ var statistic_Number = (StatisticNumber); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/style/index.js + + +const genStatisticStyle = token => { + const { + componentCls, + marginXXS, + padding, + colorTextDescription, + titleFontSize, + colorTextHeading, + contentFontSize, + fontFamily + } = token; + return { + [`${componentCls}`]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + [`${componentCls}-title`]: { + marginBottom: marginXXS, + color: colorTextDescription, + fontSize: titleFontSize + }, + [`${componentCls}-skeleton`]: { + paddingTop: padding + }, + [`${componentCls}-content`]: { + color: colorTextHeading, + fontSize: contentFontSize, + fontFamily, + [`${componentCls}-content-value`]: { + display: 'inline-block', + direction: 'ltr' + }, + [`${componentCls}-content-prefix, ${componentCls}-content-suffix`]: { + display: 'inline-block' + }, + [`${componentCls}-content-prefix`]: { + marginInlineEnd: marginXXS + }, + [`${componentCls}-content-suffix`]: { + marginInlineStart: marginXXS + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var statistic_style = ((0,genComponentStyleHook/* default */.Z)('Statistic', token => { + const statisticToken = (0,statistic/* merge */.TS)(token, {}); + return [genStatisticStyle(statisticToken)]; +}, token => { + const { + fontSizeHeading3, + fontSize + } = token; + return { + titleFontSize: fontSize, + contentFontSize: fontSizeHeading3 + }; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Statistic.js + + + + + + +const Statistic = props => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + valueStyle, + value = 0, + title, + valueRender, + prefix, + suffix, + loading = false, + onMouseEnter, + onMouseLeave, + decimalSeparator = '.', + groupSeparator = ',' + } = props; + const { + getPrefixCls, + direction, + statistic + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('statistic', customizePrefixCls); + const [wrapSSR, hashId] = statistic_style(prefixCls); + const valueNode = /*#__PURE__*/react.createElement(statistic_Number, Object.assign({ + decimalSeparator: decimalSeparator, + groupSeparator: groupSeparator, + prefixCls: prefixCls + }, props, { + value: value + })); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl' + }, statistic === null || statistic === void 0 ? void 0 : statistic.className, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", { + className: cls, + style: Object.assign(Object.assign({}, statistic === null || statistic === void 0 ? void 0 : statistic.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-title` + }, title), /*#__PURE__*/react.createElement(skeleton/* default */.Z, { + paragraph: false, + loading: loading, + className: `${prefixCls}-skeleton` + }, /*#__PURE__*/react.createElement("div", { + style: valueStyle, + className: `${prefixCls}-content` + }, prefix && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-prefix` + }, prefix), valueRender ? valueRender(valueNode) : valueNode, suffix && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-suffix` + }, suffix))))); +}; +if (false) {} +/* harmony default export */ var statistic_Statistic = (Statistic); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/utils.js +// Countdown +const timeUnits = [['Y', 1000 * 60 * 60 * 24 * 365], ['M', 1000 * 60 * 60 * 24 * 30], ['D', 1000 * 60 * 60 * 24], ['H', 1000 * 60 * 60], ['m', 1000 * 60], ['s', 1000], ['S', 1] // million seconds +]; + +function formatTimeStr(duration, format) { + let leftDuration = duration; + const escapeRegex = /\[[^\]]*]/g; + const keepList = (format.match(escapeRegex) || []).map(str => str.slice(1, -1)); + const templateText = format.replace(escapeRegex, '[]'); + const replacedText = timeUnits.reduce((current, _ref) => { + let [name, unit] = _ref; + if (current.includes(name)) { + const value = Math.floor(leftDuration / unit); + leftDuration -= value * unit; + return current.replace(new RegExp(`${name}+`, 'g'), match => { + const len = match.length; + return value.toString().padStart(len, '0'); + }); + } + return current; + }, templateText); + let index = 0; + return replacedText.replace(escapeRegex, () => { + const match = keepList[index]; + index += 1; + return match; + }); +} +function formatCountdown(value, config) { + const { + format = '' + } = config; + const target = new Date(value).getTime(); + const current = Date.now(); + const diff = Math.max(target - current, 0); + return formatTimeStr(diff, format); +} +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Countdown.js + + + + + +const REFRESH_INTERVAL = 1000 / 30; +function getTime(value) { + return new Date(value).getTime(); +} +const Countdown = props => { + const { + value, + format = 'HH:mm:ss', + onChange, + onFinish + } = props; + const forceUpdate = (0,useForceUpdate/* default */.Z)(); + const countdown = react.useRef(null); + const stopTimer = () => { + onFinish === null || onFinish === void 0 ? void 0 : onFinish(); + if (countdown.current) { + clearInterval(countdown.current); + countdown.current = null; + } + }; + const syncTimer = () => { + const timestamp = getTime(value); + if (timestamp >= Date.now()) { + countdown.current = setInterval(() => { + forceUpdate(); + onChange === null || onChange === void 0 ? void 0 : onChange(timestamp - Date.now()); + if (timestamp < Date.now()) { + stopTimer(); + } + }, REFRESH_INTERVAL); + } + }; + react.useEffect(() => { + syncTimer(); + return () => { + if (countdown.current) { + clearInterval(countdown.current); + countdown.current = null; + } + }; + }, [value]); + const formatter = (formatValue, config) => formatCountdown(formatValue, Object.assign(Object.assign({}, config), { + format + })); + const valueRender = node => (0,reactNode/* cloneElement */.Tm)(node, { + title: undefined + }); + return /*#__PURE__*/react.createElement(statistic_Statistic, Object.assign({}, props, { + valueRender: valueRender, + formatter: formatter + })); +}; +/* harmony default export */ var statistic_Countdown = (/*#__PURE__*/react.memo(Countdown)); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/index.js +'use client'; + + + +statistic_Statistic.Countdown = statistic_Countdown; +/* harmony default export */ var es_statistic = (statistic_Statistic); + +/***/ }), + +/***/ 64217: +/*!**********************************************!*\ + !*** ./node_modules/rc-util/es/pickAttrs.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/2441.async.js b/2441.async.js index 88c6eeba05..f51622d8cc 100644 --- a/2441.async.js +++ b/2441.async.js @@ -564,8 +564,8 @@ var classnames = __webpack_require__(94184); var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: ./node_modules/react/index.js var react = __webpack_require__(67294); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules -var EllipsisOutlined = __webpack_require__(89705); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); // EXTERNAL MODULE: ./node_modules/antd/es/button/index.js var es_button = __webpack_require__(71577); // EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js diff --git a/2487.async.js b/2487.async.js index aae65795db..34743393d1 100644 --- a/2487.async.js +++ b/2487.async.js @@ -32,8 +32,8 @@ var defaultRenderEmpty = __webpack_require__(88258); var row = __webpack_require__(92820); // EXTERNAL MODULE: ./node_modules/antd/es/grid/hooks/useBreakpoint.js var useBreakpoint = __webpack_require__(25378); -// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 11 modules -var es_pagination = __webpack_require__(83338); +// EXTERNAL MODULE: ./node_modules/antd/es/pagination/index.js + 13 modules +var es_pagination = __webpack_require__(34435); // EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js + 1 modules var spin = __webpack_require__(57953); // EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js diff --git a/25371.async.js b/25371.async.js new file mode 100644 index 0000000000..c0e80eb475 --- /dev/null +++ b/25371.async.js @@ -0,0 +1,1130 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[25371],{ + +/***/ 43387: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ AntdIcon; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@ant-design/colors/es/index.js + 1 modules +var es = __webpack_require__(16397); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js + +var IconContext = /*#__PURE__*/(0,react.createContext)({}); +/* harmony default export */ var Context = (IconContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/warning.js +/* eslint-disable no-console */ +var warned = {}; +var preWarningFns = []; + +/** + * Pre warning enable you to parse content before console.error. + * Modify to null will prevent warning. + */ +var preMessage = function preMessage(fn) { + preWarningFns.push(fn); +}; +function warning(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function note(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function resetWarned() { + warned = {}; +} +function call(method, valid, message) { + if (!valid && !warned[message]) { + method(false, message); + warned[message] = true; + } +} +function warningOnce(valid, message) { + call(warning, valid, message); +} +function noteOnce(valid, message) { + call(note, valid, message); +} +warningOnce.preMessage = preMessage; +warningOnce.resetWarned = resetWarned; +warningOnce.noteOnce = noteOnce; +/* harmony default export */ var es_warning = (warningOnce); +/* eslint-enable */ +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/contains.js +function contains(root, n) { + if (!root) { + return false; + } + + // Use native if support + if (root.contains) { + return root.contains(n); + } + + // `document.contains` not support with IE11 + var node = n; + while (node) { + if (node === root) { + return true; + } + node = node.parentNode; + } + return false; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/dynamicCSS.js + + +var APPEND_ORDER = 'data-rc-order'; +var MARK_KEY = "rc-util-key"; +var containerCache = new Map(); +function getMark() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + mark = _ref.mark; + if (mark) { + return mark.startsWith('data-') ? mark : "data-".concat(mark); + } + return MARK_KEY; +} +function getContainer(option) { + if (option.attachTo) { + return option.attachTo; + } + var head = document.querySelector('head'); + return head || document.body; +} +function getOrder(prepend) { + if (prepend === 'queue') { + return 'prependQueue'; + } + return prepend ? 'prepend' : 'append'; +} + +/** + * Find style which inject by rc-util + */ +function findStyles(container) { + return Array.from((containerCache.get(container) || container).children).filter(function (node) { + return node.tagName === 'STYLE'; + }); +} +function injectCSS(css) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + if (!canUseDom()) { + return null; + } + var csp = option.csp, + prepend = option.prepend; + var styleNode = document.createElement('style'); + styleNode.setAttribute(APPEND_ORDER, getOrder(prepend)); + if (csp !== null && csp !== void 0 && csp.nonce) { + styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce; + } + styleNode.innerHTML = css; + var container = getContainer(option); + var firstChild = container.firstChild; + if (prepend) { + // If is queue `prepend`, it will prepend first style and then append rest style + if (prepend === 'queue') { + var existStyle = findStyles(container).filter(function (node) { + return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER)); + }); + if (existStyle.length) { + container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling); + return styleNode; + } + } + + // Use `insertBefore` as `prepend` + container.insertBefore(styleNode, firstChild); + } else { + container.appendChild(styleNode); + } + return styleNode; +} +function findExistNode(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var container = getContainer(option); + return findStyles(container).find(function (node) { + return node.getAttribute(getMark(option)) === key; + }); +} +function removeCSS(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var existNode = findExistNode(key, option); + if (existNode) { + var container = getContainer(option); + container.removeChild(existNode); + } +} + +/** + * qiankun will inject `appendChild` to insert into other + */ +function syncRealContainer(container, option) { + var cachedRealContainer = containerCache.get(container); + + // Find real container when not cached or cached container removed + if (!cachedRealContainer || !contains(document, cachedRealContainer)) { + var placeholderStyle = injectCSS('', option); + var parentNode = placeholderStyle.parentNode; + containerCache.set(container, parentNode); + container.removeChild(placeholderStyle); + } +} + +/** + * manually clear container cache to avoid global cache in unit testes + */ +function clearContainerCache() { + containerCache.clear(); +} +function updateCSS(css, key) { + var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var container = getContainer(option); + + // Sync real parent + syncRealContainer(container, option); + var existNode = findExistNode(key, option); + if (existNode) { + var _option$csp, _option$csp2; + if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) { + var _option$csp3; + existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce; + } + if (existNode.innerHTML !== css) { + existNode.innerHTML = css; + } + return existNode; + } + var newNode = injectCSS(css, option); + newNode.setAttribute(getMark(option), key); + return newNode; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/shadow.js +function getRoot(ele) { + var _ele$getRootNode; + return ele === null || ele === void 0 ? void 0 : (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele); +} + +/** + * Check if is in shadowRoot + */ +function inShadow(ele) { + return getRoot(ele) !== (ele === null || ele === void 0 ? void 0 : ele.ownerDocument); +} + +/** + * Return shadowRoot if possible + */ +function getShadowRoot(ele) { + return inShadow(ele) ? getRoot(ele) : null; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js + + + + + + + + +function utils_warning(valid, message) { + es_warning(valid, "[@ant-design/icons] ".concat(message)); +} +function isIconDefinition(target) { + return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); +} +function normalizeAttrs() { + var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return Object.keys(attrs).reduce(function (acc, key) { + var val = attrs[key]; + switch (key) { + case 'class': + acc.className = val; + delete acc.class; + break; + default: + acc[key] = val; + } + return acc; + }, {}); +} +function generate(node, key, rootProps) { + if (!rootProps) { + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); + } + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); +} +function getSecondaryColor(primaryColor) { + // choose the second color + return (0,es.generate)(primaryColor)[0]; +} +function normalizeTwoToneColors(twoToneColor) { + if (!twoToneColor) { + return []; + } + return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; +} + +// These props make sure that the SVG behaviours like general text. +// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 +var svgBaseProps = { + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true', + focusable: 'false' +}; +var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; +var useInsertStyles = function useInsertStyles(eleRef) { + var _useContext = (0,react.useContext)(Context), + csp = _useContext.csp, + prefixCls = _useContext.prefixCls; + var mergedStyleStr = iconStyles; + if (prefixCls) { + mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); + } + (0,react.useEffect)(function () { + var ele = eleRef.current; + var shadowRoot = getShadowRoot(ele); + updateCSS(mergedStyleStr, '@ant-design-icons', { + prepend: true, + csp: csp, + attachTo: shadowRoot + }); + }, []); +}; +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js + + +var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; + + +var twoToneColorPalette = { + primaryColor: '#333', + secondaryColor: '#E6E6E6', + calculated: false +}; +function setTwoToneColors(_ref) { + var primaryColor = _ref.primaryColor, + secondaryColor = _ref.secondaryColor; + twoToneColorPalette.primaryColor = primaryColor; + twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); + twoToneColorPalette.calculated = !!secondaryColor; +} +function getTwoToneColors() { + return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); +} +var IconBase = function IconBase(props) { + var icon = props.icon, + className = props.className, + onClick = props.onClick, + style = props.style, + primaryColor = props.primaryColor, + secondaryColor = props.secondaryColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var svgRef = react.useRef(); + var colors = twoToneColorPalette; + if (primaryColor) { + colors = { + primaryColor: primaryColor, + secondaryColor: secondaryColor || getSecondaryColor(primaryColor) + }; + } + useInsertStyles(svgRef); + utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); + if (!isIconDefinition(icon)) { + return null; + } + var target = icon; + if (target && typeof target.icon === 'function') { + target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { + icon: target.icon(colors.primaryColor, colors.secondaryColor) + }); + } + return generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + className: className, + onClick: onClick, + style: style, + 'data-icon': target.name, + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true' + }, restProps), {}, { + ref: svgRef + })); +}; +IconBase.displayName = 'IconReact'; +IconBase.getTwoToneColors = getTwoToneColors; +IconBase.setTwoToneColors = setTwoToneColors; +/* harmony default export */ var components_IconBase = (IconBase); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js + + + +function setTwoToneColor(twoToneColor) { + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return components_IconBase.setTwoToneColors({ + primaryColor: primaryColor, + secondaryColor: secondaryColor + }); +} +function getTwoToneColor() { + var colors = components_IconBase.getTwoToneColors(); + if (!colors.calculated) { + return colors.primaryColor; + } + return [colors.primaryColor, colors.secondaryColor]; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + + + + +var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; + + + + + + + +// Initial setting +// should move it to antd main repo? +setTwoToneColor(es.blue.primary); + +// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757#issuecomment-488848720 + +var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var className = props.className, + icon = props.icon, + spin = props.spin, + rotate = props.rotate, + tabIndex = props.tabIndex, + onClick = props.onClick, + twoToneColor = props.twoToneColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); + var _React$useContext = react.useContext(Context), + _React$useContext$pre = _React$useContext.prefixCls, + prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, + rootClassName = _React$useContext.rootClassName; + var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); + var iconTabIndex = tabIndex; + if (iconTabIndex === undefined && onClick) { + iconTabIndex = -1; + } + var svgStyle = rotate ? { + msTransform: "rotate(".concat(rotate, "deg)"), + transform: "rotate(".concat(rotate, "deg)") + } : undefined; + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + role: "img", + "aria-label": icon.name + }, restProps, { + ref: ref, + tabIndex: iconTabIndex, + onClick: onClick, + className: classString + }), /*#__PURE__*/react.createElement(components_IconBase, { + icon: icon, + primaryColor: primaryColor, + secondaryColor: secondaryColor, + style: svgStyle + })); +}); +Icon.displayName = 'AntdIcon'; +Icon.getTwoToneColor = getTwoToneColor; +Icon.setTwoToneColor = setTwoToneColor; +/* harmony default export */ var AntdIcon = (Icon); + +/***/ }), + +/***/ 4340: +/*!**********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseCircleFilled; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +// This icon file is generated automatically. +var CloseCircleFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" } }] }, "name": "close-circle", "theme": "filled" }; +/* harmony default export */ var asn_CloseCircleFilled = (CloseCircleFilled); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseCircleFilled_CloseCircleFilled = function CloseCircleFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseCircleFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseCircleFilled = (/*#__PURE__*/react.forwardRef(CloseCircleFilled_CloseCircleFilled)); + +/***/ }), + +/***/ 6171: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_LeftOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +// This icon file is generated automatically. +var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" }; +/* harmony default export */ var asn_LeftOutlined = (LeftOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/LeftOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var LeftOutlined_LeftOutlined = function LeftOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_LeftOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_LeftOutlined = (/*#__PURE__*/react.forwardRef(LeftOutlined_LeftOutlined)); + +/***/ }), + +/***/ 88484: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_UploadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.js +// This icon file is generated automatically. +var UploadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "upload", "theme": "outlined" }; +/* harmony default export */ var asn_UploadOutlined = (UploadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/UploadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var UploadOutlined_UploadOutlined = function UploadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_UploadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_UploadOutlined = (/*#__PURE__*/react.forwardRef(UploadOutlined_UploadOutlined)); + +/***/ }), + +/***/ 57838: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/_util/hooks/useForceUpdate.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ useForceUpdate; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +function useForceUpdate() { + const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0); + return forceUpdate; +} + +/***/ }), + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 33507: +/*!*******************************************************!*\ + !*** ./node_modules/antd/es/style/motion/collapse.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +const genCollapseMotion = token => ({ + [token.componentCls]: { + // For common/openAnimation + [`${token.antCls}-motion-collapse-legacy`]: { + overflow: 'hidden', + '&-active': { + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + }, + [`${token.antCls}-motion-collapse`]: { + overflow: 'hidden', + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + } +}); +/* harmony default export */ __webpack_exports__["Z"] = (genCollapseMotion); + +/***/ }), + +/***/ 60068: +/*!************************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckOutlined.js + 1 modules ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CheckOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js +// This icon file is generated automatically. +var CheckOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, "name": "check", "theme": "outlined" }; +/* harmony default export */ var asn_CheckOutlined = (CheckOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CheckOutlined_CheckOutlined = function CheckOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CheckOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CheckOutlined = (/*#__PURE__*/react.forwardRef(CheckOutlined_CheckOutlined)); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }) + +}]); \ No newline at end of file diff --git a/25771.async.js b/25771.async.js new file mode 100644 index 0000000000..00ff2e75bc --- /dev/null +++ b/25771.async.js @@ -0,0 +1,1576 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[25771,4977],{ + +/***/ 17543: +/*!********************************************************!*\ + !*** ./src/components/CutOffNow/index.tsx + 1 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ CutOffNow; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(17061); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(17156); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 19 modules +var es_form = __webpack_require__(79407); +// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules +var message = __webpack_require__(2453); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules +var modal = __webpack_require__(72423); +// EXTERNAL MODULE: ./node_modules/antd/es/date-picker/index.js + 79 modules +var date_picker = __webpack_require__(41751); +// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules +var input = __webpack_require__(11486); +// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 94 modules +var table = __webpack_require__(20812); +// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js +var row = __webpack_require__(71230); +// EXTERNAL MODULE: ./node_modules/antd/es/col/index.js +var col = __webpack_require__(15746); +// EXTERNAL MODULE: ./node_modules/@umijs/plugins/node_modules/dayjs/dayjs.min.js +var dayjs_min = __webpack_require__(94699); +var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min); +// EXTERNAL MODULE: ./src/utils/util.tsx +var util = __webpack_require__(29427); +// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules +var _umi_production_exports = __webpack_require__(89214); +;// CONCATENATED MODULE: ./src/components/CutOffNow/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var CutOffNowmodules = ({"tips":"tips___e8J4O","homeworkType":"homeworkType___ZjN2X","antdTable":"antdTable___amDdp","modalWrapper":"modalWrapper___XPojI"}); +// EXTERNAL MODULE: ./src/service/classrooms.ts +var classrooms = __webpack_require__(73290); +// EXTERNAL MODULE: ./src/pages/Classrooms/Lists/ShixunHomeworks/Detail/components/ConfigWorks/Releasesetting.tsx +var Releasesetting = __webpack_require__(38448); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/CutOffNow/index.tsx + + + + + + + + + + + + + + +var CuttOffNow = function CuttOffNow(_ref) { + var dispatch = _ref.dispatch, + courseEndTime = _ref.courseEndTime, + classroomList = _ref.classroomList, + _ref$successCallback = _ref.successCallback, + successCallback = _ref$successCallback === void 0 ? function () {} : _ref$successCallback, + visible = _ref.visible, + homeworkIds = _ref.homeworkIds, + courseId = _ref.courseId, + isBatch = _ref.isBatch, + shixunHomeworks = _ref.shixunHomeworks; + var _Form$useForm = es_form/* default.useForm */.Z.useForm(), + _Form$useForm2 = slicedToArray_default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var _useState = (0,react.useState)(false), + _useState2 = slicedToArray_default()(_useState, 2), + tableLoading = _useState2[0], + setTableLoading = _useState2[1]; + var _useState3 = (0,react.useState)(false), + _useState4 = slicedToArray_default()(_useState3, 2), + confirmLoading = _useState4[0], + setConfirmLoading = _useState4[1]; + var _useState5 = (0,react.useState)(false), + _useState6 = slicedToArray_default()(_useState5, 2), + noGroup = _useState6[0], + setNoGroup = _useState6[1]; + //作业截止 + var _useState7 = (0,react.useState)([]), + _useState8 = slicedToArray_default()(_useState7, 2), + submitCourseGroups = _useState8[0], + setSubmitCourseGroups = _useState8[1]; + var _useState9 = (0,react.useState)([]), + _useState10 = slicedToArray_default()(_useState9, 2), + submitCourseTableData = _useState10[0], + setSubmitCourseTableData = _useState10[1]; + var _useState11 = (0,react.useState)([]), + _useState12 = slicedToArray_default()(_useState11, 2), + selectedSubmitCourseIds = _useState12[0], + setSelectedSubmitCourseIds = _useState12[1]; + //补交截止 + var _useState13 = (0,react.useState)([]), + _useState14 = slicedToArray_default()(_useState13, 2), + lateCourseGroups = _useState14[0], + setLateCourseGroups = _useState14[1]; + var _useState15 = (0,react.useState)([]), + _useState16 = slicedToArray_default()(_useState15, 2), + lateCourseTableData = _useState16[0], + setLateCourseTableData = _useState16[1]; + var _useState17 = (0,react.useState)([]), + _useState18 = slicedToArray_default()(_useState17, 2), + selectedLateCourseIds = _useState18[0], + setSelectedLateCourseIds = _useState18[1]; + //批量截止 + var _useState19 = (0,react.useState)([]), + _useState20 = slicedToArray_default()(_useState19, 2), + allCourseGroups = _useState20[0], + setAllCourseGroups = _useState20[1]; + var _useState21 = (0,react.useState)([]), + _useState22 = slicedToArray_default()(_useState21, 2), + allCourseTableData = _useState22[0], + setAllCourseTableData = _useState22[1]; + var _useState23 = (0,react.useState)([]), + _useState24 = slicedToArray_default()(_useState23, 2), + selectedAllCourseIds = _useState24[0], + setSelectedAllCourseIds = _useState24[1]; + (0,react.useEffect)(function () { + if (visible) { + getData(); + } else { + clear(); + } + }, [visible]); + var getData = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var res; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + setTableLoading(true); + _context.next = 3; + return (0,classrooms/* getAllowEndGroups */.oR)(homeworkIds[0], { + course_id: courseId + }); + case 3: + res = _context.sent; + setNoGroup(res.no_group); + if (isBatch) { + setAllCourseGroups(res.all_course_groups); + setAllCourseTableData(res.all_course_groups); + } else { + setLateCourseGroups(res.late_course_groups); + setLateCourseTableData(res.late_course_groups); + setSubmitCourseGroups(res.submit_course_groups); + setSubmitCourseTableData(res.submit_course_groups); + } + setTableLoading(false); + form.setFieldsValue({ + 'end_time': dayjs_min_default()() + }); + case 8: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getData() { + return _ref2.apply(this, arguments); + }; + }(); + var handleOk = /*#__PURE__*/function () { + var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var formValue, endTimeString, selectNothing, res; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + formValue = form.getFieldsValue(); + endTimeString = dayjs_min_default()(formValue.end_time).format('YYYY-MM-DD HH:mm'); + selectNothing = isBatch ? selectedAllCourseIds.length === 0 : selectedSubmitCourseIds.length === 0 && selectedLateCourseIds.length === 0; + if (!(selectNothing && !noGroup)) { + _context2.next = 6; + break; + } + message/* default.warning */.ZP.warning('请选择需要操作的班级'); + return _context2.abrupt("return"); + case 6: + setConfirmLoading(true); + _context2.next = 9; + return (0,classrooms/* stopHomework */.Mc)(courseId, { + no_group: noGroup, + homework_ids: homeworkIds, + group_ids: isBatch ? selectedAllCourseIds : selectedSubmitCourseIds, + end_time: endTimeString, + late_group_ids: isBatch ? selectedAllCourseIds : selectedLateCourseIds + }); + case 9: + res = _context2.sent; + setConfirmLoading(false); + if (res.status === 0) { + clear(); + message/* default.success */.ZP.success('操作成功'); + successCallback(); + dispatch({ + type: 'classroomList/setActionTabs', + payload: { + key: '清除选择数据' + } + }); + } + case 12: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + return function handleOk() { + return _ref3.apply(this, arguments); + }; + }(); + var clear = function clear() { + setSelectedSubmitCourseIds([]); + setSelectedLateCourseIds([]); + setSubmitCourseTableData([]); + setLateCourseTableData([]); + }; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { + centered: true, + title: "\u7ACB\u5373\u622A\u6B62", + className: CutOffNowmodules.modalWrapper, + width: isBatch || noGroup ? 520 : 760, + open: visible, + confirmLoading: confirmLoading, + destroyOnClose: true, + okText: "\u622A\u6B62", + cancelText: "\u53D6\u6D88", + onOk: function onOk() { + return handleOk(); + }, + onCancel: function onCancel() { + clear(); + dispatch({ + type: 'classroomList/setActionTabs', + payload: {} + }); + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: CutOffNowmodules.tips, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "1\u3001\u622A\u6B62\u540E\u5B66\u751F\u4E0D\u80FD\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002" + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + children: "2\u3001\u672C\u64CD\u4F5C\u53EA\u5BF9\u201C\u63D0\u4EA4\u4E2D\u201D\u3001\u201C\u8865\u4EA4\u4E2D\u201D\u7684\u4F5C\u4E1A\u6709\u6548\u3002" + })] + }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, { + form: form, + layout: "vertical", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, { + name: "end_time", + label: "\u622A\u6B62\u65F6\u95F4", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker/* default */.Z, { + style: { + width: '100%' + }, + disabledDate: function disabledDate(current) { + return (0,Releasesetting/* disabledDate */.Q8)(current, courseEndTime); + }, + disabledTime: function disabledTime(current) { + return (0,Releasesetting/* disabledTime */.d0)(current); + }, + placeholder: '请选择结束时间', + showTime: { + format: 'HH:mm', + defaultValue: dayjs_min_default()((0,util/* HalfPastOne */.U6)(), 'HH:mm') + }, + format: "YYYY-MM-DD HH:mm", + allowClear: false + }) + }) + }), !noGroup && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, { + children: isBatch ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u641C\u7D22\u73ED\u7EA7" + // suffix={} + , + onChange: function onChange(e) { + setAllCourseTableData(allCourseGroups.filter(function (item) { + return item.name.indexOf(e.target.value) > -1; + })); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + style: { + marginTop: '10px', + height: '300px', + overflow: 'auto' + }, + className: CutOffNowmodules.antdTable, + rowSelection: { + type: 'checkbox', + onChange: function onChange(selectedRowKeys) { + setSelectedAllCourseIds(selectedRowKeys); + } + }, + rowKey: "id", + pagination: false, + dataSource: allCourseTableData, + loading: tableLoading, + columns: [{ + title: '班级', + dataIndex: 'name' + }] + })] + }) : /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + gutter: 24, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + span: 14, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CutOffNowmodules.homeworkType, + children: "\u4F5C\u4E1A\u622A\u6B62" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u641C\u7D22\u73ED\u7EA7" + // suffix={} + , + onChange: function onChange(e) { + setSubmitCourseTableData(submitCourseGroups.filter(function (item) { + return item.name.indexOf(e.target.value) > -1; + })); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CutOffNowmodules.tableWrapper, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + style: { + marginTop: '10px', + height: '260px', + overflow: 'auto' + }, + className: CutOffNowmodules.antdTable, + rowSelection: { + type: 'checkbox', + onChange: function onChange(selectedRowKeys) { + setSelectedSubmitCourseIds(selectedRowKeys); + } + }, + rowKey: "id", + pagination: false, + dataSource: submitCourseTableData, + loading: tableLoading, + columns: [{ + title: '班级', + dataIndex: 'name', + ellipsis: true + }, { + title: '发布时间', + dataIndex: 'publish_time' + }, { + title: '截止时间', + dataIndex: 'end_time' + }] + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, { + flex: 10, + style: { + maxWidth: "280px" + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CutOffNowmodules.homeworkType, + children: "\u8865\u4EA4\u622A\u6B62" + }), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, { + placeholder: "\u641C\u7D22\u73ED\u7EA7", + onChange: function onChange(e) { + setLateCourseTableData(lateCourseGroups.filter(function (item) { + return item.name.indexOf(e.target.value) > -1; + })); + } + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: CutOffNowmodules.tableWrapper, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, { + style: { + marginTop: '10px', + height: '260px', + overflow: 'auto', + maxWidth: "280px" + }, + className: CutOffNowmodules.antdTable, + rowSelection: { + type: 'checkbox', + onChange: function onChange(selectedRowKeys) { + setSelectedLateCourseIds(selectedRowKeys); + } + }, + rowKey: "id", + pagination: false, + loading: tableLoading, + dataSource: lateCourseTableData, + columns: [{ + title: '班级', + dataIndex: 'name', + ellipsis: true, + width: 120 + }, { + title: '截止时间', + dataIndex: 'late_time' + }] + }) + })] + })] + }) + })] + }); +}; +/* harmony default export */ var CutOffNow = ((0,_umi_production_exports.connect)(function (_ref4) { + var shixunHomeworks = _ref4.shixunHomeworks, + classroomList = _ref4.classroomList; + return { + shixunHomeworks: shixunHomeworks, + classroomList: classroomList + }; +})(CuttOffNow)); + +/***/ }), + +/***/ 41351: +/*!**********************************************************!*\ + !*** ./src/components/MultiUpload/index.tsx + 2 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "z": function() { return /* binding */ coverToFileList; }, + "Z": function() { return /* binding */ MultiUpload; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(17061); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(17156); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/objectSpread2.js +var objectSpread2 = __webpack_require__(42122); +var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/toConsumableArray.js +var toConsumableArray = __webpack_require__(861); +var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/upload/index.js + 28 modules +var upload = __webpack_require__(92421); +// EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules +var es_message = __webpack_require__(2453); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules +var modal = __webpack_require__(72423); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./src/utils/env.ts +var env = __webpack_require__(22773); +// EXTERNAL MODULE: ./src/pages/MoopCases/FormPanel/service.ts +var service = __webpack_require__(39507); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/SingleUpload/index.tsx + + + + + + + + + + +var uploadNameSizeSeperator = '  '; +function bytesToSize(bytes) { + var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; + if (bytes == 0) return '0 Byte'; + var i = parseInt('' + Math.floor(Math.log(bytes) / Math.log(1024)), 10); + return (bytes / Math.pow(1024, i)).toFixed(1) + ' ' + sizes[i]; +} +/* harmony default export */ var SingleUpload = (function (_ref) { + var _ref$value = _ref.value, + value = _ref$value === void 0 ? [] : _ref$value, + action = _ref.action, + _onChange = _ref.onChange, + className = _ref.className, + _ref$maxSize = _ref.maxSize, + maxSize = _ref$maxSize === void 0 ? 150 : _ref$maxSize, + _ref$title = _ref.title, + title = _ref$title === void 0 ? '文件上传' : _ref$title, + _ref$accept = _ref.accept, + accept = _ref$accept === void 0 ? null : _ref$accept; + var uploadProps = { + multiple: false, + fileList: value, + accept: accept, + withCredentials: true, + beforeUpload: function beforeUpload(file) { + var fileSize = file.size / 1024 / 1024; + if (!(fileSize < maxSize)) { + message.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "MB),\u5EFA\u8BAE\u4E0A\u4F20\u5230\u767E\u5EA6\u4E91\u7B49\u5176\u5B83\u5171\u4EAB\u5DE5\u5177\u91CC\uFF0C\u7136\u540E\u518Dtxt\u6587\u6863\u91CC\u7ED9\u51FA\u94FE\u63A5\u4EE5\u53CA\u5171\u4EAB\u5BC6\u7801\u5E76\u4E0A\u4F20")); + return Promise.reject(); + } + return true; + }, + action: "".concat(ENV.API_SERVER, "/api/attachments.json"), + // ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a + onChange: function onChange(info) { + var _info$file, _info$file$response; + var fileList = _toConsumableArray(info.fileList); + fileList = fileList.map(function (file) { + if (file.name.indexOf(uploadNameSizeSeperator) === -1) { + file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size)); + } + return _objectSpread({}, file); + }); + if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 ? void 0 : (_info$file$response = _info$file.response) === null || _info$file$response === void 0 ? void 0 : _info$file$response.status) === -1) { + var _info$file2, _info$file2$response; + message.error((_info$file2 = info.file) === null || _info$file2 === void 0 ? void 0 : (_info$file2$response = _info$file2.response) === null || _info$file2$response === void 0 ? void 0 : _info$file2$response.message); + _onChange([]); + return; + } + _onChange(fileList); + }, + onRemove: function () { + var _onRemove = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) { + var fileSize, id, rs; + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + fileSize = file.size / 1024 / 1024; + if (!(file.status === 'uploading')) { + _context.next = 3; + break; + } + return _context.abrupt("return", true); + case 3: + if (fileSize < maxSize) { + _context.next = 7; + break; + } + return _context.abrupt("return", true); + case 7: + id = file.response ? file.response.id : file.uid; + if (!id) { + _context.next = 15; + break; + } + _context.next = 11; + return removeAttachment(file.response ? file.response.id : file.id); + case 11: + rs = _context.sent; + return _context.abrupt("return", rs); + case 15: + return _context.abrupt("return", true); + case 16: + case "end": + return _context.stop(); + } + }, _callee); + })); + function onRemove(_x) { + return _onRemove.apply(this, arguments); + } + return onRemove; + }() + }; + function onCancel(e) { + e.preventDefault(); + e.stopPropagation(); + } + return /*#__PURE__*/_jsx("div", { + className: "single-upload ".concat(className ? className : ''), + children: /*#__PURE__*/_jsxs(Upload, _objectSpread(_objectSpread({}, uploadProps), {}, { + children: [/*#__PURE__*/_jsx(Button, { + type: "primary", + title: value.length > 0 ? '每次只能上传一个资源, 删除下面资源可重新上传 ' : '', + disabled: value.length > 0, + ghost: true, + children: title + }), /*#__PURE__*/_jsxs("span", { + onClick: onCancel, + style: { + marginLeft: 10 + }, + children: ["(\u5355\u4E2A\u6587\u4EF6\u6700\u5927", maxSize, "M)", ' '] + })] + })) + }); +}); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js + 1 modules +var InboxOutlined = __webpack_require__(64082); +// EXTERNAL MODULE: ./node_modules/lodash/lodash.js +var lodash = __webpack_require__(96486); +;// CONCATENATED MODULE: ./src/components/MultiUpload/index.less +// extracted by mini-css-extract-plugin + +;// CONCATENATED MODULE: ./src/components/MultiUpload/index.tsx + + + + + + + + + + + + + + +var Dragger = upload/* default.Dragger */.Z.Dragger; +function coverToFileList(data) { + var rs = []; + if (data && data.length > 0) { + rs = data.map(function (item) { + return { + uid: item.id, + id: item.id, + name: item.title + uploadNameSizeSeperator + item.filesize, + url: item.url, + filesize: item.filesize, + status: 'done', + response: { + id: item.id + } + }; + }); + } + return rs; +} +/* harmony default export */ var MultiUpload = (function (_ref) { + var value = _ref.value, + _onChange = _ref.onChange, + action = _ref.action, + data = _ref.data, + className = _ref.className, + _ref$maxSize = _ref.maxSize, + maxSize = _ref$maxSize === void 0 ? 1000 : _ref$maxSize, + _ref$title = _ref.title, + title = _ref$title === void 0 ? '上传附件' : _ref$title, + _ref$showRemoveModal = _ref.showRemoveModal, + showRemoveModal = _ref$showRemoveModal === void 0 ? false : _ref$showRemoveModal, + _ref$accept = _ref.accept, + accept = _ref$accept === void 0 ? '' : _ref$accept, + additionalText = _ref.additionalText, + isDragger = _ref.isDragger, + _ref$number = _ref.number, + number = _ref$number === void 0 ? 10 : _ref$number, + _ref$aloneClear = _ref.aloneClear, + aloneClear = _ref$aloneClear === void 0 ? false : _ref$aloneClear; + var _useState = (0,react.useState)(false), + _useState2 = slicedToArray_default()(_useState, 2), + disabled = _useState2[0], + setDisabled = _useState2[1]; + var _useState3 = (0,react.useState)(value || []), + _useState4 = slicedToArray_default()(_useState3, 2), + fileList = _useState4[0], + setFileList = _useState4[1]; + var _useState5 = (0,react.useState)(1), + _useState6 = slicedToArray_default()(_useState5, 2), + nums = _useState6[0], + setnums = _useState6[1]; + (0,react.useEffect)(function () { + if (value) { + if (nums === 1) { + setFileList(toConsumableArray_default()(value)); + } + setnums(2); + if (number === (value === null || value === void 0 ? void 0 : value.length)) { + setDisabled(true); + } + } + }, [value]); + var clearLastFile = function clearLastFile() { + setTimeout(function () { + fileList.pop(); + setFileList(toConsumableArray_default()(fileList)); + }, 500); + }; + var uploadProps = { + // disabled, + accept: accept, + withCredentials: true, + multiple: true, + fileList: fileList, + // fileList: fileList?.length ? fileList : value, + beforeUpload: function beforeUpload(file, fileArr) { + var fileSize = file.size / 1024 / 1024; + if (fileList.concat(fileArr).length > number) { + fileList.pop(); + setFileList(toConsumableArray_default()(fileList)); + es_message/* default.error */.ZP.error("\u6700\u591A\u53EA\u80FD\u4E0A\u4F20".concat(number, "\u4E2A\u6587\u4EF6")); + if (aloneClear) { + return Promise.reject(); + } + clearLastFile(); + return false; + } + if (!(fileSize < maxSize)) { + es_message/* default.error */.ZP.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "MB).")); + if (aloneClear) { + return Promise.reject(); + } + clearLastFile(); + return false; + } + return true; + }, + data: data, + action: action || "".concat(env/* default.API_SERVER */.Z.API_SERVER, "/api/attachments.json"), + // ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a + onChange: function onChange(info) { + var _info$file, _info$file$response; + if (info.file.status === "removed") { + fileList = info.fileList; + } else { + fileList = (0,lodash.uniqBy)([].concat(toConsumableArray_default()(info.fileList), toConsumableArray_default()(fileList)), 'uid'); + } + if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 ? void 0 : (_info$file$response = _info$file.response) === null || _info$file$response === void 0 ? void 0 : _info$file$response.status) === -1) { + var _info$file2, _info$file2$response; + es_message/* default.error */.ZP.error((_info$file2 = info.file) === null || _info$file2 === void 0 ? void 0 : (_info$file2$response = _info$file2.response) === null || _info$file2$response === void 0 ? void 0 : _info$file2$response.message); + return; + } + if (fileList.length >= number) setDisabled(true);else setDisabled(false); + setFileList(toConsumableArray_default()(fileList)); + fileList = fileList.map(function (file) { + var _file$response; + if (file !== null && file !== void 0 && (_file$response = file.response) !== null && _file$response !== void 0 && _file$response.id) { + var _file$response2; + file.url = "/api/attachments/".concat(file === null || file === void 0 ? void 0 : (_file$response2 = file.response) === null || _file$response2 === void 0 ? void 0 : _file$response2.id); + } + if (file.name.indexOf(uploadNameSizeSeperator) === -1) { + file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size)); + } + return objectSpread2_default()({}, file); + }); + console.log('info:', info, fileList); + _onChange(fileList); + }, + onRemove: function () { + var _onRemove = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(file) { + var remove; + return regeneratorRuntime_default()().wrap(function _callee3$(_context3) { + while (1) switch (_context3.prev = _context3.next) { + case 0: + remove = /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { + var id; + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + id = file.response ? file.response.id : file.id; // if (id) { + // let rs = await removeAttachment( + // file.response ? file.response.id : file.uid, + // ); + // // let aa=fileList.filter((item)=>item.id!=id); + // // console.log('----',aa); + // // setFileList([...aa]); + // return Promise.resolve(rs); + // } else { + // return true; + // } + return _context.abrupt("return"); + case 2: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function remove() { + return _ref2.apply(this, arguments); + }; + }(); + if (!showRemoveModal) { + _context3.next = 5; + break; + } + return _context3.abrupt("return", new Promise(function (resolve, reject) { + modal/* default.confirm */.Z.confirm({ + centered: true, + width: 530, + okText: '确定', + cancelText: '取消', + title: '提示', + content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + className: "tc font16", + children: "\u662F\u5426\u786E\u8BA4\u5220\u9664?" + }), + onOk: function () { + var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() { + var res; + return regeneratorRuntime_default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return remove(); + case 2: + res = _context2.sent; + es_message/* default.success */.ZP.success('删除成功'); + resolve(true); + case 5: + case "end": + return _context2.stop(); + } + }, _callee2); + })); + function onOk() { + return _onOk.apply(this, arguments); + } + return onOk; + }(), + onCancel: function onCancel() { + return resolve(false); + } + }); + })); + case 5: + _context3.next = 7; + return remove(); + case 7: + return _context3.abrupt("return", _context3.sent); + case 8: + case "end": + return _context3.stop(); + } + }, _callee3); + })); + function onRemove(_x) { + return _onRemove.apply(this, arguments); + } + return onRemove; + }() + }; + function onCancel(e) { + e.preventDefault(); + e.stopPropagation(); + } + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: "multi-upload ".concat(className ? className : ''), + children: [isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(Dragger, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", { + className: "ant-upload-drag-icon", + children: /*#__PURE__*/(0,jsx_runtime.jsx)(InboxOutlined/* default */.Z, {}) + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", { + className: "ant-upload-text", + children: ["\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A", maxSize, "MB)", ' '] + }), additionalText] + })), !isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(upload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, { + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, { + className: "upload_button", + style: { + color: '#2A6CB3', + height: 38 + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "iconfont icon-shangchuanfujian mr5", + style: { + fontSize: 14 + } + }), title] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", { + onClick: onCancel, + className: "upload_text", + children: ["(\u5355\u4E2A\u6587\u4EF6\u6700\u5927", maxSize, "MB)", ' '] + })] + }))] + }); +}); + +/***/ }), + +/***/ 11542: +/*!*******************************************************************************!*\ + !*** ./src/pages/Classrooms/Lists/GroupHomework/components/AfterAppendix.tsx ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ 79407); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd */ 72423); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 11486); +/* harmony import */ var _service_shixunHomeworks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @/service/shixunHomeworks */ 45678); +/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! umi */ 89214); +/* harmony import */ var _components_MultiUpload__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/components/MultiUpload */ 41351); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + + + + + +var PublishShixun = function PublishShixun(_ref) { + var classroomList = _ref.classroomList, + loading = _ref.loading, + dispatch = _ref.dispatch; + var params = (0,umi__WEBPACK_IMPORTED_MODULE_6__.useParams)(); + var _Form$useForm = antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"].useForm */ .Z.useForm(), + _Form$useForm2 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_3___default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, { + centered: true, + title: "\u8865\u4EA4\u9644\u4EF6", + open: classroomList.actionTabs.key === '补交附件' ? true : false, + bodyStyle: { + minHeight: 200 + }, + onOk: /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee() { + var _formValue$attachment; + var formValue, selectArrs, res; + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return form.validateFields(); + case 2: + formValue = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, form.getFieldValue()); + selectArrs = classroomList.actionTabs.selectArrs; + formValue.attachment_ids = (_formValue$attachment = formValue.attachment_ids) === null || _formValue$attachment === void 0 ? void 0 : _formValue$attachment.map(function (item) { + return item.response.id; + }); + _context.next = 7; + return (0,_service_shixunHomeworks__WEBPACK_IMPORTED_MODULE_5__/* .reviseAttachment */ .mz)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, formValue), {}, { + homeworkId: selectArrs.work_id + })); + case 7: + res = _context.sent; + if (res.status === 0) { + // history.push(`/classrooms/${params.coursesId}/group_homework/${selectArrs.homework_id}/review/${selectArrs.work_id}`) + form.resetFields(); + dispatch({ + type: 'classroomList/setActionTabs', + payload: {} + }); + } + case 9: + case "end": + return _context.stop(); + } + }, _callee); + })), + onCancel: function onCancel() { + dispatch({ + type: 'classroomList/setActionTabs', + payload: {} + }); + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsxs)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, { + form: form, + initialValues: {}, + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"].Item */ .Z.Item, { + name: "attachment_ids", + rules: [{ + required: true, + message: "请上传附件" + }], + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(_components_MultiUpload__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, {}) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_9__/* ["default"].Item */ .Z.Item, { + name: "description", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_8__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"].TextArea */ .Z.TextArea, { + placeholder: "\u8BF7\u5728\u6B64\u8F93\u5165\u8865\u4EA4\u9644\u4EF6\u7684\u539F\u56E0\uFF0C\u6700\u5927\u9650\u5236100\u4E2A\u5B57\u7B26", + rows: 7 + }) + })] + }) + }); +}; +/* harmony default export */ __webpack_exports__["Z"] = ((0,umi__WEBPACK_IMPORTED_MODULE_6__.connect)(function (_ref3) { + var classroomList = _ref3.classroomList, + loading = _ref3.loading; + return { + classroomList: classroomList, + loading: loading + }; +})(PublishShixun)); + +/***/ }), + +/***/ 58443: +/*!************************************************************************************!*\ + !*** ./src/pages/Classrooms/Lists/GroupHomework/components/AssociatedProjects.tsx ***! + \************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/toConsumableArray.js */ 861); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd */ 79407); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 72423); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! antd */ 4310); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! antd */ 11486); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! antd */ 78045); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd */ 71230); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd */ 15746); +/* harmony import */ var react_infinite_scroller__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react-infinite-scroller */ 246); +/* harmony import */ var react_infinite_scroller__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_infinite_scroller__WEBPACK_IMPORTED_MODULE_6__); +/* harmony import */ var _service_shixunHomeworks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/service/shixunHomeworks */ 45678); +/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! umi */ 89214); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + + + + + + + +var PublishShixun = function PublishShixun(_ref) { + var _user$navigationInfo, _user$navigationInfo$, _searchMemberList; + var classroomList = _ref.classroomList, + loading = _ref.loading, + user = _ref.user, + dispatch = _ref.dispatch; + var params = (0,umi__WEBPACK_IMPORTED_MODULE_8__.useParams)(); + var _Form$useForm = antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"].useForm */ .Z.useForm(), + _Form$useForm2 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default()(_Form$useForm, 1), + form = _Form$useForm2[0]; + var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(true), + _useState2 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default()(_useState, 2), + hasMore = _useState2[0], + setHasmore = _useState2[1]; + var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)([]), + _useState4 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default()(_useState3, 2), + searchMemberList = _useState4[0], + setSearchMemberList = _useState4[1]; + var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)({ + page: 1, + limit: 20, + keyword: '' + }), + _useState6 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_4___default()(_useState5, 2), + memberSearchParams = _useState6[0], + setMemberSearchParams = _useState6[1]; + var getData = /*#__PURE__*/function () { + var _ref2 = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee() { + var _res$projects; + var res; + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return dispatch({ + type: 'shixunHomeworks/getProjectList', + payload: D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, params), memberSearchParams) + }); + case 2: + res = _context.sent; + if (res.projects) { + setSearchMemberList([].concat(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(searchMemberList), D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_1___default()(res.projects))); + } + if (((_res$projects = res.projects) === null || _res$projects === void 0 ? void 0 : _res$projects.length) < 20) setHasmore(false); + case 5: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function getData() { + return _ref2.apply(this, arguments); + }; + }(); + (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () { + if (classroomList.actionTabs.key === '关联项目') { + getData(); + searchMemberList = []; + memberSearchParams.page = 1; + memberSearchParams.keyword = ''; + } + }, [classroomList.actionTabs.key]); + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, { + centered: true, + title: "\u5173\u8054\u9879\u76EE", + open: classroomList.actionTabs.key === '关联项目' ? true : false, + bodyStyle: { + minHeight: 100 + }, + onOk: /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee2() { + var formValue, _classroomList$action, selectArrs, cb, res; + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee2$(_context2) { + while (1) switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return form.validateFields(); + case 2: + formValue = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, form.getFieldValue()); + _classroomList$action = classroomList.actionTabs, selectArrs = _classroomList$action.selectArrs, cb = _classroomList$action.cb; + _context2.next = 6; + return (0,_service_shixunHomeworks__WEBPACK_IMPORTED_MODULE_7__/* .relateProject */ .co)(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, formValue), {}, { + homeworkId: selectArrs.homework_id + })); + case 6: + res = _context2.sent; + if (res.status === 0) { + if (cb) { + cb(); + } else { + dispatch({ + type: 'classroomList/getClassroomCommonHomeworksList', + payload: D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_2___default()({}, classroomList.actionTabs.params) + }); + } + dispatch({ + type: 'classroomList/setActionTabs', + payload: {} + }); + } + case 8: + case "end": + return _context2.stop(); + } + }, _callee2); + })), + onCancel: function onCancel() { + dispatch({ + type: 'classroomList/setActionTabs', + payload: {} + }); + }, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z, { + loading: loading['shixunHomeworks/getProjectList'], + active: true, + children: searchMemberList == '' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("aside", { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("div", { + className: "tc font14 pt20", + children: ["\u60A8\u5F53\u524D\u5C1A\u672A\u7BA1\u7406\u4EFB\u4F55\u9879\u76EE\uFF0C\u8BF7\u5148", /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("a", { + href: "".concat((_user$navigationInfo = user.navigationInfo) === null || _user$navigationInfo === void 0 ? void 0 : (_user$navigationInfo$ = _user$navigationInfo.top) === null || _user$navigationInfo$ === void 0 ? void 0 : _user$navigationInfo$.old_url, "/projects/deposit/new"), + target: "_blank", + children: "\u521B\u5EFA\u9879\u76EE" + }), "\u518D\u5173\u8054"] + }) + }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsxs)("aside", { + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)("div", { + className: " mb20", + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"].Search */ .Z.Search, { + onSearch: function onSearch(value) { + if (value === '') { + delete memberSearchParams.keyword; + } else { + memberSearchParams.keyword = value; + } + searchMemberList = []; + setHasmore(true); + getData(); + }, + placeholder: "\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22", + allowClear: true, + size: 'middle' + }) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, { + form: form, + initialValues: {}, + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"].Item */ .Z.Item, { + name: "project_id", + rules: [{ + required: true, + message: '请选择项目' + }], + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"].Group */ .ZP.Group, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)((react_infinite_scroller__WEBPACK_IMPORTED_MODULE_6___default()), { + initialLoad: false, + pageStart: 1, + threshold: 20, + loadMore: function loadMore(page) { + memberSearchParams.page++; + getData(); + }, + hasMore: hasMore, + useWindow: false, + children: (_searchMemberList = searchMemberList) === null || _searchMemberList === void 0 ? void 0 : _searchMemberList.map(function (item, key) { + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, { + children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_9__.jsx)(antd__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .ZP, { + value: item.id, + children: item.name + }) + }) + }, key); + }) + }) + }) + }) + })] + }) + }) + }); +}; +/* harmony default export */ __webpack_exports__["Z"] = ((0,umi__WEBPACK_IMPORTED_MODULE_8__.connect)(function (_ref4) { + var classroomList = _ref4.classroomList, + user = _ref4.user, + loading = _ref4.loading; + return { + classroomList: classroomList, + user: user, + loading: loading.effects + }; +})(PublishShixun)); + +/***/ }), + +/***/ 27232: +/*!*********************************************************************************************!*\ + !*** ./src/pages/Classrooms/Lists/ShixunHomeworks/components/TrfList/index.tsx + 2 modules ***! + \*********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ components_TrfList; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js +var regeneratorRuntime = __webpack_require__(17061); +var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/asyncToGenerator.js +var asyncToGenerator = __webpack_require__(17156); +var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/slicedToArray.js +var slicedToArray = __webpack_require__(27424); +var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules +var input = __webpack_require__(11486); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/index.js + 3 modules +var es_checkbox = __webpack_require__(84567); +// EXTERNAL MODULE: ./node_modules/antd/es/row/index.js +var row = __webpack_require__(71230); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/ShixunHomeworks/components/TrfList/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var TrfListmodules = ({"leftdiv":"leftdiv___aBzsX","listClass":"listClass___bxIEW","spantitle":"spantitle___v_Vc4","rightdiv":"rightdiv___xWu4M"}); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/ShixunHomeworks/components/TrfList/delete.png +var delete_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAbVJREFUOE+Nk79rFUEUhb+zE4OFwUD+CyGKKQQbSaMikQQ7C1tBBIsUQaJvl2Fn/cWDpAiIYJsi7YOIaCUWFoKKRhG0sbEzEImFGnev7G6yyXsxeU5159yZb87l3hG9q2WLiBO79FIwXpLp0s6cwITnQCMWrGDM43jdBckZQ0wTMdrong2R2Bxm0/98sZ8ozdcOEm5hjOC41u9Olc9ZQKySclOVkNhljCmCzjeAJM/4FbW5p+8k5tlggTtarfKxLSM6pHq4BTiL0SboaAOIi284jeP1nti+ApMEvdoEvEPMkOpJDZi1IwzwgqDh/wSsYZwk08ca4O0Qua3zW8OV5crmHg6u22EGbQ2nIbx+1IC6rrK+cYJW9gXEVrbxGUEj5bltQGJvgBapHu0LSGwCyEh1vBsQWwd4TNCDPg6uAOcImuoFlL1dJ9WNPg5uYwwRVM3MzhJmKIpjZK6e9bj4jNNpvL4QFx9wuoDXJ1r5IlH0llTtXgcXwa4SolObnYnwKnbFcfEcdJ+gpW6AtzFynuIop/Fn053u4CA5yzjO4FV9tu0Syl2S38WiSWBgD8AfoEPQ7Fb+LwIiyhxWwe2KAAAAAElFTkSuQmCC"; +// EXTERNAL MODULE: ./src/components/NoData/index.tsx +var NoData = __webpack_require__(82982); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/ShixunHomeworks/components/TrfList/index.tsx + + + + + + + +//滚动加载 + + + + +var TrfList = function TrfList(_ref) { + var data = _ref.data, + _ref$value = _ref.value, + value = _ref$value === void 0 ? [] : _ref$value, + handleChangePage = _ref.handleChangePage, + setSelectedRowKeys = _ref.setSelectedRowKeys, + selectedRowKeys = _ref.selectedRowKeys, + _ref$onChange = _ref.onChange, + onChange = _ref$onChange === void 0 ? function () {} : _ref$onChange; + var _useState = (0,react.useState)([]), + _useState2 = slicedToArray_default()(_useState, 2), + leftList = _useState2[0], + setleftList = _useState2[1]; + var _useState3 = (0,react.useState)([]), + _useState4 = slicedToArray_default()(_useState3, 2), + rightList = _useState4[0], + setRightList = _useState4[1]; + var _useState5 = (0,react.useState)([]), + _useState6 = slicedToArray_default()(_useState5, 2), + checkoutList = _useState6[0], + setCheckoutList = _useState6[1]; + var _useState7 = (0,react.useState)(1), + _useState8 = slicedToArray_default()(_useState7, 2), + page = _useState8[0], + setpage = _useState8[1]; + var _useState9 = (0,react.useState)(), + _useState10 = slicedToArray_default()(_useState9, 2), + sechar = _useState10[0], + setsechar = _useState10[1]; + (0,react.useEffect)(function () { + setleftList(data); + setRightList([]); + setCheckoutList([]); + }, [data]); + (0,react.useEffect)(function () { + if (setSelectedRowKeys) { + setRightList(selectedRowKeys); + setCheckoutList(selectedRowKeys); + } + }, [selectedRowKeys]); + return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + style: { + display: 'flex', + justifyContent: 'space-between' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: TrfListmodules.leftdiv, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Search */.Z.Search, { + size: 'middle', + onChange: /*#__PURE__*/function () { + var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(e) { + return regeneratorRuntime_default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + // const res = await Fetch(`/api/common_exercises/exercise_users/student_groups.json`, { method: "get", params: {page: 1, per_page: 200,student_group:e} }); + // if (res.status === 0) { + // setleftList(res?.data) + // setsechar(e); + // } + // if(!e){ + // setsechar(''); + // } + // setpage(1); + setleftList(data.filter(function (item) { + var _item$name; + return item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.includes(e.target.value); + })); + case 1: + case "end": + return _context.stop(); + } + }, _callee); + })); + return function (_x) { + return _ref2.apply(this, arguments); + }; + }(), + placeholder: "\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2" + }), leftList.length === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { + styles: { + margin: '70px auto' + }, + customText: '暂无分班' + }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + height: '85%', + overflow: 'auto', + overflowX: 'hidden' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default.Group */.Z.Group, { + value: rightList.map(function (item) { + return "".concat(item.id); + }), + onChange: function onChange(e) { + setSelectedRowKeys(leftList.filter(function (item) { + return e.includes("".concat(item.id)); + })); + }, + style: { + marginTop: '10px', + flexDirection: "column" + }, + children: leftList.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, { + style: { + marginTop: '10px', + lineHeight: '24px', + display: 'flex', + width: 200 + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, { + style: { + display: 'flex', + height: '24px', + alignItems: 'center' + }, + disabled: item.is_published, + value: "".concat(item.id), + children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: TrfListmodules.listClass, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", { + className: TrfListmodules.spantitle, + style: { + width: item.is_published ? '108px' : '170px' + }, + children: item.name + }), item.is_published && /*#__PURE__*/(0,jsx_runtime.jsx)("span", { + style: { + width: '52px', + height: '24px', + background: '#B8B8B8', + borderRadius: '13px', + color: 'white', + lineHeight: '24px', + textAlign: 'center', + display: 'inline-block' + }, + children: "\u5DF2\u53D1\u5E03" + })] + }) + }) + }, item.id); + }) + }) + })] + }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", { + className: TrfListmodules.rightdiv, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default.Search */.Z.Search, { + onChange: function onChange(e) { + setCheckoutList(rightList.filter(function (item) { + return item.name.includes(e.target.value); + })); + }, + size: 'middle', + placeholder: "\u53EF\u8F93\u5165\u73ED\u7EA7\u540D\u79F0\u67E5\u8BE2" + }), checkoutList.length === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { + styles: { + margin: '70px auto' + }, + customText: '暂未选择分班' + }), checkoutList.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + marginTop: '10px', + height: '85%', + overflow: 'hidden', + position: 'relative' + }, + children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + overflowX: 'hidden', + overflowY: 'scroll', + position: 'absolute', + left: 0, + top: 0, + right: -17, + bottom: 0 + }, + children: checkoutList.map(function (item, index) { + return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, { + justify: "space-between", + style: { + marginTop: '10px' + }, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", { + style: { + overflow: 'hidden', + whiteSpace: 'nowrap', + textOverflow: 'ellipsis', + marginRight: '5px', + marginLeft: '5px', + width: '75%' + }, + children: item.name + }), /*#__PURE__*/(0,jsx_runtime.jsx)("img", { + src: delete_namespaceObject, + style: { + cursor: 'pointer', + height: '16px', + marginRight: 17 + }, + onClick: function onClick() { + setSelectedRowKeys(rightList.filter(function (items) { + return "".concat(items.id) != "".concat(item.id); + })); + } + })] + }, item.id); + }) + }) + })] + })] + }); +}; +/* harmony default export */ var components_TrfList = (TrfList); + +/***/ }), + +/***/ 39507: +/*!**************************************************!*\ + !*** ./src/pages/MoopCases/FormPanel/service.ts ***! + \**************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "$J": function() { return /* binding */ getMoopCase; }, +/* harmony export */ "JZ": function() { return /* binding */ removeAttachment; }, +/* harmony export */ "bN": function() { return /* binding */ updateMoopCase; }, +/* harmony export */ "jP": function() { return /* binding */ addMoopCase; }, +/* harmony export */ "rO": function() { return /* binding */ getLibraryTags; } +/* harmony export */ }); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 84519); + + + +function getMoopCase(id) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)("libraries/".concat(id, ".json")); +} +function getLibraryTags() { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)('library_tags.json'); +} +function removeAttachment(_x) { + return _removeAttachment.apply(this, arguments); +} +function _removeAttachment() { + _removeAttachment = D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(id) { + var response; + return D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) { + while (1) switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .del */ .IV)("attachments/".concat(id, ".json")); + case 2: + response = _context.sent; + return _context.abrupt("return", response.status === 0); + case 4: + case "end": + return _context.stop(); + } + }, _callee); + })); + return _removeAttachment.apply(this, arguments); +} +function addMoopCase(params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .post */ .v_)("libraries.json", params); +} +function updateMoopCase(id, params) { + return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .put */ .gz)("libraries/".concat(id, ".json"), params); +} + +/***/ }), + +/***/ 4977: +/*!********************************************!*\ + !*** ./src/assets/images/icons/nodata.png ***! + \********************************************/ +/***/ (function(module) { + +module.exports = "data:image/png;base64,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"; + +/***/ }) + +}]); \ No newline at end of file diff --git a/25820.async.js b/25820.async.js index deb9caadff..f038c710b5 100644 --- a/25820.async.js +++ b/25820.async.js @@ -25,7 +25,7 @@ var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); // EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js var context = __webpack_require__(53124); // EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules -var skeleton = __webpack_require__(21687); +var skeleton = __webpack_require__(4310); ;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Number.js const StatisticNumber = props => { diff --git a/27129.async.js b/27129.async.js new file mode 100644 index 0000000000..2993ed90c3 --- /dev/null +++ b/27129.async.js @@ -0,0 +1,807 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[27129,91708,29823,32482,15105,29581,33127,53898,53764,4751,84551],{ + +/***/ 85418: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/dropdown/index.js + 1 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_dropdown; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/space/index.js + 2 modules +var space = __webpack_require__(42075); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(66748); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/dropdown-button.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const DropdownButton = props => { + const { + getPopupContainer: getContextPopupContainer, + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'default', + danger, + disabled, + loading, + onClick, + htmlType, + children, + className, + menu, + arrow, + autoFocus, + overlay, + trigger, + align, + open, + onOpenChange, + placement, + getPopupContainer, + href, + icon = /*#__PURE__*/react.createElement(EllipsisOutlined/* default */.Z, null), + title, + buttonsRender = buttons => buttons, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + } = props, + restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); + const prefixCls = getPrefixCls('dropdown', customizePrefixCls); + const buttonPrefixCls = `${prefixCls}-button`; + const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); + const dropdownProps = { + menu, + arrow, + autoFocus, + align, + disabled, + trigger: disabled ? [] : trigger, + onOpenChange, + getPopupContainer: getPopupContainer || getContextPopupContainer, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + }; + const { + compactSize, + compactItemClassnames + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); + if ('overlay' in props) { + dropdownProps.overlay = overlay; + } + if ('open' in props) { + dropdownProps.open = open; + } + if ('placement' in props) { + dropdownProps.placement = placement; + } else { + dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; + } + const leftButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + disabled: disabled, + loading: loading, + onClick: onClick, + htmlType: htmlType, + href: href, + title: title + }, children); + const rightButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + icon: icon + }); + const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); + return wrapSSR( /*#__PURE__*/react.createElement(space/* default.Compact */.Z.Compact, Object.assign({ + className: classes, + size: compactSize, + block: true + }, restProps), leftButtonToRender, /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); +}; +DropdownButton.__ANT_BUTTON = true; +/* harmony default export */ var dropdown_button = (DropdownButton); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/index.js +'use client'; + + + +const Dropdown = dropdown/* default */.Z; +Dropdown.Button = dropdown_button; +/* harmony default export */ var es_dropdown = (Dropdown); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 64217: +/*!**********************************************!*\ + !*** ./node_modules/rc-util/es/pickAttrs.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/2727.async.js b/2727.async.js index ad71b4cdd2..76e3cf7c3b 100644 --- a/2727.async.js +++ b/2727.async.js @@ -22,8 +22,8 @@ var react = __webpack_require__(67294); var InboxOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M885.2 446.3l-.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 0060.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-43l-.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" } }] }, "name": "inbox", "theme": "outlined" }; /* harmony default export */ var asn_InboxOutlined = (InboxOutlined); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); ;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/InboxOutlined.js // GENERATE BY ./scripts/generate.ts @@ -71,14 +71,14 @@ var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); var react = __webpack_require__(67294); // EXTERNAL MODULE: ./node_modules/antd/es/select/index.js + 42 modules var es_select = __webpack_require__(79035); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(25159); +// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 19 modules +var es_form = __webpack_require__(79407); // EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules var message = __webpack_require__(2453); // EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules var modal = __webpack_require__(72423); // EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules -var input = __webpack_require__(79531); +var input = __webpack_require__(11486); ;// CONCATENATED MODULE: ./src/pages/Ideology/ModelCourse/AddDirectory/index.less?modules // extracted by mini-css-extract-plugin /* harmony default export */ var AddDirectorymodules = ({"flex_box_center":"flex_box_center___iwUQ6","flex_space_between":"flex_space_between___mFSMp","flex_box_vertical_center":"flex_box_vertical_center___KIQqb","flex_box_center_end":"flex_box_center_end___cNGWv","flex_box_column":"flex_box_column___Y_1b1","des":"des___d9CvY","text":"text___bE3SY","upload":"upload___LMLbI"}); @@ -259,20 +259,20 @@ var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray); var react = __webpack_require__(67294); // EXTERNAL MODULE: ./src/.umi-production/exports.ts + 8 modules var _umi_production_exports = __webpack_require__(89214); -// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 17 modules -var es_form = __webpack_require__(25159); +// EXTERNAL MODULE: ./node_modules/antd/es/form/index.js + 19 modules +var es_form = __webpack_require__(79407); // EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules var modal = __webpack_require__(72423); // EXTERNAL MODULE: ./node_modules/antd/es/message/index.js + 4 modules var message = __webpack_require__(2453); -// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 90 modules -var table = __webpack_require__(63889); +// EXTERNAL MODULE: ./node_modules/antd/es/table/index.js + 94 modules +var table = __webpack_require__(20812); // EXTERNAL MODULE: ./node_modules/antd/es/dropdown/index.js + 1 modules var dropdown = __webpack_require__(85418); // EXTERNAL MODULE: ./node_modules/antd/es/menu/index.js + 11 modules var menu = __webpack_require__(68508); // EXTERNAL MODULE: ./node_modules/antd/es/input/index.js + 5 modules -var input = __webpack_require__(79531); +var input = __webpack_require__(11486); // EXTERNAL MODULE: ./node_modules/antd/es/spin/index.js + 1 modules var spin = __webpack_require__(57953); // EXTERNAL MODULE: ./node_modules/antd/es/collapse/index.js + 8 modules @@ -346,8 +346,8 @@ var esm_extends = __webpack_require__(87462); var CaretRightOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "0 0 1024 1024", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M715.8 493.5L335 165.1c-14.2-12.2-35-1.2-35 18.5v656.8c0 19.7 20.8 30.7 35 18.5l380.8-328.4c10.9-9.4 10.9-27.6 0-37z" } }] }, "name": "caret-right", "theme": "outlined" }; /* harmony default export */ var asn_CaretRightOutlined = (CaretRightOutlined); -// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules -var AntdIcon = __webpack_require__(74643); +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); ;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CaretRightOutlined.js // GENERATE BY ./scripts/generate.ts diff --git a/2751.async.js b/2751.async.js new file mode 100644 index 0000000000..b021f517eb --- /dev/null +++ b/2751.async.js @@ -0,0 +1,3263 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[2751],{ + +/***/ 11475: +/*!******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.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 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + +/***/ 81643: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/_util/getRenderPropValue.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ getRenderPropValue; } +/* harmony export */ }); +const getRenderPropValue = propValue => { + if (!propValue) { + return null; + } + if (typeof propValue === 'function') { + return propValue(); + } + return propValue; +}; + +/***/ }), + +/***/ 57838: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/_util/hooks/useForceUpdate.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ useForceUpdate; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +function useForceUpdate() { + const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0); + return forceUpdate; +} + +/***/ }), + +/***/ 84567: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/checkbox/index.js + 3 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_checkbox; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/rc-checkbox/es/index.js + 5 modules +var es = __webpack_require__(95860); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var config_provider_context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/DisabledContext.js +var DisabledContext = __webpack_require__(98866); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var context = __webpack_require__(65223); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/GroupContext.js + +const GroupContext = /*#__PURE__*/react.createContext(null); +/* harmony default export */ var checkbox_GroupContext = (GroupContext); +// EXTERNAL MODULE: ./node_modules/antd/es/checkbox/style/index.js +var checkbox_style = __webpack_require__(63185); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Checkbox.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const InternalCheckbox = (props, ref) => { + var _a; + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + children, + indeterminate = false, + style, + onMouseEnter, + onMouseLeave, + skipGroup = false, + disabled + } = props, + restProps = __rest(props, ["prefixCls", "className", "rootClassName", "children", "indeterminate", "style", "onMouseEnter", "onMouseLeave", "skipGroup", "disabled"]); + const { + getPrefixCls, + direction, + checkbox + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const checkboxGroup = react.useContext(checkbox_GroupContext); + const { + isFormItemInput + } = react.useContext(context/* FormItemInputContext */.aM); + const contextDisabled = react.useContext(DisabledContext/* default */.Z); + const mergedDisabled = (_a = (checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.disabled) || disabled) !== null && _a !== void 0 ? _a : contextDisabled; + const prevValue = react.useRef(restProps.value); + react.useEffect(() => { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + false ? 0 : void 0; + }, []); + react.useEffect(() => { + if (skipGroup) { + return; + } + if (restProps.value !== prevValue.current) { + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(prevValue.current); + checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.registerValue(restProps.value); + prevValue.current = restProps.value; + } + return () => checkboxGroup === null || checkboxGroup === void 0 ? void 0 : checkboxGroup.cancelValue(restProps.value); + }, [restProps.value]); + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const checkboxProps = Object.assign({}, restProps); + if (checkboxGroup && !skipGroup) { + checkboxProps.onChange = function () { + if (restProps.onChange) { + restProps.onChange.apply(restProps, arguments); + } + if (checkboxGroup.toggleOption) { + checkboxGroup.toggleOption({ + label: children, + value: restProps.value + }); + } + }; + checkboxProps.name = checkboxGroup.name; + checkboxProps.checked = checkboxGroup.value.includes(restProps.value); + } + const classString = classnames_default()(`${prefixCls}-wrapper`, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-wrapper-checked`]: checkboxProps.checked, + [`${prefixCls}-wrapper-disabled`]: mergedDisabled, + [`${prefixCls}-wrapper-in-form-item`]: isFormItemInput + }, checkbox === null || checkbox === void 0 ? void 0 : checkbox.className, className, rootClassName, hashId); + const checkboxClass = classnames_default()({ + [`${prefixCls}-indeterminate`]: indeterminate + }, hashId); + const ariaChecked = indeterminate ? 'mixed' : undefined; + return wrapSSR( + /*#__PURE__*/ + // eslint-disable-next-line jsx-a11y/label-has-associated-control + react.createElement("label", { + className: classString, + style: Object.assign(Object.assign({}, checkbox === null || checkbox === void 0 ? void 0 : checkbox.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, /*#__PURE__*/react.createElement(es/* default */.Z, Object.assign({ + "aria-checked": ariaChecked + }, checkboxProps, { + prefixCls: prefixCls, + className: checkboxClass, + disabled: mergedDisabled, + ref: ref + })), children !== undefined && /*#__PURE__*/react.createElement("span", null, children))); +}; +const Checkbox = /*#__PURE__*/react.forwardRef(InternalCheckbox); +if (false) {} +/* harmony default export */ var checkbox_Checkbox = (Checkbox); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 2 modules +var toConsumableArray = __webpack_require__(74902); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/Group.js + +var Group_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const InternalGroup = (props, ref) => { + const { + defaultValue, + children, + options = [], + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + onChange + } = props, + restProps = Group_rest(props, ["defaultValue", "children", "options", "prefixCls", "className", "rootClassName", "style", "onChange"]); + const { + getPrefixCls, + direction + } = react.useContext(config_provider_context/* ConfigContext */.E_); + const [value, setValue] = react.useState(restProps.value || defaultValue || []); + const [registeredValues, setRegisteredValues] = react.useState([]); + react.useEffect(() => { + if ('value' in restProps) { + setValue(restProps.value || []); + } + }, [restProps.value]); + const memoOptions = react.useMemo(() => options.map(option => { + if (typeof option === 'string' || typeof option === 'number') { + return { + label: option, + value: option + }; + } + return option; + }), [options]); + const cancelValue = val => { + setRegisteredValues(prevValues => prevValues.filter(v => v !== val)); + }; + const registerValue = val => { + setRegisteredValues(prevValues => [].concat((0,toConsumableArray/* default */.Z)(prevValues), [val])); + }; + const toggleOption = option => { + const optionIndex = value.indexOf(option.value); + const newValue = (0,toConsumableArray/* default */.Z)(value); + if (optionIndex === -1) { + newValue.push(option.value); + } else { + newValue.splice(optionIndex, 1); + } + if (!('value' in restProps)) { + setValue(newValue); + } + onChange === null || onChange === void 0 ? void 0 : onChange(newValue.filter(val => registeredValues.includes(val)).sort((a, b) => { + const indexA = memoOptions.findIndex(opt => opt.value === a); + const indexB = memoOptions.findIndex(opt => opt.value === b); + return indexA - indexB; + })); + }; + const prefixCls = getPrefixCls('checkbox', customizePrefixCls); + const groupPrefixCls = `${prefixCls}-group`; + const [wrapSSR, hashId] = (0,checkbox_style/* default */.ZP)(prefixCls); + const domProps = (0,omit/* default */.Z)(restProps, ['value', 'disabled']); + const childrenNode = options.length ? memoOptions.map(option => /*#__PURE__*/react.createElement(checkbox_Checkbox, { + prefixCls: prefixCls, + key: option.value.toString(), + disabled: 'disabled' in option ? option.disabled : restProps.disabled, + value: option.value, + checked: value.includes(option.value), + onChange: option.onChange, + className: `${groupPrefixCls}-item`, + style: option.style, + title: option.title + }, option.label)) : children; + // eslint-disable-next-line react/jsx-no-constructed-context-values + const context = { + toggleOption, + value, + disabled: restProps.disabled, + name: restProps.name, + // https://github.com/ant-design/ant-design/issues/16376 + registerValue, + cancelValue + }; + const classString = classnames_default()(groupPrefixCls, { + [`${groupPrefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + className: classString, + style: style + }, domProps, { + ref: ref + }), /*#__PURE__*/react.createElement(checkbox_GroupContext.Provider, { + value: context + }, childrenNode))); +}; + +const CheckboxGroup = /*#__PURE__*/react.forwardRef(InternalGroup); +/* harmony default export */ var Group = (/*#__PURE__*/react.memo(CheckboxGroup)); +;// CONCATENATED MODULE: ./node_modules/antd/es/checkbox/index.js +'use client'; + + + +const es_checkbox_Checkbox = checkbox_Checkbox; +es_checkbox_Checkbox.Group = Group; +es_checkbox_Checkbox.__ANT_CHECKBOX = true; +if (false) {} +/* harmony default export */ var es_checkbox = (es_checkbox_Checkbox); + +/***/ }), + +/***/ 86738: +/*!**************************************************************!*\ + !*** ./node_modules/antd/es/popconfirm/index.js + 2 modules ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ popconfirm; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.js + 1 modules +var ExclamationCircleFilled = __webpack_require__(39291); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(92389); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(5663); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/popover/index.js +var popover = __webpack_require__(55241); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/ActionButton.js +var ActionButton = __webpack_require__(86743); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/getRenderPropValue.js +var getRenderPropValue = __webpack_require__(81643); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/button/button.js + 7 modules +var button_button = __webpack_require__(85432); +// EXTERNAL MODULE: ./node_modules/antd/es/locale/useLocale.js +var useLocale = __webpack_require__(10110); +// EXTERNAL MODULE: ./node_modules/antd/es/locale/en_US.js + 1 modules +var en_US = __webpack_require__(24457); +// EXTERNAL MODULE: ./node_modules/antd/es/popover/PurePanel.js +var PurePanel = __webpack_require__(66330); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +;// CONCATENATED MODULE: ./node_modules/antd/es/popconfirm/style/index.js + +// =============================== Base =============================== +const genBaseStyle = token => { + const { + componentCls, + iconCls, + antCls, + zIndexPopup, + colorText, + colorWarning, + marginXXS, + marginXS, + fontSize, + fontWeightStrong, + colorTextHeading + } = token; + return { + [componentCls]: { + zIndex: zIndexPopup, + [`&${antCls}-popover`]: { + fontSize + }, + [`${componentCls}-message`]: { + marginBottom: marginXS, + display: 'flex', + flexWrap: 'nowrap', + alignItems: 'start', + [`> ${componentCls}-message-icon ${iconCls}`]: { + color: colorWarning, + fontSize, + lineHeight: 1, + marginInlineEnd: marginXS + }, + [`${componentCls}-title`]: { + fontWeight: fontWeightStrong, + color: colorTextHeading, + '&:only-child': { + fontWeight: 'normal' + } + }, + [`${componentCls}-description`]: { + marginTop: marginXXS, + color: colorText + } + }, + [`${componentCls}-buttons`]: { + textAlign: 'end', + button: { + marginInlineStart: marginXS + } + } + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var popconfirm_style = ((0,genComponentStyleHook/* default */.Z)('Popconfirm', token => genBaseStyle(token), token => { + const { + zIndexPopupBase + } = token; + return { + zIndexPopup: zIndexPopupBase + 60 + }; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/popconfirm/PurePanel.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + + +const Overlay = props => { + const { + prefixCls, + okButtonProps, + cancelButtonProps, + title, + description, + cancelText, + okText, + okType = 'primary', + icon = /*#__PURE__*/react.createElement(ExclamationCircleFilled/* default */.Z, null), + showCancel = true, + close, + onConfirm, + onCancel, + onPopupClick + } = props; + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const [contextLocale] = (0,useLocale/* default */.Z)('Popconfirm', en_US/* default.Popconfirm */.Z.Popconfirm); + const theTitle = (0,getRenderPropValue/* getRenderPropValue */.Z)(title); + const theDescription = (0,getRenderPropValue/* getRenderPropValue */.Z)(description); + return /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-inner-content`, + onClick: onPopupClick + }, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-message` + }, icon && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-message-icon` + }, icon), /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-message-text` + }, theTitle && /*#__PURE__*/react.createElement("div", { + className: classnames_default()(`${prefixCls}-title`) + }, theTitle), theDescription && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-description` + }, theDescription))), /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-buttons` + }, showCancel && /*#__PURE__*/react.createElement(es_button/* default */.ZP, Object.assign({ + onClick: onCancel, + size: "small" + }, cancelButtonProps), cancelText !== null && cancelText !== void 0 ? cancelText : contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.cancelText), /*#__PURE__*/react.createElement(ActionButton/* default */.Z, { + buttonProps: Object.assign(Object.assign({ + size: 'small' + }, (0,button_button/* convertLegacyProps */.n)(okType)), okButtonProps), + actionFn: onConfirm, + close: close, + prefixCls: getPrefixCls('btn'), + quitOnNullishReturnValue: true, + emitEvent: true + }, okText !== null && okText !== void 0 ? okText : contextLocale === null || contextLocale === void 0 ? void 0 : contextLocale.okText))); +}; +const PurePanel_PurePanel = props => { + const { + prefixCls: customizePrefixCls, + placement, + className, + style + } = props, + restProps = __rest(props, ["prefixCls", "placement", "className", "style"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('popconfirm', customizePrefixCls); + const [wrapSSR] = popconfirm_style(prefixCls); + return wrapSSR( /*#__PURE__*/react.createElement(PurePanel/* default */.ZP, { + placement: placement, + className: classnames_default()(prefixCls, className), + style: style, + content: /*#__PURE__*/react.createElement(Overlay, Object.assign({ + prefixCls: prefixCls + }, restProps)) + })); +}; +/* harmony default export */ var popconfirm_PurePanel = (PurePanel_PurePanel); +;// CONCATENATED MODULE: ./node_modules/antd/es/popconfirm/index.js +'use client'; + +var popconfirm_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + + +const Popconfirm = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + placement = 'top', + trigger = 'click', + okType = 'primary', + icon = /*#__PURE__*/react.createElement(ExclamationCircleFilled/* default */.Z, null), + children, + overlayClassName, + onOpenChange, + onVisibleChange + } = props, + restProps = popconfirm_rest(props, ["prefixCls", "placement", "trigger", "okType", "icon", "children", "overlayClassName", "onOpenChange", "onVisibleChange"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const [open, setOpen] = (0,useMergedState/* default */.Z)(false, { + value: props.open, + defaultValue: props.defaultOpen + }); + // const isDestroyed = useDestroyed(); + const settingOpen = (value, e) => { + setOpen(value, true); + onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(value); + onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(value, e); + }; + const close = e => { + settingOpen(false, e); + }; + const onConfirm = e => { + var _a; + return (_a = props.onConfirm) === null || _a === void 0 ? void 0 : _a.call(undefined, e); + }; + const onCancel = e => { + var _a; + settingOpen(false, e); + (_a = props.onCancel) === null || _a === void 0 ? void 0 : _a.call(undefined, e); + }; + const onKeyDown = e => { + if (e.keyCode === KeyCode/* default.ESC */.Z.ESC && open) { + settingOpen(false, e); + } + }; + const onInternalOpenChange = value => { + const { + disabled = false + } = props; + if (disabled) { + return; + } + settingOpen(value); + }; + const prefixCls = getPrefixCls('popconfirm', customizePrefixCls); + const overlayClassNames = classnames_default()(prefixCls, overlayClassName); + const [wrapSSR] = popconfirm_style(prefixCls); + return wrapSSR( /*#__PURE__*/react.createElement(popover/* default */.Z, Object.assign({}, (0,omit/* default */.Z)(restProps, ['title']), { + trigger: trigger, + placement: placement, + onOpenChange: onInternalOpenChange, + open: open, + ref: ref, + overlayClassName: overlayClassNames, + content: /*#__PURE__*/react.createElement(Overlay, Object.assign({ + okType: okType, + icon: icon + }, props, { + prefixCls: prefixCls, + close: close, + onConfirm: onConfirm, + onCancel: onCancel + })), + "data-popover-inject": true + }), (0,reactNode/* cloneElement */.Tm)(children, { + onKeyDown: e => { + var _a, _b; + if ( /*#__PURE__*/react.isValidElement(children)) { + (_b = children === null || children === void 0 ? void 0 : (_a = children.props).onKeyDown) === null || _b === void 0 ? void 0 : _b.call(_a, e); + } + onKeyDown(e); + } + }))); +}); +// We don't care debug panel +/* istanbul ignore next */ +Popconfirm._InternalPanelDoNotUseOrYouWillBeFired = popconfirm_PurePanel; +if (false) {} +/* harmony default export */ var popconfirm = (Popconfirm); + +/***/ }), + +/***/ 66330: +/*!***************************************************!*\ + !*** ./node_modules/antd/es/popover/PurePanel.js ***! + \***************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* unused harmony exports getOverlay, RawPurePanel */ +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-tooltip */ 92419); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./style */ 20136); +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + +const getOverlay = (prefixCls, title, content) => { + if (!title && !content) return undefined; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_3__/* .getRenderPropValue */ .Z)(content))); +}; +const RawPurePanel = props => { + const { + hashId, + prefixCls, + className, + style, + placement = 'top', + title, + content, + children + } = props; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(hashId, prefixCls, `${prefixCls}-pure`, `${prefixCls}-placement-${placement}`, className), + style: style + }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement("div", { + className: `${prefixCls}-arrow` + }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(rc_tooltip__WEBPACK_IMPORTED_MODULE_1__/* .Popup */ .G, Object.assign({}, props, { + className: hashId, + prefixCls: prefixCls + }), children || getOverlay(prefixCls, title, content))); +}; +const PurePanel = props => { + const { + prefixCls: customizePrefixCls + } = props, + restProps = __rest(props, ["prefixCls"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_4__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z)(prefixCls); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(RawPurePanel, Object.assign({}, restProps, { + prefixCls: prefixCls, + hashId: hashId + }))); +}; +/* harmony default export */ __webpack_exports__["ZP"] = (PurePanel); + +/***/ }), + +/***/ 55241: +/*!***********************************************!*\ + !*** ./node_modules/antd/es/popover/index.js ***! + \***********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../_util/getRenderPropValue */ 81643); +/* harmony import */ var _util_motion__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/motion */ 33603); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../tooltip */ 83062); +/* harmony import */ var _PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./PurePanel */ 66330); +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./style */ 20136); +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +// CSSINJS + +const Overlay = _ref => { + let { + title, + content, + prefixCls + } = _ref; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(react__WEBPACK_IMPORTED_MODULE_1__.Fragment, null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-title` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(title)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement("div", { + className: `${prefixCls}-inner-content` + }, (0,_util_getRenderPropValue__WEBPACK_IMPORTED_MODULE_2__/* .getRenderPropValue */ .Z)(content))); +}; +const Popover = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + title, + content, + overlayClassName, + placement = 'top', + trigger = 'hover', + mouseEnterDelay = 0.1, + mouseLeaveDelay = 0.1, + overlayStyle = {} + } = props, + otherProps = __rest(props, ["prefixCls", "title", "content", "overlayClassName", "placement", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle"]); + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_1__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_3__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('popover', customizePrefixCls); + const [wrapSSR, hashId] = (0,_style__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)(prefixCls); + const rootPrefixCls = getPrefixCls(); + const overlayCls = classnames__WEBPACK_IMPORTED_MODULE_0___default()(overlayClassName, hashId); + return wrapSSR( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(_tooltip__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, Object.assign({ + placement: placement, + trigger: trigger, + mouseEnterDelay: mouseEnterDelay, + mouseLeaveDelay: mouseLeaveDelay, + overlayStyle: overlayStyle + }, otherProps, { + prefixCls: prefixCls, + overlayClassName: overlayCls, + ref: ref, + overlay: title || content ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(Overlay, { + prefixCls: prefixCls, + title: title, + content: content + }) : null, + transitionName: (0,_util_motion__WEBPACK_IMPORTED_MODULE_6__/* .getTransitionName */ .mL)(rootPrefixCls, 'zoom-big', otherProps.transitionName), + "data-popover-inject": true + }))); +}); +if (false) {} +Popover._InternalPanelDoNotUseOrYouWillBeFired = _PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .ZP; +/* harmony default export */ __webpack_exports__["Z"] = (Popover); + +/***/ }), + +/***/ 20136: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/popover/style/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../style */ 14747); +/* harmony import */ var _style_motion__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../style/motion */ 50438); +/* harmony import */ var _style_placementArrow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../style/placementArrow */ 97414); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../theme/internal */ 8796); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../theme/internal */ 67968); +/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../theme/internal */ 45503); + + + + +const genBaseStyle = token => { + const { + componentCls, + popoverColor, + minWidth, + fontWeightStrong, + popoverPadding, + boxShadowSecondary, + colorTextHeading, + borderRadiusLG: borderRadius, + zIndexPopup, + marginXS, + colorBgElevated, + popoverBg + } = token; + return [{ + [componentCls]: Object.assign(Object.assign({}, (0,_style__WEBPACK_IMPORTED_MODULE_0__/* .resetComponent */ .Wf)(token)), { + position: 'absolute', + top: 0, + // use `left` to fix https://github.com/ant-design/ant-design/issues/39195 + left: { + _skip_check_: true, + value: 0 + }, + zIndex: zIndexPopup, + fontWeight: 'normal', + whiteSpace: 'normal', + textAlign: 'start', + cursor: 'auto', + userSelect: 'text', + transformOrigin: `var(--arrow-x, 50%) var(--arrow-y, 50%)`, + '--antd-arrow-background-color': colorBgElevated, + '&-rtl': { + direction: 'rtl' + }, + '&-hidden': { + display: 'none' + }, + [`${componentCls}-content`]: { + position: 'relative' + }, + [`${componentCls}-inner`]: { + backgroundColor: popoverBg, + backgroundClip: 'padding-box', + borderRadius, + boxShadow: boxShadowSecondary, + padding: popoverPadding + }, + [`${componentCls}-title`]: { + minWidth, + marginBottom: marginXS, + color: colorTextHeading, + fontWeight: fontWeightStrong + }, + [`${componentCls}-inner-content`]: { + color: popoverColor + } + }) + }, + // Arrow Style + (0,_style_placementArrow__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .ZP)(token, { + colorBg: 'var(--antd-arrow-background-color)' + }), + // Pure Render + { + [`${componentCls}-pure`]: { + position: 'relative', + maxWidth: 'none', + margin: token.sizePopupArrow, + display: 'inline-block', + [`${componentCls}-content`]: { + display: 'inline-block' + } + } + }]; +}; +const genColorStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: _theme_internal__WEBPACK_IMPORTED_MODULE_2__/* .PresetColors.map */ .i.map(colorKey => { + const lightColor = token[`${colorKey}6`]; + return { + [`&${componentCls}-${colorKey}`]: { + '--antd-arrow-background-color': lightColor, + [`${componentCls}-inner`]: { + backgroundColor: lightColor + }, + [`${componentCls}-arrow`]: { + background: 'transparent' + } + } + }; + }) + }; +}; +const genWireframeStyle = token => { + const { + componentCls, + lineWidth, + lineType, + colorSplit, + paddingSM, + controlHeight, + fontSize, + lineHeight, + padding + } = token; + const titlePaddingBlockDist = controlHeight - Math.round(fontSize * lineHeight); + const popoverTitlePaddingBlockTop = titlePaddingBlockDist / 2; + const popoverTitlePaddingBlockBottom = titlePaddingBlockDist / 2 - lineWidth; + const popoverPaddingHorizontal = padding; + return { + [componentCls]: { + [`${componentCls}-inner`]: { + padding: 0 + }, + [`${componentCls}-title`]: { + margin: 0, + padding: `${popoverTitlePaddingBlockTop}px ${popoverPaddingHorizontal}px ${popoverTitlePaddingBlockBottom}px`, + borderBottom: `${lineWidth}px ${lineType} ${colorSplit}` + }, + [`${componentCls}-inner-content`]: { + padding: `${paddingSM}px ${popoverPaddingHorizontal}px` + } + } + }; +}; +/* harmony default export */ __webpack_exports__["Z"] = ((0,_theme_internal__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z)('Popover', token => { + const { + colorBgElevated, + colorText, + wireframe + } = token; + const popoverToken = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_4__/* .merge */ .TS)(token, { + popoverPadding: 12, + popoverBg: colorBgElevated, + popoverColor: colorText + }); + return [genBaseStyle(popoverToken), genColorStyle(popoverToken), wireframe && genWireframeStyle(popoverToken), (0,_style_motion__WEBPACK_IMPORTED_MODULE_5__/* .initZoomMotion */ ._y)(popoverToken, 'zoom-big')]; +}, token => ({ + width: 177, + minWidth: 177, + zIndexPopup: token.zIndexPopupBase + 30 +}), { + deprecatedTokens: [['width', 'minWidth']] +})); + +/***/ }), + +/***/ 33507: +/*!*******************************************************!*\ + !*** ./node_modules/antd/es/style/motion/collapse.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +"use strict"; +const genCollapseMotion = token => ({ + [token.componentCls]: { + // For common/openAnimation + [`${token.antCls}-motion-collapse-legacy`]: { + overflow: 'hidden', + '&-active': { + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + }, + [`${token.antCls}-motion-collapse`]: { + overflow: 'hidden', + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + } +}); +/* harmony default export */ __webpack_exports__["Z"] = (genCollapseMotion); + +/***/ }), + +/***/ 55007: +/*!***********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js + 1 modules ***! + \***********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_LeftOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +// This icon file is generated automatically. +var LeftOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, "name": "left", "theme": "outlined" }; +/* harmony default export */ var asn_LeftOutlined = (LeftOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/LeftOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var LeftOutlined_LeftOutlined = function LeftOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_LeftOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_LeftOutlined = (/*#__PURE__*/react.forwardRef(LeftOutlined_LeftOutlined)); + +/***/ }), + +/***/ 79269: +/*!************************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js + 1 modules ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_RightOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +// This icon file is generated automatically. +var RightOutlined = { "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" }; +/* harmony default export */ var asn_RightOutlined = (RightOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/RightOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var RightOutlined_RightOutlined = function RightOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_RightOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_RightOutlined = (/*#__PURE__*/react.forwardRef(RightOutlined_RightOutlined)); + +/***/ }), + +/***/ 92389: +/*!**************************************************************!*\ + !*** ./node_modules/antd/node_modules/rc-util/es/KeyCode.js ***! + \**************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +"use strict"; +/** + * @ignore + * some key-codes definition and utils from closure-library + * @author yiminghe@gmail.com + */ + +var KeyCode = { + /** + * MAC_ENTER + */ + MAC_ENTER: 3, + /** + * BACKSPACE + */ + BACKSPACE: 8, + /** + * TAB + */ + TAB: 9, + /** + * NUMLOCK on FF/Safari Mac + */ + NUM_CENTER: 12, + // NUMLOCK on FF/Safari Mac + /** + * ENTER + */ + ENTER: 13, + /** + * SHIFT + */ + SHIFT: 16, + /** + * CTRL + */ + CTRL: 17, + /** + * ALT + */ + ALT: 18, + /** + * PAUSE + */ + PAUSE: 19, + /** + * CAPS_LOCK + */ + CAPS_LOCK: 20, + /** + * ESC + */ + ESC: 27, + /** + * SPACE + */ + SPACE: 32, + /** + * PAGE_UP + */ + PAGE_UP: 33, + // also NUM_NORTH_EAST + /** + * PAGE_DOWN + */ + PAGE_DOWN: 34, + // also NUM_SOUTH_EAST + /** + * END + */ + END: 35, + // also NUM_SOUTH_WEST + /** + * HOME + */ + HOME: 36, + // also NUM_NORTH_WEST + /** + * LEFT + */ + LEFT: 37, + // also NUM_WEST + /** + * UP + */ + UP: 38, + // also NUM_NORTH + /** + * RIGHT + */ + RIGHT: 39, + // also NUM_EAST + /** + * DOWN + */ + DOWN: 40, + // also NUM_SOUTH + /** + * PRINT_SCREEN + */ + PRINT_SCREEN: 44, + /** + * INSERT + */ + INSERT: 45, + // also NUM_INSERT + /** + * DELETE + */ + DELETE: 46, + // also NUM_DELETE + /** + * ZERO + */ + ZERO: 48, + /** + * ONE + */ + ONE: 49, + /** + * TWO + */ + TWO: 50, + /** + * THREE + */ + THREE: 51, + /** + * FOUR + */ + FOUR: 52, + /** + * FIVE + */ + FIVE: 53, + /** + * SIX + */ + SIX: 54, + /** + * SEVEN + */ + SEVEN: 55, + /** + * EIGHT + */ + EIGHT: 56, + /** + * NINE + */ + NINE: 57, + /** + * QUESTION_MARK + */ + QUESTION_MARK: 63, + // needs localization + /** + * A + */ + A: 65, + /** + * B + */ + B: 66, + /** + * C + */ + C: 67, + /** + * D + */ + D: 68, + /** + * E + */ + E: 69, + /** + * F + */ + F: 70, + /** + * G + */ + G: 71, + /** + * H + */ + H: 72, + /** + * I + */ + I: 73, + /** + * J + */ + J: 74, + /** + * K + */ + K: 75, + /** + * L + */ + L: 76, + /** + * M + */ + M: 77, + /** + * N + */ + N: 78, + /** + * O + */ + O: 79, + /** + * P + */ + P: 80, + /** + * Q + */ + Q: 81, + /** + * R + */ + R: 82, + /** + * S + */ + S: 83, + /** + * T + */ + T: 84, + /** + * U + */ + U: 85, + /** + * V + */ + V: 86, + /** + * W + */ + W: 87, + /** + * X + */ + X: 88, + /** + * Y + */ + Y: 89, + /** + * Z + */ + Z: 90, + /** + * META + */ + META: 91, + // WIN_KEY_LEFT + /** + * WIN_KEY_RIGHT + */ + WIN_KEY_RIGHT: 92, + /** + * CONTEXT_MENU + */ + CONTEXT_MENU: 93, + /** + * NUM_ZERO + */ + NUM_ZERO: 96, + /** + * NUM_ONE + */ + NUM_ONE: 97, + /** + * NUM_TWO + */ + NUM_TWO: 98, + /** + * NUM_THREE + */ + NUM_THREE: 99, + /** + * NUM_FOUR + */ + NUM_FOUR: 100, + /** + * NUM_FIVE + */ + NUM_FIVE: 101, + /** + * NUM_SIX + */ + NUM_SIX: 102, + /** + * NUM_SEVEN + */ + NUM_SEVEN: 103, + /** + * NUM_EIGHT + */ + NUM_EIGHT: 104, + /** + * NUM_NINE + */ + NUM_NINE: 105, + /** + * NUM_MULTIPLY + */ + NUM_MULTIPLY: 106, + /** + * NUM_PLUS + */ + NUM_PLUS: 107, + /** + * NUM_MINUS + */ + NUM_MINUS: 109, + /** + * NUM_PERIOD + */ + NUM_PERIOD: 110, + /** + * NUM_DIVISION + */ + NUM_DIVISION: 111, + /** + * F1 + */ + F1: 112, + /** + * F2 + */ + F2: 113, + /** + * F3 + */ + F3: 114, + /** + * F4 + */ + F4: 115, + /** + * F5 + */ + F5: 116, + /** + * F6 + */ + F6: 117, + /** + * F7 + */ + F7: 118, + /** + * F8 + */ + F8: 119, + /** + * F9 + */ + F9: 120, + /** + * F10 + */ + F10: 121, + /** + * F11 + */ + F11: 122, + /** + * F12 + */ + F12: 123, + /** + * NUMLOCK + */ + NUMLOCK: 144, + /** + * SEMICOLON + */ + SEMICOLON: 186, + // needs localization + /** + * DASH + */ + DASH: 189, + // needs localization + /** + * EQUALS + */ + EQUALS: 187, + // needs localization + /** + * COMMA + */ + COMMA: 188, + // needs localization + /** + * PERIOD + */ + PERIOD: 190, + // needs localization + /** + * SLASH + */ + SLASH: 191, + // needs localization + /** + * APOSTROPHE + */ + APOSTROPHE: 192, + // needs localization + /** + * SINGLE_QUOTE + */ + SINGLE_QUOTE: 222, + // needs localization + /** + * OPEN_SQUARE_BRACKET + */ + OPEN_SQUARE_BRACKET: 219, + // needs localization + /** + * BACKSLASH + */ + BACKSLASH: 220, + // needs localization + /** + * CLOSE_SQUARE_BRACKET + */ + CLOSE_SQUARE_BRACKET: 221, + // needs localization + /** + * WIN_KEY + */ + WIN_KEY: 224, + /** + * MAC_FF_META + */ + MAC_FF_META: 224, + // Firefox (Gecko) fires this for the meta key instead of 91 + /** + * WIN_IME + */ + WIN_IME: 229, + // ======================== Function ======================== + /** + * whether text and modified key is entered at the same time. + */ + isTextModifyingKeyEvent: function isTextModifyingKeyEvent(e) { + var keyCode = e.keyCode; + if (e.altKey && !e.ctrlKey || e.metaKey || + // Function keys don't generate text + keyCode >= KeyCode.F1 && keyCode <= KeyCode.F12) { + return false; + } + + // The following keys are quite harmless, even in combination with + // CTRL, ALT or SHIFT. + switch (keyCode) { + case KeyCode.ALT: + case KeyCode.CAPS_LOCK: + case KeyCode.CONTEXT_MENU: + case KeyCode.CTRL: + case KeyCode.DOWN: + case KeyCode.END: + case KeyCode.ESC: + case KeyCode.HOME: + case KeyCode.INSERT: + case KeyCode.LEFT: + case KeyCode.MAC_FF_META: + case KeyCode.META: + case KeyCode.NUMLOCK: + case KeyCode.NUM_CENTER: + case KeyCode.PAGE_DOWN: + case KeyCode.PAGE_UP: + case KeyCode.PAUSE: + case KeyCode.PRINT_SCREEN: + case KeyCode.RIGHT: + case KeyCode.SHIFT: + case KeyCode.UP: + case KeyCode.WIN_KEY: + case KeyCode.WIN_KEY_RIGHT: + return false; + default: + return true; + } + }, + /** + * whether character is entered. + */ + isCharacterKey: function isCharacterKey(keyCode) { + if (keyCode >= KeyCode.ZERO && keyCode <= KeyCode.NINE) { + return true; + } + if (keyCode >= KeyCode.NUM_ZERO && keyCode <= KeyCode.NUM_MULTIPLY) { + return true; + } + if (keyCode >= KeyCode.A && keyCode <= KeyCode.Z) { + return true; + } + + // Safari sends zero key code for non-latin characters. + if (window.navigator.userAgent.indexOf('WebKit') !== -1 && keyCode === 0) { + return true; + } + switch (keyCode) { + case KeyCode.SPACE: + case KeyCode.QUESTION_MARK: + case KeyCode.NUM_PLUS: + case KeyCode.NUM_MINUS: + case KeyCode.NUM_PERIOD: + case KeyCode.NUM_DIVISION: + case KeyCode.SEMICOLON: + case KeyCode.DASH: + case KeyCode.EQUALS: + case KeyCode.COMMA: + case KeyCode.PERIOD: + case KeyCode.SLASH: + case KeyCode.APOSTROPHE: + case KeyCode.SINGLE_QUOTE: + case KeyCode.OPEN_SQUARE_BRACKET: + case KeyCode.BACKSLASH: + case KeyCode.CLOSE_SQUARE_BRACKET: + return true; + default: + return false; + } + } +}; +/* harmony default export */ __webpack_exports__["Z"] = (KeyCode); + +/***/ }), + +/***/ 19575: +/*!******************************************!*\ + !*** ./node_modules/js-base64/base64.js ***! + \******************************************/ +/***/ (function(module, exports, __webpack_require__) { + +var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* + * base64.js + * + * Licensed under the BSD 3-Clause License. + * http://opensource.org/licenses/BSD-3-Clause + * + * References: + * http://en.wikipedia.org/wiki/Base64 + */ +;(function (global, factory) { + true + ? module.exports = factory(global) + : 0 +}(( + typeof self !== 'undefined' ? self + : typeof window !== 'undefined' ? window + : typeof __webpack_require__.g !== 'undefined' ? __webpack_require__.g +: this +), function(global) { + 'use strict'; + // existing version for noConflict() + global = global || {}; + var _Base64 = global.Base64; + var version = "2.6.4"; + // constants + var b64chars + = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; + var b64tab = function(bin) { + var t = {}; + for (var i = 0, l = bin.length; i < l; i++) t[bin.charAt(i)] = i; + return t; + }(b64chars); + var fromCharCode = String.fromCharCode; + // encoder stuff + var cb_utob = function(c) { + if (c.length < 2) { + var cc = c.charCodeAt(0); + return cc < 0x80 ? c + : cc < 0x800 ? (fromCharCode(0xc0 | (cc >>> 6)) + + fromCharCode(0x80 | (cc & 0x3f))) + : (fromCharCode(0xe0 | ((cc >>> 12) & 0x0f)) + + fromCharCode(0x80 | ((cc >>> 6) & 0x3f)) + + fromCharCode(0x80 | ( cc & 0x3f))); + } else { + var cc = 0x10000 + + (c.charCodeAt(0) - 0xD800) * 0x400 + + (c.charCodeAt(1) - 0xDC00); + return (fromCharCode(0xf0 | ((cc >>> 18) & 0x07)) + + fromCharCode(0x80 | ((cc >>> 12) & 0x3f)) + + fromCharCode(0x80 | ((cc >>> 6) & 0x3f)) + + fromCharCode(0x80 | ( cc & 0x3f))); + } + }; + var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g; + var utob = function(u) { + return u.replace(re_utob, cb_utob); + }; + var cb_encode = function(ccc) { + var padlen = [0, 2, 1][ccc.length % 3], + ord = ccc.charCodeAt(0) << 16 + | ((ccc.length > 1 ? ccc.charCodeAt(1) : 0) << 8) + | ((ccc.length > 2 ? ccc.charCodeAt(2) : 0)), + chars = [ + b64chars.charAt( ord >>> 18), + b64chars.charAt((ord >>> 12) & 63), + padlen >= 2 ? '=' : b64chars.charAt((ord >>> 6) & 63), + padlen >= 1 ? '=' : b64chars.charAt(ord & 63) + ]; + return chars.join(''); + }; + var btoa = global.btoa && typeof global.btoa == 'function' + ? function(b){ return global.btoa(b) } : function(b) { + if (b.match(/[^\x00-\xFF]/)) throw new RangeError( + 'The string contains invalid characters.' + ); + return b.replace(/[\s\S]{1,3}/g, cb_encode); + }; + var _encode = function(u) { + return btoa(utob(String(u))); + }; + var mkUriSafe = function (b64) { + return b64.replace(/[+\/]/g, function(m0) { + return m0 == '+' ? '-' : '_'; + }).replace(/=/g, ''); + }; + var encode = function(u, urisafe) { + return urisafe ? mkUriSafe(_encode(u)) : _encode(u); + }; + var encodeURI = function(u) { return encode(u, true) }; + var fromUint8Array; + if (global.Uint8Array) fromUint8Array = function(a, urisafe) { + // return btoa(fromCharCode.apply(null, a)); + var b64 = ''; + for (var i = 0, l = a.length; i < l; i += 3) { + var a0 = a[i], a1 = a[i+1], a2 = a[i+2]; + var ord = a0 << 16 | a1 << 8 | a2; + b64 += b64chars.charAt( ord >>> 18) + + b64chars.charAt((ord >>> 12) & 63) + + ( typeof a1 != 'undefined' + ? b64chars.charAt((ord >>> 6) & 63) : '=') + + ( typeof a2 != 'undefined' + ? b64chars.charAt( ord & 63) : '='); + } + return urisafe ? mkUriSafe(b64) : b64; + }; + // decoder stuff + var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g; + var cb_btou = function(cccc) { + switch(cccc.length) { + case 4: + var cp = ((0x07 & cccc.charCodeAt(0)) << 18) + | ((0x3f & cccc.charCodeAt(1)) << 12) + | ((0x3f & cccc.charCodeAt(2)) << 6) + | (0x3f & cccc.charCodeAt(3)), + offset = cp - 0x10000; + return (fromCharCode((offset >>> 10) + 0xD800) + + fromCharCode((offset & 0x3FF) + 0xDC00)); + case 3: + return fromCharCode( + ((0x0f & cccc.charCodeAt(0)) << 12) + | ((0x3f & cccc.charCodeAt(1)) << 6) + | (0x3f & cccc.charCodeAt(2)) + ); + default: + return fromCharCode( + ((0x1f & cccc.charCodeAt(0)) << 6) + | (0x3f & cccc.charCodeAt(1)) + ); + } + }; + var btou = function(b) { + return b.replace(re_btou, cb_btou); + }; + var cb_decode = function(cccc) { + var len = cccc.length, + padlen = len % 4, + n = (len > 0 ? b64tab[cccc.charAt(0)] << 18 : 0) + | (len > 1 ? b64tab[cccc.charAt(1)] << 12 : 0) + | (len > 2 ? b64tab[cccc.charAt(2)] << 6 : 0) + | (len > 3 ? b64tab[cccc.charAt(3)] : 0), + chars = [ + fromCharCode( n >>> 16), + fromCharCode((n >>> 8) & 0xff), + fromCharCode( n & 0xff) + ]; + chars.length -= [0, 0, 2, 1][padlen]; + return chars.join(''); + }; + var _atob = global.atob && typeof global.atob == 'function' + ? function(a){ return global.atob(a) } : function(a){ + return a.replace(/\S{1,4}/g, cb_decode); + }; + var atob = function(a) { + return _atob(String(a).replace(/[^A-Za-z0-9\+\/]/g, '')); + }; + var _decode = function(a) { return btou(_atob(a)) }; + var _fromURI = function(a) { + return String(a).replace(/[-_]/g, function(m0) { + return m0 == '-' ? '+' : '/' + }).replace(/[^A-Za-z0-9\+\/]/g, ''); + }; + var decode = function(a){ + return _decode(_fromURI(a)); + }; + var toUint8Array; + if (global.Uint8Array) toUint8Array = function(a) { + return Uint8Array.from(atob(_fromURI(a)), function(c) { + return c.charCodeAt(0); + }); + }; + var noConflict = function() { + var Base64 = global.Base64; + global.Base64 = _Base64; + return Base64; + }; + // export Base64 + global.Base64 = { + VERSION: version, + atob: atob, + btoa: btoa, + fromBase64: decode, + toBase64: encode, + utob: utob, + encode: encode, + encodeURI: encodeURI, + btou: btou, + decode: decode, + noConflict: noConflict, + fromUint8Array: fromUint8Array, + toUint8Array: toUint8Array + }; + // if ES5 is available, make Base64.extendString() available + if (typeof Object.defineProperty === 'function') { + var noEnum = function(v){ + return {value:v,enumerable:false,writable:true,configurable:true}; + }; + global.Base64.extendString = function () { + Object.defineProperty( + String.prototype, 'fromBase64', noEnum(function () { + return decode(this) + })); + Object.defineProperty( + String.prototype, 'toBase64', noEnum(function (urisafe) { + return encode(this, urisafe) + })); + Object.defineProperty( + String.prototype, 'toBase64URI', noEnum(function () { + return encode(this, true) + })); + }; + } + // + // export Base64 to the namespace + // + if (global['Meteor']) { // Meteor.js + Base64 = global.Base64; + } + // module.exports and AMD are mutually exclusive. + // module.exports has precedence. + if ( true && module.exports) { + module.exports.Base64 = global.Base64; + } + else if (true) { + // AMD. Register as an anonymous module. + !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function(){ return global.Base64 }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + } + // that's it! + return {Base64: global.Base64} +})); + + +/***/ }), + +/***/ 58971: +/*!*************************************************!*\ + !*** ./node_modules/store/dist/store.legacy.js ***! + \*************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var engine = __webpack_require__(/*! ../src/store-engine */ 62195) + +var storages = __webpack_require__(/*! ../storages/all */ 39015) +var plugins = [__webpack_require__(/*! ../plugins/json2 */ 19257)] + +module.exports = engine.createStore(storages, plugins) + + +/***/ }), + +/***/ 19257: +/*!*********************************************!*\ + !*** ./node_modules/store/plugins/json2.js ***! + \*********************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = json2Plugin + +function json2Plugin() { + __webpack_require__(/*! ./lib/json2 */ 55703) + return {} +} + + +/***/ }), + +/***/ 55703: +/*!*************************************************!*\ + !*** ./node_modules/store/plugins/lib/json2.js ***! + \*************************************************/ +/***/ (function() { + +/* eslint-disable */ + +// json2.js +// 2016-10-28 +// Public Domain. +// NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. +// See http://www.JSON.org/js.html +// This code should be minified before deployment. +// See http://javascript.crockford.com/jsmin.html + +// USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO +// NOT CONTROL. + +// This file creates a global JSON object containing two methods: stringify +// and parse. This file provides the ES5 JSON capability to ES3 systems. +// If a project might run on IE8 or earlier, then this file should be included. +// This file does nothing on ES5 systems. + +// JSON.stringify(value, replacer, space) +// value any JavaScript value, usually an object or array. +// replacer an optional parameter that determines how object +// values are stringified for objects. It can be a +// function or an array of strings. +// space an optional parameter that specifies the indentation +// of nested structures. If it is omitted, the text will +// be packed without extra whitespace. If it is a number, +// it will specify the number of spaces to indent at each +// level. If it is a string (such as "\t" or " "), +// it contains the characters used to indent at each level. +// This method produces a JSON text from a JavaScript value. +// When an object value is found, if the object contains a toJSON +// method, its toJSON method will be called and the result will be +// stringified. A toJSON method does not serialize: it returns the +// value represented by the name/value pair that should be serialized, +// or undefined if nothing should be serialized. The toJSON method +// will be passed the key associated with the value, and this will be +// bound to the value. + +// For example, this would serialize Dates as ISO strings. + +// Date.prototype.toJSON = function (key) { +// function f(n) { +// // Format integers to have at least two digits. +// return (n < 10) +// ? "0" + n +// : n; +// } +// return this.getUTCFullYear() + "-" + +// f(this.getUTCMonth() + 1) + "-" + +// f(this.getUTCDate()) + "T" + +// f(this.getUTCHours()) + ":" + +// f(this.getUTCMinutes()) + ":" + +// f(this.getUTCSeconds()) + "Z"; +// }; + +// You can provide an optional replacer method. It will be passed the +// key and value of each member, with this bound to the containing +// object. The value that is returned from your method will be +// serialized. If your method returns undefined, then the member will +// be excluded from the serialization. + +// If the replacer parameter is an array of strings, then it will be +// used to select the members to be serialized. It filters the results +// such that only members with keys listed in the replacer array are +// stringified. + +// Values that do not have JSON representations, such as undefined or +// functions, will not be serialized. Such values in objects will be +// dropped; in arrays they will be replaced with null. You can use +// a replacer function to replace those with JSON values. + +// JSON.stringify(undefined) returns undefined. + +// The optional space parameter produces a stringification of the +// value that is filled with line breaks and indentation to make it +// easier to read. + +// If the space parameter is a non-empty string, then that string will +// be used for indentation. If the space parameter is a number, then +// the indentation will be that many spaces. + +// Example: + +// text = JSON.stringify(["e", {pluribus: "unum"}]); +// // text is '["e",{"pluribus":"unum"}]' + +// text = JSON.stringify(["e", {pluribus: "unum"}], null, "\t"); +// // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]' + +// text = JSON.stringify([new Date()], function (key, value) { +// return this[key] instanceof Date +// ? "Date(" + this[key] + ")" +// : value; +// }); +// // text is '["Date(---current time---)"]' + +// JSON.parse(text, reviver) +// This method parses a JSON text to produce an object or array. +// It can throw a SyntaxError exception. + +// The optional reviver parameter is a function that can filter and +// transform the results. It receives each of the keys and values, +// and its return value is used instead of the original value. +// If it returns what it received, then the structure is not modified. +// If it returns undefined then the member is deleted. + +// Example: + +// // Parse the text. Values that look like ISO date strings will +// // be converted to Date objects. + +// myData = JSON.parse(text, function (key, value) { +// var a; +// if (typeof value === "string") { +// a = +// /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value); +// if (a) { +// return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4], +// +a[5], +a[6])); +// } +// } +// return value; +// }); + +// myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) { +// var d; +// if (typeof value === "string" && +// value.slice(0, 5) === "Date(" && +// value.slice(-1) === ")") { +// d = new Date(value.slice(5, -1)); +// if (d) { +// return d; +// } +// } +// return value; +// }); + +// This is a reference implementation. You are free to copy, modify, or +// redistribute. + +/*jslint + eval, for, this +*/ + +/*property + JSON, apply, call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours, + getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join, + lastIndex, length, parse, prototype, push, replace, slice, stringify, + test, toJSON, toString, valueOf +*/ + + +// Create a JSON object only if one does not already exist. We create the +// methods in a closure to avoid creating global variables. + +if (typeof JSON !== "object") { + JSON = {}; +} + +(function () { + "use strict"; + + var rx_one = /^[\],:{}\s]*$/; + var rx_two = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g; + var rx_three = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g; + var rx_four = /(?:^|:|,)(?:\s*\[)+/g; + var rx_escapable = /[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g; + var rx_dangerous = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g; + + function f(n) { + // Format integers to have at least two digits. + return n < 10 + ? "0" + n + : n; + } + + function this_value() { + return this.valueOf(); + } + + if (typeof Date.prototype.toJSON !== "function") { + + Date.prototype.toJSON = function () { + + return isFinite(this.valueOf()) + ? this.getUTCFullYear() + "-" + + f(this.getUTCMonth() + 1) + "-" + + f(this.getUTCDate()) + "T" + + f(this.getUTCHours()) + ":" + + f(this.getUTCMinutes()) + ":" + + f(this.getUTCSeconds()) + "Z" + : null; + }; + + Boolean.prototype.toJSON = this_value; + Number.prototype.toJSON = this_value; + String.prototype.toJSON = this_value; + } + + var gap; + var indent; + var meta; + var rep; + + + function quote(string) { + +// If the string contains no control characters, no quote characters, and no +// backslash characters, then we can safely slap some quotes around it. +// Otherwise we must also replace the offending characters with safe escape +// sequences. + + rx_escapable.lastIndex = 0; + return rx_escapable.test(string) + ? "\"" + string.replace(rx_escapable, function (a) { + var c = meta[a]; + return typeof c === "string" + ? c + : "\\u" + ("0000" + a.charCodeAt(0).toString(16)).slice(-4); + }) + "\"" + : "\"" + string + "\""; + } + + + function str(key, holder) { + +// Produce a string from holder[key]. + + var i; // The loop counter. + var k; // The member key. + var v; // The member value. + var length; + var mind = gap; + var partial; + var value = holder[key]; + +// If the value has a toJSON method, call it to obtain a replacement value. + + if (value && typeof value === "object" && + typeof value.toJSON === "function") { + value = value.toJSON(key); + } + +// If we were called with a replacer function, then call the replacer to +// obtain a replacement value. + + if (typeof rep === "function") { + value = rep.call(holder, key, value); + } + +// What happens next depends on the value's type. + + switch (typeof value) { + case "string": + return quote(value); + + case "number": + +// JSON numbers must be finite. Encode non-finite numbers as null. + + return isFinite(value) + ? String(value) + : "null"; + + case "boolean": + case "null": + +// If the value is a boolean or null, convert it to a string. Note: +// typeof null does not produce "null". The case is included here in +// the remote chance that this gets fixed someday. + + return String(value); + +// If the type is "object", we might be dealing with an object or an array or +// null. + + case "object": + +// Due to a specification blunder in ECMAScript, typeof null is "object", +// so watch out for that case. + + if (!value) { + return "null"; + } + +// Make an array to hold the partial results of stringifying this object value. + + gap += indent; + partial = []; + +// Is the value an array? + + if (Object.prototype.toString.apply(value) === "[object Array]") { + +// The value is an array. Stringify every element. Use null as a placeholder +// for non-JSON values. + + length = value.length; + for (i = 0; i < length; i += 1) { + partial[i] = str(i, value) || "null"; + } + +// Join all of the elements together, separated with commas, and wrap them in +// brackets. + + v = partial.length === 0 + ? "[]" + : gap + ? "[\n" + gap + partial.join(",\n" + gap) + "\n" + mind + "]" + : "[" + partial.join(",") + "]"; + gap = mind; + return v; + } + +// If the replacer is an array, use it to select the members to be stringified. + + if (rep && typeof rep === "object") { + length = rep.length; + for (i = 0; i < length; i += 1) { + if (typeof rep[i] === "string") { + k = rep[i]; + v = str(k, value); + if (v) { + partial.push(quote(k) + ( + gap + ? ": " + : ":" + ) + v); + } + } + } + } else { + +// Otherwise, iterate through all of the keys in the object. + + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = str(k, value); + if (v) { + partial.push(quote(k) + ( + gap + ? ": " + : ":" + ) + v); + } + } + } + } + +// Join all of the member texts together, separated with commas, +// and wrap them in braces. + + v = partial.length === 0 + ? "{}" + : gap + ? "{\n" + gap + partial.join(",\n" + gap) + "\n" + mind + "}" + : "{" + partial.join(",") + "}"; + gap = mind; + return v; + } + } + +// If the JSON object does not yet have a stringify method, give it one. + + if (typeof JSON.stringify !== "function") { + meta = { // table of character substitutions + "\b": "\\b", + "\t": "\\t", + "\n": "\\n", + "\f": "\\f", + "\r": "\\r", + "\"": "\\\"", + "\\": "\\\\" + }; + JSON.stringify = function (value, replacer, space) { + +// The stringify method takes a value and an optional replacer, and an optional +// space parameter, and returns a JSON text. The replacer can be a function +// that can replace values, or an array of strings that will select the keys. +// A default replacer method can be provided. Use of the space parameter can +// produce text that is more easily readable. + + var i; + gap = ""; + indent = ""; + +// If the space parameter is a number, make an indent string containing that +// many spaces. + + if (typeof space === "number") { + for (i = 0; i < space; i += 1) { + indent += " "; + } + +// If the space parameter is a string, it will be used as the indent string. + + } else if (typeof space === "string") { + indent = space; + } + +// If there is a replacer, it must be a function or an array. +// Otherwise, throw an error. + + rep = replacer; + if (replacer && typeof replacer !== "function" && + (typeof replacer !== "object" || + typeof replacer.length !== "number")) { + throw new Error("JSON.stringify"); + } + +// Make a fake root object containing our value under the key of "". +// Return the result of stringifying the value. + + return str("", {"": value}); + }; + } + + +// If the JSON object does not yet have a parse method, give it one. + + if (typeof JSON.parse !== "function") { + JSON.parse = function (text, reviver) { + +// The parse method takes a text and an optional reviver function, and returns +// a JavaScript value if the text is a valid JSON text. + + var j; + + function walk(holder, key) { + +// The walk method is used to recursively walk the resulting structure so +// that modifications can be made. + + var k; + var v; + var value = holder[key]; + if (value && typeof value === "object") { + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = walk(value, k); + if (v !== undefined) { + value[k] = v; + } else { + delete value[k]; + } + } + } + } + return reviver.call(holder, key, value); + } + + +// Parsing happens in four stages. In the first stage, we replace certain +// Unicode characters with escape sequences. JavaScript handles many characters +// incorrectly, either silently deleting them, or treating them as line endings. + + text = String(text); + rx_dangerous.lastIndex = 0; + if (rx_dangerous.test(text)) { + text = text.replace(rx_dangerous, function (a) { + return "\\u" + + ("0000" + a.charCodeAt(0).toString(16)).slice(-4); + }); + } + +// In the second stage, we run the text against regular expressions that look +// for non-JSON patterns. We are especially concerned with "()" and "new" +// because they can cause invocation, and "=" because it can cause mutation. +// But just to be safe, we want to reject all unexpected forms. + +// We split the second stage into 4 regexp operations in order to work around +// crippling inefficiencies in IE's and Safari's regexp engines. First we +// replace the JSON backslash pairs with "@" (a non-JSON character). Second, we +// replace all simple value tokens with "]" characters. Third, we delete all +// open brackets that follow a colon or comma or that begin the text. Finally, +// we look to see that the remaining characters are only whitespace or "]" or +// "," or ":" or "{" or "}". If that is so, then the text is safe for eval. + + if ( + rx_one.test( + text + .replace(rx_two, "@") + .replace(rx_three, "]") + .replace(rx_four, "") + ) + ) { + +// In the third stage we use the eval function to compile the text into a +// JavaScript structure. The "{" operator is subject to a syntactic ambiguity +// in JavaScript: it can begin a block or an object literal. We wrap the text +// in parens to eliminate the ambiguity. + + j = eval("(" + text + ")"); + +// In the optional fourth stage, we recursively walk the new structure, passing +// each name/value pair to a reviver function for possible transformation. + + return (typeof reviver === "function") + ? walk({"": j}, "") + : j; + } + +// If the text is not JSON parseable, then a SyntaxError is thrown. + + throw new SyntaxError("JSON.parse"); + }; + } +}()); + +/***/ }), + +/***/ 62195: +/*!************************************************!*\ + !*** ./node_modules/store/src/store-engine.js ***! + \************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var util = __webpack_require__(/*! ./util */ 69078) +var slice = util.slice +var pluck = util.pluck +var each = util.each +var bind = util.bind +var create = util.create +var isList = util.isList +var isFunction = util.isFunction +var isObject = util.isObject + +module.exports = { + createStore: createStore +} + +var storeAPI = { + version: '2.0.12', + enabled: false, + + // get returns the value of the given key. If that value + // is undefined, it returns optionalDefaultValue instead. + get: function(key, optionalDefaultValue) { + var data = this.storage.read(this._namespacePrefix + key) + return this._deserialize(data, optionalDefaultValue) + }, + + // set will store the given value at key and returns value. + // Calling set with value === undefined is equivalent to calling remove. + set: function(key, value) { + if (value === undefined) { + return this.remove(key) + } + this.storage.write(this._namespacePrefix + key, this._serialize(value)) + return value + }, + + // remove deletes the key and value stored at the given key. + remove: function(key) { + this.storage.remove(this._namespacePrefix + key) + }, + + // each will call the given callback once for each key-value pair + // in this store. + each: function(callback) { + var self = this + this.storage.each(function(val, namespacedKey) { + callback.call(self, self._deserialize(val), (namespacedKey || '').replace(self._namespaceRegexp, '')) + }) + }, + + // clearAll will remove all the stored key-value pairs in this store. + clearAll: function() { + this.storage.clearAll() + }, + + // additional functionality that can't live in plugins + // --------------------------------------------------- + + // hasNamespace returns true if this store instance has the given namespace. + hasNamespace: function(namespace) { + return (this._namespacePrefix == '__storejs_'+namespace+'_') + }, + + // createStore creates a store.js instance with the first + // functioning storage in the list of storage candidates, + // and applies the the given mixins to the instance. + createStore: function() { + return createStore.apply(this, arguments) + }, + + addPlugin: function(plugin) { + this._addPlugin(plugin) + }, + + namespace: function(namespace) { + return createStore(this.storage, this.plugins, namespace) + } +} + +function _warn() { + var _console = (typeof console == 'undefined' ? null : console) + if (!_console) { return } + var fn = (_console.warn ? _console.warn : _console.log) + fn.apply(_console, arguments) +} + +function createStore(storages, plugins, namespace) { + if (!namespace) { + namespace = '' + } + if (storages && !isList(storages)) { + storages = [storages] + } + if (plugins && !isList(plugins)) { + plugins = [plugins] + } + + var namespacePrefix = (namespace ? '__storejs_'+namespace+'_' : '') + var namespaceRegexp = (namespace ? new RegExp('^'+namespacePrefix) : null) + var legalNamespaces = /^[a-zA-Z0-9_\-]*$/ // alpha-numeric + underscore and dash + if (!legalNamespaces.test(namespace)) { + throw new Error('store.js namespaces can only have alphanumerics + underscores and dashes') + } + + var _privateStoreProps = { + _namespacePrefix: namespacePrefix, + _namespaceRegexp: namespaceRegexp, + + _testStorage: function(storage) { + try { + var testStr = '__storejs__test__' + storage.write(testStr, testStr) + var ok = (storage.read(testStr) === testStr) + storage.remove(testStr) + return ok + } catch(e) { + return false + } + }, + + _assignPluginFnProp: function(pluginFnProp, propName) { + var oldFn = this[propName] + this[propName] = function pluginFn() { + var args = slice(arguments, 0) + var self = this + + // super_fn calls the old function which was overwritten by + // this mixin. + function super_fn() { + if (!oldFn) { return } + each(arguments, function(arg, i) { + args[i] = arg + }) + return oldFn.apply(self, args) + } + + // Give mixing function access to super_fn by prefixing all mixin function + // arguments with super_fn. + var newFnArgs = [super_fn].concat(args) + + return pluginFnProp.apply(self, newFnArgs) + } + }, + + _serialize: function(obj) { + return JSON.stringify(obj) + }, + + _deserialize: function(strVal, defaultVal) { + if (!strVal) { return defaultVal } + // It is possible that a raw string value has been previously stored + // in a storage without using store.js, meaning it will be a raw + // string value instead of a JSON serialized string. By defaulting + // to the raw string value in case of a JSON parse error, we allow + // for past stored values to be forwards-compatible with store.js + var val = '' + try { val = JSON.parse(strVal) } + catch(e) { val = strVal } + + return (val !== undefined ? val : defaultVal) + }, + + _addStorage: function(storage) { + if (this.enabled) { return } + if (this._testStorage(storage)) { + this.storage = storage + this.enabled = true + } + }, + + _addPlugin: function(plugin) { + var self = this + + // If the plugin is an array, then add all plugins in the array. + // This allows for a plugin to depend on other plugins. + if (isList(plugin)) { + each(plugin, function(plugin) { + self._addPlugin(plugin) + }) + return + } + + // Keep track of all plugins we've seen so far, so that we + // don't add any of them twice. + var seenPlugin = pluck(this.plugins, function(seenPlugin) { + return (plugin === seenPlugin) + }) + if (seenPlugin) { + return + } + this.plugins.push(plugin) + + // Check that the plugin is properly formed + if (!isFunction(plugin)) { + throw new Error('Plugins must be function values that return objects') + } + + var pluginProperties = plugin.call(this) + if (!isObject(pluginProperties)) { + throw new Error('Plugins must return an object of function properties') + } + + // Add the plugin function properties to this store instance. + each(pluginProperties, function(pluginFnProp, propName) { + if (!isFunction(pluginFnProp)) { + throw new Error('Bad plugin property: '+propName+' from plugin '+plugin.name+'. Plugins should only return functions.') + } + self._assignPluginFnProp(pluginFnProp, propName) + }) + }, + + // Put deprecated properties in the private API, so as to not expose it to accidential + // discovery through inspection of the store object. + + // Deprecated: addStorage + addStorage: function(storage) { + _warn('store.addStorage(storage) is deprecated. Use createStore([storages])') + this._addStorage(storage) + } + } + + var store = create(_privateStoreProps, storeAPI, { + plugins: [] + }) + store.raw = {} + each(store, function(prop, propName) { + if (isFunction(prop)) { + store.raw[propName] = bind(store, prop) + } + }) + each(storages, function(storage) { + store._addStorage(storage) + }) + each(plugins, function(plugin) { + store._addPlugin(plugin) + }) + return store +} + + +/***/ }), + +/***/ 69078: +/*!****************************************!*\ + !*** ./node_modules/store/src/util.js ***! + \****************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var assign = make_assign() +var create = make_create() +var trim = make_trim() +var Global = (typeof window !== 'undefined' ? window : __webpack_require__.g) + +module.exports = { + assign: assign, + create: create, + trim: trim, + bind: bind, + slice: slice, + each: each, + map: map, + pluck: pluck, + isList: isList, + isFunction: isFunction, + isObject: isObject, + Global: Global +} + +function make_assign() { + if (Object.assign) { + return Object.assign + } else { + return function shimAssign(obj, props1, props2, etc) { + for (var i = 1; i < arguments.length; i++) { + each(Object(arguments[i]), function(val, key) { + obj[key] = val + }) + } + return obj + } + } +} + +function make_create() { + if (Object.create) { + return function create(obj, assignProps1, assignProps2, etc) { + var assignArgsList = slice(arguments, 1) + return assign.apply(this, [Object.create(obj)].concat(assignArgsList)) + } + } else { + function F() {} // eslint-disable-line no-inner-declarations + return function create(obj, assignProps1, assignProps2, etc) { + var assignArgsList = slice(arguments, 1) + F.prototype = obj + return assign.apply(this, [new F()].concat(assignArgsList)) + } + } +} + +function make_trim() { + if (String.prototype.trim) { + return function trim(str) { + return String.prototype.trim.call(str) + } + } else { + return function trim(str) { + return str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '') + } + } +} + +function bind(obj, fn) { + return function() { + return fn.apply(obj, Array.prototype.slice.call(arguments, 0)) + } +} + +function slice(arr, index) { + return Array.prototype.slice.call(arr, index || 0) +} + +function each(obj, fn) { + pluck(obj, function(val, key) { + fn(val, key) + return false + }) +} + +function map(obj, fn) { + var res = (isList(obj) ? [] : {}) + pluck(obj, function(v, k) { + res[k] = fn(v, k) + return false + }) + return res +} + +function pluck(obj, fn) { + if (isList(obj)) { + for (var i=0; i= 0; i--) { + if (!trim(cookies[i])) { + continue + } + var kvp = cookies[i].split('=') + var key = unescape(kvp[0]) + var val = unescape(kvp[1]) + callback(val, key) + } +} + +function write(key, data) { + if(!key) { return } + doc.cookie = escape(key) + "=" + escape(data) + "; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/" +} + +function remove(key) { + if (!key || !_has(key)) { + return + } + doc.cookie = escape(key) + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/" +} + +function clearAll() { + each(function(_, key) { + remove(key) + }) +} + +function _has(key) { + return (new RegExp("(?:^|;\\s*)" + escape(key).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=")).test(doc.cookie) +} + + +/***/ }), + +/***/ 39627: +/*!*****************************************************!*\ + !*** ./node_modules/store/storages/localStorage.js ***! + \*****************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var util = __webpack_require__(/*! ../src/util */ 69078) +var Global = util.Global + +module.exports = { + name: 'localStorage', + read: read, + write: write, + each: each, + remove: remove, + clearAll: clearAll, +} + +function localStorage() { + return Global.localStorage +} + +function read(key) { + return localStorage().getItem(key) +} + +function write(key, data) { + return localStorage().setItem(key, data) +} + +function each(fn) { + for (var i = localStorage().length - 1; i >= 0; i--) { + var key = localStorage().key(i) + fn(read(key), key) + } +} + +function remove(key) { + return localStorage().removeItem(key) +} + +function clearAll() { + return localStorage().clear() +} + + +/***/ }), + +/***/ 8728: +/*!******************************************************!*\ + !*** ./node_modules/store/storages/memoryStorage.js ***! + \******************************************************/ +/***/ (function(module) { + +// memoryStorage is a useful last fallback to ensure that the store +// is functions (meaning store.get(), store.set(), etc will all function). +// However, stored values will not persist when the browser navigates to +// a new page or reloads the current page. + +module.exports = { + name: 'memoryStorage', + read: read, + write: write, + each: each, + remove: remove, + clearAll: clearAll, +} + +var memoryStorage = {} + +function read(key) { + return memoryStorage[key] +} + +function write(key, data) { + memoryStorage[key] = data +} + +function each(callback) { + for (var key in memoryStorage) { + if (memoryStorage.hasOwnProperty(key)) { + callback(memoryStorage[key], key) + } + } +} + +function remove(key) { + delete memoryStorage[key] +} + +function clearAll(key) { + memoryStorage = {} +} + + +/***/ }), + +/***/ 95347: +/*!************************************************************!*\ + !*** ./node_modules/store/storages/oldFF-globalStorage.js ***! + \************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +// oldFF-globalStorage provides storage for Firefox +// versions 6 and 7, where no localStorage, etc +// is available. + +var util = __webpack_require__(/*! ../src/util */ 69078) +var Global = util.Global + +module.exports = { + name: 'oldFF-globalStorage', + read: read, + write: write, + each: each, + remove: remove, + clearAll: clearAll, +} + +var globalStorage = Global.globalStorage + +function read(key) { + return globalStorage[key] +} + +function write(key, data) { + globalStorage[key] = data +} + +function each(fn) { + for (var i = globalStorage.length - 1; i >= 0; i--) { + var key = globalStorage.key(i) + fn(globalStorage[key], key) + } +} + +function remove(key) { + return globalStorage.removeItem(key) +} + +function clearAll() { + each(function(key, _) { + delete globalStorage[key] + }) +} + + +/***/ }), + +/***/ 34524: +/*!**************************************************************!*\ + !*** ./node_modules/store/storages/oldIE-userDataStorage.js ***! + \**************************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +// oldIE-userDataStorage provides storage for Internet Explorer +// versions 6 and 7, where no localStorage, sessionStorage, etc +// is available. + +var util = __webpack_require__(/*! ../src/util */ 69078) +var Global = util.Global + +module.exports = { + name: 'oldIE-userDataStorage', + write: write, + read: read, + each: each, + remove: remove, + clearAll: clearAll, +} + +var storageName = 'storejs' +var doc = Global.document +var _withStorageEl = _makeIEStorageElFunction() +var disable = (Global.navigator ? Global.navigator.userAgent : '').match(/ (MSIE 8|MSIE 9|MSIE 10)\./) // MSIE 9.x, MSIE 10.x + +function write(unfixedKey, data) { + if (disable) { return } + var fixedKey = fixKey(unfixedKey) + _withStorageEl(function(storageEl) { + storageEl.setAttribute(fixedKey, data) + storageEl.save(storageName) + }) +} + +function read(unfixedKey) { + if (disable) { return } + var fixedKey = fixKey(unfixedKey) + var res = null + _withStorageEl(function(storageEl) { + res = storageEl.getAttribute(fixedKey) + }) + return res +} + +function each(callback) { + _withStorageEl(function(storageEl) { + var attributes = storageEl.XMLDocument.documentElement.attributes + for (var i=attributes.length-1; i>=0; i--) { + var attr = attributes[i] + callback(storageEl.getAttribute(attr.name), attr.name) + } + }) +} + +function remove(unfixedKey) { + var fixedKey = fixKey(unfixedKey) + _withStorageEl(function(storageEl) { + storageEl.removeAttribute(fixedKey) + storageEl.save(storageName) + }) +} + +function clearAll() { + _withStorageEl(function(storageEl) { + var attributes = storageEl.XMLDocument.documentElement.attributes + storageEl.load(storageName) + for (var i=attributes.length-1; i>=0; i--) { + storageEl.removeAttribute(attributes[i].name) + } + storageEl.save(storageName) + }) +} + +// Helpers +////////// + +// In IE7, keys cannot start with a digit or contain certain chars. +// See https://github.com/marcuswestin/store.js/issues/40 +// See https://github.com/marcuswestin/store.js/issues/83 +var forbiddenCharsRegex = new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]", "g") +function fixKey(key) { + return key.replace(/^\d/, '___$&').replace(forbiddenCharsRegex, '___') +} + +function _makeIEStorageElFunction() { + if (!doc || !doc.documentElement || !doc.documentElement.addBehavior) { + return null + } + var scriptTag = 'script', + storageOwner, + storageContainer, + storageEl + + // Since #userData storage applies only to specific paths, we need to + // somehow link our data to a specific path. We choose /favicon.ico + // as a pretty safe option, since all browsers already make a request to + // this URL anyway and being a 404 will not hurt us here. We wrap an + // iframe pointing to the favicon in an ActiveXObject(htmlfile) object + // (see: http://msdn.microsoft.com/en-us/library/aa752574(v=VS.85).aspx) + // since the iframe access rules appear to allow direct access and + // manipulation of the document element, even for a 404 page. This + // document can be used instead of the current document (which would + // have been limited to the current path) to perform #userData storage. + try { + /* global ActiveXObject */ + storageContainer = new ActiveXObject('htmlfile') + storageContainer.open() + storageContainer.write('<'+scriptTag+'>document.w=window') + storageContainer.close() + storageOwner = storageContainer.w.frames[0].document + storageEl = storageOwner.createElement('div') + } catch(e) { + // somehow ActiveXObject instantiation failed (perhaps some special + // security settings or otherwse), fall back to per-path storage + storageEl = doc.createElement('div') + storageOwner = doc.body + } + + return function(storeFunction) { + var args = [].slice.call(arguments, 0) + args.unshift(storageEl) + // See http://msdn.microsoft.com/en-us/library/ms531081(v=VS.85).aspx + // and http://msdn.microsoft.com/en-us/library/ms531424(v=VS.85).aspx + storageOwner.appendChild(storageEl) + storageEl.addBehavior('#default#userData') + storageEl.load(storageName) + storeFunction.apply(this, args) + storageOwner.removeChild(storageEl) + return + } +} + + +/***/ }), + +/***/ 58855: +/*!*******************************************************!*\ + !*** ./node_modules/store/storages/sessionStorage.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +var util = __webpack_require__(/*! ../src/util */ 69078) +var Global = util.Global + +module.exports = { + name: 'sessionStorage', + read: read, + write: write, + each: each, + remove: remove, + clearAll: clearAll +} + +function sessionStorage() { + return Global.sessionStorage +} + +function read(key) { + return sessionStorage().getItem(key) +} + +function write(key, data) { + return sessionStorage().setItem(key, data) +} + +function each(fn) { + for (var i = sessionStorage().length - 1; i >= 0; i--) { + var key = sessionStorage().key(i) + fn(read(key), key) + } +} + +function remove(key) { + return sessionStorage().removeItem(key) +} + +function clearAll() { + return sessionStorage().clear() +} + + +/***/ }) + +}]); \ No newline at end of file diff --git a/27946.async.js b/27946.async.js new file mode 100644 index 0000000000..4b30d260fd --- /dev/null +++ b/27946.async.js @@ -0,0 +1,148 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[27946],{ + +/***/ 82982: +/*!*****************************************!*\ + !*** ./src/components/NoData/index.tsx ***! + \*****************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122); +/* harmony import */ var D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977); +/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd */ 71577); +/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 85893); + + + + + + +var noData = function noData(_ref) { + var img = _ref.img, + _ref$buttonProps = _ref.buttonProps, + buttonProps = _ref$buttonProps === void 0 ? {} : _ref$buttonProps, + _ref$styles = _ref.styles, + styles = _ref$styles === void 0 ? {} : _ref$styles, + customText = _ref.customText, + ButtonText = _ref.ButtonText, + ButtonClick = _ref.ButtonClick, + Buttonclass = _ref.Buttonclass, + ButtonTwo = _ref.ButtonTwo, + imgStyles = _ref.imgStyles, + _ref$loading = _ref.loading, + loading = _ref$loading === void 0 ? false : _ref$loading; + return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("section", { + className: "tc animated fadeIn", + style: D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, { + color: '#999', + margin: '0 auto', + padding: '100px 0', + visibility: loading ? 'hidden' : 'visible' + }), styles), + children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("img", { + src: img || _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_2__, + style: D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, { + width: "200px", + height: "150px" + }), imgStyles) + }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("p", { + className: "mt10 font14", + children: customText || '暂时还没有相关数据哦!' + }), ButtonText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(antd__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP, D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()(D_gongshi_ppte5yg23_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({ + className: Buttonclass, + onClick: ButtonClick + }, buttonProps), {}, { + children: ButtonText + })), ButtonTwo && ButtonTwo] + }); +}; +/* harmony default export */ __webpack_exports__["Z"] = (noData); + +/***/ }), + +/***/ 41262: +/*!**********************************************************!*\ + !*** ./src/components/Video/Modal/index.tsx + 1 modules ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "K": function() { return /* binding */ VideoModal; } +}); + +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/modal/index.js + 39 modules +var modal = __webpack_require__(72423); +// EXTERNAL MODULE: ./src/components/Video/Play/index.jsx + 1 modules +var Play = __webpack_require__(8423); +;// CONCATENATED MODULE: ./src/components/Video/Modal/index.less?modules +// extracted by mini-css-extract-plugin +/* harmony default export */ var Modalmodules = ({"modal":"modal___LGwws","closeIcon":"closeIcon___vsUXI","wrap":"wrap___tDzbl","input":"input___aikQk"}); +// EXTERNAL MODULE: ./node_modules/js-base64/base64.js +var base64 = __webpack_require__(19575); +// EXTERNAL MODULE: ./node_modules/react/jsx-runtime.js +var jsx_runtime = __webpack_require__(85893); +;// CONCATENATED MODULE: ./src/components/Video/Modal/index.tsx + + + + + + + +var VideoModal = function VideoModal(_ref) { + var visible = _ref.visible, + width = _ref.width, + videoId = _ref.videoId, + file_url = _ref.file_url, + course_id = _ref.course_id, + copyUrl = _ref.copyUrl, + _ref$toLog = _ref.toLog, + toLog = _ref$toLog === void 0 ? true : _ref$toLog, + _ref$logWatchHistory = _ref.logWatchHistory, + logWatchHistory = _ref$logWatchHistory === void 0 ? function () {} : _ref$logWatchHistory, + allow_skip = _ref.allow_skip, + _ref$onClose = _ref.onClose, + onClose = _ref$onClose === void 0 ? function () {} : _ref$onClose; + return /*#__PURE__*/(0,jsx_runtime.jsxs)(modal/* default */.Z, { + centered: true, + keyboard: false, + closable: false, + destroyOnClose: true, + open: visible, + title: null, + footer: null, + width: width, + className: Modalmodules.modal, + children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", { + className: "".concat(Modalmodules.closeIcon, " iconfont icon-guanbi10"), + onClick: onClose + }), visible && /*#__PURE__*/(0,jsx_runtime.jsx)(Play/* default */.Z, { + allow_skip: allow_skip, + courseId: course_id, + src: file_url !== null && file_url !== void 0 && file_url.startsWith("http") ? file_url : base64.Base64.decode(file_url), + videoId: videoId, + toLog: toLog, + logWatchHistory: logWatchHistory + })] + }); +}; + +/***/ }), + +/***/ 55988: +/*!*********************************************!*\ + !*** ./src/assets/images/video/default.png ***! + \*********************************************/ +/***/ (function(module) { + +module.exports = "data:image/png;base64,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"; + +/***/ }) + +}]); \ No newline at end of file diff --git a/28502.async.js b/28502.async.js new file mode 100644 index 0000000000..6d03fa1d55 --- /dev/null +++ b/28502.async.js @@ -0,0 +1,900 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[28502],{ + +/***/ 97937: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + 1 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +// This icon file is generated automatically. +var CloseOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z" } }] }, "name": "close", "theme": "outlined" }; +/* harmony default export */ var asn_CloseOutlined = (CloseOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseOutlined_CloseOutlined = function CloseOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseOutlined = (/*#__PURE__*/react.forwardRef(CloseOutlined_CloseOutlined)); + +/***/ }), + +/***/ 23430: +/*!*********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DownloadOutlined.js + 1 modules ***! + \*********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DownloadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DownloadOutlined.js +// This icon file is generated automatically. +var DownloadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, "name": "download", "theme": "outlined" }; +/* harmony default export */ var asn_DownloadOutlined = (DownloadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DownloadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DownloadOutlined_DownloadOutlined = function DownloadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DownloadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DownloadOutlined = (/*#__PURE__*/react.forwardRef(DownloadOutlined_DownloadOutlined)); + +/***/ }), + +/***/ 33160: +/*!*******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ReloadOutlined.js + 1 modules ***! + \*******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ReloadOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.js +// This icon file is generated automatically. +var ReloadOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z" } }] }, "name": "reload", "theme": "outlined" }; +/* harmony default export */ var asn_ReloadOutlined = (ReloadOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ReloadOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ReloadOutlined_ReloadOutlined = function ReloadOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ReloadOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ReloadOutlined = (/*#__PURE__*/react.forwardRef(ReloadOutlined_ReloadOutlined)); + +/***/ }), + +/***/ 11486: +/*!*********************************************************!*\ + !*** ./node_modules/antd/es/input/index.js + 5 modules ***! + \*********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ input; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/form/context.js +var form_context = __webpack_require__(65223); +// EXTERNAL MODULE: ./node_modules/antd/es/input/style/index.js +var style = __webpack_require__(47673); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Group.js + + + + + + + +const Group = props => { + const { + getPrefixCls, + direction + } = (0,react.useContext)(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + className + } = props; + const prefixCls = getPrefixCls('input-group', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input'); + const [wrapSSR, hashId] = (0,style/* default */.ZP)(inputPrefixCls); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-lg`]: props.size === 'large', + [`${prefixCls}-sm`]: props.size === 'small', + [`${prefixCls}-compact`]: props.compact, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, hashId, className); + const formItemContext = (0,react.useContext)(form_context/* FormItemInputContext */.aM); + const groupFormItemContext = (0,react.useMemo)(() => Object.assign(Object.assign({}, formItemContext), { + isFormItemInput: false + }), [formItemContext]); + if (false) {} + return wrapSSR( /*#__PURE__*/react.createElement("span", { + className: cls, + style: props.style, + onMouseEnter: props.onMouseEnter, + onMouseLeave: props.onMouseLeave, + onFocus: props.onFocus, + onBlur: props.onBlur + }, /*#__PURE__*/react.createElement(form_context/* FormItemInputContext.Provider */.aM.Provider, { + value: groupFormItemContext + }, props.children))); +}; +/* harmony default export */ var input_Group = (Group); +// EXTERNAL MODULE: ./node_modules/antd/es/input/Input.js + 1 modules +var Input = __webpack_require__(82586); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +// This icon file is generated automatically. +var EyeInvisibleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" }; +/* harmony default export */ var asn_EyeInvisibleOutlined = (EyeInvisibleOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeInvisibleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeInvisibleOutlined_EyeInvisibleOutlined = function EyeInvisibleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeInvisibleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeInvisibleOutlined = (/*#__PURE__*/react.forwardRef(EyeInvisibleOutlined_EyeInvisibleOutlined)); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules +var EyeOutlined = __webpack_require__(43481); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/ref.js +var es_ref = __webpack_require__(17799); +// EXTERNAL MODULE: ./node_modules/antd/es/input/hooks/useRemovePasswordTimeout.js +var useRemovePasswordTimeout = __webpack_require__(72922); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Password.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const defaultIconRender = visible => visible ? /*#__PURE__*/react.createElement(EyeOutlined/* default */.Z, null) : /*#__PURE__*/react.createElement(icons_EyeInvisibleOutlined, null); +const ActionMap = { + click: 'onClick', + hover: 'onMouseOver' +}; +const Password = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + visibilityToggle = true + } = props; + const visibilityControlled = typeof visibilityToggle === 'object' && visibilityToggle.visible !== undefined; + const [visible, setVisible] = (0,react.useState)(() => visibilityControlled ? visibilityToggle.visible : false); + const inputRef = (0,react.useRef)(null); + react.useEffect(() => { + if (visibilityControlled) { + setVisible(visibilityToggle.visible); + } + }, [visibilityControlled, visibilityToggle]); + // Remove Password value + const removePasswordTimeout = (0,useRemovePasswordTimeout/* default */.Z)(inputRef); + const onVisibleChange = () => { + const { + disabled + } = props; + if (disabled) { + return; + } + if (visible) { + removePasswordTimeout(); + } + setVisible(prevState => { + var _a; + const newState = !prevState; + if (typeof visibilityToggle === 'object') { + (_a = visibilityToggle.onVisibleChange) === null || _a === void 0 ? void 0 : _a.call(visibilityToggle, newState); + } + return newState; + }); + }; + const getIcon = prefixCls => { + const { + action = 'click', + iconRender = defaultIconRender + } = props; + const iconTrigger = ActionMap[action] || ''; + const icon = iconRender(visible); + const iconProps = { + [iconTrigger]: onVisibleChange, + className: `${prefixCls}-icon`, + key: 'passwordIcon', + onMouseDown: e => { + // Prevent focused state lost + // https://github.com/ant-design/ant-design/issues/15173 + e.preventDefault(); + }, + onMouseUp: e => { + // Prevent caret position change + // https://github.com/ant-design/ant-design/issues/23524 + e.preventDefault(); + } + }; + return /*#__PURE__*/react.cloneElement( /*#__PURE__*/react.isValidElement(icon) ? icon : /*#__PURE__*/react.createElement("span", null, icon), iconProps); + }; + const { + className, + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + size + } = props, + restProps = __rest(props, ["className", "prefixCls", "inputPrefixCls", "size"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const prefixCls = getPrefixCls('input-password', customizePrefixCls); + const suffixIcon = visibilityToggle && getIcon(prefixCls); + const inputClassName = classnames_default()(prefixCls, className, { + [`${prefixCls}-${size}`]: !!size + }); + const omittedProps = Object.assign(Object.assign({}, (0,omit/* default */.Z)(restProps, ['suffix', 'iconRender', 'visibilityToggle'])), { + type: visible ? 'text' : 'password', + className: inputClassName, + prefixCls: inputPrefixCls, + suffix: suffixIcon + }); + if (size) { + omittedProps.size = size; + } + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(ref, inputRef) + }, omittedProps)); +}); +if (false) {} +/* harmony default export */ var input_Password = (Password); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/SearchOutlined.js + 1 modules +var SearchOutlined = __webpack_require__(42480); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/Search.js +var Search_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + + +const Search = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + inputPrefixCls: customizeInputPrefixCls, + className, + size: customizeSize, + suffix, + enterButton = false, + addonAfter, + loading, + disabled, + onSearch: customOnSearch, + onChange: customOnChange, + onCompositionStart, + onCompositionEnd + } = props, + restProps = Search_rest(props, ["prefixCls", "inputPrefixCls", "className", "size", "suffix", "enterButton", "addonAfter", "loading", "disabled", "onSearch", "onChange", "onCompositionStart", "onCompositionEnd"]); + const { + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const composedRef = react.useRef(false); + const prefixCls = getPrefixCls('input-search', customizePrefixCls); + const inputPrefixCls = getPrefixCls('input', customizeInputPrefixCls); + const { + compactSize + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const size = (0,useSize/* default */.Z)(ctx => { + var _a; + return (_a = customizeSize !== null && customizeSize !== void 0 ? customizeSize : compactSize) !== null && _a !== void 0 ? _a : ctx; + }); + const inputRef = react.useRef(null); + const onChange = e => { + if (e && e.target && e.type === 'click' && customOnSearch) { + customOnSearch(e.target.value, e); + } + if (customOnChange) { + customOnChange(e); + } + }; + const onMouseDown = e => { + var _a; + if (document.activeElement === ((_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input)) { + e.preventDefault(); + } + }; + const onSearch = e => { + var _a, _b; + if (customOnSearch) { + customOnSearch((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.value, e); + } + }; + const onPressEnter = e => { + if (composedRef.current || loading) { + return; + } + onSearch(e); + }; + const searchIcon = typeof enterButton === 'boolean' ? /*#__PURE__*/react.createElement(SearchOutlined/* default */.Z, null) : null; + const btnClassName = `${prefixCls}-button`; + let button; + const enterButtonAsElement = enterButton || {}; + const isAntdButton = enterButtonAsElement.type && enterButtonAsElement.type.__ANT_BUTTON === true; + if (isAntdButton || enterButtonAsElement.type === 'button') { + button = (0,reactNode/* cloneElement */.Tm)(enterButtonAsElement, Object.assign({ + onMouseDown, + onClick: e => { + var _a, _b; + (_b = (_a = enterButtonAsElement === null || enterButtonAsElement === void 0 ? void 0 : enterButtonAsElement.props) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, e); + onSearch(e); + }, + key: 'enterButton' + }, isAntdButton ? { + className: btnClassName, + size + } : {})); + } else { + button = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + className: btnClassName, + type: enterButton ? 'primary' : undefined, + size: size, + disabled: disabled, + key: "enterButton", + onMouseDown: onMouseDown, + onClick: onSearch, + loading: loading, + icon: searchIcon + }, enterButton); + } + if (addonAfter) { + button = [button, (0,reactNode/* cloneElement */.Tm)(addonAfter, { + key: 'addonAfter' + })]; + } + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl', + [`${prefixCls}-${size}`]: !!size, + [`${prefixCls}-with-button`]: !!enterButton + }, className); + const handleOnCompositionStart = e => { + composedRef.current = true; + onCompositionStart === null || onCompositionStart === void 0 ? void 0 : onCompositionStart(e); + }; + const handleOnCompositionEnd = e => { + composedRef.current = false; + onCompositionEnd === null || onCompositionEnd === void 0 ? void 0 : onCompositionEnd(e); + }; + return /*#__PURE__*/react.createElement(Input/* default */.Z, Object.assign({ + ref: (0,es_ref/* composeRef */.sQ)(inputRef, ref), + onPressEnter: onPressEnter + }, restProps, { + size: size, + onCompositionStart: handleOnCompositionStart, + onCompositionEnd: handleOnCompositionEnd, + prefixCls: inputPrefixCls, + addonAfter: button, + suffix: suffix, + onChange: onChange, + className: cls, + disabled: disabled + })); +}); +if (false) {} +/* harmony default export */ var input_Search = (Search); +// EXTERNAL MODULE: ./node_modules/antd/es/input/TextArea.js +var TextArea = __webpack_require__(96330); +;// CONCATENATED MODULE: ./node_modules/antd/es/input/index.js +'use client'; + + + + + + +const input_Input = Input/* default */.Z; +if (false) {} +input_Input.Group = input_Group; +input_Input.Search = input_Search; +input_Input.TextArea = TextArea/* default */.Z; +input_Input.Password = input_Password; +/* harmony default export */ var input = (input_Input); + +/***/ }), + +/***/ 97183: +/*!**********************************************!*\ + !*** ./node_modules/antd/es/layout/index.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var _layout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./layout */ 84321); +/* harmony import */ var _Sider__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Sider */ 19249); +'use client'; + + + +const Layout = _layout__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .ZP; +Layout.Header = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Header */ .h4; +Layout.Footer = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Footer */ .$_; +Layout.Content = _layout__WEBPACK_IMPORTED_MODULE_0__/* .Content */ .VY; +Layout.Sider = _Sider__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z; +/* harmony default export */ __webpack_exports__["Z"] = (Layout); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }), + +/***/ 57761: +/*!*********************************************************************!*\ + !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! + \*********************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _react = __webpack_require__(/*! react */ 67294); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(/*! prop-types */ 45697); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var InfiniteScroll = function (_Component) { + _inherits(InfiniteScroll, _Component); + + function InfiniteScroll(props) { + _classCallCheck(this, InfiniteScroll); + + var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props)); + + _this.scrollListener = _this.scrollListener.bind(_this); + _this.eventListenerOptions = _this.eventListenerOptions.bind(_this); + _this.mousewheelListener = _this.mousewheelListener.bind(_this); + return _this; + } + + _createClass(InfiniteScroll, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.pageLoaded = this.props.pageStart; + this.options = this.eventListenerOptions(); + this.attachScrollListener(); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate() { + if (this.props.isReverse && this.loadMore) { + var parentElement = this.getParentElement(this.scrollComponent); + parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop; + this.loadMore = false; + } + this.attachScrollListener(); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.detachScrollListener(); + this.detachMousewheelListener(); + } + }, { + key: 'isPassiveSupported', + value: function isPassiveSupported() { + var passive = false; + + var testOptions = { + get passive() { + passive = true; + } + }; + + try { + document.addEventListener('test', null, testOptions); + document.removeEventListener('test', null, testOptions); + } catch (e) { + // ignore + } + return passive; + } + }, { + key: 'eventListenerOptions', + value: function eventListenerOptions() { + var options = this.props.useCapture; + + if (this.isPassiveSupported()) { + options = { + useCapture: this.props.useCapture, + passive: true + }; + } + return options; + } + + // Set a defaut loader for all your `InfiniteScroll` components + + }, { + key: 'setDefaultLoader', + value: function setDefaultLoader(loader) { + this.defaultLoader = loader; + } + }, { + key: 'detachMousewheelListener', + value: function detachMousewheelListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.scrollComponent.parentNode; + } + + scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'detachScrollListener', + value: function detachScrollListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.getParentElement(this.scrollComponent); + } + + scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'getParentElement', + value: function getParentElement(el) { + var scrollParent = this.props.getScrollParent && this.props.getScrollParent(); + if (scrollParent != null) { + return scrollParent; + } + return el && el.parentNode; + } + }, { + key: 'filterProps', + value: function filterProps(props) { + return props; + } + }, { + key: 'attachScrollListener', + value: function attachScrollListener() { + var parentElement = this.getParentElement(this.scrollComponent); + + if (!this.props.hasMore || !parentElement) { + return; + } + + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = parentElement; + } + + scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + + if (this.props.initialLoad) { + this.scrollListener(); + } + } + }, { + key: 'mousewheelListener', + value: function mousewheelListener(e) { + // Prevents Chrome hangups + // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257 + if (e.deltaY === 1 && !this.isPassiveSupported()) { + e.preventDefault(); + } + } + }, { + key: 'scrollListener', + value: function scrollListener() { + var el = this.scrollComponent; + var scrollEl = window; + var parentNode = this.getParentElement(el); + + var offset = void 0; + if (this.props.useWindow) { + var doc = document.documentElement || document.body.parentNode || document.body; + var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop; + if (this.props.isReverse) { + offset = scrollTop; + } else { + offset = this.calculateOffset(el, scrollTop); + } + } else if (this.props.isReverse) { + offset = parentNode.scrollTop; + } else { + offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight; + } + + // Here we make sure the element is visible as well as checking the offset + if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) { + this.detachScrollListener(); + this.beforeScrollHeight = parentNode.scrollHeight; + this.beforeScrollTop = parentNode.scrollTop; + // Call loadMore after detachScrollListener to allow for non-async loadMore functions + if (typeof this.props.loadMore === 'function') { + this.props.loadMore(this.pageLoaded += 1); + this.loadMore = true; + } + } + } + }, { + key: 'calculateOffset', + value: function calculateOffset(el, scrollTop) { + if (!el) { + return 0; + } + + return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight); + } + }, { + key: 'calculateTopPosition', + value: function calculateTopPosition(el) { + if (!el) { + return 0; + } + return el.offsetTop + this.calculateTopPosition(el.offsetParent); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var renderProps = this.filterProps(this.props); + + var children = renderProps.children, + element = renderProps.element, + hasMore = renderProps.hasMore, + initialLoad = renderProps.initialLoad, + isReverse = renderProps.isReverse, + loader = renderProps.loader, + loadMore = renderProps.loadMore, + pageStart = renderProps.pageStart, + ref = renderProps.ref, + threshold = renderProps.threshold, + useCapture = renderProps.useCapture, + useWindow = renderProps.useWindow, + getScrollParent = renderProps.getScrollParent, + props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']); + + props.ref = function (node) { + _this2.scrollComponent = node; + if (ref) { + ref(node); + } + }; + + var childrenArray = [children]; + if (hasMore) { + if (loader) { + isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader); + } else if (this.defaultLoader) { + isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader); + } + } + return _react2.default.createElement(element, props, childrenArray); + } + }]); + + return InfiniteScroll; +}(_react.Component); + +InfiniteScroll.propTypes = { + children: _propTypes2.default.node.isRequired, + element: _propTypes2.default.node, + hasMore: _propTypes2.default.bool, + initialLoad: _propTypes2.default.bool, + isReverse: _propTypes2.default.bool, + loader: _propTypes2.default.node, + loadMore: _propTypes2.default.func.isRequired, + pageStart: _propTypes2.default.number, + ref: _propTypes2.default.func, + getScrollParent: _propTypes2.default.func, + threshold: _propTypes2.default.number, + useCapture: _propTypes2.default.bool, + useWindow: _propTypes2.default.bool +}; +InfiniteScroll.defaultProps = { + element: 'div', + hasMore: false, + initialLoad: true, + pageStart: 0, + ref: null, + threshold: 250, + useWindow: true, + isReverse: false, + useCapture: false, + loader: null, + getScrollParent: null +}; +exports["default"] = InfiniteScroll; +module.exports = exports['default']; + + +/***/ }), + +/***/ 246: +/*!*******************************************************!*\ + !*** ./node_modules/react-infinite-scroller/index.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 57761) + + +/***/ }) + +}]); \ No newline at end of file diff --git a/28787.async.js b/28787.async.js new file mode 100644 index 0000000000..7acc2558a8 --- /dev/null +++ b/28787.async.js @@ -0,0 +1,1334 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[28787,7477,91708,30847,77003,29823,32482,27129,15105,29581,33127,53898,53764,4751,84551],{ + +/***/ 43387: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ AntdIcon; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@ant-design/colors/es/index.js + 1 modules +var es = __webpack_require__(16397); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js + +var IconContext = /*#__PURE__*/(0,react.createContext)({}); +/* harmony default export */ var Context = (IconContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/warning.js +/* eslint-disable no-console */ +var warned = {}; +var preWarningFns = []; + +/** + * Pre warning enable you to parse content before console.error. + * Modify to null will prevent warning. + */ +var preMessage = function preMessage(fn) { + preWarningFns.push(fn); +}; +function warning(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function note(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function resetWarned() { + warned = {}; +} +function call(method, valid, message) { + if (!valid && !warned[message]) { + method(false, message); + warned[message] = true; + } +} +function warningOnce(valid, message) { + call(warning, valid, message); +} +function noteOnce(valid, message) { + call(note, valid, message); +} +warningOnce.preMessage = preMessage; +warningOnce.resetWarned = resetWarned; +warningOnce.noteOnce = noteOnce; +/* harmony default export */ var es_warning = (warningOnce); +/* eslint-enable */ +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/contains.js +function contains(root, n) { + if (!root) { + return false; + } + + // Use native if support + if (root.contains) { + return root.contains(n); + } + + // `document.contains` not support with IE11 + var node = n; + while (node) { + if (node === root) { + return true; + } + node = node.parentNode; + } + return false; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/dynamicCSS.js + + +var APPEND_ORDER = 'data-rc-order'; +var MARK_KEY = "rc-util-key"; +var containerCache = new Map(); +function getMark() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + mark = _ref.mark; + if (mark) { + return mark.startsWith('data-') ? mark : "data-".concat(mark); + } + return MARK_KEY; +} +function getContainer(option) { + if (option.attachTo) { + return option.attachTo; + } + var head = document.querySelector('head'); + return head || document.body; +} +function getOrder(prepend) { + if (prepend === 'queue') { + return 'prependQueue'; + } + return prepend ? 'prepend' : 'append'; +} + +/** + * Find style which inject by rc-util + */ +function findStyles(container) { + return Array.from((containerCache.get(container) || container).children).filter(function (node) { + return node.tagName === 'STYLE'; + }); +} +function injectCSS(css) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + if (!canUseDom()) { + return null; + } + var csp = option.csp, + prepend = option.prepend; + var styleNode = document.createElement('style'); + styleNode.setAttribute(APPEND_ORDER, getOrder(prepend)); + if (csp !== null && csp !== void 0 && csp.nonce) { + styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce; + } + styleNode.innerHTML = css; + var container = getContainer(option); + var firstChild = container.firstChild; + if (prepend) { + // If is queue `prepend`, it will prepend first style and then append rest style + if (prepend === 'queue') { + var existStyle = findStyles(container).filter(function (node) { + return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER)); + }); + if (existStyle.length) { + container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling); + return styleNode; + } + } + + // Use `insertBefore` as `prepend` + container.insertBefore(styleNode, firstChild); + } else { + container.appendChild(styleNode); + } + return styleNode; +} +function findExistNode(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var container = getContainer(option); + return findStyles(container).find(function (node) { + return node.getAttribute(getMark(option)) === key; + }); +} +function removeCSS(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var existNode = findExistNode(key, option); + if (existNode) { + var container = getContainer(option); + container.removeChild(existNode); + } +} + +/** + * qiankun will inject `appendChild` to insert into other + */ +function syncRealContainer(container, option) { + var cachedRealContainer = containerCache.get(container); + + // Find real container when not cached or cached container removed + if (!cachedRealContainer || !contains(document, cachedRealContainer)) { + var placeholderStyle = injectCSS('', option); + var parentNode = placeholderStyle.parentNode; + containerCache.set(container, parentNode); + container.removeChild(placeholderStyle); + } +} + +/** + * manually clear container cache to avoid global cache in unit testes + */ +function clearContainerCache() { + containerCache.clear(); +} +function updateCSS(css, key) { + var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var container = getContainer(option); + + // Sync real parent + syncRealContainer(container, option); + var existNode = findExistNode(key, option); + if (existNode) { + var _option$csp, _option$csp2; + if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) { + var _option$csp3; + existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce; + } + if (existNode.innerHTML !== css) { + existNode.innerHTML = css; + } + return existNode; + } + var newNode = injectCSS(css, option); + newNode.setAttribute(getMark(option), key); + return newNode; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/shadow.js +function getRoot(ele) { + var _ele$getRootNode; + return ele === null || ele === void 0 ? void 0 : (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele); +} + +/** + * Check if is in shadowRoot + */ +function inShadow(ele) { + return getRoot(ele) !== (ele === null || ele === void 0 ? void 0 : ele.ownerDocument); +} + +/** + * Return shadowRoot if possible + */ +function getShadowRoot(ele) { + return inShadow(ele) ? getRoot(ele) : null; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js + + + + + + + + +function utils_warning(valid, message) { + es_warning(valid, "[@ant-design/icons] ".concat(message)); +} +function isIconDefinition(target) { + return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); +} +function normalizeAttrs() { + var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return Object.keys(attrs).reduce(function (acc, key) { + var val = attrs[key]; + switch (key) { + case 'class': + acc.className = val; + delete acc.class; + break; + default: + acc[key] = val; + } + return acc; + }, {}); +} +function generate(node, key, rootProps) { + if (!rootProps) { + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); + } + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); +} +function getSecondaryColor(primaryColor) { + // choose the second color + return (0,es.generate)(primaryColor)[0]; +} +function normalizeTwoToneColors(twoToneColor) { + if (!twoToneColor) { + return []; + } + return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; +} + +// These props make sure that the SVG behaviours like general text. +// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 +var svgBaseProps = { + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true', + focusable: 'false' +}; +var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; +var useInsertStyles = function useInsertStyles(eleRef) { + var _useContext = (0,react.useContext)(Context), + csp = _useContext.csp, + prefixCls = _useContext.prefixCls; + var mergedStyleStr = iconStyles; + if (prefixCls) { + mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); + } + (0,react.useEffect)(function () { + var ele = eleRef.current; + var shadowRoot = getShadowRoot(ele); + updateCSS(mergedStyleStr, '@ant-design-icons', { + prepend: true, + csp: csp, + attachTo: shadowRoot + }); + }, []); +}; +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js + + +var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; + + +var twoToneColorPalette = { + primaryColor: '#333', + secondaryColor: '#E6E6E6', + calculated: false +}; +function setTwoToneColors(_ref) { + var primaryColor = _ref.primaryColor, + secondaryColor = _ref.secondaryColor; + twoToneColorPalette.primaryColor = primaryColor; + twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); + twoToneColorPalette.calculated = !!secondaryColor; +} +function getTwoToneColors() { + return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); +} +var IconBase = function IconBase(props) { + var icon = props.icon, + className = props.className, + onClick = props.onClick, + style = props.style, + primaryColor = props.primaryColor, + secondaryColor = props.secondaryColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var svgRef = react.useRef(); + var colors = twoToneColorPalette; + if (primaryColor) { + colors = { + primaryColor: primaryColor, + secondaryColor: secondaryColor || getSecondaryColor(primaryColor) + }; + } + useInsertStyles(svgRef); + utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); + if (!isIconDefinition(icon)) { + return null; + } + var target = icon; + if (target && typeof target.icon === 'function') { + target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { + icon: target.icon(colors.primaryColor, colors.secondaryColor) + }); + } + return generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + className: className, + onClick: onClick, + style: style, + 'data-icon': target.name, + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true' + }, restProps), {}, { + ref: svgRef + })); +}; +IconBase.displayName = 'IconReact'; +IconBase.getTwoToneColors = getTwoToneColors; +IconBase.setTwoToneColors = setTwoToneColors; +/* harmony default export */ var components_IconBase = (IconBase); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js + + + +function setTwoToneColor(twoToneColor) { + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return components_IconBase.setTwoToneColors({ + primaryColor: primaryColor, + secondaryColor: secondaryColor + }); +} +function getTwoToneColor() { + var colors = components_IconBase.getTwoToneColors(); + if (!colors.calculated) { + return colors.primaryColor; + } + return [colors.primaryColor, colors.secondaryColor]; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + + + + +var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; + + + + + + + +// Initial setting +// should move it to antd main repo? +setTwoToneColor(es.blue.primary); + +// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757#issuecomment-488848720 + +var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var className = props.className, + icon = props.icon, + spin = props.spin, + rotate = props.rotate, + tabIndex = props.tabIndex, + onClick = props.onClick, + twoToneColor = props.twoToneColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); + var _React$useContext = react.useContext(Context), + _React$useContext$pre = _React$useContext.prefixCls, + prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, + rootClassName = _React$useContext.rootClassName; + var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); + var iconTabIndex = tabIndex; + if (iconTabIndex === undefined && onClick) { + iconTabIndex = -1; + } + var svgStyle = rotate ? { + msTransform: "rotate(".concat(rotate, "deg)"), + transform: "rotate(".concat(rotate, "deg)") + } : undefined; + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + role: "img", + "aria-label": icon.name + }, restProps, { + ref: ref, + tabIndex: iconTabIndex, + onClick: onClick, + className: classString + }), /*#__PURE__*/react.createElement(components_IconBase, { + icon: icon, + primaryColor: primaryColor, + secondaryColor: secondaryColor, + style: svgStyle + })); +}); +Icon.displayName = 'AntdIcon'; +Icon.getTwoToneColor = getTwoToneColor; +Icon.setTwoToneColor = setTwoToneColor; +/* harmony default export */ var AntdIcon = (Icon); + +/***/ }), + +/***/ 11475: +/*!******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.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 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + +/***/ 85418: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/dropdown/index.js + 1 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_dropdown; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/space/index.js + 2 modules +var space = __webpack_require__(42075); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(66748); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/dropdown-button.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const DropdownButton = props => { + const { + getPopupContainer: getContextPopupContainer, + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'default', + danger, + disabled, + loading, + onClick, + htmlType, + children, + className, + menu, + arrow, + autoFocus, + overlay, + trigger, + align, + open, + onOpenChange, + placement, + getPopupContainer, + href, + icon = /*#__PURE__*/react.createElement(EllipsisOutlined/* default */.Z, null), + title, + buttonsRender = buttons => buttons, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + } = props, + restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); + const prefixCls = getPrefixCls('dropdown', customizePrefixCls); + const buttonPrefixCls = `${prefixCls}-button`; + const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); + const dropdownProps = { + menu, + arrow, + autoFocus, + align, + disabled, + trigger: disabled ? [] : trigger, + onOpenChange, + getPopupContainer: getPopupContainer || getContextPopupContainer, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + }; + const { + compactSize, + compactItemClassnames + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); + if ('overlay' in props) { + dropdownProps.overlay = overlay; + } + if ('open' in props) { + dropdownProps.open = open; + } + if ('placement' in props) { + dropdownProps.placement = placement; + } else { + dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; + } + const leftButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + disabled: disabled, + loading: loading, + onClick: onClick, + htmlType: htmlType, + href: href, + title: title + }, children); + const rightButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + icon: icon + }); + const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); + return wrapSSR( /*#__PURE__*/react.createElement(space/* default.Compact */.Z.Compact, Object.assign({ + className: classes, + size: compactSize, + block: true + }, restProps), leftButtonToRender, /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); +}; +DropdownButton.__ANT_BUTTON = true; +/* harmony default export */ var dropdown_button = (DropdownButton); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/index.js +'use client'; + + + +const Dropdown = dropdown/* default */.Z; +Dropdown.Button = dropdown_button; +/* harmony default export */ var es_dropdown = (Dropdown); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 64217: +/*!**********************************************!*\ + !*** ./node_modules/rc-util/es/pickAttrs.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/2935.async.js b/2935.async.js new file mode 100644 index 0000000000..0794698da5 --- /dev/null +++ b/2935.async.js @@ -0,0 +1,700 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[2935],{ + +/***/ 4340: +/*!**********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseCircleFilled; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +// This icon file is generated automatically. +var CloseCircleFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" } }] }, "name": "close-circle", "theme": "filled" }; +/* harmony default export */ var asn_CloseCircleFilled = (CloseCircleFilled); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseCircleFilled_CloseCircleFilled = function CloseCircleFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseCircleFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseCircleFilled = (/*#__PURE__*/react.forwardRef(CloseCircleFilled_CloseCircleFilled)); + +/***/ }), + +/***/ 11475: +/*!******************************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***! + \******************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_ExclamationCircleOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +// This icon file is generated automatically. +var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.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 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" }; +/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_ExclamationCircleOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_ExclamationCircleOutlined = (/*#__PURE__*/react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined)); + +/***/ }), + +/***/ 4393: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/card/index.js + 4 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ card; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules +var skeleton = __webpack_require__(4310); +// EXTERNAL MODULE: ./node_modules/antd/es/tabs/index.js + 30 modules +var es_tabs = __webpack_require__(74685); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Grid.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +const Grid = _a => { + var { + prefixCls, + className, + hoverable = true + } = _a, + props = __rest(_a, ["prefixCls", "className", "hoverable"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefix = getPrefixCls('card', prefixCls); + const classString = classnames_default()(`${prefix}-grid`, className, { + [`${prefix}-grid-hoverable`]: hoverable + }); + return /*#__PURE__*/react.createElement("div", Object.assign({}, props, { + className: classString + })); +}; +/* harmony default export */ var card_Grid = (Grid); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/style/index.js + + +// ============================== Styles ============================== +// ============================== Head ============================== +const genCardHeadStyle = token => { + const { + antCls, + componentCls, + headerHeight, + cardPaddingBase, + tabsMarginBottom + } = token; + return Object.assign(Object.assign({ + display: 'flex', + justifyContent: 'center', + flexDirection: 'column', + minHeight: headerHeight, + marginBottom: -1, + padding: `0 ${cardPaddingBase}px`, + color: token.colorTextHeading, + fontWeight: token.fontWeightStrong, + fontSize: token.headerFontSize, + background: token.headerBg, + borderBottom: `${token.lineWidth}px ${token.lineType} ${token.colorBorderSecondary}`, + borderRadius: `${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0` + }, (0,style/* clearFix */.dF)()), { + '&-wrapper': { + width: '100%', + display: 'flex', + alignItems: 'center' + }, + '&-title': Object.assign(Object.assign({ + display: 'inline-block', + flex: 1 + }, style/* textEllipsis */.vS), { + [` + > ${componentCls}-typography, + > ${componentCls}-typography-edit-content + `]: { + insetInlineStart: 0, + marginTop: 0, + marginBottom: 0 + } + }), + [`${antCls}-tabs-top`]: { + clear: 'both', + marginBottom: tabsMarginBottom, + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize, + '&-bar': { + borderBottom: `${token.lineWidth}px ${token.lineType} ${token.colorBorderSecondary}` + } + } + }); +}; +// ============================== Grid ============================== +const genCardGridStyle = token => { + const { + cardPaddingBase, + colorBorderSecondary, + cardShadow, + lineWidth + } = token; + return { + width: '33.33%', + padding: cardPaddingBase, + border: 0, + borderRadius: 0, + boxShadow: ` + ${lineWidth}px 0 0 0 ${colorBorderSecondary}, + 0 ${lineWidth}px 0 0 ${colorBorderSecondary}, + ${lineWidth}px ${lineWidth}px 0 0 ${colorBorderSecondary}, + ${lineWidth}px 0 0 0 ${colorBorderSecondary} inset, + 0 ${lineWidth}px 0 0 ${colorBorderSecondary} inset; + `, + transition: `all ${token.motionDurationMid}`, + '&-hoverable:hover': { + position: 'relative', + zIndex: 1, + boxShadow: cardShadow + } + }; +}; +// ============================== Actions ============================== +const genCardActionsStyle = token => { + const { + componentCls, + iconCls, + actionsLiMargin, + cardActionsIconSize, + colorBorderSecondary, + actionsBg + } = token; + return Object.assign(Object.assign({ + margin: 0, + padding: 0, + listStyle: 'none', + background: actionsBg, + borderTop: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}`, + display: 'flex', + borderRadius: `0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px ` + }, (0,style/* clearFix */.dF)()), { + '& > li': { + margin: actionsLiMargin, + color: token.colorTextDescription, + textAlign: 'center', + '> span': { + position: 'relative', + display: 'block', + minWidth: token.cardActionsIconSize * 2, + fontSize: token.fontSize, + lineHeight: token.lineHeight, + cursor: 'pointer', + '&:hover': { + color: token.colorPrimary, + transition: `color ${token.motionDurationMid}` + }, + [`a:not(${componentCls}-btn), > ${iconCls}`]: { + display: 'inline-block', + width: '100%', + color: token.colorTextDescription, + lineHeight: `${token.fontSize * token.lineHeight}px`, + transition: `color ${token.motionDurationMid}`, + '&:hover': { + color: token.colorPrimary + } + }, + [`> ${iconCls}`]: { + fontSize: cardActionsIconSize, + lineHeight: `${cardActionsIconSize * token.lineHeight}px` + } + }, + '&:not(:last-child)': { + borderInlineEnd: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}` + } + } + }); +}; +// ============================== Meta ============================== +const genCardMetaStyle = token => Object.assign(Object.assign({ + margin: `-${token.marginXXS}px 0`, + display: 'flex' +}, (0,style/* clearFix */.dF)()), { + '&-avatar': { + paddingInlineEnd: token.padding + }, + '&-detail': { + overflow: 'hidden', + flex: 1, + '> div:not(:last-child)': { + marginBottom: token.marginXS + } + }, + '&-title': Object.assign({ + color: token.colorTextHeading, + fontWeight: token.fontWeightStrong, + fontSize: token.fontSizeLG + }, style/* textEllipsis */.vS), + '&-description': { + color: token.colorTextDescription + } +}); +// ============================== Inner ============================== +const genCardTypeInnerStyle = token => { + const { + componentCls, + cardPaddingBase, + colorFillAlter + } = token; + return { + [`${componentCls}-head`]: { + padding: `0 ${cardPaddingBase}px`, + background: colorFillAlter, + '&-title': { + fontSize: token.fontSize + } + }, + [`${componentCls}-body`]: { + padding: `${token.padding}px ${cardPaddingBase}px` + } + }; +}; +// ============================== Loading ============================== +const genCardLoadingStyle = token => { + const { + componentCls + } = token; + return { + overflow: 'hidden', + [`${componentCls}-body`]: { + userSelect: 'none' + } + }; +}; +// ============================== Basic ============================== +const genCardStyle = token => { + const { + antCls, + componentCls, + cardShadow, + cardHeadPadding, + colorBorderSecondary, + boxShadowTertiary, + cardPaddingBase, + extraColor + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + position: 'relative', + background: token.colorBgContainer, + borderRadius: token.borderRadiusLG, + [`&:not(${componentCls}-bordered)`]: { + boxShadow: boxShadowTertiary + }, + [`${componentCls}-head`]: genCardHeadStyle(token), + [`${componentCls}-extra`]: { + // https://stackoverflow.com/a/22429853/3040605 + marginInlineStart: 'auto', + color: extraColor, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`${componentCls}-body`]: Object.assign({ + padding: cardPaddingBase, + borderRadius: ` 0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px` + }, (0,style/* clearFix */.dF)()), + [`${componentCls}-grid`]: genCardGridStyle(token), + [`${componentCls}-cover`]: { + '> *': { + display: 'block', + width: '100%' + }, + [`img, img + ${antCls}-image-mask`]: { + borderRadius: `${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0` + } + }, + [`${componentCls}-actions`]: genCardActionsStyle(token), + [`${componentCls}-meta`]: genCardMetaStyle(token) + }), + [`${componentCls}-bordered`]: { + border: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}`, + [`${componentCls}-cover`]: { + marginTop: -1, + marginInlineStart: -1, + marginInlineEnd: -1 + } + }, + [`${componentCls}-hoverable`]: { + cursor: 'pointer', + transition: `box-shadow ${token.motionDurationMid}, border-color ${token.motionDurationMid}`, + '&:hover': { + borderColor: 'transparent', + boxShadow: cardShadow + } + }, + [`${componentCls}-contain-grid`]: { + [`${componentCls}-body`]: { + display: 'flex', + flexWrap: 'wrap' + }, + [`&:not(${componentCls}-loading) ${componentCls}-body`]: { + marginBlockStart: -token.lineWidth, + marginInlineStart: -token.lineWidth, + padding: 0 + } + }, + [`${componentCls}-contain-tabs`]: { + [`> ${componentCls}-head`]: { + [`${componentCls}-head-title, ${componentCls}-extra`]: { + paddingTop: cardHeadPadding + } + } + }, + [`${componentCls}-type-inner`]: genCardTypeInnerStyle(token), + [`${componentCls}-loading`]: genCardLoadingStyle(token), + [`${componentCls}-rtl`]: { + direction: 'rtl' + } + }; +}; +// ============================== Size ============================== +const genCardSizeStyle = token => { + const { + componentCls, + cardPaddingSM, + headerHeightSM, + headerFontSizeSM + } = token; + return { + [`${componentCls}-small`]: { + [`> ${componentCls}-head`]: { + minHeight: headerHeightSM, + padding: `0 ${cardPaddingSM}px`, + fontSize: headerFontSizeSM, + [`> ${componentCls}-head-wrapper`]: { + [`> ${componentCls}-extra`]: { + fontSize: token.fontSize + } + } + }, + [`> ${componentCls}-body`]: { + padding: cardPaddingSM + } + }, + [`${componentCls}-small${componentCls}-contain-tabs`]: { + [`> ${componentCls}-head`]: { + [`${componentCls}-head-title, ${componentCls}-extra`]: { + minHeight: headerHeightSM, + paddingTop: 0, + display: 'flex', + alignItems: 'center' + } + } + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var card_style = ((0,genComponentStyleHook/* default */.Z)('Card', token => { + const cardToken = (0,statistic/* merge */.TS)(token, { + cardShadow: token.boxShadowCard, + cardHeadPadding: token.padding, + cardPaddingBase: token.paddingLG, + cardActionsIconSize: token.fontSize, + cardPaddingSM: 12 // Fixed padding. + }); + + return [ + // Style + genCardStyle(cardToken), + // Size + genCardSizeStyle(cardToken)]; +}, token => ({ + headerBg: 'transparent', + headerFontSize: token.fontSizeLG, + headerFontSizeSM: token.fontSize, + headerHeight: token.fontSizeLG * token.lineHeightLG + token.padding * 2, + headerHeightSM: token.fontSize * token.lineHeight + token.paddingXS * 2, + actionsBg: token.colorBgContainer, + actionsLiMargin: `${token.paddingSM}px 0`, + tabsMarginBottom: -token.padding - token.lineWidth, + extraColor: token.colorText +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Card.js +var Card_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +function getAction(actions) { + return actions.map((action, index) => + /*#__PURE__*/ + // eslint-disable-next-line react/no-array-index-key + react.createElement("li", { + style: { + width: `${100 / actions.length}%` + }, + key: `action-${index}` + }, /*#__PURE__*/react.createElement("span", null, action))); +} +const Card = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + extra, + headStyle = {}, + bodyStyle = {}, + title, + loading, + bordered = true, + size: customizeSize, + type, + cover, + actions, + tabList, + children, + activeTabKey, + defaultActiveTabKey, + tabBarExtraContent, + hoverable, + tabProps = {} + } = props, + others = Card_rest(props, ["prefixCls", "className", "rootClassName", "style", "extra", "headStyle", "bodyStyle", "title", "loading", "bordered", "size", "type", "cover", "actions", "tabList", "children", "activeTabKey", "defaultActiveTabKey", "tabBarExtraContent", "hoverable", "tabProps"]); + const { + getPrefixCls, + direction, + card + } = react.useContext(context/* ConfigContext */.E_); + const onTabChange = key => { + var _a; + (_a = props.onTabChange) === null || _a === void 0 ? void 0 : _a.call(props, key); + }; + const isContainGrid = react.useMemo(() => { + let containGrid = false; + react.Children.forEach(children, element => { + if (element && element.type && element.type === card_Grid) { + containGrid = true; + } + }); + return containGrid; + }, [children]); + const prefixCls = getPrefixCls('card', customizePrefixCls); + const [wrapSSR, hashId] = card_style(prefixCls); + const loadingBlock = /*#__PURE__*/react.createElement(skeleton/* default */.Z, { + loading: true, + active: true, + paragraph: { + rows: 4 + }, + title: false + }, children); + const hasActiveTabKey = activeTabKey !== undefined; + const extraProps = Object.assign(Object.assign({}, tabProps), { + [hasActiveTabKey ? 'activeKey' : 'defaultActiveKey']: hasActiveTabKey ? activeTabKey : defaultActiveTabKey, + tabBarExtraContent + }); + let head; + const mergedSize = (0,useSize/* default */.Z)(customizeSize); + const tabSize = !mergedSize || mergedSize === 'default' ? 'large' : mergedSize; + const tabs = tabList ? /*#__PURE__*/react.createElement(es_tabs/* default */.Z, Object.assign({ + size: tabSize + }, extraProps, { + className: `${prefixCls}-head-tabs`, + onChange: onTabChange, + items: tabList.map(_a => { + var { + tab + } = _a, + item = Card_rest(_a, ["tab"]); + return Object.assign({ + label: tab + }, item); + }) + })) : null; + if (title || extra || tabs) { + head = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head`, + style: headStyle + }, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head-wrapper` + }, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head-title` + }, title), extra && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-extra` + }, extra)), tabs); + } + const coverDom = cover ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-cover` + }, cover) : null; + const body = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-body`, + style: bodyStyle + }, loading ? loadingBlock : children); + const actionDom = actions && actions.length ? /*#__PURE__*/react.createElement("ul", { + className: `${prefixCls}-actions` + }, getAction(actions)) : null; + const divProps = (0,omit/* default */.Z)(others, ['onTabChange']); + const classString = classnames_default()(prefixCls, card === null || card === void 0 ? void 0 : card.className, { + [`${prefixCls}-loading`]: loading, + [`${prefixCls}-bordered`]: bordered, + [`${prefixCls}-hoverable`]: hoverable, + [`${prefixCls}-contain-grid`]: isContainGrid, + [`${prefixCls}-contain-tabs`]: tabList && tabList.length, + [`${prefixCls}-${mergedSize}`]: mergedSize, + [`${prefixCls}-type-${type}`]: !!type, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, card === null || card === void 0 ? void 0 : card.style), style); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + ref: ref + }, divProps, { + className: classString, + style: mergedStyle + }), head, coverDom, body, actionDom)); +}); +/* harmony default export */ var card_Card = (Card); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Meta.js +var Meta_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +const Meta = props => { + const { + prefixCls: customizePrefixCls, + className, + avatar, + title, + description + } = props, + others = Meta_rest(props, ["prefixCls", "className", "avatar", "title", "description"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('card', customizePrefixCls); + const classString = classnames_default()(`${prefixCls}-meta`, className); + const avatarDom = avatar ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-avatar` + }, avatar) : null; + const titleDom = title ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-title` + }, title) : null; + const descriptionDom = description ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-description` + }, description) : null; + const MetaDetail = titleDom || descriptionDom ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-detail` + }, titleDom, descriptionDom) : null; + return /*#__PURE__*/react.createElement("div", Object.assign({}, others, { + className: classString + }), avatarDom, MetaDetail); +}; +/* harmony default export */ var card_Meta = (Meta); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/index.js +'use client'; + + + + +const es_card_Card = card_Card; +es_card_Card.Grid = card_Grid; +es_card_Card.Meta = card_Meta; +if (false) {} +/* harmony default export */ var card = (es_card_Card); + +/***/ }) + +}]); \ No newline at end of file diff --git a/29418.async.js b/29418.async.js new file mode 100644 index 0000000000..faa3d53516 --- /dev/null +++ b/29418.async.js @@ -0,0 +1,1545 @@ +(self["webpackChunk"] = self["webpackChunk"] || []).push([[29418,78917],{ + +/***/ 43387: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ AntdIcon; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@ant-design/colors/es/index.js + 1 modules +var es = __webpack_require__(16397); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js + +var IconContext = /*#__PURE__*/(0,react.createContext)({}); +/* harmony default export */ var Context = (IconContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/warning.js +/* eslint-disable no-console */ +var warned = {}; +var preWarningFns = []; + +/** + * Pre warning enable you to parse content before console.error. + * Modify to null will prevent warning. + */ +var preMessage = function preMessage(fn) { + preWarningFns.push(fn); +}; +function warning(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function note(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function resetWarned() { + warned = {}; +} +function call(method, valid, message) { + if (!valid && !warned[message]) { + method(false, message); + warned[message] = true; + } +} +function warningOnce(valid, message) { + call(warning, valid, message); +} +function noteOnce(valid, message) { + call(note, valid, message); +} +warningOnce.preMessage = preMessage; +warningOnce.resetWarned = resetWarned; +warningOnce.noteOnce = noteOnce; +/* harmony default export */ var es_warning = (warningOnce); +/* eslint-enable */ +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/contains.js +function contains(root, n) { + if (!root) { + return false; + } + + // Use native if support + if (root.contains) { + return root.contains(n); + } + + // `document.contains` not support with IE11 + var node = n; + while (node) { + if (node === root) { + return true; + } + node = node.parentNode; + } + return false; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/dynamicCSS.js + + +var APPEND_ORDER = 'data-rc-order'; +var MARK_KEY = "rc-util-key"; +var containerCache = new Map(); +function getMark() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + mark = _ref.mark; + if (mark) { + return mark.startsWith('data-') ? mark : "data-".concat(mark); + } + return MARK_KEY; +} +function getContainer(option) { + if (option.attachTo) { + return option.attachTo; + } + var head = document.querySelector('head'); + return head || document.body; +} +function getOrder(prepend) { + if (prepend === 'queue') { + return 'prependQueue'; + } + return prepend ? 'prepend' : 'append'; +} + +/** + * Find style which inject by rc-util + */ +function findStyles(container) { + return Array.from((containerCache.get(container) || container).children).filter(function (node) { + return node.tagName === 'STYLE'; + }); +} +function injectCSS(css) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + if (!canUseDom()) { + return null; + } + var csp = option.csp, + prepend = option.prepend; + var styleNode = document.createElement('style'); + styleNode.setAttribute(APPEND_ORDER, getOrder(prepend)); + if (csp !== null && csp !== void 0 && csp.nonce) { + styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce; + } + styleNode.innerHTML = css; + var container = getContainer(option); + var firstChild = container.firstChild; + if (prepend) { + // If is queue `prepend`, it will prepend first style and then append rest style + if (prepend === 'queue') { + var existStyle = findStyles(container).filter(function (node) { + return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER)); + }); + if (existStyle.length) { + container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling); + return styleNode; + } + } + + // Use `insertBefore` as `prepend` + container.insertBefore(styleNode, firstChild); + } else { + container.appendChild(styleNode); + } + return styleNode; +} +function findExistNode(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var container = getContainer(option); + return findStyles(container).find(function (node) { + return node.getAttribute(getMark(option)) === key; + }); +} +function removeCSS(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var existNode = findExistNode(key, option); + if (existNode) { + var container = getContainer(option); + container.removeChild(existNode); + } +} + +/** + * qiankun will inject `appendChild` to insert into other + */ +function syncRealContainer(container, option) { + var cachedRealContainer = containerCache.get(container); + + // Find real container when not cached or cached container removed + if (!cachedRealContainer || !contains(document, cachedRealContainer)) { + var placeholderStyle = injectCSS('', option); + var parentNode = placeholderStyle.parentNode; + containerCache.set(container, parentNode); + container.removeChild(placeholderStyle); + } +} + +/** + * manually clear container cache to avoid global cache in unit testes + */ +function clearContainerCache() { + containerCache.clear(); +} +function updateCSS(css, key) { + var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var container = getContainer(option); + + // Sync real parent + syncRealContainer(container, option); + var existNode = findExistNode(key, option); + if (existNode) { + var _option$csp, _option$csp2; + if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) { + var _option$csp3; + existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce; + } + if (existNode.innerHTML !== css) { + existNode.innerHTML = css; + } + return existNode; + } + var newNode = injectCSS(css, option); + newNode.setAttribute(getMark(option), key); + return newNode; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/shadow.js +function getRoot(ele) { + var _ele$getRootNode; + return ele === null || ele === void 0 ? void 0 : (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele); +} + +/** + * Check if is in shadowRoot + */ +function inShadow(ele) { + return getRoot(ele) !== (ele === null || ele === void 0 ? void 0 : ele.ownerDocument); +} + +/** + * Return shadowRoot if possible + */ +function getShadowRoot(ele) { + return inShadow(ele) ? getRoot(ele) : null; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js + + + + + + + + +function utils_warning(valid, message) { + es_warning(valid, "[@ant-design/icons] ".concat(message)); +} +function isIconDefinition(target) { + return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); +} +function normalizeAttrs() { + var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return Object.keys(attrs).reduce(function (acc, key) { + var val = attrs[key]; + switch (key) { + case 'class': + acc.className = val; + delete acc.class; + break; + default: + acc[key] = val; + } + return acc; + }, {}); +} +function generate(node, key, rootProps) { + if (!rootProps) { + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); + } + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); +} +function getSecondaryColor(primaryColor) { + // choose the second color + return (0,es.generate)(primaryColor)[0]; +} +function normalizeTwoToneColors(twoToneColor) { + if (!twoToneColor) { + return []; + } + return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; +} + +// These props make sure that the SVG behaviours like general text. +// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 +var svgBaseProps = { + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true', + focusable: 'false' +}; +var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; +var useInsertStyles = function useInsertStyles(eleRef) { + var _useContext = (0,react.useContext)(Context), + csp = _useContext.csp, + prefixCls = _useContext.prefixCls; + var mergedStyleStr = iconStyles; + if (prefixCls) { + mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); + } + (0,react.useEffect)(function () { + var ele = eleRef.current; + var shadowRoot = getShadowRoot(ele); + updateCSS(mergedStyleStr, '@ant-design-icons', { + prepend: true, + csp: csp, + attachTo: shadowRoot + }); + }, []); +}; +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js + + +var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; + + +var twoToneColorPalette = { + primaryColor: '#333', + secondaryColor: '#E6E6E6', + calculated: false +}; +function setTwoToneColors(_ref) { + var primaryColor = _ref.primaryColor, + secondaryColor = _ref.secondaryColor; + twoToneColorPalette.primaryColor = primaryColor; + twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); + twoToneColorPalette.calculated = !!secondaryColor; +} +function getTwoToneColors() { + return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); +} +var IconBase = function IconBase(props) { + var icon = props.icon, + className = props.className, + onClick = props.onClick, + style = props.style, + primaryColor = props.primaryColor, + secondaryColor = props.secondaryColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var svgRef = react.useRef(); + var colors = twoToneColorPalette; + if (primaryColor) { + colors = { + primaryColor: primaryColor, + secondaryColor: secondaryColor || getSecondaryColor(primaryColor) + }; + } + useInsertStyles(svgRef); + utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); + if (!isIconDefinition(icon)) { + return null; + } + var target = icon; + if (target && typeof target.icon === 'function') { + target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { + icon: target.icon(colors.primaryColor, colors.secondaryColor) + }); + } + return generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + className: className, + onClick: onClick, + style: style, + 'data-icon': target.name, + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true' + }, restProps), {}, { + ref: svgRef + })); +}; +IconBase.displayName = 'IconReact'; +IconBase.getTwoToneColors = getTwoToneColors; +IconBase.setTwoToneColors = setTwoToneColors; +/* harmony default export */ var components_IconBase = (IconBase); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js + + + +function setTwoToneColor(twoToneColor) { + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return components_IconBase.setTwoToneColors({ + primaryColor: primaryColor, + secondaryColor: secondaryColor + }); +} +function getTwoToneColor() { + var colors = components_IconBase.getTwoToneColors(); + if (!colors.calculated) { + return colors.primaryColor; + } + return [colors.primaryColor, colors.secondaryColor]; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + + + + +var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; + + + + + + + +// Initial setting +// should move it to antd main repo? +setTwoToneColor(es.blue.primary); + +// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757#issuecomment-488848720 + +var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var className = props.className, + icon = props.icon, + spin = props.spin, + rotate = props.rotate, + tabIndex = props.tabIndex, + onClick = props.onClick, + twoToneColor = props.twoToneColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); + var _React$useContext = react.useContext(Context), + _React$useContext$pre = _React$useContext.prefixCls, + prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, + rootClassName = _React$useContext.rootClassName; + var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); + var iconTabIndex = tabIndex; + if (iconTabIndex === undefined && onClick) { + iconTabIndex = -1; + } + var svgStyle = rotate ? { + msTransform: "rotate(".concat(rotate, "deg)"), + transform: "rotate(".concat(rotate, "deg)") + } : undefined; + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + role: "img", + "aria-label": icon.name + }, restProps, { + ref: ref, + tabIndex: iconTabIndex, + onClick: onClick, + className: classString + }), /*#__PURE__*/react.createElement(components_IconBase, { + icon: icon, + primaryColor: primaryColor, + secondaryColor: secondaryColor, + style: svgStyle + })); +}); +Icon.displayName = 'AntdIcon'; +Icon.getTwoToneColor = getTwoToneColor; +Icon.setTwoToneColor = setTwoToneColor; +/* harmony default export */ var AntdIcon = (Icon); + +/***/ }), + +/***/ 4340: +/*!**********************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules ***! + \**********************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CloseCircleFilled; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +// This icon file is generated automatically. +var CloseCircleFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z" } }] }, "name": "close-circle", "theme": "filled" }; +/* harmony default export */ var asn_CloseCircleFilled = (CloseCircleFilled); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/CloseCircleFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CloseCircleFilled_CloseCircleFilled = function CloseCircleFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CloseCircleFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_CloseCircleFilled = (/*#__PURE__*/react.forwardRef(CloseCircleFilled_CloseCircleFilled)); + +/***/ }), + +/***/ 49288: +/*!*****************************************************!*\ + !*** ./node_modules/antd/es/auto-complete/index.js ***! + \*****************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! classnames */ 94184); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rc-util/es/Children/toArray */ 37419); +/* harmony import */ var rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! rc-util/es/omit */ 10366); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_PurePanel__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/PurePanel */ 8745); +/* harmony import */ var _util_reactNode__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/reactNode */ 96159); +/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ 53124); +/* harmony import */ var _select__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../select */ 79035); +'use client'; + + + + + + + + + + +const { + Option +} = _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z; +function isSelectOptionOrSelectOptGroup(child) { + return child && child.type && (child.type.isSelectOption || child.type.isSelectOptGroup); +} +const AutoComplete = (props, ref) => { + const { + prefixCls: customizePrefixCls, + className, + popupClassName, + dropdownClassName, + children, + dataSource + } = props; + const childNodes = (0,rc_util_es_Children_toArray__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(children); + // ============================= Input ============================= + let customizeInput; + if (childNodes.length === 1 && (0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(childNodes[0]) && !isSelectOptionOrSelectOptGroup(childNodes[0])) { + [customizeInput] = childNodes; + } + const getInputElement = customizeInput ? () => customizeInput : undefined; + // ============================ Options ============================ + let optionChildren; + // [Legacy] convert `children` or `dataSource` into option children + if (childNodes.length && isSelectOptionOrSelectOptGroup(childNodes[0])) { + optionChildren = children; + } else { + optionChildren = dataSource ? dataSource.map(item => { + if ((0,_util_reactNode__WEBPACK_IMPORTED_MODULE_4__/* .isValidElement */ .l$)(item)) { + return item; + } + switch (typeof item) { + case 'string': + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { + key: item, + value: item + }, item); + case 'object': + { + const { + value: optionValue + } = item; + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(Option, { + key: optionValue, + value: optionValue + }, item.text); + } + default: + false ? 0 : void 0; + return undefined; + } + }) : []; + } + if (false) {} + const { + getPrefixCls + } = react__WEBPACK_IMPORTED_MODULE_2__.useContext(_config_provider__WEBPACK_IMPORTED_MODULE_5__/* .ConfigContext */ .E_); + const prefixCls = getPrefixCls('select', customizePrefixCls); + return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.createElement(_select__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, Object.assign({ + ref: ref, + showArrow: false + }, (0,rc_util_es_omit__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z)(props, ['dataSource', 'dropdownClassName']), { + prefixCls: prefixCls, + popupClassName: popupClassName || dropdownClassName, + className: classnames__WEBPACK_IMPORTED_MODULE_0___default()(`${prefixCls}-auto-complete`, className), + mode: _select__WEBPACK_IMPORTED_MODULE_3__/* ["default"].SECRET_COMBOBOX_MODE_DO_NOT_USE */ .Z.SECRET_COMBOBOX_MODE_DO_NOT_USE, + // Internal api + getInputElement + }), optionChildren); +}; +const RefAutoComplete = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(AutoComplete); +// We don't care debug panel +/* istanbul ignore next */ +const PurePanel = (0,_util_PurePanel__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z)(RefAutoComplete); +RefAutoComplete.Option = Option; +RefAutoComplete._InternalPanelDoNotUseOrYouWillBeFired = PurePanel; +if (false) {} +/* harmony default export */ __webpack_exports__["Z"] = (RefAutoComplete); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +"use strict"; + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 57761: +/*!*********************************************************************!*\ + !*** ./node_modules/react-infinite-scroller/dist/InfiniteScroll.js ***! + \*********************************************************************/ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _react = __webpack_require__(/*! react */ 67294); + +var _react2 = _interopRequireDefault(_react); + +var _propTypes = __webpack_require__(/*! prop-types */ 45697); + +var _propTypes2 = _interopRequireDefault(_propTypes); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +var InfiniteScroll = function (_Component) { + _inherits(InfiniteScroll, _Component); + + function InfiniteScroll(props) { + _classCallCheck(this, InfiniteScroll); + + var _this = _possibleConstructorReturn(this, (InfiniteScroll.__proto__ || Object.getPrototypeOf(InfiniteScroll)).call(this, props)); + + _this.scrollListener = _this.scrollListener.bind(_this); + _this.eventListenerOptions = _this.eventListenerOptions.bind(_this); + _this.mousewheelListener = _this.mousewheelListener.bind(_this); + return _this; + } + + _createClass(InfiniteScroll, [{ + key: 'componentDidMount', + value: function componentDidMount() { + this.pageLoaded = this.props.pageStart; + this.options = this.eventListenerOptions(); + this.attachScrollListener(); + } + }, { + key: 'componentDidUpdate', + value: function componentDidUpdate() { + if (this.props.isReverse && this.loadMore) { + var parentElement = this.getParentElement(this.scrollComponent); + parentElement.scrollTop = parentElement.scrollHeight - this.beforeScrollHeight + this.beforeScrollTop; + this.loadMore = false; + } + this.attachScrollListener(); + } + }, { + key: 'componentWillUnmount', + value: function componentWillUnmount() { + this.detachScrollListener(); + this.detachMousewheelListener(); + } + }, { + key: 'isPassiveSupported', + value: function isPassiveSupported() { + var passive = false; + + var testOptions = { + get passive() { + passive = true; + } + }; + + try { + document.addEventListener('test', null, testOptions); + document.removeEventListener('test', null, testOptions); + } catch (e) { + // ignore + } + return passive; + } + }, { + key: 'eventListenerOptions', + value: function eventListenerOptions() { + var options = this.props.useCapture; + + if (this.isPassiveSupported()) { + options = { + useCapture: this.props.useCapture, + passive: true + }; + } + return options; + } + + // Set a defaut loader for all your `InfiniteScroll` components + + }, { + key: 'setDefaultLoader', + value: function setDefaultLoader(loader) { + this.defaultLoader = loader; + } + }, { + key: 'detachMousewheelListener', + value: function detachMousewheelListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.scrollComponent.parentNode; + } + + scrollEl.removeEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'detachScrollListener', + value: function detachScrollListener() { + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = this.getParentElement(this.scrollComponent); + } + + scrollEl.removeEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.removeEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + } + }, { + key: 'getParentElement', + value: function getParentElement(el) { + var scrollParent = this.props.getScrollParent && this.props.getScrollParent(); + if (scrollParent != null) { + return scrollParent; + } + return el && el.parentNode; + } + }, { + key: 'filterProps', + value: function filterProps(props) { + return props; + } + }, { + key: 'attachScrollListener', + value: function attachScrollListener() { + var parentElement = this.getParentElement(this.scrollComponent); + + if (!this.props.hasMore || !parentElement) { + return; + } + + var scrollEl = window; + if (this.props.useWindow === false) { + scrollEl = parentElement; + } + + scrollEl.addEventListener('mousewheel', this.mousewheelListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('scroll', this.scrollListener, this.options ? this.options : this.props.useCapture); + scrollEl.addEventListener('resize', this.scrollListener, this.options ? this.options : this.props.useCapture); + + if (this.props.initialLoad) { + this.scrollListener(); + } + } + }, { + key: 'mousewheelListener', + value: function mousewheelListener(e) { + // Prevents Chrome hangups + // See: https://stackoverflow.com/questions/47524205/random-high-content-download-time-in-chrome/47684257#47684257 + if (e.deltaY === 1 && !this.isPassiveSupported()) { + e.preventDefault(); + } + } + }, { + key: 'scrollListener', + value: function scrollListener() { + var el = this.scrollComponent; + var scrollEl = window; + var parentNode = this.getParentElement(el); + + var offset = void 0; + if (this.props.useWindow) { + var doc = document.documentElement || document.body.parentNode || document.body; + var scrollTop = scrollEl.pageYOffset !== undefined ? scrollEl.pageYOffset : doc.scrollTop; + if (this.props.isReverse) { + offset = scrollTop; + } else { + offset = this.calculateOffset(el, scrollTop); + } + } else if (this.props.isReverse) { + offset = parentNode.scrollTop; + } else { + offset = el.scrollHeight - parentNode.scrollTop - parentNode.clientHeight; + } + + // Here we make sure the element is visible as well as checking the offset + if (offset < Number(this.props.threshold) && el && el.offsetParent !== null) { + this.detachScrollListener(); + this.beforeScrollHeight = parentNode.scrollHeight; + this.beforeScrollTop = parentNode.scrollTop; + // Call loadMore after detachScrollListener to allow for non-async loadMore functions + if (typeof this.props.loadMore === 'function') { + this.props.loadMore(this.pageLoaded += 1); + this.loadMore = true; + } + } + } + }, { + key: 'calculateOffset', + value: function calculateOffset(el, scrollTop) { + if (!el) { + return 0; + } + + return this.calculateTopPosition(el) + (el.offsetHeight - scrollTop - window.innerHeight); + } + }, { + key: 'calculateTopPosition', + value: function calculateTopPosition(el) { + if (!el) { + return 0; + } + return el.offsetTop + this.calculateTopPosition(el.offsetParent); + } + }, { + key: 'render', + value: function render() { + var _this2 = this; + + var renderProps = this.filterProps(this.props); + + var children = renderProps.children, + element = renderProps.element, + hasMore = renderProps.hasMore, + initialLoad = renderProps.initialLoad, + isReverse = renderProps.isReverse, + loader = renderProps.loader, + loadMore = renderProps.loadMore, + pageStart = renderProps.pageStart, + ref = renderProps.ref, + threshold = renderProps.threshold, + useCapture = renderProps.useCapture, + useWindow = renderProps.useWindow, + getScrollParent = renderProps.getScrollParent, + props = _objectWithoutProperties(renderProps, ['children', 'element', 'hasMore', 'initialLoad', 'isReverse', 'loader', 'loadMore', 'pageStart', 'ref', 'threshold', 'useCapture', 'useWindow', 'getScrollParent']); + + props.ref = function (node) { + _this2.scrollComponent = node; + if (ref) { + ref(node); + } + }; + + var childrenArray = [children]; + if (hasMore) { + if (loader) { + isReverse ? childrenArray.unshift(loader) : childrenArray.push(loader); + } else if (this.defaultLoader) { + isReverse ? childrenArray.unshift(this.defaultLoader) : childrenArray.push(this.defaultLoader); + } + } + return _react2.default.createElement(element, props, childrenArray); + } + }]); + + return InfiniteScroll; +}(_react.Component); + +InfiniteScroll.propTypes = { + children: _propTypes2.default.node.isRequired, + element: _propTypes2.default.node, + hasMore: _propTypes2.default.bool, + initialLoad: _propTypes2.default.bool, + isReverse: _propTypes2.default.bool, + loader: _propTypes2.default.node, + loadMore: _propTypes2.default.func.isRequired, + pageStart: _propTypes2.default.number, + ref: _propTypes2.default.func, + getScrollParent: _propTypes2.default.func, + threshold: _propTypes2.default.number, + useCapture: _propTypes2.default.bool, + useWindow: _propTypes2.default.bool +}; +InfiniteScroll.defaultProps = { + element: 'div', + hasMore: false, + initialLoad: true, + pageStart: 0, + ref: null, + threshold: 250, + useWindow: true, + isReverse: false, + useCapture: false, + loader: null, + getScrollParent: null +}; +exports["default"] = InfiniteScroll; +module.exports = exports['default']; + + +/***/ }), + +/***/ 246: +/*!*******************************************************!*\ + !*** ./node_modules/react-infinite-scroller/index.js ***! + \*******************************************************/ +/***/ (function(module, __unused_webpack_exports, __webpack_require__) { + +module.exports = __webpack_require__(/*! ./dist/InfiniteScroll */ 57761) + + +/***/ }) + +}]); \ No newline at end of file diff --git a/29455.async.js b/29455.async.js new file mode 100644 index 0000000000..9bc66e6456 --- /dev/null +++ b/29455.async.js @@ -0,0 +1,1789 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[29455,91708,53898,53764,4751,84551],{ + +/***/ 43387: +/*!******************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules ***! + \******************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ AntdIcon; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@ant-design/colors/es/index.js + 1 modules +var es = __webpack_require__(16397); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/Context.js + +var IconContext = /*#__PURE__*/(0,react.createContext)({}); +/* harmony default export */ var Context = (IconContext); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js +var objectSpread2 = __webpack_require__(1413); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js +var esm_typeof = __webpack_require__(71002); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/warning.js +/* eslint-disable no-console */ +var warned = {}; +var preWarningFns = []; + +/** + * Pre warning enable you to parse content before console.error. + * Modify to null will prevent warning. + */ +var preMessage = function preMessage(fn) { + preWarningFns.push(fn); +}; +function warning(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function note(valid, message) { + // Support uglify + if (false) { var finalMessage; } +} +function resetWarned() { + warned = {}; +} +function call(method, valid, message) { + if (!valid && !warned[message]) { + method(false, message); + warned[message] = true; + } +} +function warningOnce(valid, message) { + call(warning, valid, message); +} +function noteOnce(valid, message) { + call(note, valid, message); +} +warningOnce.preMessage = preMessage; +warningOnce.resetWarned = resetWarned; +warningOnce.noteOnce = noteOnce; +/* harmony default export */ var es_warning = (warningOnce); +/* eslint-enable */ +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/canUseDom.js +function canUseDom() { + return !!(typeof window !== 'undefined' && window.document && window.document.createElement); +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/contains.js +function contains(root, n) { + if (!root) { + return false; + } + + // Use native if support + if (root.contains) { + return root.contains(n); + } + + // `document.contains` not support with IE11 + var node = n; + while (node) { + if (node === root) { + return true; + } + node = node.parentNode; + } + return false; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/dynamicCSS.js + + +var APPEND_ORDER = 'data-rc-order'; +var MARK_KEY = "rc-util-key"; +var containerCache = new Map(); +function getMark() { + var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}, + mark = _ref.mark; + if (mark) { + return mark.startsWith('data-') ? mark : "data-".concat(mark); + } + return MARK_KEY; +} +function getContainer(option) { + if (option.attachTo) { + return option.attachTo; + } + var head = document.querySelector('head'); + return head || document.body; +} +function getOrder(prepend) { + if (prepend === 'queue') { + return 'prependQueue'; + } + return prepend ? 'prepend' : 'append'; +} + +/** + * Find style which inject by rc-util + */ +function findStyles(container) { + return Array.from((containerCache.get(container) || container).children).filter(function (node) { + return node.tagName === 'STYLE'; + }); +} +function injectCSS(css) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + if (!canUseDom()) { + return null; + } + var csp = option.csp, + prepend = option.prepend; + var styleNode = document.createElement('style'); + styleNode.setAttribute(APPEND_ORDER, getOrder(prepend)); + if (csp !== null && csp !== void 0 && csp.nonce) { + styleNode.nonce = csp === null || csp === void 0 ? void 0 : csp.nonce; + } + styleNode.innerHTML = css; + var container = getContainer(option); + var firstChild = container.firstChild; + if (prepend) { + // If is queue `prepend`, it will prepend first style and then append rest style + if (prepend === 'queue') { + var existStyle = findStyles(container).filter(function (node) { + return ['prepend', 'prependQueue'].includes(node.getAttribute(APPEND_ORDER)); + }); + if (existStyle.length) { + container.insertBefore(styleNode, existStyle[existStyle.length - 1].nextSibling); + return styleNode; + } + } + + // Use `insertBefore` as `prepend` + container.insertBefore(styleNode, firstChild); + } else { + container.appendChild(styleNode); + } + return styleNode; +} +function findExistNode(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var container = getContainer(option); + return findStyles(container).find(function (node) { + return node.getAttribute(getMark(option)) === key; + }); +} +function removeCSS(key) { + var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + var existNode = findExistNode(key, option); + if (existNode) { + var container = getContainer(option); + container.removeChild(existNode); + } +} + +/** + * qiankun will inject `appendChild` to insert into other + */ +function syncRealContainer(container, option) { + var cachedRealContainer = containerCache.get(container); + + // Find real container when not cached or cached container removed + if (!cachedRealContainer || !contains(document, cachedRealContainer)) { + var placeholderStyle = injectCSS('', option); + var parentNode = placeholderStyle.parentNode; + containerCache.set(container, parentNode); + container.removeChild(placeholderStyle); + } +} + +/** + * manually clear container cache to avoid global cache in unit testes + */ +function clearContainerCache() { + containerCache.clear(); +} +function updateCSS(css, key) { + var option = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; + var container = getContainer(option); + + // Sync real parent + syncRealContainer(container, option); + var existNode = findExistNode(key, option); + if (existNode) { + var _option$csp, _option$csp2; + if ((_option$csp = option.csp) !== null && _option$csp !== void 0 && _option$csp.nonce && existNode.nonce !== ((_option$csp2 = option.csp) === null || _option$csp2 === void 0 ? void 0 : _option$csp2.nonce)) { + var _option$csp3; + existNode.nonce = (_option$csp3 = option.csp) === null || _option$csp3 === void 0 ? void 0 : _option$csp3.nonce; + } + if (existNode.innerHTML !== css) { + existNode.innerHTML = css; + } + return existNode; + } + var newNode = injectCSS(css, option); + newNode.setAttribute(getMark(option), key); + return newNode; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/node_modules/rc-util/es/Dom/shadow.js +function getRoot(ele) { + var _ele$getRootNode; + return ele === null || ele === void 0 ? void 0 : (_ele$getRootNode = ele.getRootNode) === null || _ele$getRootNode === void 0 ? void 0 : _ele$getRootNode.call(ele); +} + +/** + * Check if is in shadowRoot + */ +function inShadow(ele) { + return getRoot(ele) !== (ele === null || ele === void 0 ? void 0 : ele.ownerDocument); +} + +/** + * Return shadowRoot if possible + */ +function getShadowRoot(ele) { + return inShadow(ele) ? getRoot(ele) : null; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/utils.js + + + + + + + + +function utils_warning(valid, message) { + es_warning(valid, "[@ant-design/icons] ".concat(message)); +} +function isIconDefinition(target) { + return (0,esm_typeof/* default */.Z)(target) === 'object' && typeof target.name === 'string' && typeof target.theme === 'string' && ((0,esm_typeof/* default */.Z)(target.icon) === 'object' || typeof target.icon === 'function'); +} +function normalizeAttrs() { + var attrs = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + return Object.keys(attrs).reduce(function (acc, key) { + var val = attrs[key]; + switch (key) { + case 'class': + acc.className = val; + delete acc.class; + break; + default: + acc[key] = val; + } + return acc; + }, {}); +} +function generate(node, key, rootProps) { + if (!rootProps) { + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); + } + return /*#__PURE__*/react.createElement(node.tag, (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + key: key + }, normalizeAttrs(node.attrs)), rootProps), (node.children || []).map(function (child, index) { + return generate(child, "".concat(key, "-").concat(node.tag, "-").concat(index)); + })); +} +function getSecondaryColor(primaryColor) { + // choose the second color + return (0,es.generate)(primaryColor)[0]; +} +function normalizeTwoToneColors(twoToneColor) { + if (!twoToneColor) { + return []; + } + return Array.isArray(twoToneColor) ? twoToneColor : [twoToneColor]; +} + +// These props make sure that the SVG behaviours like general text. +// Reference: https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 +var svgBaseProps = { + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true', + focusable: 'false' +}; +var iconStyles = "\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n"; +var useInsertStyles = function useInsertStyles(eleRef) { + var _useContext = (0,react.useContext)(Context), + csp = _useContext.csp, + prefixCls = _useContext.prefixCls; + var mergedStyleStr = iconStyles; + if (prefixCls) { + mergedStyleStr = mergedStyleStr.replace(/anticon/g, prefixCls); + } + (0,react.useEffect)(function () { + var ele = eleRef.current; + var shadowRoot = getShadowRoot(ele); + updateCSS(mergedStyleStr, '@ant-design-icons', { + prepend: true, + csp: csp, + attachTo: shadowRoot + }); + }, []); +}; +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/IconBase.js + + +var _excluded = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"]; + + +var twoToneColorPalette = { + primaryColor: '#333', + secondaryColor: '#E6E6E6', + calculated: false +}; +function setTwoToneColors(_ref) { + var primaryColor = _ref.primaryColor, + secondaryColor = _ref.secondaryColor; + twoToneColorPalette.primaryColor = primaryColor; + twoToneColorPalette.secondaryColor = secondaryColor || getSecondaryColor(primaryColor); + twoToneColorPalette.calculated = !!secondaryColor; +} +function getTwoToneColors() { + return (0,objectSpread2/* default */.Z)({}, twoToneColorPalette); +} +var IconBase = function IconBase(props) { + var icon = props.icon, + className = props.className, + onClick = props.onClick, + style = props.style, + primaryColor = props.primaryColor, + secondaryColor = props.secondaryColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var svgRef = react.useRef(); + var colors = twoToneColorPalette; + if (primaryColor) { + colors = { + primaryColor: primaryColor, + secondaryColor: secondaryColor || getSecondaryColor(primaryColor) + }; + } + useInsertStyles(svgRef); + utils_warning(isIconDefinition(icon), "icon should be icon definiton, but got ".concat(icon)); + if (!isIconDefinition(icon)) { + return null; + } + var target = icon; + if (target && typeof target.icon === 'function') { + target = (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, target), {}, { + icon: target.icon(colors.primaryColor, colors.secondaryColor) + }); + } + return generate(target.icon, "svg-".concat(target.name), (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({ + className: className, + onClick: onClick, + style: style, + 'data-icon': target.name, + width: '1em', + height: '1em', + fill: 'currentColor', + 'aria-hidden': 'true' + }, restProps), {}, { + ref: svgRef + })); +}; +IconBase.displayName = 'IconReact'; +IconBase.getTwoToneColors = getTwoToneColors; +IconBase.setTwoToneColors = setTwoToneColors; +/* harmony default export */ var components_IconBase = (IconBase); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.js + + + +function setTwoToneColor(twoToneColor) { + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return components_IconBase.setTwoToneColors({ + primaryColor: primaryColor, + secondaryColor: secondaryColor + }); +} +function getTwoToneColor() { + var colors = components_IconBase.getTwoToneColors(); + if (!colors.calculated) { + return colors.primaryColor; + } + return [colors.primaryColor, colors.secondaryColor]; +} +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + + + + +var AntdIcon_excluded = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"]; + + + + + + + +// Initial setting +// should move it to antd main repo? +setTwoToneColor(es.blue.primary); + +// https://github.com/DefinitelyTyped/DefinitelyTyped/issues/34757#issuecomment-488848720 + +var Icon = /*#__PURE__*/react.forwardRef(function (props, ref) { + var _classNames; + var className = props.className, + icon = props.icon, + spin = props.spin, + rotate = props.rotate, + tabIndex = props.tabIndex, + onClick = props.onClick, + twoToneColor = props.twoToneColor, + restProps = (0,objectWithoutProperties/* default */.Z)(props, AntdIcon_excluded); + var _React$useContext = react.useContext(Context), + _React$useContext$pre = _React$useContext.prefixCls, + prefixCls = _React$useContext$pre === void 0 ? 'anticon' : _React$useContext$pre, + rootClassName = _React$useContext.rootClassName; + var classString = classnames_default()(rootClassName, prefixCls, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-").concat(icon.name), !!icon.name), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-spin"), !!spin || icon.name === 'loading'), _classNames), className); + var iconTabIndex = tabIndex; + if (iconTabIndex === undefined && onClick) { + iconTabIndex = -1; + } + var svgStyle = rotate ? { + msTransform: "rotate(".concat(rotate, "deg)"), + transform: "rotate(".concat(rotate, "deg)") + } : undefined; + var _normalizeTwoToneColo = normalizeTwoToneColors(twoToneColor), + _normalizeTwoToneColo2 = (0,slicedToArray/* default */.Z)(_normalizeTwoToneColo, 2), + primaryColor = _normalizeTwoToneColo2[0], + secondaryColor = _normalizeTwoToneColo2[1]; + return /*#__PURE__*/react.createElement("span", (0,esm_extends/* default */.Z)({ + role: "img", + "aria-label": icon.name + }, restProps, { + ref: ref, + tabIndex: iconTabIndex, + onClick: onClick, + className: classString + }), /*#__PURE__*/react.createElement(components_IconBase, { + icon: icon, + primaryColor: primaryColor, + secondaryColor: secondaryColor, + style: svgStyle + })); +}); +Icon.displayName = 'AntdIcon'; +Icon.getTwoToneColor = getTwoToneColor; +Icon.setTwoToneColor = setTwoToneColor; +/* harmony default export */ var AntdIcon = (Icon); + +/***/ }), + +/***/ 80882: +/*!*****************************************************************************!*\ + !*** ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + 1 modules ***! + \*****************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_DownOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +// This icon file is generated automatically. +var DownOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, "name": "down", "theme": "outlined" }; +/* harmony default export */ var asn_DownOutlined = (DownOutlined); + +// EXTERNAL MODULE: ./node_modules/@ant-design/icons/es/components/AntdIcon.js + 9 modules +var AntdIcon = __webpack_require__(43387); +;// CONCATENATED MODULE: ./node_modules/@ant-design/icons/es/icons/DownOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var DownOutlined_DownOutlined = function DownOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_DownOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_DownOutlined = (/*#__PURE__*/react.forwardRef(DownOutlined_DownOutlined)); + +/***/ }), + +/***/ 4393: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/card/index.js + 4 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ card; } +}); + +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/rc-util/es/omit.js +var omit = __webpack_require__(10366); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/hooks/useSize.js +var useSize = __webpack_require__(98675); +// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules +var skeleton = __webpack_require__(4310); +// EXTERNAL MODULE: ./node_modules/antd/es/tabs/index.js + 30 modules +var es_tabs = __webpack_require__(74685); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Grid.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +const Grid = _a => { + var { + prefixCls, + className, + hoverable = true + } = _a, + props = __rest(_a, ["prefixCls", "className", "hoverable"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefix = getPrefixCls('card', prefixCls); + const classString = classnames_default()(`${prefix}-grid`, className, { + [`${prefix}-grid-hoverable`]: hoverable + }); + return /*#__PURE__*/react.createElement("div", Object.assign({}, props, { + className: classString + })); +}; +/* harmony default export */ var card_Grid = (Grid); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/style/index.js + + +// ============================== Styles ============================== +// ============================== Head ============================== +const genCardHeadStyle = token => { + const { + antCls, + componentCls, + headerHeight, + cardPaddingBase, + tabsMarginBottom + } = token; + return Object.assign(Object.assign({ + display: 'flex', + justifyContent: 'center', + flexDirection: 'column', + minHeight: headerHeight, + marginBottom: -1, + padding: `0 ${cardPaddingBase}px`, + color: token.colorTextHeading, + fontWeight: token.fontWeightStrong, + fontSize: token.headerFontSize, + background: token.headerBg, + borderBottom: `${token.lineWidth}px ${token.lineType} ${token.colorBorderSecondary}`, + borderRadius: `${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0` + }, (0,style/* clearFix */.dF)()), { + '&-wrapper': { + width: '100%', + display: 'flex', + alignItems: 'center' + }, + '&-title': Object.assign(Object.assign({ + display: 'inline-block', + flex: 1 + }, style/* textEllipsis */.vS), { + [` + > ${componentCls}-typography, + > ${componentCls}-typography-edit-content + `]: { + insetInlineStart: 0, + marginTop: 0, + marginBottom: 0 + } + }), + [`${antCls}-tabs-top`]: { + clear: 'both', + marginBottom: tabsMarginBottom, + color: token.colorText, + fontWeight: 'normal', + fontSize: token.fontSize, + '&-bar': { + borderBottom: `${token.lineWidth}px ${token.lineType} ${token.colorBorderSecondary}` + } + } + }); +}; +// ============================== Grid ============================== +const genCardGridStyle = token => { + const { + cardPaddingBase, + colorBorderSecondary, + cardShadow, + lineWidth + } = token; + return { + width: '33.33%', + padding: cardPaddingBase, + border: 0, + borderRadius: 0, + boxShadow: ` + ${lineWidth}px 0 0 0 ${colorBorderSecondary}, + 0 ${lineWidth}px 0 0 ${colorBorderSecondary}, + ${lineWidth}px ${lineWidth}px 0 0 ${colorBorderSecondary}, + ${lineWidth}px 0 0 0 ${colorBorderSecondary} inset, + 0 ${lineWidth}px 0 0 ${colorBorderSecondary} inset; + `, + transition: `all ${token.motionDurationMid}`, + '&-hoverable:hover': { + position: 'relative', + zIndex: 1, + boxShadow: cardShadow + } + }; +}; +// ============================== Actions ============================== +const genCardActionsStyle = token => { + const { + componentCls, + iconCls, + actionsLiMargin, + cardActionsIconSize, + colorBorderSecondary, + actionsBg + } = token; + return Object.assign(Object.assign({ + margin: 0, + padding: 0, + listStyle: 'none', + background: actionsBg, + borderTop: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}`, + display: 'flex', + borderRadius: `0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px ` + }, (0,style/* clearFix */.dF)()), { + '& > li': { + margin: actionsLiMargin, + color: token.colorTextDescription, + textAlign: 'center', + '> span': { + position: 'relative', + display: 'block', + minWidth: token.cardActionsIconSize * 2, + fontSize: token.fontSize, + lineHeight: token.lineHeight, + cursor: 'pointer', + '&:hover': { + color: token.colorPrimary, + transition: `color ${token.motionDurationMid}` + }, + [`a:not(${componentCls}-btn), > ${iconCls}`]: { + display: 'inline-block', + width: '100%', + color: token.colorTextDescription, + lineHeight: `${token.fontSize * token.lineHeight}px`, + transition: `color ${token.motionDurationMid}`, + '&:hover': { + color: token.colorPrimary + } + }, + [`> ${iconCls}`]: { + fontSize: cardActionsIconSize, + lineHeight: `${cardActionsIconSize * token.lineHeight}px` + } + }, + '&:not(:last-child)': { + borderInlineEnd: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}` + } + } + }); +}; +// ============================== Meta ============================== +const genCardMetaStyle = token => Object.assign(Object.assign({ + margin: `-${token.marginXXS}px 0`, + display: 'flex' +}, (0,style/* clearFix */.dF)()), { + '&-avatar': { + paddingInlineEnd: token.padding + }, + '&-detail': { + overflow: 'hidden', + flex: 1, + '> div:not(:last-child)': { + marginBottom: token.marginXS + } + }, + '&-title': Object.assign({ + color: token.colorTextHeading, + fontWeight: token.fontWeightStrong, + fontSize: token.fontSizeLG + }, style/* textEllipsis */.vS), + '&-description': { + color: token.colorTextDescription + } +}); +// ============================== Inner ============================== +const genCardTypeInnerStyle = token => { + const { + componentCls, + cardPaddingBase, + colorFillAlter + } = token; + return { + [`${componentCls}-head`]: { + padding: `0 ${cardPaddingBase}px`, + background: colorFillAlter, + '&-title': { + fontSize: token.fontSize + } + }, + [`${componentCls}-body`]: { + padding: `${token.padding}px ${cardPaddingBase}px` + } + }; +}; +// ============================== Loading ============================== +const genCardLoadingStyle = token => { + const { + componentCls + } = token; + return { + overflow: 'hidden', + [`${componentCls}-body`]: { + userSelect: 'none' + } + }; +}; +// ============================== Basic ============================== +const genCardStyle = token => { + const { + antCls, + componentCls, + cardShadow, + cardHeadPadding, + colorBorderSecondary, + boxShadowTertiary, + cardPaddingBase, + extraColor + } = token; + return { + [componentCls]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + position: 'relative', + background: token.colorBgContainer, + borderRadius: token.borderRadiusLG, + [`&:not(${componentCls}-bordered)`]: { + boxShadow: boxShadowTertiary + }, + [`${componentCls}-head`]: genCardHeadStyle(token), + [`${componentCls}-extra`]: { + // https://stackoverflow.com/a/22429853/3040605 + marginInlineStart: 'auto', + color: extraColor, + fontWeight: 'normal', + fontSize: token.fontSize + }, + [`${componentCls}-body`]: Object.assign({ + padding: cardPaddingBase, + borderRadius: ` 0 0 ${token.borderRadiusLG}px ${token.borderRadiusLG}px` + }, (0,style/* clearFix */.dF)()), + [`${componentCls}-grid`]: genCardGridStyle(token), + [`${componentCls}-cover`]: { + '> *': { + display: 'block', + width: '100%' + }, + [`img, img + ${antCls}-image-mask`]: { + borderRadius: `${token.borderRadiusLG}px ${token.borderRadiusLG}px 0 0` + } + }, + [`${componentCls}-actions`]: genCardActionsStyle(token), + [`${componentCls}-meta`]: genCardMetaStyle(token) + }), + [`${componentCls}-bordered`]: { + border: `${token.lineWidth}px ${token.lineType} ${colorBorderSecondary}`, + [`${componentCls}-cover`]: { + marginTop: -1, + marginInlineStart: -1, + marginInlineEnd: -1 + } + }, + [`${componentCls}-hoverable`]: { + cursor: 'pointer', + transition: `box-shadow ${token.motionDurationMid}, border-color ${token.motionDurationMid}`, + '&:hover': { + borderColor: 'transparent', + boxShadow: cardShadow + } + }, + [`${componentCls}-contain-grid`]: { + [`${componentCls}-body`]: { + display: 'flex', + flexWrap: 'wrap' + }, + [`&:not(${componentCls}-loading) ${componentCls}-body`]: { + marginBlockStart: -token.lineWidth, + marginInlineStart: -token.lineWidth, + padding: 0 + } + }, + [`${componentCls}-contain-tabs`]: { + [`> ${componentCls}-head`]: { + [`${componentCls}-head-title, ${componentCls}-extra`]: { + paddingTop: cardHeadPadding + } + } + }, + [`${componentCls}-type-inner`]: genCardTypeInnerStyle(token), + [`${componentCls}-loading`]: genCardLoadingStyle(token), + [`${componentCls}-rtl`]: { + direction: 'rtl' + } + }; +}; +// ============================== Size ============================== +const genCardSizeStyle = token => { + const { + componentCls, + cardPaddingSM, + headerHeightSM, + headerFontSizeSM + } = token; + return { + [`${componentCls}-small`]: { + [`> ${componentCls}-head`]: { + minHeight: headerHeightSM, + padding: `0 ${cardPaddingSM}px`, + fontSize: headerFontSizeSM, + [`> ${componentCls}-head-wrapper`]: { + [`> ${componentCls}-extra`]: { + fontSize: token.fontSize + } + } + }, + [`> ${componentCls}-body`]: { + padding: cardPaddingSM + } + }, + [`${componentCls}-small${componentCls}-contain-tabs`]: { + [`> ${componentCls}-head`]: { + [`${componentCls}-head-title, ${componentCls}-extra`]: { + minHeight: headerHeightSM, + paddingTop: 0, + display: 'flex', + alignItems: 'center' + } + } + } + }; +}; +// ============================== Export ============================== +/* harmony default export */ var card_style = ((0,genComponentStyleHook/* default */.Z)('Card', token => { + const cardToken = (0,statistic/* merge */.TS)(token, { + cardShadow: token.boxShadowCard, + cardHeadPadding: token.padding, + cardPaddingBase: token.paddingLG, + cardActionsIconSize: token.fontSize, + cardPaddingSM: 12 // Fixed padding. + }); + + return [ + // Style + genCardStyle(cardToken), + // Size + genCardSizeStyle(cardToken)]; +}, token => ({ + headerBg: 'transparent', + headerFontSize: token.fontSizeLG, + headerFontSizeSM: token.fontSize, + headerHeight: token.fontSizeLG * token.lineHeightLG + token.padding * 2, + headerHeightSM: token.fontSize * token.lineHeight + token.paddingXS * 2, + actionsBg: token.colorBgContainer, + actionsLiMargin: `${token.paddingSM}px 0`, + tabsMarginBottom: -token.padding - token.lineWidth, + extraColor: token.colorText +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Card.js +var Card_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +function getAction(actions) { + return actions.map((action, index) => + /*#__PURE__*/ + // eslint-disable-next-line react/no-array-index-key + react.createElement("li", { + style: { + width: `${100 / actions.length}%` + }, + key: `action-${index}` + }, /*#__PURE__*/react.createElement("span", null, action))); +} +const Card = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + extra, + headStyle = {}, + bodyStyle = {}, + title, + loading, + bordered = true, + size: customizeSize, + type, + cover, + actions, + tabList, + children, + activeTabKey, + defaultActiveTabKey, + tabBarExtraContent, + hoverable, + tabProps = {} + } = props, + others = Card_rest(props, ["prefixCls", "className", "rootClassName", "style", "extra", "headStyle", "bodyStyle", "title", "loading", "bordered", "size", "type", "cover", "actions", "tabList", "children", "activeTabKey", "defaultActiveTabKey", "tabBarExtraContent", "hoverable", "tabProps"]); + const { + getPrefixCls, + direction, + card + } = react.useContext(context/* ConfigContext */.E_); + const onTabChange = key => { + var _a; + (_a = props.onTabChange) === null || _a === void 0 ? void 0 : _a.call(props, key); + }; + const isContainGrid = react.useMemo(() => { + let containGrid = false; + react.Children.forEach(children, element => { + if (element && element.type && element.type === card_Grid) { + containGrid = true; + } + }); + return containGrid; + }, [children]); + const prefixCls = getPrefixCls('card', customizePrefixCls); + const [wrapSSR, hashId] = card_style(prefixCls); + const loadingBlock = /*#__PURE__*/react.createElement(skeleton/* default */.Z, { + loading: true, + active: true, + paragraph: { + rows: 4 + }, + title: false + }, children); + const hasActiveTabKey = activeTabKey !== undefined; + const extraProps = Object.assign(Object.assign({}, tabProps), { + [hasActiveTabKey ? 'activeKey' : 'defaultActiveKey']: hasActiveTabKey ? activeTabKey : defaultActiveTabKey, + tabBarExtraContent + }); + let head; + const mergedSize = (0,useSize/* default */.Z)(customizeSize); + const tabSize = !mergedSize || mergedSize === 'default' ? 'large' : mergedSize; + const tabs = tabList ? /*#__PURE__*/react.createElement(es_tabs/* default */.Z, Object.assign({ + size: tabSize + }, extraProps, { + className: `${prefixCls}-head-tabs`, + onChange: onTabChange, + items: tabList.map(_a => { + var { + tab + } = _a, + item = Card_rest(_a, ["tab"]); + return Object.assign({ + label: tab + }, item); + }) + })) : null; + if (title || extra || tabs) { + head = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head`, + style: headStyle + }, /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head-wrapper` + }, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-head-title` + }, title), extra && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-extra` + }, extra)), tabs); + } + const coverDom = cover ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-cover` + }, cover) : null; + const body = /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-body`, + style: bodyStyle + }, loading ? loadingBlock : children); + const actionDom = actions && actions.length ? /*#__PURE__*/react.createElement("ul", { + className: `${prefixCls}-actions` + }, getAction(actions)) : null; + const divProps = (0,omit/* default */.Z)(others, ['onTabChange']); + const classString = classnames_default()(prefixCls, card === null || card === void 0 ? void 0 : card.className, { + [`${prefixCls}-loading`]: loading, + [`${prefixCls}-bordered`]: bordered, + [`${prefixCls}-hoverable`]: hoverable, + [`${prefixCls}-contain-grid`]: isContainGrid, + [`${prefixCls}-contain-tabs`]: tabList && tabList.length, + [`${prefixCls}-${mergedSize}`]: mergedSize, + [`${prefixCls}-type-${type}`]: !!type, + [`${prefixCls}-rtl`]: direction === 'rtl' + }, className, rootClassName, hashId); + const mergedStyle = Object.assign(Object.assign({}, card === null || card === void 0 ? void 0 : card.style), style); + return wrapSSR( /*#__PURE__*/react.createElement("div", Object.assign({ + ref: ref + }, divProps, { + className: classString, + style: mergedStyle + }), head, coverDom, body, actionDom)); +}); +/* harmony default export */ var card_Card = (Card); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/Meta.js +var Meta_rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + +const Meta = props => { + const { + prefixCls: customizePrefixCls, + className, + avatar, + title, + description + } = props, + others = Meta_rest(props, ["prefixCls", "className", "avatar", "title", "description"]); + const { + getPrefixCls + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('card', customizePrefixCls); + const classString = classnames_default()(`${prefixCls}-meta`, className); + const avatarDom = avatar ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-avatar` + }, avatar) : null; + const titleDom = title ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-title` + }, title) : null; + const descriptionDom = description ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-description` + }, description) : null; + const MetaDetail = titleDom || descriptionDom ? /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-meta-detail` + }, titleDom, descriptionDom) : null; + return /*#__PURE__*/react.createElement("div", Object.assign({}, others, { + className: classString + }), avatarDom, MetaDetail); +}; +/* harmony default export */ var card_Meta = (Meta); +;// CONCATENATED MODULE: ./node_modules/antd/es/card/index.js +'use client'; + + + + +const es_card_Card = card_Card; +es_card_Card.Grid = card_Grid; +es_card_Card.Meta = card_Meta; +if (false) {} +/* harmony default export */ var card = (es_card_Card); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 64217: +/*!**********************************************!*\ + !*** ./node_modules/rc-util/es/pickAttrs.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/29581.async.js b/29581.async.js new file mode 100644 index 0000000000..da3bcf61ab --- /dev/null +++ b/29581.async.js @@ -0,0 +1,807 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[29581,91708,29823,32482,27129,15105,33127,53898,53764,4751,84551],{ + +/***/ 85418: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/dropdown/index.js + 1 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_dropdown; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/space/index.js + 2 modules +var space = __webpack_require__(42075); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(66748); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/dropdown-button.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const DropdownButton = props => { + const { + getPopupContainer: getContextPopupContainer, + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'default', + danger, + disabled, + loading, + onClick, + htmlType, + children, + className, + menu, + arrow, + autoFocus, + overlay, + trigger, + align, + open, + onOpenChange, + placement, + getPopupContainer, + href, + icon = /*#__PURE__*/react.createElement(EllipsisOutlined/* default */.Z, null), + title, + buttonsRender = buttons => buttons, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + } = props, + restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); + const prefixCls = getPrefixCls('dropdown', customizePrefixCls); + const buttonPrefixCls = `${prefixCls}-button`; + const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); + const dropdownProps = { + menu, + arrow, + autoFocus, + align, + disabled, + trigger: disabled ? [] : trigger, + onOpenChange, + getPopupContainer: getPopupContainer || getContextPopupContainer, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + }; + const { + compactSize, + compactItemClassnames + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); + if ('overlay' in props) { + dropdownProps.overlay = overlay; + } + if ('open' in props) { + dropdownProps.open = open; + } + if ('placement' in props) { + dropdownProps.placement = placement; + } else { + dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; + } + const leftButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + disabled: disabled, + loading: loading, + onClick: onClick, + htmlType: htmlType, + href: href, + title: title + }, children); + const rightButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + icon: icon + }); + const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); + return wrapSSR( /*#__PURE__*/react.createElement(space/* default.Compact */.Z.Compact, Object.assign({ + className: classes, + size: compactSize, + block: true + }, restProps), leftButtonToRender, /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); +}; +DropdownButton.__ANT_BUTTON = true; +/* harmony default export */ var dropdown_button = (DropdownButton); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/index.js +'use client'; + + + +const Dropdown = dropdown/* default */.Z; +Dropdown.Button = dropdown_button; +/* harmony default export */ var es_dropdown = (Dropdown); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 64217: +/*!**********************************************!*\ + !*** ./node_modules/rc-util/es/pickAttrs.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/29823.async.js b/29823.async.js new file mode 100644 index 0000000000..d63413164c --- /dev/null +++ b/29823.async.js @@ -0,0 +1,807 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[29823,91708,32482,27129,15105,29581,33127,53898,53764,4751,84551],{ + +/***/ 85418: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/dropdown/index.js + 1 modules ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_dropdown; } +}); + +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/dropdown.js + 9 modules +var dropdown = __webpack_require__(35874); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules +var EllipsisOutlined = __webpack_require__(64582); +// EXTERNAL MODULE: ./node_modules/antd/es/button/index.js +var es_button = __webpack_require__(71577); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/space/index.js + 2 modules +var space = __webpack_require__(42075); +// EXTERNAL MODULE: ./node_modules/antd/es/space/Compact.js +var Compact = __webpack_require__(4173); +// EXTERNAL MODULE: ./node_modules/antd/es/dropdown/style/index.js + 1 modules +var style = __webpack_require__(66748); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/dropdown-button.js +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + + + +const DropdownButton = props => { + const { + getPopupContainer: getContextPopupContainer, + getPrefixCls, + direction + } = react.useContext(context/* ConfigContext */.E_); + const { + prefixCls: customizePrefixCls, + type = 'default', + danger, + disabled, + loading, + onClick, + htmlType, + children, + className, + menu, + arrow, + autoFocus, + overlay, + trigger, + align, + open, + onOpenChange, + placement, + getPopupContainer, + href, + icon = /*#__PURE__*/react.createElement(EllipsisOutlined/* default */.Z, null), + title, + buttonsRender = buttons => buttons, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + } = props, + restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]); + const prefixCls = getPrefixCls('dropdown', customizePrefixCls); + const buttonPrefixCls = `${prefixCls}-button`; + const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls); + const dropdownProps = { + menu, + arrow, + autoFocus, + align, + disabled, + trigger: disabled ? [] : trigger, + onOpenChange, + getPopupContainer: getPopupContainer || getContextPopupContainer, + mouseEnterDelay, + mouseLeaveDelay, + overlayClassName, + overlayStyle, + destroyPopupOnHide, + dropdownRender + }; + const { + compactSize, + compactItemClassnames + } = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction); + const classes = classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId); + if ('overlay' in props) { + dropdownProps.overlay = overlay; + } + if ('open' in props) { + dropdownProps.open = open; + } + if ('placement' in props) { + dropdownProps.placement = placement; + } else { + dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight'; + } + const leftButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + disabled: disabled, + loading: loading, + onClick: onClick, + htmlType: htmlType, + href: href, + title: title + }, children); + const rightButton = /*#__PURE__*/react.createElement(es_button/* default */.ZP, { + type: type, + danger: danger, + icon: icon + }); + const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]); + return wrapSSR( /*#__PURE__*/react.createElement(space/* default.Compact */.Z.Compact, Object.assign({ + className: classes, + size: compactSize, + block: true + }, restProps), leftButtonToRender, /*#__PURE__*/react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender))); +}; +DropdownButton.__ANT_BUTTON = true; +/* harmony default export */ var dropdown_button = (DropdownButton); +;// CONCATENATED MODULE: ./node_modules/antd/es/dropdown/index.js +'use client'; + + + +const Dropdown = dropdown/* default */.Z; +Dropdown.Button = dropdown_button; +/* harmony default export */ var es_dropdown = (Dropdown); + +/***/ }), + +/***/ 91708: +/*!********************************************************!*\ + !*** ./node_modules/antd/es/rate/index.js + 8 modules ***! + \********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ rate; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +// This icon file is generated automatically. +var StarFilled = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z" } }] }, "name": "star", "theme": "filled" }; +/* harmony default export */ var asn_StarFilled = (StarFilled); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/StarFilled.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var StarFilled_StarFilled = function StarFilled(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_StarFilled + })); +}; +if (false) {} +/* harmony default export */ var icons_StarFilled = (/*#__PURE__*/react.forwardRef(StarFilled_StarFilled)); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js +var defineProperty = __webpack_require__(4942); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 1 modules +var slicedToArray = __webpack_require__(97685); +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +var objectWithoutProperties = __webpack_require__(45987); +// EXTERNAL MODULE: ./node_modules/rc-util/es/hooks/useMergedState.js +var useMergedState = __webpack_require__(21770); +// EXTERNAL MODULE: ./node_modules/rc-util/es/KeyCode.js +var KeyCode = __webpack_require__(15105); +// EXTERNAL MODULE: ./node_modules/rc-util/es/pickAttrs.js +var pickAttrs = __webpack_require__(64217); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Star.js + + + +function Star(props, ref) { + var disabled = props.disabled, + prefixCls = props.prefixCls, + character = props.character, + characterRender = props.characterRender, + index = props.index, + count = props.count, + value = props.value, + allowHalf = props.allowHalf, + focused = props.focused, + onHover = props.onHover, + onClick = props.onClick; + // =========================== Events =========================== + var onInternalHover = function onInternalHover(e) { + onHover(e, index); + }; + var onInternalClick = function onInternalClick(e) { + onClick(e, index); + }; + var onInternalKeyDown = function onInternalKeyDown(e) { + if (e.keyCode === KeyCode/* default.ENTER */.Z.ENTER) { + onClick(e, index); + } + }; + // =========================== Render =========================== + // >>>>> ClassName + var starValue = index + 1; + var classNameList = new Set([prefixCls]); + // TODO: Current we just refactor from CC to FC. This logic seems can be optimized. + if (value === 0 && index === 0 && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } else if (allowHalf && value + 0.5 >= starValue && value < starValue) { + classNameList.add("".concat(prefixCls, "-half")); + classNameList.add("".concat(prefixCls, "-active")); + if (focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } else { + if (starValue <= value) { + classNameList.add("".concat(prefixCls, "-full")); + } else { + classNameList.add("".concat(prefixCls, "-zero")); + } + if (starValue === value && focused) { + classNameList.add("".concat(prefixCls, "-focused")); + } + } + // >>>>> Node + var characterNode = typeof character === 'function' ? character(props) : character; + var start = /*#__PURE__*/react.createElement("li", { + className: classnames_default()(Array.from(classNameList)), + ref: ref + }, /*#__PURE__*/react.createElement("div", { + onClick: disabled ? null : onInternalClick, + onKeyDown: disabled ? null : onInternalKeyDown, + onMouseMove: disabled ? null : onInternalHover, + role: "radio", + "aria-checked": value > index ? 'true' : 'false', + "aria-posinset": index + 1, + "aria-setsize": count, + tabIndex: disabled ? -1 : 0 + }, /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-first") + }, characterNode), /*#__PURE__*/react.createElement("div", { + className: "".concat(prefixCls, "-second") + }, characterNode))); + if (characterRender) { + start = characterRender(start, props); + } + return start; +} +/* harmony default export */ var es_Star = (/*#__PURE__*/react.forwardRef(Star)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/useRefs.js + +function useRefs() { + var nodeRef = react.useRef({}); + function getRef(index) { + return nodeRef.current[index]; + } + function setRef(index) { + return function (node) { + nodeRef.current[index] = node; + }; + } + return [getRef, setRef]; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/util.js +function getScroll(w) { + var ret = w.pageXOffset; + var method = 'scrollLeft'; + if (typeof ret !== 'number') { + var d = w.document; + // ie6,7,8 standard mode + ret = d.documentElement[method]; + if (typeof ret !== 'number') { + // quirks mode + ret = d.body[method]; + } + } + return ret; +} +function getClientPosition(elem) { + var x; + var y; + var doc = elem.ownerDocument; + var body = doc.body; + var docElem = doc && doc.documentElement; + var box = elem.getBoundingClientRect(); + x = box.left; + y = box.top; + x -= docElem.clientLeft || body.clientLeft || 0; + y -= docElem.clientTop || body.clientTop || 0; + return { + left: x, + top: y + }; +} +function getOffsetLeft(el) { + var pos = getClientPosition(el); + var doc = el.ownerDocument; + // Only IE use `parentWindow` + var w = doc.defaultView || doc.parentWindow; + pos.left += getScroll(w); + return pos.left; +} +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/Rate.js + + + + +var _excluded = ["prefixCls", "className", "defaultValue", "value", "count", "allowHalf", "allowClear", "character", "characterRender", "disabled", "direction", "tabIndex", "autoFocus", "onHoverChange", "onChange", "onFocus", "onBlur", "onKeyDown", "onMouseLeave"]; + + + + + + + + +function Rate(props, ref) { + var _classNames; + var _props$prefixCls = props.prefixCls, + prefixCls = _props$prefixCls === void 0 ? 'rc-rate' : _props$prefixCls, + className = props.className, + defaultValue = props.defaultValue, + propValue = props.value, + _props$count = props.count, + count = _props$count === void 0 ? 5 : _props$count, + _props$allowHalf = props.allowHalf, + allowHalf = _props$allowHalf === void 0 ? false : _props$allowHalf, + _props$allowClear = props.allowClear, + allowClear = _props$allowClear === void 0 ? true : _props$allowClear, + _props$character = props.character, + character = _props$character === void 0 ? '★' : _props$character, + characterRender = props.characterRender, + disabled = props.disabled, + _props$direction = props.direction, + direction = _props$direction === void 0 ? 'ltr' : _props$direction, + _props$tabIndex = props.tabIndex, + tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex, + autoFocus = props.autoFocus, + onHoverChange = props.onHoverChange, + onChange = props.onChange, + onFocus = props.onFocus, + onBlur = props.onBlur, + onKeyDown = props.onKeyDown, + onMouseLeave = props.onMouseLeave, + restProps = (0,objectWithoutProperties/* default */.Z)(props, _excluded); + var _useRefs = useRefs(), + _useRefs2 = (0,slicedToArray/* default */.Z)(_useRefs, 2), + getStarRef = _useRefs2[0], + setStarRef = _useRefs2[1]; + var rateRef = react.useRef(null); + // ============================ Ref ============================= + var triggerFocus = function triggerFocus() { + if (!disabled) { + var _rateRef$current; + (_rateRef$current = rateRef.current) === null || _rateRef$current === void 0 ? void 0 : _rateRef$current.focus(); + } + }; + react.useImperativeHandle(ref, function () { + return { + focus: triggerFocus, + blur: function blur() { + if (!disabled) { + var _rateRef$current2; + (_rateRef$current2 = rateRef.current) === null || _rateRef$current2 === void 0 ? void 0 : _rateRef$current2.blur(); + } + } + }; + }); + // =========================== Value ============================ + var _useMergedState = (0,useMergedState/* default */.Z)(defaultValue || 0, { + value: propValue + }), + _useMergedState2 = (0,slicedToArray/* default */.Z)(_useMergedState, 2), + value = _useMergedState2[0], + setValue = _useMergedState2[1]; + var _useMergedState3 = (0,useMergedState/* default */.Z)(null), + _useMergedState4 = (0,slicedToArray/* default */.Z)(_useMergedState3, 2), + cleanedValue = _useMergedState4[0], + setCleanedValue = _useMergedState4[1]; + var getStarValue = function getStarValue(index, x) { + var reverse = direction === 'rtl'; + var starValue = index + 1; + if (allowHalf) { + var starEle = getStarRef(index); + var leftDis = getOffsetLeft(starEle); + var width = starEle.clientWidth; + if (reverse && x - leftDis > width / 2) { + starValue -= 0.5; + } else if (!reverse && x - leftDis < width / 2) { + starValue -= 0.5; + } + } + return starValue; + }; + // >>>>> Change + var changeValue = function changeValue(nextValue) { + setValue(nextValue); + onChange === null || onChange === void 0 ? void 0 : onChange(nextValue); + }; + // =========================== Focus ============================ + var _React$useState = react.useState(false), + _React$useState2 = (0,slicedToArray/* default */.Z)(_React$useState, 2), + focused = _React$useState2[0], + setFocused = _React$useState2[1]; + var onInternalFocus = function onInternalFocus() { + setFocused(true); + onFocus === null || onFocus === void 0 ? void 0 : onFocus(); + }; + var onInternalBlur = function onInternalBlur() { + setFocused(false); + onBlur === null || onBlur === void 0 ? void 0 : onBlur(); + }; + // =========================== Hover ============================ + var _React$useState3 = react.useState(null), + _React$useState4 = (0,slicedToArray/* default */.Z)(_React$useState3, 2), + hoverValue = _React$useState4[0], + setHoverValue = _React$useState4[1]; + var onHover = function onHover(event, index) { + var nextHoverValue = getStarValue(index, event.pageX); + if (nextHoverValue !== cleanedValue) { + setHoverValue(nextHoverValue); + setCleanedValue(null); + } + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(nextHoverValue); + }; + var onMouseLeaveCallback = function onMouseLeaveCallback(event) { + if (!disabled) { + setHoverValue(null); + setCleanedValue(null); + onHoverChange === null || onHoverChange === void 0 ? void 0 : onHoverChange(undefined); + } + if (event) { + onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event); + } + }; + // =========================== Click ============================ + var onClick = function onClick(event, index) { + var newValue = getStarValue(index, event.pageX); + var isReset = false; + if (allowClear) { + isReset = newValue === value; + } + onMouseLeaveCallback(); + changeValue(isReset ? 0 : newValue); + setCleanedValue(isReset ? newValue : null); + }; + var onInternalKeyDown = function onInternalKeyDown(event) { + var keyCode = event.keyCode; + var reverse = direction === 'rtl'; + var nextValue = value; + if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue < count && !reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue > 0 && !reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.RIGHT */.Z.RIGHT && nextValue > 0 && reverse) { + if (allowHalf) { + nextValue -= 0.5; + } else { + nextValue -= 1; + } + changeValue(nextValue); + event.preventDefault(); + } else if (keyCode === KeyCode/* default.LEFT */.Z.LEFT && nextValue < count && reverse) { + if (allowHalf) { + nextValue += 0.5; + } else { + nextValue += 1; + } + changeValue(nextValue); + event.preventDefault(); + } + onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(event); + }; + // =========================== Effect =========================== + react.useEffect(function () { + if (autoFocus && !disabled) { + triggerFocus(); + } + }, []); + // =========================== Render =========================== + // >>> Star + var starNodes = new Array(count).fill(0).map(function (item, index) { + return /*#__PURE__*/react.createElement(es_Star, { + ref: setStarRef(index), + index: index, + count: count, + disabled: disabled, + prefixCls: "".concat(prefixCls, "-star"), + allowHalf: allowHalf, + value: hoverValue === null ? value : hoverValue, + onClick: onClick, + onHover: onHover, + key: item || index, + character: character, + characterRender: characterRender, + focused: focused + }); + }); + var classString = classnames_default()(prefixCls, className, (_classNames = {}, (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-disabled"), disabled), (0,defineProperty/* default */.Z)(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames)); + // >>> Node + return /*#__PURE__*/react.createElement("ul", (0,esm_extends/* default */.Z)({ + className: classString, + onMouseLeave: onMouseLeaveCallback, + tabIndex: disabled ? -1 : tabIndex, + onFocus: disabled ? null : onInternalFocus, + onBlur: disabled ? null : onInternalBlur, + onKeyDown: disabled ? null : onInternalKeyDown, + ref: rateRef, + role: "radiogroup" + }, (0,pickAttrs/* default */.Z)(restProps, { + aria: true, + data: true, + attr: true + })), starNodes); +} +/* harmony default export */ var es_Rate = (/*#__PURE__*/react.forwardRef(Rate)); +;// CONCATENATED MODULE: ./node_modules/rc-rate/es/index.js + +/* harmony default export */ var es = (es_Rate); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/tooltip/index.js + 3 modules +var tooltip = __webpack_require__(83062); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/style/index.js + + +const genRateStarStyle = token => { + const { + componentCls + } = token; + return { + [`${componentCls}-star`]: { + position: 'relative', + display: 'inline-block', + color: 'inherit', + cursor: 'pointer', + '&:not(:last-child)': { + marginInlineEnd: token.marginXS + }, + '> div': { + transition: `all ${token.motionDurationMid}, outline 0s`, + '&:hover': { + transform: token.starHoverScale + }, + '&:focus': { + outline: 0 + }, + '&:focus-visible': { + outline: `${token.lineWidth}px dashed ${token.starColor}`, + transform: token.starHoverScale + } + }, + '&-first, &-second': { + color: token.starBg, + transition: `all ${token.motionDurationMid}`, + userSelect: 'none', + [token.iconCls]: { + verticalAlign: 'middle' + } + }, + '&-first': { + position: 'absolute', + top: 0, + insetInlineStart: 0, + width: '50%', + height: '100%', + overflow: 'hidden', + opacity: 0 + }, + [`&-half ${componentCls}-star-first, &-half ${componentCls}-star-second`]: { + opacity: 1 + }, + [`&-half ${componentCls}-star-first, &-full ${componentCls}-star-second`]: { + color: 'inherit' + } + } + }; +}; +const genRateRtlStyle = token => ({ + [`&-rtl${token.componentCls}`]: { + direction: 'rtl' + } +}); +const genRateStyle = token => { + const { + componentCls + } = token; + return { + [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + display: 'inline-block', + margin: 0, + padding: 0, + color: token.starColor, + fontSize: token.starSize, + lineHeight: 'unset', + listStyle: 'none', + outline: 'none', + // disable styles + [`&-disabled${componentCls} ${componentCls}-star`]: { + cursor: 'default', + '> div:hover': { + transform: 'scale(1)' + } + } + }), genRateStarStyle(token)), { + // text styles + [`+ ${componentCls}-text`]: { + display: 'inline-block', + marginInlineStart: token.marginXS, + fontSize: token.fontSize + } + }), genRateRtlStyle(token)) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var rate_style = ((0,genComponentStyleHook/* default */.Z)('Rate', token => { + const rateToken = (0,statistic/* merge */.TS)(token, {}); + return [genRateStyle(rateToken)]; +}, token => ({ + starColor: token.yellow6, + starSize: token.controlHeightLG * 0.5, + starHoverScale: 'scale(1.1)', + starBg: token.colorFillContent +}))); +;// CONCATENATED MODULE: ./node_modules/antd/es/rate/index.js +'use client'; + +var __rest = undefined && undefined.__rest || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]]; + } + return t; +}; + + + + + + + +const rate_Rate = /*#__PURE__*/react.forwardRef((props, ref) => { + const { + prefixCls, + className, + rootClassName, + style, + tooltips, + character = /*#__PURE__*/react.createElement(icons_StarFilled, null) + } = props, + rest = __rest(props, ["prefixCls", "className", "rootClassName", "style", "tooltips", "character"]); + const characterRender = (node, _ref) => { + let { + index + } = _ref; + if (!tooltips) { + return node; + } + return /*#__PURE__*/react.createElement(tooltip/* default */.Z, { + title: tooltips[index] + }, node); + }; + const { + getPrefixCls, + direction, + rate + } = react.useContext(context/* ConfigContext */.E_); + const ratePrefixCls = getPrefixCls('rate', prefixCls); + // Style + const [wrapSSR, hashId] = rate_style(ratePrefixCls); + const mergedStyle = Object.assign(Object.assign({}, rate === null || rate === void 0 ? void 0 : rate.style), style); + return wrapSSR( /*#__PURE__*/react.createElement(es, Object.assign({ + ref: ref, + character: character, + characterRender: characterRender + }, rest, { + className: classnames_default()(className, rootClassName, hashId, rate === null || rate === void 0 ? void 0 : rate.className), + style: mergedStyle, + prefixCls: ratePrefixCls, + direction: direction + }))); +}); +if (false) {} +/* harmony default export */ var rate = (rate_Rate); + +/***/ }), + +/***/ 64217: +/*!**********************************************!*\ + !*** ./node_modules/rc-util/es/pickAttrs.js ***! + \**********************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ pickAttrs; } +/* harmony export */ }); +/* harmony import */ var _babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectSpread2 */ 1413); + +var attributes = "accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"; +var eventsName = "onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError"; +var propList = "".concat(attributes, " ").concat(eventsName).split(/[\s\n]+/); + +/* eslint-enable max-len */ +var ariaPrefix = 'aria-'; +var dataPrefix = 'data-'; +function match(key, prefix) { + return key.indexOf(prefix) === 0; +} +/** + * Picker props from exist props with filter + * @param props Passed props + * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config + */ +function pickAttrs(props) { + var ariaOnly = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; + var mergedConfig; + if (ariaOnly === false) { + mergedConfig = { + aria: true, + data: true, + attr: true + }; + } else if (ariaOnly === true) { + mergedConfig = { + aria: true + }; + } else { + mergedConfig = (0,_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)({}, ariaOnly); + } + var attrs = {}; + Object.keys(props).forEach(function (key) { + if ( + // Aria + mergedConfig.aria && (key === 'role' || match(key, ariaPrefix)) || + // Data + mergedConfig.data && match(key, dataPrefix) || + // Attr + mergedConfig.attr && propList.includes(key)) { + attrs[key] = props[key]; + } + }); + return attrs; +} + +/***/ }) + +}]); \ No newline at end of file diff --git a/29997.async.js b/29997.async.js new file mode 100644 index 0000000000..e29c10e3f6 --- /dev/null +++ b/29997.async.js @@ -0,0 +1,7812 @@ +"use strict"; +(self["webpackChunk"] = self["webpackChunk"] || []).push([[29997],{ + +/***/ 57838: +/*!************************************************************!*\ + !*** ./node_modules/antd/es/_util/hooks/useForceUpdate.js ***! + \************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Z": function() { return /* binding */ useForceUpdate; } +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); + +function useForceUpdate() { + const [, forceUpdate] = react__WEBPACK_IMPORTED_MODULE_0__.useReducer(x => x + 1, 0); + return forceUpdate; +} + +/***/ }), + +/***/ 25378: +/*!**********************************************************!*\ + !*** ./node_modules/antd/es/grid/hooks/useBreakpoint.js ***! + \**********************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 67294); +/* harmony import */ var _util_hooks_useForceUpdate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../_util/hooks/useForceUpdate */ 57838); +/* harmony import */ var _util_responsiveObserver__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_util/responsiveObserver */ 74443); + + + +function useBreakpoint() { + let refreshOnChange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; + const screensRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({}); + const forceUpdate = (0,_util_hooks_useForceUpdate__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(); + const responsiveObserver = (0,_util_responsiveObserver__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z)(); + (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => { + const token = responsiveObserver.subscribe(supportScreens => { + screensRef.current = supportScreens; + if (refreshOnChange) { + forceUpdate(); + } + }); + return () => responsiveObserver.unsubscribe(token); + }, []); + return screensRef.current; +} +/* harmony default export */ __webpack_exports__["Z"] = (useBreakpoint); + +/***/ }), + +/***/ 55054: +/*!*************************************************************!*\ + !*** ./node_modules/antd/es/statistic/index.js + 5 modules ***! + \*************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ es_statistic; } +}); + +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/hooks/useForceUpdate.js +var useForceUpdate = __webpack_require__(57838); +// EXTERNAL MODULE: ./node_modules/antd/es/_util/reactNode.js +var reactNode = __webpack_require__(96159); +// EXTERNAL MODULE: ./node_modules/classnames/index.js +var classnames = __webpack_require__(94184); +var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames); +// EXTERNAL MODULE: ./node_modules/antd/es/config-provider/context.js +var context = __webpack_require__(53124); +// EXTERNAL MODULE: ./node_modules/antd/es/skeleton/index.js + 12 modules +var skeleton = __webpack_require__(4310); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Number.js + +const StatisticNumber = props => { + const { + value, + formatter, + precision, + decimalSeparator, + groupSeparator = '', + prefixCls + } = props; + let valueNode; + if (typeof formatter === 'function') { + // Customize formatter + valueNode = formatter(value); + } else { + // Internal formatter + const val = String(value); + const cells = val.match(/^(-?)(\d*)(\.(\d+))?$/); + // Process if illegal number + if (!cells || val === '-') { + valueNode = val; + } else { + const negative = cells[1]; + let int = cells[2] || '0'; + let decimal = cells[4] || ''; + int = int.replace(/\B(?=(\d{3})+(?!\d))/g, groupSeparator); + if (typeof precision === 'number') { + decimal = decimal.padEnd(precision, '0').slice(0, precision > 0 ? precision : 0); + } + if (decimal) { + decimal = `${decimalSeparator}${decimal}`; + } + valueNode = [/*#__PURE__*/react.createElement("span", { + key: "int", + className: `${prefixCls}-content-value-int` + }, negative, int), decimal && /*#__PURE__*/react.createElement("span", { + key: "decimal", + className: `${prefixCls}-content-value-decimal` + }, decimal)]; + } + } + return /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-value` + }, valueNode); +}; +/* harmony default export */ var statistic_Number = (StatisticNumber); +// EXTERNAL MODULE: ./node_modules/antd/es/style/index.js +var style = __webpack_require__(14747); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/genComponentStyleHook.js +var genComponentStyleHook = __webpack_require__(67968); +// EXTERNAL MODULE: ./node_modules/antd/es/theme/util/statistic.js +var statistic = __webpack_require__(45503); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/style/index.js + + +const genStatisticStyle = token => { + const { + componentCls, + marginXXS, + padding, + colorTextDescription, + titleFontSize, + colorTextHeading, + contentFontSize, + fontFamily + } = token; + return { + [`${componentCls}`]: Object.assign(Object.assign({}, (0,style/* resetComponent */.Wf)(token)), { + [`${componentCls}-title`]: { + marginBottom: marginXXS, + color: colorTextDescription, + fontSize: titleFontSize + }, + [`${componentCls}-skeleton`]: { + paddingTop: padding + }, + [`${componentCls}-content`]: { + color: colorTextHeading, + fontSize: contentFontSize, + fontFamily, + [`${componentCls}-content-value`]: { + display: 'inline-block', + direction: 'ltr' + }, + [`${componentCls}-content-prefix, ${componentCls}-content-suffix`]: { + display: 'inline-block' + }, + [`${componentCls}-content-prefix`]: { + marginInlineEnd: marginXXS + }, + [`${componentCls}-content-suffix`]: { + marginInlineStart: marginXXS + } + } + }) + }; +}; +// ============================== Export ============================== +/* harmony default export */ var statistic_style = ((0,genComponentStyleHook/* default */.Z)('Statistic', token => { + const statisticToken = (0,statistic/* merge */.TS)(token, {}); + return [genStatisticStyle(statisticToken)]; +}, token => { + const { + fontSizeHeading3, + fontSize + } = token; + return { + titleFontSize: fontSize, + contentFontSize: fontSizeHeading3 + }; +})); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Statistic.js + + + + + + +const Statistic = props => { + const { + prefixCls: customizePrefixCls, + className, + rootClassName, + style, + valueStyle, + value = 0, + title, + valueRender, + prefix, + suffix, + loading = false, + onMouseEnter, + onMouseLeave, + decimalSeparator = '.', + groupSeparator = ',' + } = props; + const { + getPrefixCls, + direction, + statistic + } = react.useContext(context/* ConfigContext */.E_); + const prefixCls = getPrefixCls('statistic', customizePrefixCls); + const [wrapSSR, hashId] = statistic_style(prefixCls); + const valueNode = /*#__PURE__*/react.createElement(statistic_Number, Object.assign({ + decimalSeparator: decimalSeparator, + groupSeparator: groupSeparator, + prefixCls: prefixCls + }, props, { + value: value + })); + const cls = classnames_default()(prefixCls, { + [`${prefixCls}-rtl`]: direction === 'rtl' + }, statistic === null || statistic === void 0 ? void 0 : statistic.className, className, rootClassName, hashId); + return wrapSSR( /*#__PURE__*/react.createElement("div", { + className: cls, + style: Object.assign(Object.assign({}, statistic === null || statistic === void 0 ? void 0 : statistic.style), style), + onMouseEnter: onMouseEnter, + onMouseLeave: onMouseLeave + }, title && /*#__PURE__*/react.createElement("div", { + className: `${prefixCls}-title` + }, title), /*#__PURE__*/react.createElement(skeleton/* default */.Z, { + paragraph: false, + loading: loading, + className: `${prefixCls}-skeleton` + }, /*#__PURE__*/react.createElement("div", { + style: valueStyle, + className: `${prefixCls}-content` + }, prefix && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-prefix` + }, prefix), valueRender ? valueRender(valueNode) : valueNode, suffix && /*#__PURE__*/react.createElement("span", { + className: `${prefixCls}-content-suffix` + }, suffix))))); +}; +if (false) {} +/* harmony default export */ var statistic_Statistic = (Statistic); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/utils.js +// Countdown +const timeUnits = [['Y', 1000 * 60 * 60 * 24 * 365], ['M', 1000 * 60 * 60 * 24 * 30], ['D', 1000 * 60 * 60 * 24], ['H', 1000 * 60 * 60], ['m', 1000 * 60], ['s', 1000], ['S', 1] // million seconds +]; + +function formatTimeStr(duration, format) { + let leftDuration = duration; + const escapeRegex = /\[[^\]]*]/g; + const keepList = (format.match(escapeRegex) || []).map(str => str.slice(1, -1)); + const templateText = format.replace(escapeRegex, '[]'); + const replacedText = timeUnits.reduce((current, _ref) => { + let [name, unit] = _ref; + if (current.includes(name)) { + const value = Math.floor(leftDuration / unit); + leftDuration -= value * unit; + return current.replace(new RegExp(`${name}+`, 'g'), match => { + const len = match.length; + return value.toString().padStart(len, '0'); + }); + } + return current; + }, templateText); + let index = 0; + return replacedText.replace(escapeRegex, () => { + const match = keepList[index]; + index += 1; + return match; + }); +} +function formatCountdown(value, config) { + const { + format = '' + } = config; + const target = new Date(value).getTime(); + const current = Date.now(); + const diff = Math.max(target - current, 0); + return formatTimeStr(diff, format); +} +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/Countdown.js + + + + + +const REFRESH_INTERVAL = 1000 / 30; +function getTime(value) { + return new Date(value).getTime(); +} +const Countdown = props => { + const { + value, + format = 'HH:mm:ss', + onChange, + onFinish + } = props; + const forceUpdate = (0,useForceUpdate/* default */.Z)(); + const countdown = react.useRef(null); + const stopTimer = () => { + onFinish === null || onFinish === void 0 ? void 0 : onFinish(); + if (countdown.current) { + clearInterval(countdown.current); + countdown.current = null; + } + }; + const syncTimer = () => { + const timestamp = getTime(value); + if (timestamp >= Date.now()) { + countdown.current = setInterval(() => { + forceUpdate(); + onChange === null || onChange === void 0 ? void 0 : onChange(timestamp - Date.now()); + if (timestamp < Date.now()) { + stopTimer(); + } + }, REFRESH_INTERVAL); + } + }; + react.useEffect(() => { + syncTimer(); + return () => { + if (countdown.current) { + clearInterval(countdown.current); + countdown.current = null; + } + }; + }, [value]); + const formatter = (formatValue, config) => formatCountdown(formatValue, Object.assign(Object.assign({}, config), { + format + })); + const valueRender = node => (0,reactNode/* cloneElement */.Tm)(node, { + title: undefined + }); + return /*#__PURE__*/react.createElement(statistic_Statistic, Object.assign({}, props, { + valueRender: valueRender, + formatter: formatter + })); +}; +/* harmony default export */ var statistic_Countdown = (/*#__PURE__*/react.memo(Countdown)); +;// CONCATENATED MODULE: ./node_modules/antd/es/statistic/index.js +'use client'; + + + +statistic_Statistic.Countdown = statistic_Countdown; +/* harmony default export */ var es_statistic = (statistic_Statistic); + +/***/ }), + +/***/ 33507: +/*!*******************************************************!*\ + !*** ./node_modules/antd/es/style/motion/collapse.js ***! + \*******************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__) { + +const genCollapseMotion = token => ({ + [token.componentCls]: { + // For common/openAnimation + [`${token.antCls}-motion-collapse-legacy`]: { + overflow: 'hidden', + '&-active': { + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + }, + [`${token.antCls}-motion-collapse`]: { + overflow: 'hidden', + transition: `height ${token.motionDurationMid} ${token.motionEaseInOut}, + opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` + } + } +}); +/* harmony default export */ __webpack_exports__["Z"] = (genCollapseMotion); + +/***/ }), + +/***/ 60068: +/*!************************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckOutlined.js + 1 modules ***! + \************************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_CheckOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js +// This icon file is generated automatically. +var CheckOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, "name": "check", "theme": "outlined" }; +/* harmony default export */ var asn_CheckOutlined = (CheckOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/CheckOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var CheckOutlined_CheckOutlined = function CheckOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_CheckOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_CheckOutlined = (/*#__PURE__*/react.forwardRef(CheckOutlined_CheckOutlined)); + +/***/ }), + +/***/ 43481: +/*!**********************************************************************************************!*\ + !*** ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + 1 modules ***! + \**********************************************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "Z": function() { return /* binding */ icons_EyeOutlined; } +}); + +// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js +var esm_extends = __webpack_require__(87462); +// EXTERNAL MODULE: ./node_modules/react/index.js +var react = __webpack_require__(67294); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +// This icon file is generated automatically. +var EyeOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" }; +/* harmony default export */ var asn_EyeOutlined = (EyeOutlined); + +// EXTERNAL MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/components/AntdIcon.js + 8 modules +var AntdIcon = __webpack_require__(44327); +;// CONCATENATED MODULE: ./node_modules/antd/node_modules/@ant-design/icons/es/icons/EyeOutlined.js + +// GENERATE BY ./scripts/generate.ts +// DON NOT EDIT IT MANUALLY + + + + +var EyeOutlined_EyeOutlined = function EyeOutlined(props, ref) { + return /*#__PURE__*/react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, { + ref: ref, + icon: asn_EyeOutlined + })); +}; +if (false) {} +/* harmony default export */ var icons_EyeOutlined = (/*#__PURE__*/react.forwardRef(EyeOutlined_EyeOutlined)); + +/***/ }), + +/***/ 65758: +/*!*******************************************************************!*\ + !*** ./node_modules/checkapi.js/build/es6/index.js + 174 modules ***! + \*******************************************************************/ +/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { + + +// EXPORTS +__webpack_require__.d(__webpack_exports__, { + "zi": function() { return /* reexport */ FaceMatcher; }, + "aK": function() { return /* reexport */ TinyFaceDetectorOptions; }, + "bd": function() { return /* reexport */ detectSingleFace; }, + "ii": function() { return /* reexport */ draw_namespaceObject; }, + "yW": function() { return /* reexport */ getMediaDimensions_getMediaDimensions; }, + "W6": function() { return /* reexport */ loadFaceLandmarkModel; }, + "Qk": function() { return /* reexport */ loadFaceRecognitionModel; }, + "z2": function() { return /* reexport */ loadTinyFaceDetectorModel; }, + "qB": function() { return /* reexport */ nets; }, + "_C": function() { return /* reexport */ resizeResults; } +}); + +// UNUSED EXPORTS: AgeGenderNet, BoundingBox, Box, ComposableTask, ComputeAllFaceDescriptorsTask, ComputeFaceDescriptorsTaskBase, ComputeSingleFaceDescriptorTask, DetectAllFaceLandmarksTask, DetectAllFacesTask, DetectFaceLandmarksTaskBase, DetectFacesTaskBase, DetectSingleFaceLandmarksTask, DetectSingleFaceTask, Dimensions, FACE_EXPRESSION_LABELS, FaceDetection, FaceDetectionNet, FaceExpressionNet, FaceExpressions, FaceLandmark68Net, FaceLandmark68TinyNet, FaceLandmarkNet, FaceLandmarks, FaceLandmarks5, FaceLandmarks68, FaceMatch, FaceRecognitionNet, Gender, LabeledBox, LabeledFaceDescriptors, Mtcnn, MtcnnOptions, NetInput, NeuralNetwork, ObjectDetection, Point, PredictedBox, Rect, SsdMobilenetv1, SsdMobilenetv1Options, TinyFaceDetector, TinyYolov2, TinyYolov2Options, TinyYolov2SizeType, allFaces, allFacesMtcnn, allFacesSsdMobilenetv1, allFacesTinyYolov2, awaitMediaLoaded, bufferToImage, computeFaceDescriptor, createCanvas, createCanvasFromMedia, createFaceDetectionNet, createFaceRecognitionNet, createMtcnn, createSsdMobilenetv1, createTinyFaceDetector, createTinyYolov2, detectAllFaces, detectFaceLandmarks, detectFaceLandmarksTiny, detectLandmarks, env, euclideanDistance, extendWithAge, extendWithFaceDescriptor, extendWithFaceDetection, extendWithFaceExpressions, extendWithFaceLandmarks, extendWithGender, extractFaceTensors, extractFaces, fetchImage, fetchJson, fetchNetWeights, fetchOrThrow, getContext2dOrThrow, imageTensorToCanvas, imageToSquare, inverseSigmoid, iou, isMediaElement, isMediaLoaded, isWithAge, isWithFaceDetection, isWithFaceExpressions, isWithFaceLandmarks, isWithGender, loadAgeGenderModel, loadFaceDetectionModel, loadFaceExpressionModel, loadFaceLandmarkTinyModel, loadMtcnnModel, loadSsdMobilenetv1Model, loadTinyYolov2Model, loadWeightMap, locateFaces, matchDimensions, minBbox, mtcnn, nonMaxSuppression, normalize, padToSquare, predictAgeAndGender, recognizeFaceExpressions, resolveInput, shuffleArray, sigmoid, ssdMobilenetv1, tf, tinyFaceDetector, tinyYolov2, toNetInput, utils, validateConfig + +// NAMESPACE OBJECT: ./node_modules/checkapi.js/build/es6/draw/index.js +var draw_namespaceObject = {}; +__webpack_require__.r(draw_namespaceObject); +__webpack_require__.d(draw_namespaceObject, { + "AnchorPosition": function() { return AnchorPosition; }, + "DrawBox": function() { return DrawBox; }, + "DrawBoxOptions": function() { return DrawBoxOptions; }, + "DrawFaceLandmarks": function() { return DrawFaceLandmarks; }, + "DrawFaceLandmarksOptions": function() { return DrawFaceLandmarksOptions; }, + "DrawTextField": function() { return DrawTextField; }, + "DrawTextFieldOptions": function() { return DrawTextFieldOptions; }, + "drawContour": function() { return drawContour; }, + "drawDetections": function() { return drawDetections; }, + "drawFaceExpressions": function() { return drawFaceExpressions; }, + "drawFaceLandmarks": function() { return drawFaceLandmarks; } +}); + +;// CONCATENATED MODULE: ./node_modules/@tensorflow/tfjs-core/dist/tf-core.esm.js +/* provided dependency */ var process = __webpack_require__(/*! ./node_modules/process/browser.js */ 34155); +/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ 48764)["lW"]; +/** + * @license + * Copyright 2020 Google LLC. All Rights Reserved. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============================================================================= + */ +var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};function e(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}function n(t,e,n,r){return new(n||(n=Promise))((function(o,a){function i(t){try{u(r.next(t))}catch(t){a(t)}}function s(t){try{u(r.throw(t))}catch(t){a(t)}}function u(t){t.done?o(t.value):new n((function(e){e(t.value)})).then(i,s)}u((r=r.apply(t,e||[])).next())}))}function r(t,e){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0;)r=Math.random()*e|0,n=t[--e],t[e]=t[r],t[r]=n}function x(t,e,n){return Math.max(t,Math.min(e,n))}function b(t){return t%2==0?t:t+1}function w(t){for(var e=0,n=0;n=n?o():setTimeout(i,s)}};i()}))}function _(t,e){for(var n=1,r=-1,o=0;o=0)n*=t[o];else if(-1===t[o]){if(-1!==r)throw Error("Shapes can only have 1 implicit size. Found -1 at dim "+r+" and dim "+o);r=o}else if(t[o]<0)throw Error("Shapes can not be < 0. Found "+t[o]+" at dim "+o);if(-1===r){if(e>0&&e!==n)throw Error("Size("+e+") must match the product of shape "+t);return t}if(0===n)throw Error("Cannot infer the missing size in ["+t+"] when there are 0 elements");if(e%n!=0)throw Error("The implicit shape can't be a fractional number. Got "+e+" / "+n);var a=t.slice();return a[r]=e/n,a}function O(t,e){var n=e.length;return C((t=null==t?e.map((function(t,e){return e})):[].concat(t)).every((function(t){return t>=-n&&ts)&&1===t[s]&&(n.push(t[s]),r.push(s)),a[i]<=s&&i++}1!==t[s]&&(n.push(t[s]),r.push(s))}return{newShape:n,keptDims:r}}function B(t,e){var n=null;if(null==t||"float32"===t)n=new Float32Array(e);else if("int32"===t)n=new Int32Array(e);else{if("bool"!==t)throw new Error("Unknown data type "+t);n=new Uint8Array(e)}return n}function P(t,e){var n=null;if(null==t||"float32"===t)n=new Float32Array(e);else if("int32"===t)n=new Int32Array(e);else if("bool"===t)n=new Uint8Array(e);else{if("string"!==t)throw new Error("Unknown data type "+t);n=new Array(e)}return n}function L(t,e){for(var n=0;n=0;--r)n[r]=n[r+1]*t[r+1];return n}function Q(t,e,n){if("string"===e)throw new Error("Cannot convert a string[] to a TypedArray");if(Array.isArray(t)&&(t=I(t)),n&&L(t,e),function(t,e){return t instanceof Float32Array&&"float32"===e||t instanceof Int32Array&&"int32"===e||t instanceof Uint8Array&&"bool"===e}(t,e))return t;if(null==e||"float32"===e||"complex64"===e)return new Float32Array(t);if("int32"===e)return new Int32Array(t);if("bool"===e){for(var r=new Uint8Array(t.length),o=0;o=0,(function(){return"Tensor must have a shape comprised of positive integers but got shape ["+t+"]."}))}))}function rt(t,e){return void 0===e&&(e="utf-8"),e=e||"utf-8",i().platform.encode(t,e)}function ot(t,e){return void 0===e&&(e="utf-8"),e=e||"utf-8",i().platform.decode(t,e)}function at(t,e,n){if(0===e)return 0;if(1===e)return t[0];for(var r=t[t.length-1],o=0;o0?d:"")+" "}console.log("%c"+s+"\t%c"+i+"\t%c"+u+"D "+l+"\t%c"+c+"\t%c"+h+"\t%c"+a,"font-weight:bold","color:red","color:blue","color: orange","color: green","color: steelblue")},t}();var lt=20,ht=3,ft=7;function dt(t,e,n,r){var o=$(e),a=function(t,e,n,r){var o=k(e),a=r[r.length-1],i=new Array(a).fill(0),s=e.length,u="complex64"===n?mt(t):t;if(s>1)for(var c=0;clt){var l=ht*s,h=Array.from(e.slice(0,l)),f=Array.from(e.slice((u-ht)*s,u*s));return"complex64"===r&&(h=mt(h),f=mt(f)),["["+h.map((function(t,e){return pt(t,a[e],r)})).join(", ")+", ..., "+f.map((function(t,e){return pt(t,a[u-ht+e],r)})).join(", ")+"]"]}return["["+("complex64"===r?mt(e):Array.from(e)).map((function(t,e){return pt(t,a[e],r)})).join(", ")+"]"]}var d=n.slice(1),p=o.slice(1),v=o[0]*s,m=[];if(u>lt){for(var g=0;g=this.shape[n]){var i="Requested out of range element at "+t+". Buffer shape="+this.shape;throw new Error(i)}n++}for(var s=t[t.length-1],u=0;u0)throw new Error("Backend '"+this.backendName+"' has an internal memory leak ("+i+" data ids) after running '"+t+"'")},t.prototype.runKernelFunc=function(t,e,n,r,o,a,i){var s,u=this;void 0===a&&(a=[]),void 0===i&&(i=[]);var c=[],h=this.isTapeOn();null==r&&(r=null!=this.state.activeScope?this.state.activeScope.name:"");var f,d=function(t){h&&(c=t.map((function(t){return u.keep(u.clone(t))})))},p=this.state.numBytes,v=this.state.numTensors;this.shouldCheckForMemLeaks()&&this.state.numDataMovesStack.push(0);var m,g=l(r,this.backendName);return f=null!=g?function(){var t=u.backend.numDataIds();m=g.kernelFunc({inputs:e,attrs:o,backend:u.backend});var n=Array.isArray(m)?m:[m];u.shouldCheckForMemLeaks()&&u.checkKernelForMemLeak(r,t,n);var s=n.map((function(t){var e=t.dataId,n=t.shape,r=t.dtype;return u.makeTensorFromDataId(e,n,r)})),c=s.filter((function(t,e){return i[e]}));return d((a||[]).slice().concat(c)),s}:function(){var e=u.backend.numDataIds();m=u.tidy((function(){return t(u.backend,d)}));var n=Array.isArray(m)?m:[m];return u.shouldCheckForMemLeaks()&&u.checkKernelForMemLeak(r,e,n),n},this.scopedRun((function(){return u.state.kernelDepth++}),(function(){return u.state.kernelDepth--}),(function(){s=u.ENV.getBool("DEBUG")?u.profiler.profileKernel(r,e,(function(){return f()})):f()})),h&&this.addTapeNode(r,e,s,n,c),this.state.profiling&&this.state.activeProfile.kernels.push({name:r,bytesAdded:this.state.numBytes-p,totalBytesSnapshot:this.state.numBytes,tensorsAdded:this.state.numTensors-v,totalTensorsSnapshot:this.state.numTensors,inputShapes:Object.keys(e).map((function(t){return e[t].shape})),outputShapes:s.map((function(t){return t.shape}))}),Array.isArray(m)?s:s[0]},t.prototype.makeTensor=function(t,e,n,r){if(null==t)throw new Error("Values passed to engine.makeTensor() are null");n=n||"float32",r=r||this.backend;var o=t;"string"===n&&H(t[0])&&(o=t.map((function(t){return rt(t)})));var a=r.write(o,e,n),i=new wt(e,n,a,this.nextTensorId());if(this.incRef(i,r),"string"===n){var s=this.state.tensorInfo.get(a),u=G(o);this.state.numBytes+=u-s.bytes,s.bytes=u}return i},t.prototype.makeTensorFromDataId=function(t,e,n,r){var o=new wt(e,n=n||"float32",t,this.nextTensorId());return this.incRef(o,r),o},t.prototype.makeVariable=function(t,e,n,r){void 0===e&&(e=!0),n=n||this.nextVariableId().toString(),null!=r&&r!==t.dtype&&(t=t.asType(r));var o=new St(t,e,n,this.nextTensorId());if(null!=this.state.registeredVariables[o.name])throw new Error("Variable with name "+o.name+" was already registered");return this.state.registeredVariables[o.name]=o,this.incRef(o,this.backend),o},t.prototype.incRef=function(t,e){var n=this.state.tensorInfo.has(t.dataId)?this.state.tensorInfo.get(t.dataId).refCount:0;if(this.state.numTensors++,"string"===t.dtype&&this.state.numStringTensors++,0===n){this.state.numDataBuffers++;var r=0;"complex64"!==t.dtype&&"string"!==t.dtype&&(r=t.size*z(t.dtype)),this.state.tensorInfo.set(t.dataId,{backend:e||this.backend,dtype:t.dtype,shape:t.shape,bytes:r,refCount:0}),this.state.numBytes+=r}this.state.tensorInfo.get(t.dataId).refCount++,t instanceof St||this.track(t)},t.prototype.disposeTensor=function(t){if(this.state.tensorInfo.has(t.dataId)){this.state.numTensors--,"string"===t.dtype&&this.state.numStringTensors--;var e=this.state.tensorInfo.get(t.dataId);e.refCount<=1?("complex64"!==t.dtype&&(this.state.numBytes-=e.bytes),this.state.numDataBuffers--,e.backend.disposeData(t.dataId),this.state.tensorInfo.delete(t.dataId)):this.state.tensorInfo.get(t.dataId).refCount--}},t.prototype.disposeVariables=function(){for(var t in this.state.registeredVariables){var e=this.state.registeredVariables[t];this.disposeVariable(e)}},t.prototype.disposeVariable=function(t){this.disposeTensor(t),null!=this.state.registeredVariables[t.name]&&delete this.state.registeredVariables[t.name]},t.prototype.memory=function(){var t=this.backend.memory();return t.numTensors=this.state.numTensors,t.numDataBuffers=this.state.numDataBuffers,t.numBytes=this.state.numBytes,this.state.numStringTensors>0&&(t.unreliable=!0,null==t.reasons&&(t.reasons=[]),t.reasons.push("Memory usage by string tensors is approximate (2 bytes per character)")),t},t.prototype.profile=function(t){return n(this,void 0,void 0,(function(){var e,n;return r(this,(function(r){return this.state.profiling=!0,e=this.state.numBytes,n=this.state.numTensors,this.state.activeProfile.kernels=[],this.state.activeProfile.result=t(),this.state.profiling=!1,this.state.activeProfile.peakBytes=Math.max.apply(Math,this.state.activeProfile.kernels.map((function(t){return t.totalBytesSnapshot}))),this.state.activeProfile.newBytes=this.state.numBytes-e,this.state.activeProfile.newTensors=this.state.numTensors-n,[2,this.state.activeProfile]}))}))},t.prototype.isTapeOn=function(){return this.state.gradientDepth>0&&0===this.state.kernelDepth},t.prototype.addTapeNode=function(t,e,n,r,o){var a=this,i={id:this.state.nextTapeNodeId++,kernelName:t,inputs:e,outputs:n,saved:o},s=h(t);null!=s&&(r=s.gradFunc),null!=r&&(i.gradient=function(t){return t=t.map((function(t,e){if(null==t){var r=n[e],o=tt(r.size,r.dtype);return a.makeTensor(o,r.shape,r.dtype)}return t})),r(t.length>1?t:t[0],o)}),this.state.activeTape.push(i)},t.prototype.keep=function(t){return t.kept=!0,t},t.prototype.startTape=function(){0===this.state.gradientDepth&&(this.state.activeTape=[]),this.state.gradientDepth++},t.prototype.endTape=function(){this.state.gradientDepth--},t.prototype.startScope=function(t){var e={track:[],name:"unnamed scope",id:this.state.nextScopeId++};t&&(e.name=t),this.state.scopeStack.push(e),this.state.activeScope=e},t.prototype.endScope=function(t){for(var e=this,n=_t(t),r=new Set(n.map((function(t){return t.id}))),o=0;o0,(function(){return"gradients() received an empty list of xs."})),null!=n&&"float32"!==n.dtype)throw new Error("dy must have 'float32' dtype, but has '"+n.dtype+"'");var a=this.scopedRun((function(){return o.startTape()}),(function(){return o.endTape()}),(function(){return o.tidy("forward",t)}));C(a instanceof wt,(function(){return"The result y returned by f() must be a tensor."}));var i=function(t,e,n){for(var r={},o={},a=0;a=0;a--)for(i=(p=t[a]).inputs,l=0;l0)throw new Error("Cannot compute gradient of y=f(x) with respect to x. Make sure that the f you passed encloses all operations that lead from x to y.");return this.tidy("backward",(function(){var t,r,s={};s[a.id]=null==n?(t=a.shape,r=Z(k(t),"float32"),Lt.makeTensor(r,t,"float32")):n,function(t,e,n){for(var r=function(r){var o=e[r],a=[];if(o.outputs.forEach((function(e){var n=t[e.id];null!=n?a.push(n):a.push(null)})),null==o.gradient)throw new Error("Cannot compute gradient: gradient function not found for "+o.kernelName+".");var i=o.gradient(a),s=function(e){if(!(e in i))throw new Error("Cannot backprop through input "+e+". Available gradients found: "+Object.keys(i)+".");var r=n((function(){return i[e]()}));if("float32"!==r.dtype)throw new Error("Error in gradient for op "+o.kernelName+". The gradient of input "+e+" must have 'float32' dtype, but has '"+r.dtype+"'");var a=o.inputs[e];if(!S(r.shape,a.shape))throw new Error("Error in gradient for op "+o.kernelName+". The gradient of input '"+e+"' has shape '"+r.shape+"', which does not match the shape of the input '"+a.shape+"'");if(null==t[a.id])t[a.id]=r;else{var s=t[a.id];t[a.id]=s.add(r),s.dispose()}};for(var u in o.inputs)s(u)},o=e.length-1;o>=0;o--)r(o)}(s,i,(function(t){return o.tidy(t)}));var u=e.map((function(t){return s[t.id]}));return 0===o.state.gradientDepth&&(o.state.activeTape.forEach((function(t){for(var e=0,n=t.saved;en||e>n){r="["+t+"x"+e+"]";throw new Error("Requested texture size "+r+" greater than WebGL maximum on this browser / GPU "+("["+n+"x"+n+"]")+".")}}function me(t,e){return ke(t,e,(function(){return t.createFramebuffer()}),"Unable to create WebGLFramebuffer.")}function ge(t,e,n,r,o,a,i,s){var u=t.getAttribLocation(n,r);return-1!==u&&(Jt(t,e,(function(){return t.bindBuffer(t.ARRAY_BUFFER,o)})),Jt(t,e,(function(){return t.vertexAttribPointer(u,a,t.FLOAT,!1,i,s)})),Jt(t,e,(function(){return t.enableVertexAttribArray(u)})),!0)}function ye(t,e,n,r){Se(t,r),Jt(t,e,(function(){return t.activeTexture(t.TEXTURE0+r)})),Jt(t,e,(function(){return t.bindTexture(t.TEXTURE_2D,n)}))}function xe(t,e,n,r){return ke(t,e,(function(){return t.getUniformLocation(n,r)}),'uniform "'+r+'" not present in program.')}function be(t,e,n){return t.getUniformLocation(e,n)}function we(t,e,n,r,o,a){Jt(t,e,(function(){return ye(t,e,r,a)})),Jt(t,e,(function(){return t.uniform1i(o,a)}))}function Ce(t,e,n,r){Jt(t,e,(function(){return t.bindFramebuffer(t.FRAMEBUFFER,r)})),Jt(t,e,(function(){return t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,n,0)}))}function Ee(t,e,n){Jt(t,e,(function(){return t.bindFramebuffer(t.FRAMEBUFFER,n)})),Jt(t,e,(function(){return t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,null,0)}))}function Re(t){var e=t.checkFramebufferStatus(t.FRAMEBUFFER);if(e!==t.FRAMEBUFFER_COMPLETE)throw new Error("Error binding framebuffer: "+Ie(t,e))}function Ie(t,e){switch(e){case t.FRAMEBUFFER_INCOMPLETE_ATTACHMENT:return"FRAMEBUFFER_INCOMPLETE_ATTACHMENT";case t.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT:return"FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT";case t.FRAMEBUFFER_INCOMPLETE_DIMENSIONS:return"FRAMEBUFFER_INCOMPLETE_DIMENSIONS";case t.FRAMEBUFFER_UNSUPPORTED:return"FRAMEBUFFER_UNSUPPORTED";default:return"unknown error "+e}}function ke(t,e,n,r){var o=Jt(t,e,(function(){return n()}));if(null==o)throw new Error(r);return o}function Se(t,e){var n=t.MAX_COMBINED_TEXTURE_IMAGE_UNITS-1,r=e+t.TEXTURE0;if(rn)throw new Error("textureUnit must be in "+("[gl.TEXTURE0, gl.TEXTURE"+n+"]")+".")}function Ae(t,e){return void 0===e&&(e=2),k(t.slice(0,t.length-e))}function De(t){if(0===t.length)throw Error("Cannot get rows and columns of an empty shape array.");return[t.length>1?t[t.length-2]:1,t[t.length-1]]}function Te(t){var e=[1,1,1];return 0===t.length||1===t.length&&1===t[0]||(e=[Ae(t)].concat(De(t))),e}function Ne(t,e){var n;void 0===e&&(e=!1);var r=i().getNumber("WEBGL_MAX_TEXTURE_SIZE");if(e&&(r*=2,1===(t=t.map((function(e,n){return n>=t.length-2?b(t[n]):t[n]}))).length&&(t=[2,t[0]])),2!==t.length){var o=M(t);t=o.newShape}var a=k(t);if(t.length<=1&&a<=r)return[1,a];if(2===t.length&&t[0]<=r&&t[1]<=r)return t;if(3===t.length&&t[0]*t[1]<=r&&t[2]<=r)return[t[0]*t[1],t[2]];if(3===t.length&&t[0]<=r&&t[1]*t[2]<=r)return[t[0],t[1]*t[2]];if(4===t.length&&t[0]*t[1]*t[2]<=r&&t[3]<=r)return[t[0]*t[1]*t[2],t[3]];if(4===t.length&&t[0]<=r&&t[1]*t[2]*t[3]<=r)return[t[0],t[1]*t[2]*t[3]];if(e){var s=Ae(t),u=2,c=2;return t.length&&(u=(n=De(t))[0],c=n[1]),T(a=s*(u/2)*(c/2)).map((function(t){return 2*t}))}return T(a)}function Fe(t){return t%2==0}function _e(t,e){if(S(t=t.slice(-2),e=e.slice(-2)))return!0;if(!t.length||!e.length)return!0;if(0===t[0]||0===t[1]||0===e[0]||0===e[1])return!0;if(t.length!==e.length){var n=t.slice(-1)[0],r=e.slice(-1)[0];if(n===r)return!0;if(Fe(n)&&Fe(r)&&(1===t[0]||1===e[0]))return!0}return t[1]===e[1]&&Fe(t[0])&&Fe(e[0])}function Oe(t){if(null==ie){var e=jt(t);ie=e.getParameter(e.MAX_TEXTURE_SIZE)}return ie}function Me(t){if(null==se){var e=jt(t);se=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)}return Math.min(16,se)}function Be(t){if(0===t)return 0;var e=jt(t);return Pe(e,"EXT_disjoint_timer_query_webgl2")&&2===t?2:Pe(e,"EXT_disjoint_timer_query")?1:0}function Pe(t,e){return null!=t.getExtension(e)}function Le(t){try{if(null!=jt(t))return!0}catch(t){return!1}return!1}function We(t){if(0===t)return!1;var e=jt(t);if(1===t){if(!Pe(e,"OES_texture_float"))return!1}else if(!Pe(e,"EXT_color_buffer_float"))return!1;return Ve(e)}function Ue(t){if(0===t)return!1;var e=jt(t);if(1!==t){if(Pe(e,"EXT_color_buffer_float"))return Ve(e);if(Pe(e,"EXT_color_buffer_half_float")){var n=e.getExtension("EXT_color_buffer_half_float");return function(t,e){var n=Qt(t,e),r=t.createTexture();t.bindTexture(t.TEXTURE_2D,r);t.texImage2D(t.TEXTURE_2D,0,n.internalFormatHalfFloat,1,1,0,n.textureFormatFloat,n.textureTypeHalfFloat,null);var o=t.createFramebuffer();t.bindFramebuffer(t.FRAMEBUFFER,o),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,r,0);var a=t.checkFramebufferStatus(t.FRAMEBUFFER)===t.FRAMEBUFFER_COMPLETE;return t.bindTexture(t.TEXTURE_2D,null),t.bindFramebuffer(t.FRAMEBUFFER,null),t.deleteTexture(r),t.deleteFramebuffer(o),a}(e,n)}return!1}return!!Pe(e,"OES_texture_float")&&(!!Pe(e,"WEBGL_color_buffer_float")&&Ve(e))}function Ve(t){var e=Qt(t),n=t.createTexture();t.bindTexture(t.TEXTURE_2D,n);t.texImage2D(t.TEXTURE_2D,0,e.internalFormatFloat,1,1,0,e.textureFormatFloat,e.textureTypeFloat,null);var r=t.createFramebuffer();t.bindFramebuffer(t.FRAMEBUFFER,r),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,n,0);var o=t.checkFramebufferStatus(t.FRAMEBUFFER)===t.FRAMEBUFFER_COMPLETE;return t.bindTexture(t.TEXTURE_2D,null),t.bindFramebuffer(t.FRAMEBUFFER,null),t.deleteTexture(n),t.deleteFramebuffer(r),o}function ze(t){return 2===t&&null!=jt(t).fenceSync}var Ge=Object.freeze({callAndCheck:Jt,canBeRepresented:ee,getWebGLErrorMessage:ne,getExtensionOrThrow:re,createVertexShader:oe,createFragmentShader:ae,createProgram:ce,linkProgram:le,validateProgram:he,createStaticVertexBuffer:fe,createStaticIndexBuffer:de,getNumChannels:function(){return 2===i().getNumber("WEBGL_VERSION")?1:4},createTexture:pe,validateTextureSize:ve,createFramebuffer:me,bindVertexBufferToProgramAttribute:ge,bindTextureUnit:ye,unbindTextureUnit:function(t,e,n){Se(t,n),Jt(t,e,(function(){return t.activeTexture(t.TEXTURE0+n)})),Jt(t,e,(function(){return t.bindTexture(t.TEXTURE_2D,null)}))},getProgramUniformLocationOrThrow:xe,getProgramUniformLocation:be,bindTextureToProgramUniformSampler:we,bindCanvasToFramebuffer:function(t,e){Jt(t,e,(function(){return t.bindFramebuffer(t.FRAMEBUFFER,null)})),Jt(t,e,(function(){return t.viewport(0,0,t.canvas.width,t.canvas.height)})),Jt(t,e,(function(){return t.scissor(0,0,t.canvas.width,t.canvas.height)}))},bindColorTextureToFramebuffer:Ce,unbindColorTextureFromFramebuffer:Ee,validateFramebuffer:Re,getFramebufferErrorMessage:Ie,getBatchDim:Ae,getRowsCols:De,getShapeAs3D:Te,getTextureShapeFromLogicalShape:Ne,isReshapeFree:_e,getWebGLMaxTextureSize:Oe,resetMaxTextureSize:function(){ie=null},resetMaxTexturesInShader:function(){se=null},getMaxTexturesInShader:Me,getWebGLDisjointQueryTimerVersion:Be,hasExtension:Pe,isWebGLVersionEnabled:Le,isCapableOfRenderingToFloatTexture:We,isDownloadFloatTextureEnabled:Ue,isWebGLFenceEnabled:ze}),He=i();function qe(){i().set("PROD",!0)}function Ke(){i().set("DEBUG",!0)}function je(){i().set("DEPRECATION_WARNINGS_ENABLED",!1),console.warn("TensorFlow.js deprecation warnings have been disabled.")}function Xe(t){i().getBool("DEPRECATION_WARNINGS_ENABLED")&&console.warn(t+" You can disable deprecation warnings with tf.disableDeprecationWarnings().")}function Ye(){Lt.disposeVariables()}function $e(){return Lt}function Qe(){return Lt.memory()}function Je(t){return Lt.profile(t)}function Ze(t,e){return Lt.tidy(t,e)}function tn(t){_t(t).forEach((function(t){return t.dispose()}))}function en(t){return Lt.keep(t)}function nn(t){return Lt.time(t)}function rn(t){return Lt.setBackend(t)}function on(){return Lt.ready()}function an(){return Lt.backendName}function sn(t){Lt.removeBackend(t)}function un(t){return Lt.findBackend(t)}function cn(t){return Lt.findBackendFactory(t)}function ln(t,e,n){return void 0===n&&(n=1),Lt.registerBackend(t,e,n)}function hn(){return Lt.backend}function fn(t,e){i().setPlatform(t,e)}function dn(){for(var t=[],e=0;e0,(function(){return"Element arr["+r.join("][")+"] should be a primitive, but is an array of "+e.length+" elements"})),C(e.length===n[0],(function(){return"Element arr["+r.join("][")+"] should have "+n[0]+" elements, but has "+e.length+" elements"}));for(var o=n.slice(1),a=0;a=0&&(o=r),vn(r,o,e,n),null==t||!V(t)&&!Array.isArray(t)&&"number"!=typeof t&&"boolean"!=typeof t&&"string"!=typeof t){var a=null==t?"null":t.constructor.name;throw new Error("Argument '"+e+"' passed to '"+n+"' must be a Tensor or TensorLike, but got '"+a+"'")}var s=pn(t,o);V(t)||Array.isArray(t)||(t=[t]);var u="string"!==o?Q(t,o,i().getBool("DEBUG")):I(t,[],!0);return Lt.makeTensor(u,s,o)}function gn(t,e,n,r){if(void 0===r&&(r="numeric"),!Array.isArray(t))throw new Error("Argument "+e+" passed to "+n+" must be a `Tensor[]` or `TensorLike[]`");return t.map((function(t,r){return mn(t,e+"["+r+"]",n)}),r)}function yn(t,e){for(var n=0;n=0&&e0})),He.registerFlag("WEBGL_VERSION",(function(){return Le(2)?2:Le(1)?1:0})),He.registerFlag("WEBGL_BUFFER_SUPPORTED",(function(){return 2===He.get("WEBGL_VERSION")})),He.registerFlag("WEBGL_CPU_FORWARD",(function(){return!0})),He.registerFlag("WEBGL_FORCE_F16_TEXTURES",(function(){return!1})),He.registerFlag("WEBGL_PACK",(function(){return He.getBool("HAS_WEBGL")})),He.registerFlag("WEBGL_PACK_NORMALIZATION",(function(){return He.getBool("WEBGL_PACK")})),He.registerFlag("WEBGL_PACK_CLIP",(function(){return He.getBool("WEBGL_PACK")})),He.registerFlag("WEBGL_PACK_DEPTHWISECONV",(function(){return!1})),He.registerFlag("WEBGL_PACK_BINARY_OPERATIONS",(function(){return He.getBool("WEBGL_PACK")})),He.registerFlag("WEBGL_PACK_UNARY_OPERATIONS",(function(){return He.getBool("WEBGL_PACK")})),He.registerFlag("WEBGL_PACK_ARRAY_OPERATIONS",(function(){return He.getBool("WEBGL_PACK")})),He.registerFlag("WEBGL_PACK_IMAGE_OPERATIONS",(function(){return He.getBool("WEBGL_PACK")})),He.registerFlag("WEBGL_PACK_REDUCE",(function(){return He.getBool("WEBGL_PACK")})),He.registerFlag("WEBGL_LAZILY_UNPACK",(function(){return He.getBool("WEBGL_PACK")})),He.registerFlag("WEBGL_CONV_IM2COL",(function(){return He.getBool("WEBGL_PACK")})),He.registerFlag("WEBGL_MAX_TEXTURE_SIZE",(function(){return Oe(He.getNumber("WEBGL_VERSION"))})),He.registerFlag("WEBGL_MAX_TEXTURES_IN_SHADER",(function(){return Me(He.getNumber("WEBGL_VERSION"))})),He.registerFlag("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_VERSION",(function(){var t=He.getNumber("WEBGL_VERSION");return 0===t?0:Be(t)})),He.registerFlag("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_RELIABLE",(function(){return He.getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_VERSION")>0&&(t=navigator.userAgent||navigator.vendor||window.opera,!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4))));var t})),He.registerFlag("WEBGL_RENDER_FLOAT32_CAPABLE",(function(){return We(He.getNumber("WEBGL_VERSION"))})),He.registerFlag("WEBGL_RENDER_FLOAT32_ENABLED",(function(){return!He.getBool("WEBGL_FORCE_F16_TEXTURES")&&He.getBool("WEBGL_RENDER_FLOAT32_CAPABLE")})),He.registerFlag("WEBGL_DOWNLOAD_FLOAT_ENABLED",(function(){return Ue(He.getNumber("WEBGL_VERSION"))})),He.registerFlag("WEBGL_FENCE_API_ENABLED",(function(){return ze(He.getNumber("WEBGL_VERSION"))})),He.registerFlag("WEBGL_SIZE_UPLOAD_UNIFORM",(function(){return He.getBool("WEBGL_RENDER_FLOAT32_ENABLED")?4:0})),bt=Xe;var Dn=An({complex_:function(t,e){var n=mn(t,"real","complex"),r=mn(e,"imag","complex");return E(n.shape,r.shape,"real and imag shapes, "+n.shape+" and "+r.shape+", must match in call to tf.complex()."),Lt.runKernelFunc((function(t){return t.complex(n,r)}),{$real:n,$imag:r})}}),Tn=An({real_:function(t){var e=mn(t,"input","real");return Lt.runKernelFunc((function(t){return t.real(e)}),{$input:e})}}),Nn=An({imag_:function(t){var e=mn(t,"input","imag");return Lt.runKernelFunc((function(t){return t.imag(e)}),{$input:e})}});function Fn(t,e,n){return _n(t,e,pn(t,n),n)}function _n(t,e,n,r){if(null==r&&(r=j(t)),"complex64"===r)throw new Error("Cannot construct a complex64 tensor directly. Please use tf.complex(real, imag).");if(!V(t)&&!Array.isArray(t)&&"number"!=typeof t&&"boolean"!=typeof t&&"string"!=typeof t)throw new Error("values passed to tensor(values) must be a number/boolean/string or an array of numbers/booleans/strings, or a TypedArray");if(null!=e){nt(e);var o=k(e),a=k(n);C(o===a,(function(){return"Based on the provided shape, ["+e+"], the tensor should have "+o+" values but has "+a}));for(var s=0;s1)return Gn([0],r);var o=tt(Math.abs(Math.ceil((e-t)/n)),r);e=1,(function(){return"Pass at least one tensor to concat"}));var n=gn(t,"tensors","concat");"complex64"===n[0].dtype&&n.forEach((function(t){if("complex64"!==t.dtype)throw new Error("Cannot concatenate complex64 tensors with a tensor\n with dtype "+t.dtype+". ")})),e=O(e,n[0].shape)[0];var r=Sn(n.map((function(t){return t.shape})),e);if(0===k(r))return Fn([],r);if(1===(n=n.filter((function(t){return t.size>0}))).length)return n[0];var o=n.map((function(t){return t.shape}));kn(o,e);var a=n,i={axis:e};return Lt.runKernelFunc((function(t){return t.concat(n,e)}),a,(function(t){var n=o.map((function(t){return t[e]}));return tr(t,n,e).map((function(t){return function(){return t}}))}),"Concat",i)}}),$n=An({concat1d_:function(t){return Yn(t,0)}}),Qn=An({concat2d_:function(t,e){return Yn(t,e)}}),Jn=An({concat3d_:function(t,e){return Yn(t,e)}}),Zn=An({concat4d_:function(t,e){return Yn(t,e)}}),tr=An({split_:function(t,e,n){void 0===n&&(n=0);var r,o=mn(t,"x","split");return n=O(n,o.shape)[0],"number"==typeof e?(C(o.shape[n]%e==0,(function(){return"Number of splits must evenly divide the axis."})),r=new Array(e).fill(o.shape[n]/e)):(C(o.shape[n]===e.reduce((function(t,e){return t+e})),(function(){return"The sum of sizes must match the size of the axis dimension."})),r=e),Lt.runKernelFunc((function(t){return t.split(o,r,n)}),{$x:o},(function(t){return{$x:function(){return Yn(t,n)}}}))}});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof __webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self&&self;function er(t,e){return t(e={exports:{}},e.exports),e.exports}var nr=er((function(t){!function(t,e,n){function r(t){var e,n=this,r=(e=4022871197,function(t){t=t.toString();for(var n=0;n>>0,e=(r*=e)>>>0,e+=4294967296*(r-=e)}return 2.3283064365386963e-10*(e>>>0)});n.next=function(){var t=2091639*n.s0+2.3283064365386963e-10*n.c;return n.s0=n.s1,n.s1=n.s2,n.s2=t-(n.c=0|t)},n.c=1,n.s0=r(" "),n.s1=r(" "),n.s2=r(" "),n.s0-=r(t),n.s0<0&&(n.s0+=1),n.s1-=r(t),n.s1<0&&(n.s1+=1),n.s2-=r(t),n.s2<0&&(n.s2+=1),r=null}function o(t,e){return e.c=t.c,e.s0=t.s0,e.s1=t.s1,e.s2=t.s2,e}function a(t,e){var n=new r(t),a=e&&e.state,i=n.next;return i.int32=function(){return 4294967296*n.next()|0},i.double=function(){return i()+11102230246251565e-32*(2097152*i()|0)},i.quick=i,a&&("object"==typeof a&&o(a,n),i.state=function(){return o(n,{})}),i}e&&e.exports?e.exports=a:n&&n.amd?n((function(){return a})):this.alea=a}(0,t,!1)})),rr=er((function(t){!function(t,e,n){function r(t){var e=this,n="";e.x=0,e.y=0,e.z=0,e.w=0,e.next=function(){var t=e.x^e.x<<11;return e.x=e.y,e.y=e.z,e.z=e.w,e.w^=e.w>>>19^t^t>>>8},t===(0|t)?e.x=t:n+=t;for(var r=0;r>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,a&&("object"==typeof a&&o(a,n),i.state=function(){return o(n,{})}),i}e&&e.exports?e.exports=a:n&&n.amd?n((function(){return a})):this.xor128=a}(0,t,!1)})),or=er((function(t){!function(t,e,n){function r(t){var e=this,n="";e.next=function(){var t=e.x^e.x>>>2;return e.x=e.y,e.y=e.z,e.z=e.w,e.w=e.v,(e.d=e.d+362437|0)+(e.v=e.v^e.v<<4^t^t<<1)|0},e.x=0,e.y=0,e.z=0,e.w=0,e.v=0,t===(0|t)?e.x=t:n+=t;for(var r=0;r>>4),e.next()}function o(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e.v=t.v,e.d=t.d,e}function a(t,e){var n=new r(t),a=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,a&&("object"==typeof a&&o(a,n),i.state=function(){return o(n,{})}),i}e&&e.exports?e.exports=a:n&&n.amd?n((function(){return a})):this.xorwow=a}(0,t,!1)})),ar=er((function(t){!function(t,e,n){function r(t){var e=this;e.next=function(){var t,n,r=e.x,o=e.i;return t=r[o],n=(t^=t>>>7)^t<<24,n^=(t=r[o+1&7])^t>>>10,n^=(t=r[o+3&7])^t>>>3,n^=(t=r[o+4&7])^t<<7,t=r[o+7&7],n^=(t^=t<<13)^t<<9,r[o]=n,e.i=o+1&7,n},function(t,e){var n,r=[];if(e===(0|e))r[0]=e;else for(e=""+e,n=0;n0;--n)t.next()}(e,t)}function o(t,e){return e.x=t.x.slice(),e.i=t.i,e}function a(t,e){null==t&&(t=+new Date);var n=new r(t),a=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,a&&(a.x&&o(a,n),i.state=function(){return o(n,{})}),i}e&&e.exports?e.exports=a:n&&n.amd?n((function(){return a})):this.xorshift7=a}(0,t,!1)})),ir=er((function(t){!function(t,e,n){function r(t){var e=this;e.next=function(){var t,n,r=e.w,o=e.X,a=e.i;return e.w=r=r+1640531527|0,n=o[a+34&127],t=o[a=a+1&127],n^=n<<13,t^=t<<17,n^=n>>>15,t^=t>>>12,n=o[a]=n^t,e.i=a,n+(r^r>>>16)|0},function(t,e){var n,r,o,a,i,s=[],u=128;for(e===(0|e)?(r=e,e=null):(e+="\0",r=0,u=Math.max(u,e.length)),o=0,a=-32;a>>15,r^=r<<4,r^=r>>>13,a>=0&&(i=i+1640531527|0,o=0==(n=s[127&a]^=r+i)?o+1:0);for(o>=128&&(s[127&(e&&e.length||0)]=-1),o=127,a=512;a>0;--a)r=s[o+34&127],n=s[o=o+1&127],r^=r<<13,n^=n<<17,r^=r>>>15,n^=n>>>12,s[o]=r^n;t.w=i,t.X=s,t.i=o}(e,t)}function o(t,e){return e.i=t.i,e.w=t.w,e.X=t.X.slice(),e}function a(t,e){null==t&&(t=+new Date);var n=new r(t),a=e&&e.state,i=function(){return(n.next()>>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,a&&(a.X&&o(a,n),i.state=function(){return o(n,{})}),i}e&&e.exports?e.exports=a:n&&n.amd?n((function(){return a})):this.xor4096=a}(0,t,!1)})),sr=er((function(t){!function(t,e,n){function r(t){var e=this,n="";e.next=function(){var t=e.b,n=e.c,r=e.d,o=e.a;return t=t<<25^t>>>7^n,n=n-r|0,r=r<<24^r>>>8^o,o=o-t|0,e.b=t=t<<20^t>>>12^n,e.c=n=n-r|0,e.d=r<<16^n>>>16^o,e.a=o-t|0},e.a=0,e.b=0,e.c=-1640531527,e.d=1367130551,t===Math.floor(t)?(e.a=t/4294967296|0,e.b=0|t):n+=t;for(var r=0;r>>0)/4294967296};return i.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},i.int32=n.next,i.quick=i,a&&("object"==typeof a&&o(a,n),i.state=function(){return o(n,{})}),i}e&&e.exports?e.exports=a:n&&n.amd?n((function(){return a})):this.tychei=a}(0,t,!1)})),ur=er((function(t){!function(e,n){var r,o=this,a=256,i=6,s="random",u=n.pow(a,i),c=n.pow(2,52),l=2*c,h=a-1;function f(t,h,f){var g=[],y=v(function t(e,n){var r,o=[],a=typeof e;if(n&&"object"==a)for(r in e)try{o.push(t(e[r],n-1))}catch(t){}return o.length?o:"string"==a?e:e+"\0"}((h=1==h?{entropy:!0}:h||{}).entropy?[t,m(e)]:null==t?function(){try{var t;return r&&(t=r.randomBytes)?t=t(a):(t=new Uint8Array(a),(o.crypto||o.msCrypto).getRandomValues(t)),m(t)}catch(t){var n=o.navigator,i=n&&n.plugins;return[+new Date,o,i,o.screen,m(e)]}}():t,3),g),x=new d(g),b=function(){for(var t=x.g(i),e=u,n=0;t=l;)t/=2,e/=2,n>>>=1;return(t+n)/e};return b.int32=function(){return 0|x.g(4)},b.quick=function(){return x.g(4)/4294967296},b.double=b,v(m(x.S),e),(h.pass||f||function(t,e,r,o){return o&&(o.S&&p(o,x),t.state=function(){return p(x,{})}),r?(n[s]=t,e):t})(b,y,"global"in h?h.global:this==n,h.state)}function d(t){var e,n=t.length,r=this,o=0,i=r.i=r.j=0,s=r.S=[];for(n||(t=[n++]);o=1||0===i);var s=Math.sqrt(-2*Math.log(i)/i);e=this.mean+this.stdDev*o*s,n=this.mean+this.stdDev*a*s,this.truncated&&!this.isValidTruncated(e)||(r=!0)}return this.truncated&&!this.isValidTruncated(n)||(this.nextVal=this.convertValue(n)),this.convertValue(e)},t.prototype.convertValue=function(t){return null==this.dtype||"float32"===this.dtype?t:Math.round(t)},t.prototype.isValidTruncated=function(t){return t<=this.upper&&t>=this.lower},t}(),hr=function(){function t(t,e,n,r){this.alpha=t,this.beta=1/e,this.dtype=n;var o=r||Math.random();this.randu=cr(o.toString()),this.randn=new lr(0,1,n,!1,this.randu()),this.d=t<1?t+2/3:t-1/3,this.c=1/Math.sqrt(9*this.d)}return t.prototype.nextValue=function(){for(var t,e,n,r,o,a;;){do{r=this.randn.nextValue(),a=1+this.c*r}while(a<=0);if(a*=a*a,e=1-.331*(t=r*r)*t,n=.5*t+this.d*(1-a+Math.log(a)),(o=this.randu())=1+e.length,(function(){return"input rank is "+r.rank+" but should be > than blockShape.length "+e.length})),C(n.length===e.length,(function(){return"crops.length is "+n.length+" but should be equal to blockShape.length "+e.length})),C(r.shape[0]%o==0,(function(){return"input tensor batch is "+r.shape[0]+" but is not divisible by the product of the elements of blockShape "+e.join(" * ")+" === "+o})),Lt.runKernelFunc((function(t){return t.batchToSpaceND(r,e,n)}),{$x:r},(function(t){return{$x:function(){return t.spaceToBatchND(e,n)}}}))}}),mr=An({broadcastTo_:function(t,e){var n=mn(t,"broadcastTo","x"),r=n.shape;if(e.some((function(t){return!(t>0)||t%1!=0})))throw new Error("broadcastTo(): Invalid broadcast shape ["+e+"].");if(e.lengthn.rank){for(var o=n.shape.slice();o.length=0;i--)if(n.shape[i]===e[i])a[i]=1;else if(1!==n.shape[i])throw new Error("broadcastTo(): ["+r+"] cannot be broadcast to ["+e+"].");var s=a.map((function(t,e){return t>1?e:-1})).filter((function(t){return t>=0}));return 0===s.length?n.clone():Lt.runKernelFunc((function(t){return t.tile(n,a)}),{input:n},(function(t){return{input:function(){return t.sum(s,!0)}}}))}}),gr=An({cast_:function(t,e){var n=mn(t,"x","cast");if(!W(e))throw new Error("Failed to cast to unknown dtype "+e);if("string"===e&&"string"!==n.dtype||"string"!==e&&"string"===n.dtype)throw new Error("Only strings can be casted to strings");var r={dtype:e};return Lt.runKernelFunc((function(t){return t.cast(n,e)}),{x:n},(function(t){return{x:function(){return t.clone()}}}),"Cast",r)}}),yr=An({clone_:function(t){var e=mn(t,"x","clone",null);return Lt.runKernelFunc((function(){return Lt.makeTensorFromDataId(e.dataId,e.shape,e.dtype)}),{$x:e},(function(t){return{$x:function(){return t.toFloat()}}}))}}),xr=An({cumsum_:function(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=!1),void 0===r&&(r=!1);var o=mn(t,"x","cumsum"),a=En([e|=0],o.rank),i=o;null!=a&&(i=o.transpose(a));var s=In(1,o.rank)[0],u=Lt.runKernelFunc((function(t){return t.cumsum(i,s,n,r)}),{permutedX:i},(function(t){return{permutedX:function(){return t.cumsum(e,n,!r)}}}));return null!=a&&(u=u.transpose(a)),u}}),br=An({depthToSpace_:function(t,e,n){void 0===n&&(n="NHWC");var r=mn(t,"x","depthToSpace"),o="NHWC"===n?r.shape[1]:r.shape[2],a="NHWC"===n?r.shape[2]:r.shape[3],i="NHWC"===n?r.shape[3]:r.shape[1];return C(o*e>=0,(function(){return"Negative dimension size caused by overflow when multiplying\n "+o+" and "+e+" for depthToSpace with input shape\n "+r.shape})),C(a*e>=0,(function(){return"Negative dimension size caused by overflow when multiplying\n "+a+" and "+e+" for depthToSpace with input shape\n "+r.shape})),C(i%(e*e)==0,(function(){return"Dimension size must be evenly divisible by "+e*e+" but is "+i+" for depthToSpace with input shape "+r.shape})),Lt.runKernelFunc((function(t){return t.depthToSpace(r,e,n)}),{$x:r})}}),wr=An({expandDims_:function(t,e){void 0===e&&(e=0);var n=mn(t,"x","expandDims",null);C(e<=n.rank,(function(){return"Axis must be <= rank of the tensor"}));var r=n.shape.slice();return e<0&&(C(-(n.rank+1)<=e,(function(){return"Axis must be in the interval ["+-(n.rank+1)+", "+n.rank+"]"})),e=n.rank+e+1),r.splice(e,0,1),Or(n,r)}}),Cr=An({eye_:function(t,e,n,r){void 0===r&&(r="float32"),null==e&&(e=t);for(var o=dr([t,e],r),a=t<=e?t:e,i=0;i2)throw new Error("Rank of probabilities must be 1 or 2, but is "+i);n=n||Math.random();var s=1===i?o.as2D(1,-1):o,u=Lt.runKernelFunc((function(t){return t.multinomial(s,r,e,n)}),{logits2D:s});return 1===i?u.as1D():u}}),Rr=An({oneHot_:function(t,e,n,r){if(void 0===n&&(n=1),void 0===r&&(r=0),e<2)throw new Error("Error in oneHot: depth must be >=2, but it is "+e);var o=mn(t,"indices","oneHot","int32"),a=o.shape.concat([e]);return o=o.flatten(),Lt.runKernelFunc((function(t){return t.oneHot(o,e,n,r)}),{$indices:o},(function(t){return{$indices:function(){return Gn(o.shape,"float32")}}})).reshape(a)}}),Ir=An({pad_:function(t,e,n){void 0===n&&(n=0);var r=mn(t,"x","pad");if(0===r.rank)throw new Error("pad(scalar) is not defined. Pass non-scalar to pad");var o={paddings:e,constantValue:n};return Lt.runKernelFunc((function(t){return t.pad(r,e,n)}),{x:r},(function(t){var n=e.map((function(t){return t[0]}));return{x:function(){return t.slice(n,r.shape)}}}),"PadV2",o)}}),kr=An({pad1d_:function(t,e,n){return void 0===n&&(n=0),C(2===e.length,(function(){return"Invalid number of paddings. Must be length of 2."})),Ir(t,[e],n)}}),Sr=An({pad2d_:function(t,e,n){return void 0===n&&(n=0),C(2===e.length&&2===e[0].length&&2===e[1].length,(function(){return"Invalid number of paddings. Must be length of 2 each."})),Ir(t,e,n)}}),Ar=An({pad3d_:function(t,e,n){return void 0===n&&(n=0),C(3===e.length&&2===e[0].length&&2===e[1].length&&2===e[2].length,(function(){return"Invalid number of paddings. Must be length of 2 each."})),Ir(t,e,n)}}),Dr=An({pad4d_:function(t,e,n){return void 0===n&&(n=0),C(4===e.length&&2===e[0].length&&2===e[1].length&&2===e[2].length&&2===e[3].length,(function(){return"Invalid number of paddings. Must be length of 2 each."})),Ir(t,e,n)}}),Tr=An({rand_:function(t,e,n){var r=k(t),o=null;if(null==n||"float32"===n)o=new Float32Array(r);else if("int32"===n)o=new Int32Array(r);else{if("bool"!==n)throw new Error("Unknown data type "+n);o=new Uint8Array(r)}for(var a=0;a=1+e.length,(function(){return"input rank "+r.rank+" should be > than [blockShape] "+e.length})),C(n.length===e.length,(function(){return"paddings.shape[0] "+n.length+" must be equal to [blockShape] "+e.length})),C(r.shape.reduce((function(t,r,o){return o>0&&o<=e.length?t&&(r+n[o-1][0]+n[o-1][1])%e[o-1]==0:t}),!0),(function(){return"input spatial dimensions "+r.shape.slice(1)+" with paddings "+n.toString()+" must be divisible by blockShapes "+e.toString()})),Lt.runKernelFunc((function(t){return t.spaceToBatchND(r,e,n)}),{$x:r},(function(t){return{$x:function(){return t.batchToSpaceND(e,n)}}}))}}),Br=An({squeeze_:function(t,e){var n=mn(t,"x","squeeze");return Or(n,M(n.shape,e).newShape)}}),Pr=An({stack_:function(t,e){void 0===e&&(e=0);var n=gn(t,"tensors","stack");if(C(n.length>=1,(function(){return"Pass at least one tensor to tf.stack"})),1===n.length)return n[0].expandDims(e);var r=n[0].rank,o=n[0].shape,a=n[0].dtype;C(e<=r,(function(){return"Axis must be <= rank of the tensor"})),n.forEach((function(t){E(o,t.shape,"All tensors passed to stack must have matching shapes")})),n.forEach((function(t){C(a===t.dtype,(function(){return"All tensors passed to stack must have matching dtypes"}))}));var i=n.map((function(t){return t.expandDims(e)}));return Yn(i,e)}}),Lr=An({tile_:function(t,e){var n=mn(t,"x","tile",null);C(n.rank===e.length,(function(){return"Error in transpose: rank of input "+n.rank+" must match length of reps "+e+"."}));var r=[n],o={reps:e};return Lt.runKernelFunc((function(t,r){var o=t.tile(n,e);return r([n]),o}),{x:n},(function(t,n){var r=n[0];return{x:function(){var n=Xn(r);if(1===r.rank)for(var o=0;o=-n.shape.length&&e=2*e+1||o%2==1?i.push(o):a.push(o);r.push.apply(r,a),r.push(0),r.push.apply(r,i)}return r}function Hr(t,e,n,r){void 0===r&&(r=!0);var o=[];r?o.push(t[0]/n):o.push(t[0]*n);for(var a=1;at.rank)throw new Error("index innermost dimension length must be <= tensor rank; saw: "+e.shape[e.rank-1]+" vs. "+t.rank);if(0===t.size)throw new Error("Requested more than 0 entries, but input is empty. Input shape: "+t.shape+".");for(var n=e.shape,r=n[n.length-1],o=1,a=0;a1?e.shape[e.rank-1]:1,o=e.rank>1?e.rank-1:1,a="Must have updates.shape = indices.shape[:batchDim] + shape[sliceDim:], got updates.shape: "+n.shape+", indices.shape: "+e.shape+", shape: "+t+", sliceDim: "+r+", and batchDim: "+o+".";if(n.rank1?e.shape[r-1]:1,a=n.length,i=1,s=o;s0;)1&t&&e.push(n),t/=2,n++;return e}function ro(t,e,n){for(var r=[],o=0;o0?Number.MIN_SAFE_INTEGER:Number.MAX_SAFE_INTEGER);var s=r[o];return a<0&&(a+=s),a=x(0,a,s-1)}function ao(t,e,n,r,o){var a=e[o],i=n[o]||1;(t&1<0?Number.MAX_SAFE_INTEGER:Number.MIN_SAFE_INTEGER);var s=r[o];return a<0&&(a+=s),a=i>0?x(0,a,s):x(-1,a,s-1)}function io(t,e,n){for(var r=n.length,o=0;o1){r=o;break}for(o=r+1;o0||n[o]!==t[o])return!1;return!0}function so(t,e){for(var n=t.length>0?t[t.length-1]:1,r=0;r0,(function(){return"variableGrads() expects at least one of the input variables to be trainable, but none of the "+a+" variables is trainable."}));var i=Lt.gradients(t,e,null,!0),s=i.value,u=i.grads;C(u.some((function(t){return null!=t})),(function(){return"Cannot find a connection between any variable and the result of the loss function y=f(x). Please make sure the operations that use variables are inside the function f passed to minimize()."})),C(0===s.rank,(function(){return"The f passed in variableGrads(f) must return a scalar, but it returned a rank-"+s.rank+" tensor"}));var c={};return e.forEach((function(t,e){null!=u[e]&&(c[t.name]=u[e])})),null!=o&&o.forEach((function(t){return c[t.name]=null})),{value:s,grads:c}}function vo(t){return Lt.customGrad(t)}function mo(t){if(t.filter((function(t){return null==t})).length>0)throw new Error("Cannot compute gradient of y=f(x) with respect to x. Make sure that\n the f you passed encloses all operations that lead from x to y.")}var go=An({softmax_:function(t,e){void 0===e&&(e=-1);var n=mn(t,"logits","softmax","float32");if(-1===e&&(e=n.rank-1),e!==n.rank-1)throw Error("Softmax along a non-last dimension is not yet supported. Logits was rank "+n.rank+" and dim was "+e);return Lt.runKernelFunc((function(t,r){var o=t.softmax(n,e);return r([o]),o}),{logits:n},(function(t,n){var r=n[0],o=t.mul(r);return{logits:function(){return o.sub(o.sum([e],!0).mul(r))}}}),"Softmax",{dim:e},[],[!0])}}),yo=An({logSoftmax_:function(t,e){void 0===e&&(e=-1);var n=mn(t,"logits","logSoftmax");if(-1===e&&(e=n.rank-1),e!==n.rank-1)throw Error("Log Softmax along a non-last dimension is not yet supported. Logits was rank "+n.rank+" and axis was "+e);return vo((function(t,n){var r=t.max(e,!0),o=t.sub(r),a=o.toFloat().sub(o.exp().sum(e,!0).log());n([a]);return{value:a,gradFunc:function(t,n){var r=n[0].exp();return t.sub(t.sum(e,!0).mul(r))}}}))(n)}}),xo=function(){function t(t,e){this.backend=t,this.dataMover=e,this.data=new WeakMap,this.dataIdsCount=0}return t.prototype.get=function(t){return this.data.has(t)||this.dataMover.moveData(this.backend,t),this.data.get(t)},t.prototype.set=function(t,e){this.dataIdsCount++,this.data.set(t,e)},t.prototype.has=function(t){return this.data.has(t)},t.prototype.delete=function(t){return this.dataIdsCount--,this.data.delete(t)},t.prototype.numDataIds=function(){return this.dataIdsCount},t}(),bo=function(){function t(){}return t.prototype.time=function(t){return wo("time")},t.prototype.read=function(t){return wo("read")},t.prototype.readSync=function(t){return wo("readSync")},t.prototype.numDataIds=function(){return wo("numDataIds")},t.prototype.disposeData=function(t){return wo("disposeData")},t.prototype.write=function(t,e,n){return wo("write")},t.prototype.move=function(t,e,n,r){return wo("move")},t.prototype.memory=function(){return wo("memory")},t.prototype.floatPrecision=function(){return wo("floatPrecision")},t.prototype.epsilon=function(){return 32===this.floatPrecision()?1e-7:1e-4},t.prototype.batchMatMul=function(t,e,n,r){return wo("batchMatMul")},t.prototype.fusedBatchMatMul=function(t){t.a,t.b,t.transposeA,t.transposeB,t.bias,t.activation,t.preluActivationWeights;return wo("fusedBatchMatMul")},t.prototype.slice=function(t,e,n){return wo("slice")},t.prototype.stridedSlice=function(t,e,n,r){return wo("stridedSlice")},t.prototype.unstack=function(t,e){return wo("unstack")},t.prototype.reverse=function(t,e){return wo("reverse")},t.prototype.concat=function(t,e){return wo("concat")},t.prototype.neg=function(t){return wo("neg")},t.prototype.add=function(t,e){return wo("add")},t.prototype.addN=function(t){return wo("addN")},t.prototype.subtract=function(t,e){return wo("subtract")},t.prototype.multiply=function(t,e){return wo("multiply")},t.prototype.realDivide=function(t,e){return wo("realDivide")},t.prototype.floorDiv=function(t,e){return wo("floorDiv")},t.prototype.sum=function(t,e){return wo("sum")},t.prototype.prod=function(t,e){return wo("prod")},t.prototype.unsortedSegmentSum=function(t,e,n){return wo("unsortedSegmentSum")},t.prototype.argMin=function(t,e){return wo("argMin")},t.prototype.argMax=function(t,e){return wo("argMax")},t.prototype.equal=function(t,e){return wo("equal")},t.prototype.notEqual=function(t,e){return wo("notEqual")},t.prototype.less=function(t,e){return wo("less")},t.prototype.lessEqual=function(t,e){return wo("lessEqual")},t.prototype.greater=function(t,e){return wo("greater")},t.prototype.greaterEqual=function(t,e){return wo("greaterEqual")},t.prototype.logicalNot=function(t){return wo("logicalNot")},t.prototype.logicalAnd=function(t,e){return wo("logicalAnd")},t.prototype.logicalOr=function(t,e){return wo("logicalOr")},t.prototype.where=function(t){return wo("where")},t.prototype.select=function(t,e,n){return wo("select")},t.prototype.topk=function(t,e,n){return wo("topk")},t.prototype.min=function(t,e){return wo("min")},t.prototype.minimum=function(t,e){return wo("minimum")},t.prototype.mod=function(t,e){return wo("mod")},t.prototype.max=function(t,e){return wo("max")},t.prototype.maximum=function(t,e){return wo("maximum")},t.prototype.all=function(t,e){return wo("all")},t.prototype.any=function(t,e){return wo("any")},t.prototype.squaredDifference=function(t,e){return wo("squaredDifference")},t.prototype.ceil=function(t){return wo("ceil")},t.prototype.floor=function(t){return wo("floor")},t.prototype.round=function(t){return wo("round")},t.prototype.sign=function(t){return wo("sign")},t.prototype.isNaN=function(t){return wo("isNaN")},t.prototype.isInf=function(t){return wo("isInf")},t.prototype.isFinite=function(t){return wo("isFinite")},t.prototype.pow=function(t,e){return wo("pow")},t.prototype.exp=function(t){return wo("exp")},t.prototype.expm1=function(t){return wo("expm1")},t.prototype.softmax=function(t,e){return wo("softmax")},t.prototype.log=function(t){return wo("log")},t.prototype.log1p=function(t){return wo("log1p")},t.prototype.sqrt=function(t){return wo("sqrt")},t.prototype.rsqrt=function(t){return wo("rsqrt")},t.prototype.square=function(t){return wo("square")},t.prototype.reciprocal=function(t){return wo("reciprocal")},t.prototype.relu=function(t){return wo("relu")},t.prototype.relu6=function(t){return wo("relu6")},t.prototype.prelu=function(t,e){return wo("prelu")},t.prototype.elu=function(t){return wo("elu")},t.prototype.eluDer=function(t,e){return wo("eluDer")},t.prototype.selu=function(t){return wo("selu")},t.prototype.int=function(t){return wo("int")},t.prototype.clip=function(t,e,n){return wo("clip")},t.prototype.abs=function(t){return wo("abs")},t.prototype.complexAbs=function(t){return wo("complexAbs")},t.prototype.sigmoid=function(t){return wo("sigmoid")},t.prototype.softplus=function(t){return wo("softplus")},t.prototype.sin=function(t){return wo("sin")},t.prototype.cos=function(t){return wo("cos")},t.prototype.tan=function(t){return wo("tan")},t.prototype.asin=function(t){return wo("asin")},t.prototype.acos=function(t){return wo("acos")},t.prototype.atan=function(t){return wo("atan")},t.prototype.atan2=function(t,e){return wo("atan2")},t.prototype.sinh=function(t){return wo("sinh")},t.prototype.cosh=function(t){return wo("cosh")},t.prototype.tanh=function(t){return wo("tanh")},t.prototype.asinh=function(t){return wo("asinh")},t.prototype.acosh=function(t){return wo("acosh")},t.prototype.atanh=function(t){return wo("atanh")},t.prototype.erf=function(t){return wo("erf")},t.prototype.step=function(t,e){return wo("step")},t.prototype.fusedConv2d=function(t){t.input,t.filter,t.convInfo,t.bias,t.activation,t.preluActivationWeights;return wo("fusedConv2d")},t.prototype.conv2d=function(t,e,n){return wo("conv2d")},t.prototype.conv2dDerInput=function(t,e,n){return wo("conv2dDerInput")},t.prototype.conv2dDerFilter=function(t,e,n){return wo("conv2dDerFilter")},t.prototype.fusedDepthwiseConv2D=function(t){t.input,t.filter,t.convInfo,t.bias,t.activation,t.preluActivationWeights;return wo("fusedDepthwiseConv2D")},t.prototype.depthwiseConv2D=function(t,e,n){return wo("depthwiseConv2D")},t.prototype.depthwiseConv2DDerInput=function(t,e,n){return wo("depthwiseConv2DDerInput")},t.prototype.depthwiseConv2DDerFilter=function(t,e,n){return wo("depthwiseConv2DDerFilter")},t.prototype.conv3d=function(t,e,n){return wo("conv3d")},t.prototype.conv3dDerInput=function(t,e,n){return wo("conv3dDerInput")},t.prototype.conv3dDerFilter=function(t,e,n){return wo("conv3dDerFilter")},t.prototype.maxPool=function(t,e){return wo("maxPool")},t.prototype.maxPoolBackprop=function(t,e,n,r){return wo("maxPoolBackprop")},t.prototype.avgPool=function(t,e){return wo("avgPool")},t.prototype.avgPoolBackprop=function(t,e,n){return wo("avgPoolBackprop")},t.prototype.avgPool3d=function(t,e){return wo("avgPool3d")},t.prototype.avgPool3dBackprop=function(t,e,n){return wo("avgPool3dBackprop")},t.prototype.maxPool3d=function(t,e){return wo("maxPool3d")},t.prototype.maxPool3dBackprop=function(t,e,n,r){return wo("maxPool3dBackprop")},t.prototype.reshape=function(t,e){return wo("reshape")},t.prototype.cast=function(t,e){return wo("cast")},t.prototype.tile=function(t,e){return wo("tile")},t.prototype.pad=function(t,e,n){return wo("pad")},t.prototype.transpose=function(t,e){return wo("transpose")},t.prototype.gather=function(t,e,n){return wo("gather")},t.prototype.gatherND=function(t,e){return wo("gatherND")},t.prototype.scatterND=function(t,e,n){return wo("scatterND")},t.prototype.batchToSpaceND=function(t,e,n){return wo("batchToSpaceND")},t.prototype.spaceToBatchND=function(t,e,n){return wo("spaceToBatchND")},t.prototype.resizeBilinear=function(t,e,n,r){return wo("resizeBilinear")},t.prototype.resizeBilinearBackprop=function(t,e,n){return wo("resizeBilinearBackprop")},t.prototype.resizeNearestNeighbor=function(t,e,n,r){return wo("resizeNearestNeighbor")},t.prototype.resizeNearestNeighborBackprop=function(t,e,n){return wo("resizeNearestNeighborBackprop")},t.prototype.batchNormalization=function(t,e,n,r,o,a){return wo("batchNormalization")},t.prototype.localResponseNormalization4D=function(t,e,n,r,o){return wo("localResponseNormalization4D")},t.prototype.LRNGrad=function(t,e,n,r,o,a,i){return wo("LRNGrad")},t.prototype.multinomial=function(t,e,n,r){return wo("multinomial")},t.prototype.oneHot=function(t,e,n,r){return wo("oneHot")},t.prototype.cumsum=function(t,e,n,r){return wo("cumsum")},t.prototype.nonMaxSuppression=function(t,e,n,r,o){return wo("nonMaxSuppression")},t.prototype.fft=function(t){return wo("fft")},t.prototype.ifft=function(t){return wo("ifft")},t.prototype.complex=function(t,e){return wo("complex")},t.prototype.real=function(t){return wo("real")},t.prototype.imag=function(t){return wo("imag")},t.prototype.cropAndResize=function(t,e,n,r,o,a){return wo("cropAndResize")},t.prototype.depthToSpace=function(t,e,n){return wo("depthToSpace")},t.prototype.split=function(t,e,n){return wo("split")},t.prototype.sparseToDense=function(t,e,n,r){return wo("sparseToDense")},t.prototype.diag=function(t){return wo("diag")},t.prototype.fill=function(t,e,n){return wo("fill")},t.prototype.onesLike=function(t){return wo("onesLike")},t.prototype.zerosLike=function(t){return wo("zerosLike")},t.prototype.linspace=function(t,e,n){return wo("linspace")},t.prototype.dispose=function(){return wo("dispose")},t}();function wo(t){throw new Error("'"+t+"' not yet implemented or not found in the registry. Did you forget to import the kernel?")}function Co(t,e){for(var n=t.length,r=[],o=0;o1&&1===i&&r.unshift(a)}return r}function Eo(t,e){for(var n=[],r=0;r1)&&n.unshift(a)}return n}function Ro(t,e){for(var n=[],r=Math.max(t.length,e.length),o=0;o>>1)]);s>0?r=a+1:(o=a,i=!s)}return i?r:-r-1}(t,e,n||Ko)}(t,e,n),o=r<0?-(r+1):r;t.splice(o,0,e)}function Ko(t,e){return t>e?1:to})).sort(Jo),c=a>0?-.5/a:0,l=[],h=[];l.length0;){var f=u.pop(),d=f.score,p=f.boxIndex,v=f.suppressBeginIndex;if(d=v;--g){var y=$o(t,p,l[g]);if(y>=r){m=!0;break}if(f.score=f.score*Qo(r,c,y),f.score<=o)break}f.suppressBeginIndex=l.length,m||(f.score===d?(l.push(p),h.push(f.score)):f.score>o&&qo(u,f,Jo))}var x=l.length;return s&&(l.fill(0,x),h.fill(0,x)),{selectedIndices:Mn(l,"int32"),selectedScores:Mn(h,"float32"),numValidOutputs:On(x,"int32")}}function $o(t,e,n){var r=t.subarray(4*e,4*e+4),o=t.subarray(4*n,4*n+4),a=Math.min(r[0],r[2]),i=Math.min(r[1],r[3]),s=Math.max(r[0],r[2]),u=Math.max(r[1],r[3]),c=Math.min(o[0],o[2]),l=Math.min(o[1],o[3]),h=Math.max(o[0],o[2]),f=Math.max(o[1],o[3]),d=(s-a)*(u-i),p=(h-c)*(f-l);if(d<=0||p<=0)return 0;var v=Math.max(a,c),m=Math.max(i,l),g=Math.min(s,h),y=Math.min(u,f),x=Math.max(g-v,0)*Math.max(y-m,0);return x/(d+p-x)}function Qo(t,e,n){var r=Math.exp(e*n*n);return n<=t?r:0}function Jo(t,e){return t.score-e.score||t.score===e.score&&e.boxIndex-t.boxIndex}function Zo(t,e,n){var r=new Array(t.rank).fill(0),o=t.shape.slice();return e.map((function(e){o[n]=e;var a=t.slice(r,o);return r[n]+=e,a}))}function ta(t,e){for(var n=new Array(t.rank),r=0;r":"<",u=n?"inOffset + i;":"round(getBestIndicesA(batch, inOffset + i));";this.userCode="\n void main() {\n ivec2 coords = getOutputCoords();\n int batch = coords[0];\n int outIdx = coords[1];\n int inOffset = outIdx * "+r+";\n\n int bestIndex = inOffset;\n float bestValue = getA(batch, bestIndex);\n\n for (int i = 0; i < "+r+"; i++) {\n int inIdx = "+u+";\n float candidate = getA(batch, inIdx);\n if (candidate "+s+" bestValue) {\n bestValue = candidate;\n bestIndex = inIdx;\n }\n }\n setOutput(float(bestIndex));\n }\n "};function ia(t,e){return["x","y","z","w","u","v"].slice(0,e).map((function(e){return t+"."+e}))}function sa(t,e){return 1===e?[t]:ia(t,e)}function ua(){var t,e,n,r,o,a,s,u,c,l;return 2===i().getNumber("WEBGL_VERSION")?(t="#version 300 es",e="in",n="out",r="in",o="texture",a="outputColor",s="out vec4 outputColor;",u="\n bool isnan_custom(float val) {\n return (val > 0.0 || val < 0.0) ? false : val != 0.0;\n }\n\n bvec4 isnan_custom(vec4 val) {\n return bvec4(isnan_custom(val.x),\n isnan_custom(val.y), isnan_custom(val.z), isnan_custom(val.w));\n }\n\n #define isnan(value) isnan_custom(value)\n ",c="",l="\n #define round(value) newRound(value)\n int newRound(float value) {\n return int(floor(value + 0.5));\n }\n\n ivec4 newRound(vec4 value) {\n return ivec4(floor(value + vec4(0.5)));\n }\n "):(t="",e="attribute",n="varying",r="varying",o="texture2D",a="gl_FragColor",s="",u="\n #define isnan(value) isnan_custom(value)\n bool isnan_custom(float val) {\n return (val > 0. || val < 1. || val == 0.) ? false : true;\n }\n bvec4 isnan_custom(vec4 val) {\n return bvec4(isnan(val.x), isnan(val.y), isnan(val.z), isnan(val.w));\n }\n ",c="\n uniform float INFINITY;\n\n bool isinf(float val) {\n return abs(val) == INFINITY;\n }\n bvec4 isinf(vec4 val) {\n return equal(abs(val), vec4(INFINITY));\n }\n ",l="\n int round(float value) {\n return int(floor(value + 0.5));\n }\n\n ivec4 round(vec4 value) {\n return ivec4(floor(value + vec4(0.5)));\n }\n "),{version:t,attribute:e,varyingVs:n,varyingFs:r,texture2D:o,output:a,defineOutput:s,defineSpecialNaN:u,defineSpecialInf:c,defineRound:l}}function ca(t,e,n){void 0===n&&(n="index");var r=$(e);return r.map((function(e,o){return"int "+t[o]+" = "+n+" / "+e+"; "+(o===r.length-1?"int "+t[o+1]+" = "+n+" - "+t[o]+" * "+e:"index -= "+t[o]+" * "+e)+";"})).join("")}function la(t){var e=$(t).map((function(t){return t.toString()}));return"\n int getFlatIndex(ivec3 coords) {\n return coords.x * "+e[0]+" + coords.y * "+e[1]+" + coords.z;\n }\n"}var ha="\n const float FLOAT_MAX = 1.70141184e38;\n const float FLOAT_MIN = 1.17549435e-38;\n\n lowp vec4 encode_float(highp float v) {\n if (isnan(v)) {\n return vec4(255, 255, 255, 255);\n }\n\n highp float av = abs(v);\n\n if(av < FLOAT_MIN) {\n return vec4(0.0, 0.0, 0.0, 0.0);\n } else if(v > FLOAT_MAX) {\n return vec4(0.0, 0.0, 128.0, 127.0) / 255.0;\n } else if(v < -FLOAT_MAX) {\n return vec4(0.0, 0.0, 128.0, 255.0) / 255.0;\n }\n\n highp vec4 c = vec4(0,0,0,0);\n\n highp float e = floor(log2(av));\n highp float m = exp2(fract(log2(av))) - 1.0;\n\n c[2] = floor(128.0 * m);\n m -= c[2] / 128.0;\n c[1] = floor(32768.0 * m);\n m -= c[1] / 32768.0;\n c[0] = floor(8388608.0 * m);\n\n highp float ebias = e + 127.0;\n c[3] = floor(ebias / 2.0);\n ebias -= c[3] * 2.0;\n c[2] += floor(ebias) * 128.0;\n\n c[3] += 128.0 * step(0.0, -v);\n\n return c / 255.0;\n }\n";function fa(t,e,n,r){var o=[];t.forEach((function(t){var e=k(t.shapeInfo.logicalShape);t.shapeInfo.isUniform?o.push("uniform float "+t.name+(e>1?"["+e+"]":"")+";"):(o.push("uniform sampler2D "+t.name+";"),o.push("uniform int offset"+t.name+";"))}));var a,i,s=o.join("\n"),u=t.map((function(t){return function(t,e,n){void 0===n&&(n=!1);var r="";r+=n?pa(t):da(t);var o=t.shapeInfo.logicalShape,a=e.logicalShape;o.length<=a.length&&(r+=n?function(t,e){var n,r=t.name,o=r.charAt(0).toUpperCase()+r.slice(1),a="get"+o+"AtOutCoords",i=t.shapeInfo.logicalShape.length,s=e.logicalShape.length,u=Co(t.shapeInfo.logicalShape,e.logicalShape),c=wa(s),l=s-i,h=["x","y","z","w","u","v"];n=0===i?"":s<2&&u.length>=1?"coords = 0;":u.map((function(t){return"coords."+h[t+l]+" = 0;"})).join("\n");var f="";f=s<2&&i>0?"coords":t.shapeInfo.logicalShape.map((function(t,e){return"coords."+h[e+l]})).join(", ");var d="return outputValue;",p=1===k(t.shapeInfo.logicalShape),v=1===k(e.logicalShape);if(1!==i||p||v){if(p&&!v)d=1===s?"\n return vec4(outputValue.x, outputValue.x, 0., 0.);\n ":"\n return vec4(outputValue.x);\n ";else if(u.length){var m=i-2,g=i-1;u.indexOf(m)>-1&&u.indexOf(g)>-1?d="return vec4(outputValue.x);":u.indexOf(m)>-1?d="return vec4(outputValue.x, outputValue.y, outputValue.x, outputValue.y);":u.indexOf(g)>-1&&(d="return vec4(outputValue.xx, outputValue.zz);")}}else d="\n return vec4(outputValue.xy, outputValue.xy);\n ";return"\n vec4 "+a+"() {\n "+c+" coords = getOutputCoords();\n "+n+"\n vec4 outputValue = get"+o+"("+f+");\n "+d+"\n }\n "}(t,e):function(t,e){var n=t.name,r=n.charAt(0).toUpperCase()+n.slice(1),o="get"+r+"AtOutCoords",a=e.texShape,i=t.shapeInfo.texShape,s=t.shapeInfo.logicalShape.length,u=e.logicalShape.length;if(!t.shapeInfo.isUniform&&s===u&&null==t.shapeInfo.flatOffset&&S(i,a))return"\n float "+o+"() {\n return sampleTexture("+n+", resultUV);\n }\n ";var c,l=wa(u),h=Co(t.shapeInfo.logicalShape,e.logicalShape),f=u-s,d=["x","y","z","w","u","v"];c=0===s?"":u<2&&h.length>=1?"coords = 0;":h.map((function(t){return"coords."+d[t+f]+" = 0;"})).join("\n");var p="";p=u<2&&s>0?"coords":t.shapeInfo.logicalShape.map((function(t,e){return"coords."+d[e+f]})).join(", ");return"\n float "+o+"() {\n "+l+" coords = getOutputCoords();\n "+c+"\n return get"+r+"("+p+");\n }\n "}(t,e));return r}(t,e,r)})).join("\n"),c=e.texShape,l=ua(),h=function(t){return"\n float sampleTexture(sampler2D textureSampler, vec2 uv) {\n return "+t.texture2D+"(textureSampler, uv).r;\n }\n "}(l),f=function(t){return t.version+"\n precision highp float;\n precision highp int;\n precision highp sampler2D;\n "+t.varyingFs+" vec2 resultUV;\n "+t.defineOutput+"\n const vec2 halfCR = vec2(0.5, 0.5);\n\n struct ivec5\n {\n int x;\n int y;\n int z;\n int w;\n int u;\n };\n\n struct ivec6\n {\n int x;\n int y;\n int z;\n int w;\n int u;\n int v;\n };\n\n uniform float NAN;\n "+t.defineSpecialNaN+"\n "+t.defineSpecialInf+"\n "+t.defineRound+"\n\n int imod(int x, int y) {\n return x - y * (x / y);\n }\n\n int idiv(int a, int b, float sign) {\n int res = a / b;\n int mod = imod(a, b);\n if (sign < 0. && mod != 0) {\n res -= 1;\n }\n return res;\n }\n\n //Based on the work of Dave Hoskins\n //https://www.shadertoy.com/view/4djSRW\n #define HASHSCALE1 443.8975\n float random(float seed){\n vec2 p = resultUV * seed;\n vec3 p3 = fract(vec3(p.xyx) * HASHSCALE1);\n p3 += dot(p3, p3.yzx + 19.19);\n return fract((p3.x + p3.y) * p3.z);\n }\n\n "+va+"\n "+ma+"\n "+ga+"\n "}(l);return e.isPacked?(a=function(t,e){switch(t.length){case 0:return"\n int getOutputCoords() {\n return 0;\n }\n ";case 1:return function(t,e){var n=[Math.ceil(e[0]/2),Math.ceil(e[1]/2)];if(1===n[0])return"\n int getOutputCoords() {\n return 2 * int(resultUV.x * "+n[1]+".0);\n }\n ";if(1===n[1])return"\n int getOutputCoords() {\n return 2 * int(resultUV.y * "+n[0]+".0);\n }\n ";return"\n int getOutputCoords() {\n ivec2 resTexRC = ivec2(resultUV.yx *\n vec2("+n[0]+", "+n[1]+"));\n return 2 * (resTexRC.x * "+n[1]+" + resTexRC.y);\n }\n "}(0,e);case 2:return function(t,e){var n=[Math.ceil(e[0]/2),Math.ceil(e[1]/2)];if(S(t,e))return"\n ivec2 getOutputCoords() {\n return 2 * ivec2(resultUV.yx * vec2("+n[0]+", "+n[1]+"));\n }\n ";var r=Math.ceil(t[1]/2);return"\n ivec2 getOutputCoords() {\n ivec2 resTexRC = ivec2(resultUV.yx *\n vec2("+n[0]+", "+n[1]+"));\n\n int index = resTexRC.x * "+n[1]+" + resTexRC.y;\n int r = 2 * (index / "+r+");\n int c = imod(index, "+r+") * 2;\n\n return ivec2(r, c);\n }\n "}(t,e);case 3:return n=t,r=e,o=[Math.ceil(r[0]/2),Math.ceil(r[1]/2)],a=Math.ceil(n[2]/2),i=a*Math.ceil(n[1]/2),"\n ivec3 getOutputCoords() {\n ivec2 resTexRC = ivec2(resultUV.yx *\n vec2("+o[0]+", "+o[1]+"));\n int index = resTexRC.x * "+o[1]+" + resTexRC.y;\n\n int b = index / "+i+";\n index -= b * "+i+";\n\n int r = 2 * (index / "+a+");\n int c = imod(index, "+a+") * 2;\n\n return ivec3(b, r, c);\n }\n ";default:return function(t,e){for(var n=[Math.ceil(e[0]/2),Math.ceil(e[1]/2)],r=Math.ceil(t[t.length-1]/2),o=r*Math.ceil(t[t.length-2]/2),a=o,i="",s="b, r, c",u=2;u2,(function(){return"Packed arg"+(n.charAt(0).toUpperCase()+n.slice(1))+" supports only inputs with rank above 2."}));var o=t[t.length-1],a=Math.ceil(o/e);this.outputShape=t.slice(0,-1),a>1&&this.outputShape.push(a),r||this.variableNames.push("bestIndicesA");var i,s,u=this.outputShape,c=u.length,l=wa(c),h=sa("coords",c);if(1===a){var f=wa(s=c+1);i="\n "+f+" sourceLocR = "+f+"("+h.join()+", 0);\n ++"+h[c-1]+";\n "+f+" sourceLocG = "+f+"("+h.join()+", 0);\n ++"+h[c-2]+";\n "+f+" sourceLocA = "+f+"("+h.join()+", 0);\n --"+h[c-1]+";\n "+f+" sourceLocB = "+f+"("+h.join()+", 0);\n --"+h[c-2]+";"}else s=c,i="\n "+l+" sourceLocR = coords;\n ++"+h[c-1]+";\n "+l+" sourceLocG = coords;\n ++"+h[c-2]+";\n "+l+" sourceLocA = coords;\n --"+h[c-1]+";\n "+l+" sourceLocB = coords;\n --"+h[c-2]+";";var d=["x","y","z","w","u","v"].slice(0,s),p="."+d[s-1],v=d.map((function(t){return"int "+t})),m=sa("sourceLocR",s-1).concat("inIdx.r"),g=sa("sourceLocG",s-1).concat("inIdx.g"),y=sa("sourceLocB",s-1).concat("inIdx.b"),x=sa("sourceLocA",s-1).concat("inIdx.a"),b="max"===n?"greaterThan":"lessThan",w=r?"":"\n inIdx = round(vec4(getBestIndicesAChannel("+m.join()+"),\n getBestIndicesAChannel("+g.join()+"),\n getBestIndicesAChannel("+y.join()+"),\n getBestIndicesAChannel("+x.join()+")));",E="vec4(\n getAChannel("+m.join()+"),\n hasNextCol ? getAChannel("+g.join()+") : 0.,\n hasNextRow ? getAChannel("+y.join()+") : 0.,\n hasNextRow && hasNextCol ? getAChannel("+x.join()+") : 0.)",R=r?"":"\n float getBestIndicesAChannel("+v.join()+") {\n return getChannel(getBestIndicesA("+d.join()+"),\n vec2("+d.slice(-2).join()+"));\n }";this.userCode="\n float getAChannel("+v.join()+") {\n return getChannel(getA("+d.join()+"),\n vec2("+d.slice(-2).join()+"));\n }\n "+R+"\n void main() {\n "+l+" coords = getOutputCoords();\n bool hasNextCol = "+h[c-1]+" < "+(u[c-1]-1)+";\n bool hasNextRow = "+h[c-2]+" < "+(u[c-2]-1)+";\n "+i+"\n ivec4 srcIdx = ivec4(sourceLocR"+p+", sourceLocG"+p+",\n sourceLocB"+p+", sourceLocA"+p+") * "+e+";\n ivec4 inIdx = srcIdx;\n vec4 bestIndex = vec4(inIdx);\n vec4 bestValue = "+E+";\n\n for (int i = 0; i < "+e+"; i++) {\n inIdx = srcIdx;\n "+w+"\n vec4 candidate = "+E+";\n bvec4 nan = isnan(candidate);\n bvec4 replace = bvec4(\n vec4("+b+"(candidate, bestValue)) * (vec4(1.0) - vec4(nan)));\n\n bestValue = vec4(replace.x ? candidate.x : bestValue.x,\n replace.y ? candidate.y : bestValue.y,\n replace.z ? candidate.z : bestValue.z,\n replace.w ? candidate.w : bestValue.w);\n bestIndex = mix(bestIndex, vec4(inIdx), vec4(replace));\n srcIdx++;\n }\n setOutput(bestIndex);\n }\n "},Ia=function(t){this.variableNames=["dy"],this.outputShape=t.inShape;var e=t.filterHeight,n=t.filterWidth,r=t.strideHeight,o=t.strideWidth,a=t.dilationHeight,i=t.dilationWidth,s=t.effectiveFilterHeight,u=t.effectiveFilterWidth,c=s-1-t.padInfo.top,l=u-1-t.padInfo.left,h=1/(e*n);this.userCode="\n const ivec2 pads = ivec2("+c+", "+l+");\n const float avgMultiplier = float("+h+");\n\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int d = coords[3];\n\n ivec2 dyRCCorner = coords.yz - pads;\n int dyRCorner = dyRCCorner.x;\n int dyCCorner = dyRCCorner.y;\n\n // Convolve dy(?, ?, d) with pos mask(:, :, d) to get dx(xR, xC, d).\n // ? = to be determined. : = across all values in that axis.\n float dotProd = 0.0;\n for (int wR = 0; wR < "+s+";\n wR += "+a+") {\n float dyR = float(dyRCorner + wR) / "+r+".0;\n\n if (dyR < 0.0 || dyR >= "+t.outHeight+".0 || fract(dyR) > 0.0) {\n continue;\n }\n int idyR = int(dyR);\n\n for (int wC = 0; wC < "+u+";\n wC+= "+i+") {\n float dyC = float(dyCCorner + wC) / "+o+".0;\n\n if (dyC < 0.0 || dyC >= "+t.outWidth+".0 ||\n fract(dyC) > 0.0) {\n continue;\n }\n int idyC = int(dyC);\n\n float dyValue = getDy(b, idyR, idyC, d);\n\n dotProd += dyValue * avgMultiplier;\n }\n }\n setOutput(dotProd);\n }\n "},ka=function(t){this.variableNames=["dy"],this.outputShape=t.inShape;var e=t.filterDepth,n=t.filterHeight,r=t.filterWidth,o=t.strideDepth,a=t.strideHeight,i=t.strideWidth,s=t.dilationDepth,u=t.dilationHeight,c=t.dilationWidth,l=t.effectiveFilterDepth,h=t.effectiveFilterHeight,f=t.effectiveFilterWidth,d=l-1-t.padInfo.front,p=h-1-t.padInfo.top,v=f-1-t.padInfo.left,m=1/(e*n*r);this.userCode="\n const ivec3 pads = ivec3("+d+", "+p+", "+v+");\n const float avgMultiplier = float("+m+");\n\n void main() {\n ivec5 coords = getOutputCoords();\n int batch = coords.x;\n int ch = coords.u;\n\n ivec3 dyCorner = ivec3(coords.y, coords.z, coords.w) - pads;\n int dyDCorner = dyCorner.x;\n int dyRCorner = dyCorner.y;\n int dyCCorner = dyCorner.z;\n\n // Convolve dy(?, ?, ?, d) with pos mask(:, :, :, ch) to get\n // dx(xD, xR, xC, ch).\n // ? = to be determined. : = across all values in that axis.\n float dotProd = 0.0;\n\n for (int wD = 0; wD < "+l+";\n wD += "+s+") {\n float dyD = float(dyDCorner + wD) / "+o+".0;\n\n if (dyD < 0.0 || dyD >= "+t.outDepth+".0 || fract(dyD) > 0.0) {\n continue;\n }\n int idyD = int(dyD);\n\n for (int wR = 0; wR < "+h+";\n wR += "+u+") {\n float dyR = float(dyRCorner + wR) / "+a+".0;\n\n if (dyR < 0.0 || dyR >= "+t.outHeight+".0 ||\n fract(dyR) > 0.0) {\n continue;\n }\n int idyR = int(dyR);\n\n for (int wC = 0; wC < "+f+";\n wC += "+c+") {\n float dyC = float(dyCCorner + wC) / "+i+".0;\n\n if (dyC < 0.0 || dyC >= "+t.outWidth+".0 ||\n fract(dyC) > 0.0) {\n continue;\n }\n int idyC = int(dyC);\n\n float dyValue = getDy(batch, idyD, idyR, idyC, ch);\n\n dotProd += dyValue * avgMultiplier;\n }\n }\n }\n setOutput(dotProd);\n }\n "},Sa=function(t,e,n,r,o,a){this.outputShape=[],this.variableNames=["x","mean","variance"],Ro(t,e),Ro(t,n);var i="0.0";null!=r&&(Ro(t,r),this.variableNames.push("offset"),i="getOffsetAtOutCoords()");var s="1.0";null!=o&&(Ro(t,o),this.variableNames.push("scale"),s="getScaleAtOutCoords()"),this.outputShape=t,this.userCode="\n void main() {\n float x = getXAtOutCoords();\n float mean = getMeanAtOutCoords();\n float variance = getVarianceAtOutCoords();\n float offset = "+i+";\n float scale = "+s+";\n float inv = scale * inversesqrt(variance + float("+a+"));\n setOutput(dot(vec3(x, -mean, offset), vec3(inv, inv, 1)));\n }\n "},Aa=function(t,e,n,r,o,a){this.packedInputs=!0,this.packedOutput=!0,this.variableNames=["x","mean","variance"],Ro(t,e),Ro(t,n);var i="vec4(0.0)";null!=r&&(Ro(t,r),this.variableNames.push("offset"),i="getOffsetAtOutCoords()");var s="vec4(1.0)";null!=o&&(Ro(t,o),this.variableNames.push("scale"),s="getScaleAtOutCoords()"),this.outputShape=t,this.userCode="\n void main() {\n vec4 offset = "+i+";\n vec4 scale = "+s+";\n\n vec4 x = getXAtOutCoords();\n vec4 mean = getMeanAtOutCoords();\n vec4 variance = getVarianceAtOutCoords();\n\n vec4 inv = scale * inversesqrt(variance + vec4("+a+"));\n\n setOutput((x - mean) * inv + offset);\n }\n "},Da="return areal * breal - aimag * bimag;",Ta="return areal * bimag + aimag * breal;",Na=function(t,e,n){this.variableNames=["AReal","AImag","BReal","BImag"],this.outputShape=Ro(e,n),this.userCode="\n float binaryOpComplex(\n float areal, float aimag, float breal, float bimag) {\n "+t+"\n }\n\n void main() {\n float areal = getARealAtOutCoords();\n float aimag = getAImagAtOutCoords();\n float breal = getBRealAtOutCoords();\n float bimag = getBImagAtOutCoords();\n setOutput(binaryOpComplex(areal, aimag, breal, bimag));\n }\n "},Fa="return a + b;",_a="return a - b;",Oa="return a * b;",Ma="return (a < 0.) ? b * a : a;",Ba=function(t,e,n){this.variableNames=["A","B"],this.outputShape=Ro(e,n),this.userCode="\n float binaryOperation(float a, float b) {\n "+t+"\n }\n\n void main() {\n float a = getAAtOutCoords();\n float b = getBAtOutCoords();\n setOutput(binaryOperation(a, b));\n }\n "},Pa="\n vec4 aLessThanZero = vec4(lessThan(a, vec4(0.)));\n return (aLessThanZero * (b * a)) + ((vec4(1.0) - aLessThanZero) * a);\n",La=function(t,e,n,r){void 0===r&&(r=!1),this.variableNames=["A","B"],this.supportsBroadcasting=!0,this.packedInputs=!0,this.packedOutput=!0,this.outputShape=Ro(e,n);var o=this.outputShape.length,a="";if(r)if(0===o||1===k(this.outputShape))a="\n result.y = 0.;\n result.z = 0.;\n result.w = 0.;\n ";else if(a="\n "+wa(o)+" coords = getOutputCoords();\n ",1===o)a+="\n result.y = (coords + 1) >= "+this.outputShape[0]+" ? 0. : result.y;\n result.z = 0.;\n result.w = 0.;\n ";else{var i=sa("coords",o);a+="\n bool nextRowOutOfBounds =\n ("+i[o-2]+" + 1) >= "+this.outputShape[o-2]+";\n bool nextColOutOfBounds =\n ("+i[o-1]+" + 1) >= "+this.outputShape[o-1]+";\n result.y = nextColOutOfBounds ? 0. : result.y;\n result.z = nextRowOutOfBounds ? 0. : result.z;\n result.w = nextColOutOfBounds || nextRowOutOfBounds ? 0. : result.w;\n "}this.userCode="\n vec4 binaryOperation(vec4 a, vec4 b) {\n "+t+"\n }\n\n void main() {\n vec4 a = getAAtOutCoords();\n vec4 b = getBAtOutCoords();\n\n vec4 result = binaryOperation(a, b);\n "+a+"\n\n setOutput(result);\n }\n "},Wa=function(){function t(t){this.variableNames=["A"],this.outputShape=t,this.userCode="\n uniform float minVal;\n uniform float maxVal;\n\n void main() {\n float value = getAAtOutCoords();\n if (isnan(value)) {\n setOutput(value);\n return;\n }\n\n setOutput(clamp(value, minVal, maxVal));\n }\n "}return t.prototype.getCustomSetupFunc=function(t,e){var n=this;return function(r,o){null==n.minLoc&&(n.minLoc=r.getUniformLocationNoThrow(o,"minVal"),n.maxLoc=r.getUniformLocationNoThrow(o,"maxVal")),r.gl.uniform1f(n.minLoc,t),r.gl.uniform1f(n.maxLoc,e)}},t}(),Ua=function(){function t(t){this.variableNames=["A"],this.packedInputs=!0,this.packedOutput=!0,this.outputShape=t,this.userCode="\n uniform float minVal;\n uniform float maxVal;\n\n void main() {\n vec4 value = getAAtOutCoords();\n\n if (any(isnan(value))) {\n setOutput(value);\n return;\n }\n\n setOutput(clamp(value, vec4(minVal), vec4(maxVal)));\n }\n "}return t.prototype.getCustomSetupFunc=function(t,e){var n=this;return function(r,o){null==n.minLoc&&(n.minLoc=r.getUniformLocationNoThrow(o,"minVal"),n.maxLoc=r.getUniformLocationNoThrow(o,"maxVal")),r.gl.uniform1f(n.minLoc,t),r.gl.uniform1f(n.maxLoc,e)}},t}(),Va=function(t){this.variableNames=["real","imag"],this.outputShape=t,this.userCode="\n void main() {\n float re = abs(getRealAtOutCoords());\n float im = abs(getImagAtOutCoords());\n float mx = max(re, im);\n\n // sadly the length function in glsl is not underflow-safe\n // (at least not on Intel GPUs). So the safe solution is\n // to ensure underflow-safety in all cases.\n setOutput(\n mx == 0.0 ? 0.0 : mx * length(vec2(1, min(re, im)/mx))\n );\n }\n "},za=function(t){this.outputShape=[],this.outputShape=Sn(t,1),this.variableNames=t.map((function(t,e){return"T"+e}));var e=new Array(t.length-1);e[0]=t[0][1];for(var n=1;n= "+s[u-1]+") {\n return getChannel(\n getT"+u+"("+Ha(i,c,d)+"),\n vec2("+Ha(l,c,d)+"));\n }"}var p=s.length,v=s[s.length-1];f+="\n return getChannel(\n getT"+p+"("+Ha(i,c,v)+"),\n vec2("+Ha(l,c,v)+"));",this.userCode="\n float getValue("+i.map((function(t){return"int "+t}))+") {\n "+f+"\n }\n\n void main() {\n "+o+" coords = getOutputCoords();\n vec4 result = vec4(getValue("+a+"), 0., 0., 0.);\n\n "+a[r-1]+" = "+a[r-1]+" + 1;\n if ("+a[r-1]+" < "+n[r-1]+") {\n result.g = getValue("+a+");\n }\n\n "+a[r-2]+" = "+a[r-2]+" + 1;\n if ("+a[r-2]+" < "+n[r-2]+") {\n result.a = getValue("+a+");\n }\n\n "+a[r-1]+" = "+a[r-1]+" - 1;\n if ("+a[r-2]+" < "+n[r-2]+" &&\n "+a[r-1]+" < "+n[r-1]+") {\n result.b = getValue("+a+");\n }\n setOutput(result);\n }\n "};function Ha(t,e,n){var r=t.indexOf(e);return t.map((function(t,e){return e===r?t+" - "+n:t})).join()}var qa=function(t){this.variableNames=["x","dy"],this.outputShape=t.filterShape;var e=t.strideHeight,n=t.strideWidth,r=t.padInfo.top,o=t.padInfo.left,a="channelsLast"===t.dataFormat;this.userCode="\n void main() {\n ivec4 coords = getOutputCoords();\n int wR = coords.x;\n int wC = coords.y;\n int d1 = coords.z;\n int d2 = coords.w;\n\n // Convolve x(?, ?, d1) with dy(:, :, d2) to get dw(wR, wC, d1, d2).\n // ? = to be determined. : = across all values in that axis.\n float dotProd = 0.0;\n\n for (int b = 0; b < "+t.batchSize+"; b++) {\n for (int yR = 0; yR < "+t.outHeight+"; yR++) {\n int xR = wR + yR * "+e+" - "+r+";\n\n if (xR < 0 || xR >= "+t.inHeight+") {\n continue;\n }\n\n for (int yC = 0; yC < "+t.outWidth+"; yC++) {\n int xC = wC + yC * "+n+" - "+o+";\n\n if (xC < 0 || xC >= "+t.inWidth+") {\n continue;\n }\n\n if ("+a+") {\n float dyValue = getDy(b, yR, yC, d2);\n float xValue = getX(b, xR, xC, d1);\n dotProd += (xValue * dyValue);\n } else {\n float dyValue = getDy(b, d2, yR, yC);\n float xValue = getX(b, d1, xR, xC);\n dotProd += (xValue * dyValue);\n }\n\n }\n }\n }\n setOutput(dotProd);\n }\n "},Ka=function(t){this.variableNames=["dy","W"],this.outputShape=t.inShape;var e=t.filterHeight,n=t.filterWidth,r=t.strideHeight,o=t.strideWidth,a="channelsLast"===t.dataFormat,i=e-1-t.padInfo.top,s=n-1-t.padInfo.left,u=a?1:2,c=a?2:3,l=a?3:1;this.userCode="\n const ivec2 pads = ivec2("+i+", "+s+");\n\n void main() {\n ivec4 coords = getOutputCoords();\n int batch = coords[0];\n int d1 = coords["+l+"];\n\n ivec2 dyCorner = ivec2(coords["+u+"], coords["+c+"]) - pads;\n int dyRCorner = dyCorner.x;\n int dyCCorner = dyCorner.y;\n\n // Convolve dy(?, ?, d2) with w(:, :, d1, d2) to compute dx(xR, xC, d1).\n // ? = to be determined. : = across all values in that axis.\n float dotProd = 0.0;\n for (int wR = 0; wR < "+e+"; wR++) {\n float dyR = float(dyRCorner + wR) / "+r+".0;\n\n if (dyR < 0.0 || dyR >= "+t.outHeight+".0 || fract(dyR) > 0.0) {\n continue;\n }\n int idyR = int(dyR);\n\n int wRPerm = "+e+" - 1 - wR;\n\n for (int wC = 0; wC < "+n+"; wC++) {\n float dyC = float(dyCCorner + wC) / "+o+".0;\n\n if (dyC < 0.0 || dyC >= "+t.outWidth+".0 ||\n fract(dyC) > 0.0) {\n continue;\n }\n int idyC = int(dyC);\n\n int wCPerm = "+n+" - 1 - wC;\n\n for (int d2 = 0; d2 < "+t.outChannels+"; d2++) {\n\n if ("+a+") {\n float xValue = getDy(batch, idyR, idyC, d2);\n float wValue = getW(wRPerm, wCPerm, d1, d2);\n dotProd += xValue * wValue;\n } else {\n float xValue = getDy(batch, d2, idyR, idyC);\n float wValue = getW(wRPerm, wCPerm, d1, d2);\n dotProd += xValue * wValue;\n }\n\n }\n }\n }\n setOutput(dotProd);\n }\n "},ja=function(t){this.variableNames=["x","dy"],this.outputShape=t.filterShape;var e=t.strideDepth,n=t.strideHeight,r=t.strideWidth,o=t.padInfo.front,a=t.padInfo.top,i=t.padInfo.left;this.userCode="\n void main() {\n ivec5 coords = getOutputCoords();\n int wF = coords.x;\n int wR = coords.y;\n int wC = coords.z;\n int d1 = coords.w;\n int d2 = coords.u;\n\n float dotProd = 0.0;\n\n for (int b = 0; b < "+t.batchSize+"; b++) {\n for (int yF = 0; yF < "+t.outDepth+"; yF++) {\n int xF = wF + yF * "+e+" - "+o+";\n\n if (xF < 0 || xF >= "+t.inDepth+") {\n continue;\n }\n\n for (int yR = 0; yR < "+t.outHeight+"; yR++) {\n int xR = wR + yR * "+n+" - "+a+";\n\n if (xR < 0 || xR >= "+t.inHeight+") {\n continue;\n }\n\n for (int yC = 0; yC < "+t.outWidth+"; yC++) {\n int xC = wC + yC * "+r+" - "+i+";\n\n if (xC < 0 || xC >= "+t.inWidth+") {\n continue;\n }\n\n float dyValue = getDy(b, yF, yR, yC, d2);\n float xValue = getX(b, xF, xR, xC, d1);\n dotProd += (xValue * dyValue);\n }\n }\n }\n }\n setOutput(dotProd);\n }\n "},Xa=function(t){this.variableNames=["dy","W"],this.outputShape=t.inShape;var e=t.filterDepth,n=t.filterHeight,r=t.filterWidth,o=t.strideDepth,a=t.strideHeight,i=t.strideWidth,s=e-1-t.padInfo.front,u=n-1-t.padInfo.top,c=r-1-t.padInfo.left;this.userCode="\n const ivec3 pads = ivec3("+s+", "+u+", "+c+");\n\n void main() {\n ivec5 coords = getOutputCoords();\n int batch = coords.x;\n int d1 = coords.u;\n\n\n ivec3 dyCorner = ivec3(coords.y, coords.z, coords.w) - pads;\n int dyFCorner = dyCorner.x;\n int dyRCorner = dyCorner.y;\n int dyCCorner = dyCorner.z;\n\n float dotProd = 0.0;\n for (int wF = 0; wF < "+e+"; wF++) {\n float dyF = float(dyFCorner + wF) / "+o+".0;\n\n if (dyF < 0.0 || dyF >= "+t.outDepth+".0 || fract(dyF) > 0.0) {\n continue;\n }\n int idyF = int(dyF);\n\n int wFPerm = "+e+" - 1 - wF;\n\n for (int wR = 0; wR < "+n+"; wR++) {\n float dyR = float(dyRCorner + wR) / "+a+".0;\n\n if (dyR < 0.0 || dyR >= "+t.outHeight+".0 ||\n fract(dyR) > 0.0) {\n continue;\n }\n int idyR = int(dyR);\n\n int wRPerm = "+n+" - 1 - wR;\n\n for (int wC = 0; wC < "+r+"; wC++) {\n float dyC = float(dyCCorner + wC) / "+i+".0;\n\n if (dyC < 0.0 || dyC >= "+t.outWidth+".0 ||\n fract(dyC) > 0.0) {\n continue;\n }\n int idyC = int(dyC);\n\n int wCPerm = "+r+" - 1 - wC;\n\n for (int d2 = 0; d2 < "+t.outChannels+"; d2++) {\n float xValue = getDy(batch, idyF, idyR, idyC, d2);\n float wValue = getW(wFPerm, wRPerm, wCPerm, d1, d2);\n dotProd += xValue * wValue;\n }\n }\n }\n }\n setOutput(dotProd);\n }\n "},Ya=function(t){this.variableNames=["x","dy"],this.outputShape=t.filterShape;var e=t.strideHeight,n=t.strideWidth,r=t.padInfo.top,o=t.padInfo.left,a=t.outChannels/t.inChannels;this.userCode="\n void main() {\n ivec4 coords = getOutputCoords();\n int wR = coords.x;\n int wC = coords.y;\n int d1 = coords.z;\n int dm = coords.w;\n int d2 = d1 * "+a+" + dm;\n\n float dotProd = 0.0;\n\n // TO DO: Vec4 over the batch size\n for (int b = 0; b < "+t.batchSize+"; b++) {\n for (int yR = 0; yR < "+t.outHeight+"; yR++) {\n int xR = wR + yR * "+e+" - "+r+";\n\n if (xR < 0 || xR >= "+t.inHeight+") {\n continue;\n }\n\n for (int yC = 0; yC < "+t.outWidth+"; yC++) {\n int xC = wC + yC * "+n+" - "+o+";\n\n if (xC < 0 || xC >= "+t.inWidth+") {\n continue;\n }\n\n float dyValue = getDy(b, yR, yC, d2);\n float xValue = getX(b, xR, xC, d1);\n dotProd += (xValue * dyValue);\n }\n }\n }\n setOutput(dotProd);\n }\n "},$a=function(t){this.variableNames=["dy","W"],this.outputShape=t.inShape;var e=t.filterHeight,n=t.filterWidth,r=t.strideHeight,o=t.strideWidth,a=e-1-t.padInfo.top,i=n-1-t.padInfo.left,s=t.outChannels/t.inChannels;this.userCode="\n const ivec2 pads = ivec2("+a+", "+i+");\n\n void main() {\n ivec4 coords = getOutputCoords();\n int batch = coords[0];\n int d1 = coords[3];\n ivec2 dyCorner = coords.yz - pads;\n int dyRCorner = dyCorner.x;\n int dyCCorner = dyCorner.y;\n\n float dotProd = 0.0;\n\n for (int wR = 0; wR < "+e+"; wR++) {\n float dyR = float(dyRCorner + wR) / "+r+".0;\n\n if (dyR < 0.0 || dyR >= "+t.outHeight+".0 || fract(dyR) > 0.0) {\n continue;\n }\n int idyR = int(dyR);\n\n int wRPerm = "+e+" - 1 - wR;\n\n for (int wC = 0; wC < "+n+"; wC++) {\n float dyC = float(dyCCorner + wC) / "+o+".0;\n\n if (dyC < 0.0 || dyC >= "+t.outWidth+".0 ||\n fract(dyC) > 0.0) {\n continue;\n }\n int idyC = int(dyC);\n\n int wCPerm = "+n+" - 1 - wC;\n\n // TO DO: Vec4 over the channelMul\n for (int dm = 0; dm < "+s+"; dm++) {\n int d2 = d1 * "+s+" + dm;\n float xValue = getDy(batch, idyR, idyC, d2);\n float wValue = getW(wRPerm, wCPerm, d1, dm);\n dotProd += xValue * wValue;\n }\n }\n }\n setOutput(dotProd);\n }\n "},Qa=function(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n=null),void 0===r&&(r=!1),this.variableNames=["x","W"],this.outputShape=t.outShape;var o=t.padInfo.top,a=t.padInfo.left,i=t.strideHeight,s=t.strideWidth,u=t.dilationHeight,c=t.dilationWidth,l=t.filterHeight,h=t.filterWidth,f=4*Math.floor(t.inChannels/4),d=t.inChannels%4,p="channelsLast"===t.dataFormat,v=p?1:2,m=p?2:3,g=p?3:1,y="",x="";n&&(y=r?"float activation(float a) {\n float b = getPreluActivationWeightsAtOutCoords();\n "+n+"\n }":"\n float activation(float x) {\n "+n+"\n }\n ",x="result = activation(result);");var b=e?"result += getBiasAtOutCoords();":"";e&&this.variableNames.push("bias"),r&&this.variableNames.push("preluActivationWeights"),this.userCode="\n "+y+"\n\n const ivec2 strides = ivec2("+i+", "+s+");\n const ivec2 pads = ivec2("+o+", "+a+");\n\n void main() {\n ivec4 coords = getOutputCoords();\n int batch = coords[0];\n int d2 = coords["+g+"];\n\n ivec2 xRCCorner =\n ivec2(coords["+v+"], coords["+m+"]) * strides - pads;\n int xRCorner = xRCCorner.x;\n int xCCorner = xRCCorner.y;\n\n // Convolve x(?, ?, d1) with w(:, :, d1, d2) to get y(yR, yC, d2).\n // ? = to be determined. : = across all values in that axis.\n float dotProd = 0.0;\n for (int wR = 0; wR < "+l+"; wR++) {\n int xR = xRCorner + wR * "+u+";\n\n if (xR < 0 || xR >= "+t.inHeight+") {\n continue;\n }\n\n for (int wC = 0; wC < "+h+"; wC++) {\n int xC = xCCorner + wC * "+c+";\n\n if (xC < 0 || xC >= "+t.inWidth+") {\n continue;\n }\n\n for (int d1 = 0; d1 < "+f+"; d1 += 4) {\n vec4 wValues = vec4(\n getW(wR, wC, d1, d2),\n getW(wR, wC, d1 + 1, d2),\n getW(wR, wC, d1 + 2, d2),\n getW(wR, wC, d1 + 3, d2)\n );\n\n if ("+p+") {\n vec4 xValues = vec4(\n getX(batch, xR, xC, d1),\n getX(batch, xR, xC, d1 + 1),\n getX(batch, xR, xC, d1 + 2),\n getX(batch, xR, xC, d1 + 3)\n );\n dotProd += dot(xValues, wValues);\n } else {\n vec4 xValues = vec4(\n getX(batch, d1, xR, xC),\n getX(batch, d1 + 1, xR, xC),\n getX(batch, d1 + 2, xR, xC),\n getX(batch, d1 + 3, xR, xC)\n );\n dotProd += dot(xValues, wValues);\n }\n }\n\n if ("+(1===d)+") {\n\n if ("+p+") {\n dotProd +=\n getX(batch, xR, xC, "+f+") *\n getW(wR, wC, "+f+", d2);\n } else {\n dotProd +=\n getX(batch, "+f+", xR, xC) *\n getW(wR, wC, "+f+", d2);\n }\n\n } else if ("+(2===d)+") {\n vec2 wValues = vec2(\n getW(wR, wC, "+f+", d2),\n getW(wR, wC, "+f+" + 1, d2)\n );\n\n if ("+p+") {\n vec2 xValues = vec2(\n getX(batch, xR, xC, "+f+"),\n getX(batch, xR, xC, "+f+" + 1)\n );\n dotProd += dot(xValues, wValues);\n } else {\n vec2 xValues = vec2(\n getX(batch, "+f+", xR, xC),\n getX(batch, "+f+" + 1, xR, xC)\n );\n dotProd += dot(xValues, wValues);\n }\n\n } else if ("+(3===d)+") {\n vec3 wValues = vec3(\n getW(wR, wC, "+f+", d2),\n getW(wR, wC, "+f+" + 1, d2),\n getW(wR, wC, "+f+" + 2, d2)\n );\n\n if ("+p+") {\n vec3 xValues = vec3(\n getX(batch, xR, xC, "+f+"),\n getX(batch, xR, xC, "+f+" + 1),\n getX(batch, xR, xC, "+f+" + 2)\n );\n dotProd += dot(xValues, wValues);\n } else {\n vec3 xValues = vec3(\n getX(batch, "+f+", xR, xC),\n getX(batch, "+f+" + 1, xR, xC),\n getX(batch, "+f+" + 2, xR, xC)\n );\n dotProd += dot(xValues, wValues);\n }\n\n }\n }\n }\n\n float result = dotProd;\n "+b+"\n "+x+"\n setOutput(result);\n }\n "},Ja=function(t){this.variableNames=["x","W"],this.outputShape=t.outShape;var e=t.padInfo.front,n=t.padInfo.top,r=t.padInfo.left,o=t.strideDepth,a=t.strideHeight,i=t.strideWidth,s=t.dilationDepth,u=t.dilationHeight,c=t.dilationWidth,l=t.filterDepth,h=t.filterHeight,f=t.filterWidth,d=4*Math.floor(t.inChannels/4),p=t.inChannels%4;this.userCode="\n const ivec3 strides = ivec3("+o+", "+a+", "+i+");\n const ivec3 pads = ivec3("+e+", "+n+", "+r+");\n\n void main() {\n ivec5 coords = getOutputCoords();\n int batch = coords.x;\n int d2 = coords.u;\n\n ivec3 xFRCCorner = ivec3(coords.y, coords.z, coords.w) * strides - pads;\n int xFCorner = xFRCCorner.x;\n int xRCorner = xFRCCorner.y;\n int xCCorner = xFRCCorner.z;\n\n // Convolve x(?, ?, ?, d1) with w(:, :, :, d1, d2) to get\n // y(yF, yR, yC, d2). ? = to be determined. : = across all\n // values in that axis.\n float dotProd = 0.0;\n for (int wF = 0; wF < "+l+"; wF++) {\n int xF = xFCorner + wF * "+s+";\n\n if (xF < 0 || xF >= "+t.inDepth+") {\n continue;\n }\n\n for (int wR = 0; wR < "+h+"; wR++) {\n int xR = xRCorner + wR * "+u+";\n\n if (xR < 0 || xR >= "+t.inHeight+") {\n continue;\n }\n\n for (int wC = 0; wC < "+f+"; wC++) {\n int xC = xCCorner + wC * "+c+";\n\n if (xC < 0 || xC >= "+t.inWidth+") {\n continue;\n }\n\n for (int d1 = 0; d1 < "+d+"; d1 += 4) {\n vec4 xValues = vec4(\n getX(batch, xF, xR, xC, d1),\n getX(batch, xF, xR, xC, d1 + 1),\n getX(batch, xF, xR, xC, d1 + 2),\n getX(batch, xF, xR, xC, d1 + 3)\n );\n vec4 wValues = vec4(\n getW(wF, wR, wC, d1, d2),\n getW(wF, wR, wC, d1 + 1, d2),\n getW(wF, wR, wC, d1 + 2, d2),\n getW(wF, wR, wC, d1 + 3, d2)\n );\n\n dotProd += dot(xValues, wValues);\n }\n\n if ("+(1===p)+") {\n dotProd +=\n getX(batch, xF, xR, xC, "+d+") *\n getW(wF, wR, wC, "+d+", d2);\n } else if ("+(2===p)+") {\n vec2 xValues = vec2(\n getX(batch, xF, xR, xC, "+d+"),\n getX(batch, xF, xR, xC, "+d+" + 1)\n );\n vec2 wValues = vec2(\n getW(wF, wR, wC, "+d+", d2),\n getW(wF, wR, wC, "+d+" + 1, d2)\n );\n dotProd += dot(xValues, wValues);\n } else if ("+(3===p)+") {\n vec3 xValues = vec3(\n getX(batch, xF, xR, xC, "+d+"),\n getX(batch, xF, xR, xC, "+d+" + 1),\n getX(batch, xF, xR, xC, "+d+" + 2)\n );\n vec3 wValues = vec3(\n getW(wF, wR, wC, "+d+", d2),\n getW(wF, wR, wC, "+d+" + 1, d2),\n getW(wF, wR, wC, "+d+" + 2, d2)\n );\n dotProd += dot(xValues, wValues);\n }\n }\n }\n }\n setOutput(dotProd);\n }\n "},Za=function(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n=null),void 0===r&&(r=!1),this.variableNames=["x","W"],this.outputShape=t.outShape;var o=t.inHeight,a=t.inWidth,i=t.padInfo.top,s=t.padInfo.left,u=t.strideHeight,c=t.strideWidth,l=t.dilationHeight,h=t.dilationWidth,f=t.filterHeight,d=t.filterWidth,p=t.outChannels/t.inChannels,v="",m="";n&&(v=r?"float activation(float a) {\n float b = getPreluActivationWeightsAtOutCoords();\n "+n+"\n }":"\n float activation(float x) {\n "+n+"\n }\n ",m="result = activation(result);");var g=e?"result += getBiasAtOutCoords();":"";e&&this.variableNames.push("bias"),r&&this.variableNames.push("preluActivationWeights"),this.userCode="\n "+v+"\n\n const ivec2 strides = ivec2("+u+", "+c+");\n const ivec2 pads = ivec2("+i+", "+s+");\n\n void main() {\n ivec4 coords = getOutputCoords();\n int batch = coords.x;\n ivec2 xRCCorner = coords.yz * strides - pads;\n int d2 = coords.w;\n int d1 = d2 / "+p+";\n int q = d2 - d1 * "+p+";\n\n int xRCorner = xRCCorner.x;\n int xCCorner = xRCCorner.y;\n\n // Convolve x(?, ?, d1) with w(:, :, d1, q) to get y(yR, yC, d2).\n // ? = to be determined. : = across all values in that axis.\n float dotProd = 0.0;\n // TO DO(dsmilkov): Flatten the two for loops and vec4 the operations.\n for (int wR = 0; wR < "+f+"; wR++) {\n int xR = xRCorner + wR * "+l+";\n\n if (xR < 0 || xR >= "+o+") {\n continue;\n }\n\n for (int wC = 0; wC < "+d+"; wC++) {\n int xC = xCCorner + wC * "+h+";\n\n if (xC < 0 || xC >= "+a+") {\n continue;\n }\n\n float xVal = getX(batch, xR, xC, d1);\n float wVal = getW(wR, wC, d1, q);\n dotProd += xVal * wVal;\n }\n }\n\n float result = dotProd;\n "+g+"\n "+m+"\n setOutput(result);\n }\n "},ti=function(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n=null),void 0===r&&(r=!1),this.variableNames=["x","W"],this.packedInputs=!0,this.packedOutput=!0,this.outputShape=t.outShape;for(var o=t.inHeight,a=t.inWidth,i=t.padInfo.top,s=t.padInfo.left,u=t.strideHeight,c=t.strideWidth,l=t.dilationHeight,h=t.dilationWidth,f=t.filterHeight,d=t.filterWidth,p=d,v="int xR; int xC; int xCOffset;",m=0;m= 0 && xR < "+o+" && xCOffset >= 0 && xCOffset < "+a+") {\n xTexelR"+m+"C"+g+" = getX(batch, xR, xCOffset, d1);\n\n // Need to manually clear unused channels in case\n // we're reading from recycled texture.\n if(xCOffset + 1 >= "+a+") {\n xTexelR"+m+"C"+g+".zw = vec2(0.);\n }\n } else {\n xTexelR"+m+"C"+g+" = vec4(0.);\n }\n\n xCOffset = xC + 1 - 2;\n if(xR >= 0 && xR < "+o+" && xCOffset >= 0 && xCOffset < "+a+") {\n vec4 previous = getX(batch, xR, xCOffset, d1);\n\n // Need to manually clear unused channels in case\n // we're reading from recycled texture.\n if(xCOffset + 1 >= "+a+") {\n previous.zw = vec2(0.);\n }\n\n xR"+m+"C"+g+" = vec4(previous.zw, xTexelR"+m+"C"+g+".xy);\n } else {\n xR"+m+"C"+g+" = vec4(0, 0, xTexelR"+m+"C"+g+".xy);\n }\n ":"\n if(xR >= 0 && xR < "+o+" && xC >= 0 && xC < "+a+") {\n xTexelR"+m+"C"+g+" = getX(batch, xR, xC, d1);\n } else {\n xTexelR"+m+"C"+g+" = vec4(0.);\n }\n\n xR"+m+"C"+g+" = xTexelR"+m+"C"+g+";\n ",g+1= 0 && xR < "+o+" &&\n xCOffset >= 0 && xCOffset < "+a+") {\n xTexelR"+m+"C"+(g+2)+" = getX(batch, xR, xCOffset, d1);\n }\n ",h>1&&(v+="\n xCOffset -= 2;\n if(xR >= 0 && xR < "+o+" &&\n xCOffset >= 0 && xCOffset < "+a+") {\n xTexelR"+m+"C"+g+" = getX(batch, xR, xCOffset, d1);\n } else {\n xTexelR"+m+"C"+g+" = vec4(0.);\n }\n "),v+="\n xR"+m+"C"+(g+1)+" = vec4(\n xTexelR"+m+"C"+g+".zw, xTexelR"+m+"C"+(g+2)+".xy);\n "):v+="\n xCOffset = xC + "+x+";\n\n if(xR >= 0 && xR < "+o+" &&\n xCOffset >= 0 && xCOffset < "+a+") {\n xTexelR"+m+"C"+(g+2)+" = getX(batch, xR, xCOffset, d1);\n }\n\n xR"+m+"C"+(g+1)+" = xTexelR"+m+"C"+(g+2)+";\n "}}else g= 0 && xR < "+o+") {\n ",s%2==1?(v+="\n xCOffset = xC + 1 - "+c+";\n if(xCOffset >= 0 && xCOffset < "+a+") {\n xTexelR"+m+"C"+g+" = getX(batch, xR, xCOffset, d1);\n } else {\n xTexelR"+m+"C"+g+" = vec4(0.);\n }\n\n if(xC + 1 >= 0 && xC + 1 < "+a+") {\n xTexelR"+m+"C"+(g+2)+" = getX(batch, xR, xC + 1, d1);\n } else {\n xTexelR"+m+"C"+(g+2)+" = vec4(0.);\n }\n\n xR"+m+"C"+g+" = vec4(\n xTexelR"+m+"C"+g+".zw, xTexelR"+m+"C"+(g+2)+".zw);\n ",g+1= 0 && xCOffset < "+a+") {\n final = getX(batch, xR, xCOffset, d1);\n }\n xR"+m+"C"+(g+1)+" = vec4(xTexelR"+m+"C"+(g+2)+".xy, final.xy);\n ")):(v+="\n if(xC >= 0 && xC < "+a+") {\n xTexelR"+m+"C"+g+" = getX(batch, xR, xC, d1);\n } else {\n xTexelR"+m+"C"+g+" = vec4(0.);\n }\n\n xCOffset = xC + "+c+";\n if(xCOffset >= 0 && xCOffset < "+a+") {\n xTexelR"+m+"C"+(g+2)+" = getX(batch, xR, xCOffset, d1);\n } else {\n xTexelR"+m+"C"+(g+2)+" = vec4(0.);\n }\n\n xR"+m+"C"+g+" = vec4(\n xTexelR"+m+"C"+g+".xy, xTexelR"+m+"C"+(g+2)+".xy);\n ",g+11?[""+(i-1)/(l-1),"(y2-y1) * height_ratio","y1*"+p+" + float(y)*(height_scale)"]:["0.0","0.0","0.5 * (y1+y2) * "+p],g=m[0],y=m[1],x=m[2],b=h>1?[""+(s-1)/(h-1),"(x2-x1) * width_ratio","x1*"+v+" + float(x)*(width_scale)"]:["0.0","0.0","0.5 * (x1+x2) * "+v],w=b[0],C=b[1],E=b[2];this.userCode="\n const float height_ratio = float("+g+");\n const float width_ratio = float("+w+");\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int y = coords[1];\n int x = coords[2];\n int d = coords[3];\n\n // get box vals\n float y1 = getBoxes(b,0);\n float x1 = getBoxes(b,1);\n float y2 = getBoxes(b,2);\n float x2 = getBoxes(b,3);\n\n // get image in batch index\n int bInd = round(getBoxInd(b));\n if(bInd < 0 || bInd >= "+a+") {\n return;\n }\n\n float height_scale = "+y+";\n float width_scale = "+C+";\n\n float in_y = "+x+";\n if( in_y < 0.0 || in_y > "+p+" ) {\n setOutput(float("+o+"));\n return;\n }\n float in_x = "+E+";\n if( in_x < 0.0 || in_x > "+v+" ) {\n setOutput(float("+o+"));\n return;\n }\n\n vec2 sourceFracIndexCR = vec2(in_x,in_y);\n if("+f+" == 1) {\n // Compute the four integer indices.\n ivec2 sourceFloorCR = ivec2(sourceFracIndexCR);\n ivec2 sourceCeilCR = ivec2(ceil(sourceFracIndexCR));\n\n float topLeft = getImage(b, sourceFloorCR.y, sourceFloorCR.x, d);\n float bottomLeft = getImage(b, sourceCeilCR.y, sourceFloorCR.x, d);\n float topRight = getImage(b, sourceFloorCR.y, sourceCeilCR.x, d);\n float bottomRight = getImage(b, sourceCeilCR.y, sourceCeilCR.x, d);\n\n vec2 fracCR = sourceFracIndexCR - vec2(sourceFloorCR);\n\n float top = topLeft + (topRight - topLeft) * fracCR.x;\n float bottom = bottomLeft + (bottomRight - bottomLeft) * fracCR.x;\n float newValue = top + (bottom - top) * fracCR.y;\n setOutput(newValue);\n } else {\n // Compute the coordinators of nearest neighbor point.\n ivec2 sourceNearestCR = ivec2(floor(\n sourceFracIndexCR + vec2(0.5,0.5)));\n float newValue = getImage(b, sourceNearestCR.y, sourceNearestCR.x, d);\n setOutput(newValue);\n }\n }\n "},ni=function(t,e,n){this.variableNames=["x"],this.outputShape=t;var r=t.length,o=t[t.length-1],a=n?"<":">";this.userCode="\n int getIndex(int i) {\n "+(n?"return "+o+" -i - 1;":"return i;")+"\n }\n\n void main() {\n "+wa(r)+" coords = getOutputCoords();\n int end = "+ri(r,"coords")+";\n float val = 0.0;\n for (int i = "+o+" - 1; i >= 0; i -= 1) {\n int idx = getIndex(i);\n if (idx "+a+" end) {\n continue;\n }\n if (idx == end && "+e+") {\n continue;\n }\n "+ri(r,"coords")+" = idx;\n val += getX("+function(t,e){if(1===t)return""+e;if(2===t)return e+".x, "+e+".y";if(3===t)return e+".x, "+e+".y, "+e+".z";if(4===t)return e+".x, "+e+".y, "+e+".z, "+e+".w";throw Error("Cumulative sum for rank "+t+" is not yet supported")}(r,"coords")+");\n }\n setOutput(val);\n }\n "};function ri(t,e){if(1===t)return""+e;if(2===t)return e+".y";if(3===t)return e+".z";if(4===t)return e+".w";throw Error("Cumulative sum for rank "+t+" is not yet supported")}var oi=function(t){this.variableNames=["A"],this.packedInputs=!1,this.packedOutput=!0,this.outPackingScheme=Vt.DENSE;var e=Yt(t),n=ua();this.outputShape=t,this.userCode="\n ivec3 outCoordsFromFlatIndex(int index) {\n "+ca(["r","c","d"],t)+"\n return ivec3(r, c, d);\n }\n\n void main() {\n ivec2 resTexRC = ivec2(resultUV.yx *\n vec2("+e[0]+", "+e[1]+"));\n int index = 4 * (resTexRC.x * "+e[1]+" + resTexRC.y);\n\n vec4 result = vec4(0.);\n\n for (int i=0; i<4; i++) {\n int flatIndex = index + i;\n ivec3 rc = outCoordsFromFlatIndex(flatIndex);\n result[i] = getA(rc.x, rc.y, rc.z);\n }\n\n "+n.output+" = result;\n }\n "},ai=function(t){this.variableNames=["A"],this.packedInputs=!0,this.packedOutput=!0,this.outPackingScheme=Vt.DENSE;var e=Yt(t),n=ua();this.outputShape=t,this.userCode="\n ivec3 outCoordsFromFlatIndex(int index) {\n "+ca(["r","c","d"],t)+"\n return ivec3(r, c, d);\n }\n\n void main() {\n ivec2 resTexRC = ivec2(resultUV.yx *\n vec2("+e[0]+", "+e[1]+"));\n int index = 4 * (resTexRC.x * "+e[1]+" + resTexRC.y);\n\n vec4 result = vec4(0.);\n\n for (int i=0; i<4; i++) {\n int flatIndex = index + i;\n ivec3 rc = outCoordsFromFlatIndex(flatIndex);\n result[i] = getChannel(getA(rc.x, rc.y, rc.z), vec2(rc.y, rc.z));\n }\n\n "+n.output+" = result;\n }\n "},ii=function(){function t(t,e,n){this.variableNames=["x"],this.outputShape=[],this.outputShape=t,this.blockSize=e,this.dataFormat=n,this.userCode="\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int h = "+this.getHeightCoordString()+";\n int w = "+this.getWidthCoordString()+";\n int d = "+this.getDepthCoordString()+";\n\n int in_h = h / "+e+";\n int offset_h = imod(h, "+e+");\n int in_w = w / "+e+";\n int offset_w = imod(w, "+e+");\n int offset_d = (offset_h * "+e+" + offset_w) *\n "+this.getOutputDepthSize()+";\n int in_d = d + offset_d;\n\n float result = "+this.getInputSamplingString()+";\n setOutput(result);\n }\n "}return t.prototype.getHeightCoordString=function(){return"NHWC"===this.dataFormat?"coords[1]":"coords[2]"},t.prototype.getWidthCoordString=function(){return"NHWC"===this.dataFormat?"coords[2]":"coords[3]"},t.prototype.getDepthCoordString=function(){return"NHWC"===this.dataFormat?"coords[3]":"coords[1]"},t.prototype.getOutputDepthSize=function(){return"NHWC"===this.dataFormat?this.outputShape[3]:this.outputShape[1]},t.prototype.getInputSamplingString=function(){return"NHWC"===this.dataFormat?"getX(b, in_h, in_w, in_d)":"getX(b, in_d, in_h, in_w)"},t}(),si=function(t){this.variableNames=["X"],this.outputShape=[t,t],this.userCode="\n void main() {\n ivec2 coords = getOutputCoords();\n float val = coords[0] == coords[1] ? getX(coords[0]) : 0.0;\n setOutput(val);\n }\n "},ui=function(t){this.variableNames=["A"],this.outTexUsage=zt.DOWNLOAD;var e=ua();this.outputShape=t,this.userCode="\n "+ha+"\n\n void main() {\n float x = getAAtOutCoords();\n "+e.output+" = encode_float(x);\n }\n "},ci=function(t){this.variableNames=["A"],this.packedInputs=!0,this.packedOutput=!1,this.outTexUsage=zt.DOWNLOAD;var e=ua();this.outputShape=t,this.userCode="\n "+ha+"\n\n void main() {\n ivec3 coords = getOutputCoords();\n float x = getChannel(getAAtOutCoords(), vec2(coords.y, coords.z));\n "+e.output+" = encode_float(x);\n }\n "},li=function(t,e,n){void 0===n&&(n=!1),this.variableNames=["A"];var r=ua(),o=e[0],a=e[1];this.outputShape=t;var i="result";n&&(i="floor(result * 255. + 0.5)"),this.userCode="\n "+la(t)+"\n\n void main() {\n ivec3 coords = getOutputCoords();\n\n int flatIndex = getFlatIndex(coords);\n int offset = imod(flatIndex, 4);\n\n flatIndex = idiv(flatIndex, 4, 1.);\n \n int r = flatIndex / "+a+";\n int c = imod(flatIndex, "+a+");\n vec2 uv = (vec2(c, r) + halfCR) / vec2("+a+".0, "+o+".0);\n vec4 values = "+r.texture2D+"(A, uv);\n\n float result;\n\n if(offset == 0) {\n result = values[0];\n } else if(offset == 1) {\n result = values[1];\n } else if(offset == 2) {\n result = values[2];\n } else {\n result = values[3];\n }\n\n "+r.output+" = vec4("+i+", 0., 0., 0.);\n }\n "},hi=function(t,e,n){void 0===n&&(n=!1),this.variableNames=["A"],this.packedInputs=!1,this.packedOutput=!0;var r=ua(),o=e[0],a=e[1];this.outputShape=t;var i="",s="result";n&&(s="floor(result * 255. + 0.5)");for(var u=0;u<=1;u++)for(var c=0;c<=1;c++){var l=2*u+c;i+="\n localCoords = coords;\n if(localCoords[2] + "+c+" < "+t[2]+") {\n localCoords[2] += "+c+";\n if(localCoords[1] + "+u+" < "+t[1]+") {\n localCoords[1] += "+u+";\n\n flatIndex = getFlatIndex(localCoords);\n offset = imod(flatIndex, 4);\n\n flatIndex = idiv(flatIndex, 4, 1.);\n\n r = flatIndex / "+a+";\n c = imod(flatIndex, "+a+");\n uv = (vec2(c, r) + halfCR) / vec2("+a+".0, "+o+".0);\n values = "+r.texture2D+"(A, uv);\n\n if(offset == 0) {\n result["+l+"] = values[0];\n } else if(offset == 1) {\n result["+l+"] = values[1];\n } else if(offset == 2) {\n result["+l+"] = values[2];\n } else {\n result["+l+"] = values[3];\n }\n }\n }\n "}this.userCode="\n "+la(t)+"\n\n void main() {\n ivec3 coords = getOutputCoords();\n\n vec4 result = vec4(0.);\n int flatIndex, r, c, offset;\n ivec3 localCoords;\n vec2 uv;\n vec4 values;\n\n "+i+"\n\n "+r.output+" = "+s+";\n }\n "},fi="return real * expR - imag * expI;",di="return real * expI + imag * expR;",pi=function(t,e,n){this.variableNames=["real","imag"];var r=e[1];this.outputShape=e;var o=n?"2.0 * "+Math.PI:"-2.0 * "+Math.PI,a=n?r+".0":"1.0";this.userCode="\n const float exponentMultiplier = "+o+";\n\n float unaryOpComplex(float real, float expR, float imag, float expI) {\n "+t+"\n }\n\n float mulMatDFT(int batch, int index) {\n float indexRatio = float(index) / float("+r+");\n float exponentMultiplierTimesIndexRatio =\n exponentMultiplier * indexRatio;\n\n float result = 0.0;\n\n for (int i = 0; i < "+r+"; i++) {\n // x = (-2|2 * PI / N) * index * i;\n float x = exponentMultiplierTimesIndexRatio * float(i);\n float expR = cos(x);\n float expI = sin(x);\n float real = getReal(batch, i);\n float imag = getImag(batch, i);\n\n result +=\n unaryOpComplex(real, expR, imag, expI) / "+a+";\n }\n\n return result;\n }\n\n void main() {\n ivec2 coords = getOutputCoords();\n setOutput(mulMatDFT(coords[0], coords[1]));\n }\n "},vi=function(){function t(t,e){this.outputShape=[],this.variableNames=["x"],this.outputShape=t,this.userCode="\n uniform float value;\n void main() {\n // Input can be obtained from uniform value.\n setOutput(value);\n }\n "}return t.prototype.getCustomSetupFunc=function(t){var e=this;return function(n,r){null==e.valueLoc&&(e.valueLoc=n.getUniformLocationNoThrow(r,"value")),n.gl.uniform1f(e.valueLoc,t)}},t}(),mi=function(t,e,n){this.variableNames=["A","indices"];var r=t.slice();r[n]=e,this.outputShape=r,this.rank=r.length;var o=wa(this.rank),a=function(t,e){var n=t.length;if(n>4)throw Error("Gather for rank "+n+" is not yet supported");if(1===n)return"int(getIndices(resRC))";for(var r=["resRC.x","resRC.y","resRC.z","resRC.w"],o=[],a=0;a1?"strides[j]":"strides";this.userCode="\n "+r+" strides = "+r+"("+this.strides+");\n void main() {\n "+o+" coords = getOutputCoords();\n int flattenIndex = 0;\n for (int j = 0; j < "+this.sliceDim+"; j++) {\n int index = round(getIndices(coords[0], j));\n flattenIndex += index * "+a+";\n }\n setOutput(getX(flattenIndex, coords[1]));\n }\n "};function yi(t,e){var n=ua();return oe(t,e,n.version+"\n precision highp float;\n "+n.attribute+" vec3 clipSpacePos;\n "+n.attribute+" vec2 uv;\n "+n.varyingVs+" vec2 resultUV;\n\n void main() {\n gl_Position = vec4(clipSpacePos, 1);\n resultUV = uv;\n }")}function xi(t,e){return fe(t,e,new Float32Array([-1,1,0,0,1,-1,-1,0,0,0,1,1,0,1,1,1,-1,0,1,0]))}function bi(t,e){return de(t,e,new Uint16Array([0,1,2,2,1,3]))}function wi(t,e,n,r,o,a,i){ve(n,r);var s=pe(t,e),u=t.TEXTURE_2D;return Jt(t,e,(function(){return t.bindTexture(u,s)})),Jt(t,e,(function(){return t.texParameteri(u,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE)})),Jt(t,e,(function(){return t.texParameteri(u,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE)})),Jt(t,e,(function(){return t.texParameteri(u,t.TEXTURE_MIN_FILTER,t.NEAREST)})),Jt(t,e,(function(){return t.texParameteri(u,t.TEXTURE_MAG_FILTER,t.NEAREST)})),Jt(t,e,(function(){return t.texImage2D(u,0,o,n,r,0,a,i,null)})),Jt(t,e,(function(){return t.bindTexture(t.TEXTURE_2D,null)})),s}function Ci(t,e,n,r,o){var a=Xt(n,r);return wi(t,e,a[0],a[1],o.internalFormatFloat,o.textureFormatFloat,t.FLOAT)}function Ei(t,e,n,r,o){var a=Xt(n,r);return wi(t,e,a[0],a[1],o.internalFormatHalfFloat,o.textureFormatFloat,o.textureTypeHalfFloat)}function Ri(t,e,n,r,o){var a=Xt(n,r);return wi(t,e,a[0],a[1],t.RGBA,t.RGBA,t.UNSIGNED_BYTE)}function Ii(t,e,n,r,o){var a=$t(n,r);return wi(t,e,a[0],a[1],o.internalFormatPackedFloat,t.RGBA,t.FLOAT)}function ki(t,e,n,r,o){var a=$t(n,r);return wi(t,e,a[0],a[1],o.internalFormatPackedHalfFloat,t.RGBA,o.textureTypeHalfFloat)}function Si(t,e,n,r){return Jt(t,e,(function(){return t.bindBuffer(t.ARRAY_BUFFER,r)})),ge(t,e,n,"clipSpacePos",r,3,20,0)&&ge(t,e,n,"uv",r,2,20,12)}function Ai(t,e,n,r,o,a,i){var s,u,c;Jt(t,e,(function(){return t.bindTexture(t.TEXTURE_2D,n)})),a instanceof Uint8Array?(s=new Uint8Array(r*o*4),u=t.UNSIGNED_BYTE,c=t.RGBA):(s=new Float32Array(r*o*4),u=t.FLOAT,c=i.internalFormatPackedFloat),s.set(a),Jt(t,e,(function(){return t.texImage2D(t.TEXTURE_2D,0,c,r,o,0,t.RGBA,u,s)})),Jt(t,e,(function(){return t.bindTexture(t.TEXTURE_2D,null)}))}function Di(t,e,n,r){Jt(t,e,(function(){return t.bindTexture(t.TEXTURE_2D,n)})),r.data instanceof Uint8Array?Jt(t,e,(function(){return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,r.width,r.height,0,t.RGBA,t.UNSIGNED_BYTE,r.data)})):Jt(t,e,(function(){return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,r)})),Jt(t,e,(function(){return t.bindTexture(t.TEXTURE_2D,null)}))}function Ti(t,e,n,r,o){var a=t.createBuffer();Jt(t,e,(function(){return t.bindBuffer(t.PIXEL_PACK_BUFFER,a)}));var i=16*n*r;return Jt(t,e,(function(){return t.bufferData(t.PIXEL_PACK_BUFFER,i,t.STREAM_READ)})),Jt(t,e,(function(){return t.readPixels(0,0,r,n,t.RGBA,t.FLOAT,0)})),Jt(t,e,(function(){return t.bindBuffer(t.PIXEL_PACK_BUFFER,null)})),a}function Ni(t,e,n){var r=t,o=new Float32Array(n);return r.bindBuffer(r.PIXEL_PACK_BUFFER,e),r.getBufferSubData(r.PIXEL_PACK_BUFFER,0,o),r.bindBuffer(r.PIXEL_PACK_BUFFER,null),o}function Fi(t,e,n,r,o){var a=Xt(n,r),i=a[0],s=a[1],u=new Uint8Array(n*r*4);return Jt(t,e,(function(){return t.readPixels(0,0,i,s,o.downloadTextureFormat,t.UNSIGNED_BYTE,u)})),new Float32Array(u.buffer)}function _i(t,e,n,r,o,a,i,s){var u=t,c=new Float32Array(function(t,e){var n=$t(t,e);return n[0]*n[1]*4}(a,i));return u.bindBuffer(u.PIXEL_PACK_BUFFER,e),u.getBufferSubData(u.PIXEL_PACK_BUFFER,0,c),u.bindBuffer(u.PIXEL_PACK_BUFFER,null),c}function Oi(t,e,n,r){var o=new Float32Array(n*r*4);return Jt(t,e,(function(){return t.readPixels(0,0,r,n,t.RGBA,t.FLOAT,o)})),o}var Mi=Object.freeze({createVertexShader:yi,createVertexBuffer:xi,createIndexBuffer:bi,createFloat32MatrixTexture:Ci,createFloat16MatrixTexture:Ei,createUnsignedBytesMatrixTexture:Ri,createPackedMatrixTexture:Ii,createFloat16PackedMatrixTexture:ki,bindVertexProgramAttributeStreams:Si,uploadDenseMatrixToTexture:Ai,uploadPixelDataToTexture:Di,createBufferFromOutputTexture:Ti,downloadFloat32MatrixFromBuffer:Ni,downloadByteEncodedFloatMatrixFromOutputTexture:Fi,downloadPackedMatrixFromBuffer:_i,downloadMatrixFromPackedOutputTexture:Oi}),Bi=function(){function t(t){this.outputTexture=null,this.program=null,this.disposed=!1,this.vertexAttrsAreBound=!1,this.itemsToPoll=[];var e=i().getNumber("WEBGL_VERSION");null!=t?(this.gl=t,Kt(e,t)):this.gl=jt(e);var n="WEBGL_color_buffer_float";if(1===i().getNumber("WEBGL_VERSION")){if(this.textureFloatExtension=re(this.gl,this.debug,"OES_texture_float"),Pe(this.gl,"OES_texture_half_float"))this.textureHalfFloatExtension=re(this.gl,this.debug,"OES_texture_half_float");else if(i().get("WEBGL_FORCE_F16_TEXTURES"))throw new Error("GL context does not support half float textures, yet the environment flag WEBGL_FORCE_F16_TEXTURES is set to true.");if(this.colorBufferFloatExtension=this.gl.getExtension(n),Pe(this.gl,"EXT_color_buffer_half_float"))this.colorBufferHalfFloatExtension=re(this.gl,this.debug,"EXT_color_buffer_half_float");else if(i().get("WEBGL_FORCE_F16_TEXTURES"))throw new Error("GL context does not support color renderable half floats, yet the environment flag WEBGL_FORCE_F16_TEXTURES is set to true.")}else if(n="EXT_color_buffer_float",Pe(this.gl,n))this.colorBufferFloatExtension=this.gl.getExtension(n);else{if(!Pe(this.gl,"EXT_color_buffer_half_float"))throw new Error("GL context does not support color renderable floats");this.colorBufferHalfFloatExtension=this.gl.getExtension("EXT_color_buffer_half_float")}this.vertexBuffer=xi(this.gl,this.debug),this.indexBuffer=bi(this.gl,this.debug),this.framebuffer=me(this.gl,this.debug),this.textureConfig=Qt(this.gl,this.textureHalfFloatExtension)}return Object.defineProperty(t.prototype,"debug",{get:function(){return i().getBool("DEBUG")},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){var t=this;if(!this.disposed){null!=this.program&&console.warn("Disposing a GPGPUContext that still has a bound WebGLProgram. This is probably a resource leak, delete the program with GPGPUContext.deleteProgram before disposing."),null!=this.outputTexture&&console.warn("Disposing a GPGPUContext that still has a bound output matrix texture. This is probably a resource leak, delete the output matrix texture with GPGPUContext.deleteMatrixTexture before disposing.");var e=this.gl;Jt(e,this.debug,(function(){return e.finish()})),Jt(e,this.debug,(function(){return e.bindFramebuffer(e.FRAMEBUFFER,null)})),Jt(e,this.debug,(function(){return e.deleteFramebuffer(t.framebuffer)})),Jt(e,this.debug,(function(){return e.bindBuffer(e.ARRAY_BUFFER,null)})),Jt(e,this.debug,(function(){return e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,null)})),Jt(e,this.debug,(function(){return e.deleteBuffer(t.indexBuffer)})),this.disposed=!0}},t.prototype.createFloat32MatrixTexture=function(t,e){return this.throwIfDisposed(),Ci(this.gl,this.debug,t,e,this.textureConfig)},t.prototype.createFloat16MatrixTexture=function(t,e){return this.throwIfDisposed(),Ei(this.gl,this.debug,t,e,this.textureConfig)},t.prototype.createUnsignedBytesMatrixTexture=function(t,e){return this.throwIfDisposed(),Ri(this.gl,this.debug,t,e,this.textureConfig)},t.prototype.uploadPixelDataToTexture=function(t,e){this.throwIfDisposed(),Di(this.gl,this.debug,t,e)},t.prototype.uploadDenseMatrixToTexture=function(t,e,n,r){this.throwIfDisposed(),Ai(this.gl,this.debug,t,e,n,r,this.textureConfig)},t.prototype.createFloat16PackedMatrixTexture=function(t,e){return this.throwIfDisposed(),ki(this.gl,this.debug,t,e,this.textureConfig)},t.prototype.createPackedMatrixTexture=function(t,e){return this.throwIfDisposed(),Ii(this.gl,this.debug,t,e,this.textureConfig)},t.prototype.deleteMatrixTexture=function(t){var e=this;this.throwIfDisposed(),this.outputTexture===t&&(Ee(this.gl,this.debug,this.framebuffer),this.outputTexture=null),Jt(this.gl,this.debug,(function(){return e.gl.deleteTexture(t)}))},t.prototype.downloadByteEncodedFloatMatrixFromOutputTexture=function(t,e,n){var r=this;return this.downloadMatrixDriver(t,(function(){return Fi(r.gl,r.debug,e,n,r.textureConfig)}))},t.prototype.downloadPackedMatrixFromBuffer=function(t,e,n,r,o,a){return _i(this.gl,t,0,0,0,o,a,this.textureConfig)},t.prototype.downloadFloat32MatrixFromBuffer=function(t,e){return Ni(this.gl,t,e)},t.prototype.createBufferFromTexture=function(t,e,n){this.bindTextureToFrameBuffer(t);var r=Ti(this.gl,this.debug,e,n,this.textureConfig);return this.unbindTextureToFrameBuffer(),r},t.prototype.createAndWaitForFence=function(){var t=this.createFence(this.gl);return this.pollFence(t)},t.prototype.createFence=function(t){var e,n,r=this;if(i().getBool("WEBGL_FENCE_API_ENABLED")){var o=t,a=o.fenceSync(o.SYNC_GPU_COMMANDS_COMPLETE,0);t.flush(),n=function(){var t=o.clientWaitSync(a,0,0);return t===o.ALREADY_SIGNALED||t===o.CONDITION_SATISFIED},e=a}else i().getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_VERSION")>0?(e=this.beginQuery(),this.endQuery(),n=function(){return r.isQueryAvailable(e,i().getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_VERSION"))}):n=function(){return!0};return{query:e,isFencePassed:n}},t.prototype.downloadMatrixFromPackedTexture=function(t,e,n){var r=this;return this.downloadMatrixDriver(t,(function(){return Oi(r.gl,r.debug,e,n)}))},t.prototype.createProgram=function(t){this.throwIfDisposed();var e=this.gl,n=ae(e,this.debug,t),r=yi(e,this.debug),o=ce(e,this.debug);return Jt(e,this.debug,(function(){return e.attachShader(o,r)})),Jt(e,this.debug,(function(){return e.attachShader(o,n)})),le(e,this.debug,o),this.debug&&he(e,this.debug,o),this.vertexAttrsAreBound||(this.setProgram(o),this.vertexAttrsAreBound=Si(e,this.debug,this.program,this.vertexBuffer)),o},t.prototype.deleteProgram=function(t){var e=this;this.throwIfDisposed(),t===this.program&&(this.program=null),null!=t&&Jt(this.gl,this.debug,(function(){return e.gl.deleteProgram(t)}))},t.prototype.setProgram=function(t){var e=this;this.throwIfDisposed(),this.program=t,null!=this.program&&this.debug&&he(this.gl,this.debug,this.program),Jt(this.gl,this.debug,(function(){return e.gl.useProgram(t)}))},t.prototype.getUniformLocation=function(t,e,n){return void 0===n&&(n=!0),this.throwIfDisposed(),n?xe(this.gl,this.debug,t,e):be(this.gl,t,e)},t.prototype.getAttributeLocation=function(t,e){var n=this;return this.throwIfDisposed(),Jt(this.gl,this.debug,(function(){return n.gl.getAttribLocation(t,e)}))},t.prototype.getUniformLocationNoThrow=function(t,e){return this.throwIfDisposed(),this.gl.getUniformLocation(t,e)},t.prototype.setInputMatrixTexture=function(t,e,n){this.throwIfDisposed(),this.throwIfNoProgram(),we(this.gl,this.debug,this.program,t,e,n)},t.prototype.setOutputMatrixTexture=function(t,e,n){this.setOutputMatrixTextureDriver(t,n,e)},t.prototype.setOutputPackedMatrixTexture=function(t,e,n){this.throwIfDisposed();var r=$t(e,n),o=r[0],a=r[1];this.setOutputMatrixTextureDriver(t,o,a)},t.prototype.setOutputMatrixWriteRegion=function(t,e,n,r){this.setOutputMatrixWriteRegionDriver(n,t,r,e)},t.prototype.setOutputPackedMatrixWriteRegion=function(t,e,n,r){throw new Error("setOutputPackedMatrixWriteRegion not implemented.")},t.prototype.debugValidate=function(){null!=this.program&&he(this.gl,this.debug,this.program),Re(this.gl)},t.prototype.executeProgram=function(){this.throwIfDisposed(),this.throwIfNoProgram();var t=this.gl;this.debug&&this.debugValidate(),Jt(t,this.debug,(function(){return t.drawElements(t.TRIANGLES,6,t.UNSIGNED_SHORT,0)}))},t.prototype.blockUntilAllProgramsCompleted=function(){var t=this;this.throwIfDisposed(),Jt(this.gl,this.debug,(function(){return t.gl.finish()}))},t.prototype.getQueryTimerExtension=function(){return null==this.disjointQueryTimerExtension&&(this.disjointQueryTimerExtension=re(this.gl,this.debug,2===i().getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_VERSION")?"EXT_disjoint_timer_query_webgl2":"EXT_disjoint_timer_query")),this.disjointQueryTimerExtension},t.prototype.getQueryTimerExtensionWebGL2=function(){return this.getQueryTimerExtension()},t.prototype.getQueryTimerExtensionWebGL1=function(){return this.getQueryTimerExtension()},t.prototype.beginQuery=function(){if(2===i().getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_VERSION")){var t=this.gl,e=this.getQueryTimerExtensionWebGL2(),n=t.createQuery();return t.beginQuery(e.TIME_ELAPSED_EXT,n),n}var r=this.getQueryTimerExtensionWebGL1(),o=r.createQueryEXT();return r.beginQueryEXT(r.TIME_ELAPSED_EXT,o),o},t.prototype.endQuery=function(){if(2!==i().getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_VERSION")){var t=this.getQueryTimerExtensionWebGL1();t.endQueryEXT(t.TIME_ELAPSED_EXT)}else{var e=this.gl,n=this.getQueryTimerExtensionWebGL2();e.endQuery(n.TIME_ELAPSED_EXT)}},t.prototype.waitForQueryAndGetTime=function(t){return n(this,void 0,void 0,(function(){var e=this;return r(this,(function(n){switch(n.label){case 0:return[4,F((function(){return e.disposed||e.isQueryAvailable(t,i().getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_VERSION"))}))];case 1:return n.sent(),[2,this.getQueryTime(t,i().getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_VERSION"))]}}))}))},t.prototype.getQueryTime=function(t,e){if(0===e)return null;if(2===e){var n=this.gl;return n.getQueryParameter(t,n.QUERY_RESULT)/1e6}var r=this.getQueryTimerExtensionWebGL1();return r.getQueryObjectEXT(t,r.QUERY_RESULT_EXT)/1e6},t.prototype.isQueryAvailable=function(t,e){if(0===e)return!0;if(2===e){var n=this.gl,r=this.getQueryTimerExtensionWebGL2(),o=n.getQueryParameter(t,n.QUERY_RESULT_AVAILABLE);return null==this.disjoint&&(this.disjoint=this.gl.getParameter(r.GPU_DISJOINT_EXT)),o&&!this.disjoint}o=(r=this.getQueryTimerExtensionWebGL1()).getQueryObjectEXT(t,r.QUERY_RESULT_AVAILABLE_EXT);return null==this.disjoint&&(this.disjoint=this.gl.getParameter(r.GPU_DISJOINT_EXT)),o&&!this.disjoint},t.prototype.pollFence=function(t){var e=this;return new Promise((function(n){e.addItemToPoll((function(){return t.isFencePassed()}),(function(){return n()}))}))},t.prototype.pollItems=function(){for(var t=function(t){for(var e=0;e1||F((function(){return n.pollItems(),0===n.itemsToPoll.length}))},t.prototype.bindTextureToFrameBuffer=function(t){this.throwIfDisposed(),Ce(this.gl,this.debug,t,this.framebuffer),this.debug&&Re(this.gl)},t.prototype.unbindTextureToFrameBuffer=function(){null!=this.outputTexture?(Ce(this.gl,this.debug,this.outputTexture,this.framebuffer),this.debug&&Re(this.gl)):Ee(this.gl,this.debug,this.framebuffer)},t.prototype.downloadMatrixDriver=function(t,e){this.bindTextureToFrameBuffer(t);var n=e();return this.unbindTextureToFrameBuffer(),n},t.prototype.setOutputMatrixTextureDriver=function(t,e,n){this.throwIfDisposed();var r=this.gl;Ce(r,this.debug,t,this.framebuffer),this.debug&&Re(r),this.outputTexture=t,Jt(r,this.debug,(function(){return r.viewport(0,0,e,n)})),Jt(r,this.debug,(function(){return r.scissor(0,0,e,n)}))},t.prototype.setOutputMatrixWriteRegionDriver=function(t,e,n,r){var o=this;this.throwIfDisposed(),Jt(this.gl,this.debug,(function(){return o.gl.scissor(t,e,n,r)}))},t.prototype.throwIfDisposed=function(){if(this.disposed)throw new Error("Attempted to use disposed GPGPUContext.")},t.prototype.throwIfNoProgram=function(){if(null==this.program)throw new Error("No GPU program is currently set.")},t}();function Pi(t,e){if(t.length!==e.length)throw Error("Binary was compiled with "+t.length+" inputs, but was executed with "+e.length+" inputs");t.forEach((function(t,n){var r=t.logicalShape,o=e[n],a=o.shape;if(!S(r,a))throw Error("Binary was compiled with different shapes than the current args. Shapes "+r+" and "+a+" must match");if(!t.isUniform||!o.isUniform){var i=t.texShape,s=o.isUniform?null:o.texData.texShape;if(!S(i,s))throw Error("Binary was compiled with different texture shapes than the current args. Shape "+i+" and "+s+" must match")}}))}var Li=function(t,e,n){this.variableNames=["A"],this.packedInputs=!0,this.packedOutput=!0,this.outputShape=t;for(var r=n.filterWidth,o=n.inChannels,a=n.strideWidth,i=n.strideHeight,s=n.padInfo,u=n.outWidth,c=n.dilationWidth,l=n.dilationHeight,h=n.dataFormat,f=s.left,d=s.top,p=o*r,v=ua(),m="channelsLast"===h,g=m?0:1,y=m?1:2,x="",b=0;b<=1;b++)for(var w=0;w<=1;w++)x+="\n blockIndex = rc.y + "+w+";\n pos = rc.x + "+b+";\n\n if(blockIndex < "+t[1]+" && pos < "+t[0]+") {\n offsetY = int(blockIndex / ("+u+")) * "+i+" - "+d+";\n d0 = offsetY + "+l+" * (pos / "+p+");\n\n if(d0 < "+e[g]+" && d0 >= 0) {\n\n offsetX = int(mod(float(blockIndex), "+u+".) * "+a+". - "+f+".);\n d1 = offsetX + "+c+" * (int(mod(float(pos), "+p+".) / "+o+".));\n\n if(d1 < "+e[y]+" && d1 >= 0) {\n\n ch = int(mod(float(pos), "+o+".));\n\n if ("+m+") {\n innerDims = vec2(d1, ch);\n result["+(2*b+w)+"] = getChannel(\n getA(d0, int(innerDims.x),\n int(innerDims.y)), innerDims);\n } else {\n innerDims = vec2(d0, d1);\n result["+(2*b+w)+"] = getChannel(\n getA(ch, int(innerDims.x),\n int(innerDims.y)), innerDims);\n }\n }\n }\n }\n ";this.userCode="\n void main() {\n ivec2 rc = getOutputCoords();\n\n vec4 result = vec4(0);\n\n int blockIndex, pos, offsetY, d0, offsetX, d1, ch;\n vec2 innerDims;\n\n "+x+"\n\n "+v.output+" = result;\n }\n "},Wi=function(t,e,n,r,o){this.variableNames=["x"],this.outputShape=[];var a,i=e,s=t[3]-1;this.outputShape=t;var u="float("+n+") + float("+r+") * sum";a=.5===o?"inversesqrt("+u+")":1===o?"1.0/("+u+")":"exp(log("+u+") * float(-"+o+"));",this.userCode="\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int r = coords[1];\n int c = coords[2];\n int d = coords[3];\n float x = getX(b, r, c, d);\n float sum = 0.0;\n for (int j = -"+i+"; j <= "+i+"; j++) {\n int idx = d + j;\n if (idx >= 0 && idx <= "+s+") {\n float z = getX(b, r, c, idx);\n sum += z * z;\n }\n }\n float val = x * "+a+";\n setOutput(val);\n }\n "},Ui=function(t,e,n,r,o){this.variableNames=["inputImage","outputImage","dy"],this.outputShape=[],this.outputShape=t,this.depth=t[3],this.depthRadius=e,this.bias=n,this.alpha=r,this.beta=o,this.userCode="\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int r = coords[1];\n int c = coords[2];\n\n float result = 0.0;\n for (int d = 0; d < "+this.depth+"; ++d) {\n int depthBegin = int(max(0.0, float(d - "+e+")));\n int depthEnd = int(min(float("+this.depth+"),\n float(d + "+e+" + 1)));\n\n const int MIN_DEPTH_BEGIN = 0;\n const int MAX_DEPTH_END = "+this.depth+";\n\n float norm = 0.0;\n for (int k = MIN_DEPTH_BEGIN; k < MAX_DEPTH_END; ++k) {\n if (k < depthBegin){\n continue;\n }\n else if (k >= depthBegin && k < depthEnd) {\n norm += getInputImage(b, r, c, k) * getInputImage(b, r, c, k);\n }\n else {\n break;\n }\n }\n\n norm = float("+r+") * norm + float("+n+");\n\n for(int k = MIN_DEPTH_BEGIN; k < MAX_DEPTH_END; ++k){\n if (k < depthBegin){\n continue;\n }\n else if (k >= depthBegin && k < depthEnd){\n float dyi = -2.0 * float("+r+")\n * float("+o+")\n * getInputImage(b ,r ,c, k) * getOutputImage(b, r, c, d)\n / norm;\n if (k == d) {\n dyi += pow(norm, -1.0 * "+o+");\n }\n if (k == coords[3]) {\n dyi *= getDy(b, r, c, d);\n result += dyi;\n }\n }\n else {\n break;\n }\n }\n }\n setOutput(result);\n }\n "},Vi=function(t,e,n,r,o){this.variableNames=["x"],this.outputShape=[],this.packedInputs=!0,this.packedOutput=!0;var a,i=e,s=t[3]-1;this.outputShape=t;var u="float("+n+") + float("+r+") * sum";a=.5===o?"inversesqrt("+u+")":1===o?"1.0/("+u+")":"exp(log("+u+") * float(-"+o+"));",this.userCode="\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords.x;\n int r = coords.y;\n int c = coords.z;\n int d = coords.w;\n\n bool hasNextCol = d < "+this.outputShape[3]+";\n bool hasNextRow = c < "+this.outputShape[2]+";\n\n vec4 sum = vec4(0.);\n vec4 xFragAtOutputCoords = getX(b, r, c, d);\n\n vec4 xAtOutputCoords = vec4(\n getChannel(xFragAtOutputCoords, vec2(c, d)),\n hasNextCol ?\n getChannel(xFragAtOutputCoords, vec2(c, d + 1)) : 0.0,\n hasNextRow ?\n getChannel(xFragAtOutputCoords , vec2(c + 1, d)) : 0.0,\n (hasNextRow && hasNextCol) ?\n getChannel(xFragAtOutputCoords, vec2(c + 1, d + 1)) : 0.0\n );\n\n int firstChannel = d - "+i+";\n vec2 cache = vec2(0.);\n if(firstChannel >= 0){\n vec4 firstChannelFrag = getX(b, r, c, firstChannel);\n cache.x = getChannel(firstChannelFrag, vec2(c, firstChannel));\n if(hasNextRow){\n cache.y = getChannel(firstChannelFrag, vec2(c + 1, firstChannel));\n }\n }\n\n ivec2 depth = ivec2(d, d + 1);\n for (int j = - "+i+"; j <= "+i+"; j++) {\n ivec2 idx = depth + j;\n bvec2 aboveLowerBound = greaterThanEqual(idx, ivec2(0));\n bvec2 belowUpperBound = lessThanEqual(idx, ivec2("+s+"));\n\n bool depthInRange = aboveLowerBound.x && belowUpperBound.x;\n bool depthPlusOneInRange = aboveLowerBound.y && belowUpperBound.y;\n\n if(depthInRange || depthPlusOneInRange){\n vec4 z = vec4(0.);\n vec4 xFragAtCurrentDepth;\n z.xz = cache.xy;\n if(depthPlusOneInRange && hasNextCol){\n xFragAtCurrentDepth = idx.y != d ?\n getX(b, r, c, idx.y) : xFragAtOutputCoords;\n z.y = getChannel(xFragAtCurrentDepth, vec2(c, idx.y));\n if(hasNextRow){\n z.w = getChannel(xFragAtCurrentDepth, vec2(c + 1, idx.y));\n }\n }\n cache.xy = z.yw;\n sum += z * z;\n }\n }\n vec4 result = xAtOutputCoords * "+a+";\n setOutput(result);\n }\n "},zi=function(t){this.variableNames=["dy","maxPos"],this.outputShape=t.inShape;var e=t.strideHeight,n=t.strideWidth,r=t.dilationHeight,o=t.effectiveFilterHeight,a=t.effectiveFilterWidth,i=o-1-t.padInfo.top,s=a-1-t.padInfo.left,u=o*a-1;this.userCode="\n const ivec2 pads = ivec2("+i+", "+s+");\n\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int d = coords[3];\n\n ivec2 dyRCCorner = coords.yz - pads;\n int dyRCorner = dyRCCorner.x;\n int dyCCorner = dyRCCorner.y;\n\n // Convolve dy(?, ?, d) with pos mask(:, :, d) to get dx(xR, xC, d).\n // ? = to be determined. : = across all values in that axis.\n float dotProd = 0.0;\n for (int wR = 0; wR < "+o+";\n wR += "+r+") {\n float dyR = float(dyRCorner + wR) / "+e+".0;\n\n if (dyR < 0.0 || dyR >= "+t.outHeight+".0 || fract(dyR) > 0.0) {\n continue;\n }\n int idyR = int(dyR);\n\n for (int wC = 0; wC < "+a+"; wC++) {\n float dyC = float(dyCCorner + wC) / "+n+".0;\n\n if (dyC < 0.0 || dyC >= "+t.outWidth+".0 ||\n fract(dyC) > 0.0) {\n continue;\n }\n int idyC = int(dyC);\n\n float dyValue = getDy(b, idyR, idyC, d);\n int maxPosValue = "+u+" - int(getMaxPos(b, idyR, idyC, d));\n\n // Get the current value, check it against the value from the\n // position matrix.\n int curPosValue = wR * "+a+" + wC;\n float mask = float(maxPosValue == curPosValue ? 1.0 : 0.0);\n\n dotProd += dyValue * mask;\n }\n }\n setOutput(dotProd);\n }\n "},Gi=function(t){this.variableNames=["dy","maxPos"],this.outputShape=t.inShape;var e=t.strideDepth,n=t.strideHeight,r=t.strideWidth,o=t.dilationDepth,a=t.dilationHeight,i=t.dilationWidth,s=t.effectiveFilterDepth,u=t.effectiveFilterHeight,c=t.effectiveFilterWidth,l=s-1-t.padInfo.front,h=u-1-t.padInfo.top,f=c-1-t.padInfo.left,d=s*u*c-1;this.userCode="\n const ivec3 pads = ivec3("+l+", "+h+", "+f+");\n\n void main() {\n ivec5 coords = getOutputCoords();\n int batch = coords.x;\n int ch = coords.u;\n\n ivec3 dyCorner = ivec3(coords.y, coords.z, coords.w) - pads;\n int dyDCorner = dyCorner.x;\n int dyRCorner = dyCorner.y;\n int dyCCorner = dyCorner.z;\n\n // Convolve dy(?, ?, ?, ch) with pos mask(:, :, :, d) to get\n // dx(xD, xR, xC, ch).\n // ? = to be determined. : = across all values in that axis.\n float dotProd = 0.0;\n\n for (int wD = 0; wD < "+s+";\n wD += "+o+") {\n float dyD = float(dyDCorner + wD) / "+e+".0;\n\n if (dyD < 0.0 || dyD >= "+t.outDepth+".0 || fract(dyD) > 0.0) {\n continue;\n }\n int idyD = int(dyD);\n\n for (int wR = 0; wR < "+u+";\n wR += "+a+") {\n float dyR = float(dyRCorner + wR) / "+n+".0;\n\n if (dyR < 0.0 || dyR >= "+t.outHeight+".0 ||\n fract(dyR) > 0.0) {\n continue;\n }\n int idyR = int(dyR);\n\n for (int wC = 0; wC < "+c+";\n wC += "+i+") {\n float dyC = float(dyCCorner + wC) / "+r+".0;\n\n if (dyC < 0.0 || dyC >= "+t.outWidth+".0 ||\n fract(dyC) > 0.0) {\n continue;\n }\n int idyC = int(dyC);\n\n float dyValue = getDy(batch, idyD, idyR, idyC, ch);\n int maxPosValue = "+d+" -\n int(getMaxPos(batch, idyD, idyR, idyC, ch));\n\n // Get the current value, check it against the value from the\n // position matrix.\n int curPosValue =\n wD * "+u+" * "+c+" +\n wR * "+c+" + wC;\n float mask = float(maxPosValue == curPosValue ? 1.0 : 0.0);\n\n dotProd += dyValue * mask;\n }\n }\n }\n setOutput(dotProd);\n }\n "},Hi=function(t,e,n,r,o,a,i){void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===o&&(o=!1),void 0===a&&(a=null),void 0===i&&(i=!1),this.variableNames=["matrixA","matrixB"],this.packedInputs=!0,this.packedOutput=!0,this.outputShape=e;var s=n?t[1]:t[2],u=Math.ceil(s/2),c=n?"i * 2, rc.y":"rc.y, i * 2",l=r?"rc.z, i * 2":"i * 2, rc.z",h=n?["a.xxyy","a.zzww"]:["a.xxzz","a.yyww"],f=r?["b.xzxz","b.ywyw"]:["b.xyxy","b.zwzw"],d="",p="";a&&(d=i?"vec4 activation(vec4 a) {\n vec4 b = getPreluActivationWeightsAtOutCoords();\n "+a+"\n }":"vec4 activation(vec4 x) {\n "+a+"\n }",p="result = activation(result);");var v=o?"result += getBiasAtOutCoords();":"";o&&this.variableNames.push("bias"),i&&this.variableNames.push("preluActivationWeights"),this.userCode="\n "+d+"\n\n const float sharedDimension = "+u+".0;\n\n vec4 dot2x2ARowBCol(ivec3 rc) {\n vec4 result = vec4(0);\n for (int i = 0; i < "+u+"; i++) {\n vec4 a = getMatrixA(rc.x, "+c+");\n vec4 b = getMatrixB(rc.x, "+l+");\n\n // These swizzled products need to be separately added.\n // See: https://github.com/tensorflow/tfjs/issues/1735\n result += ("+h[0]+" * "+f[0]+");\n result += ("+h[1]+" * "+f[1]+");\n }\n return result;\n }\n\n void main() {\n ivec3 rc = getOutputCoords();\n vec4 result = dot2x2ARowBCol(rc);\n\n "+v+"\n\n "+p+"\n\n setOutput(result);\n }\n "},qi=function(){function t(t,e,n){this.variableNames=["probs"],this.outputShape=[t,n],this.userCode="\n uniform float seed;\n\n void main() {\n ivec2 coords = getOutputCoords();\n int batch = coords[0];\n\n float r = random(seed);\n float cdf = 0.0;\n\n for (int i = 0; i < "+(e-1)+"; i++) {\n cdf += getProbs(batch, i);\n\n if (r < cdf) {\n setOutput(float(i));\n return;\n }\n }\n\n // If no other event happened, last event happened.\n setOutput(float("+(e-1)+"));\n }\n "}return t.prototype.getCustomSetupFunc=function(t){var e=this;return function(n,r){null==e.seedLoc&&(e.seedLoc=n.getUniformLocation(r,"seed")),n.gl.uniform1f(e.seedLoc,t)}},t}(),Ki=function(t,e,n,r){this.variableNames=["indices"],this.outputShape=[t,e],this.userCode="\n void main() {\n ivec2 coords = getOutputCoords();\n int index = round(getIndices(coords.x));\n setOutput(mix(float("+r+"), float("+n+"),\n float(index == coords.y)));\n }\n "},ji=function(t){this.variableNames=["A"],this.packedInputs=!1,this.packedOutput=!0,this.outputShape=t;var e=t.length;if(0===e)this.userCode="\n void main() {\n setOutput(vec4(getA(), 0., 0., 0.));\n }\n ";else{var n=sa("rc",e),r=wa(e),o=function(t,e,n){if(1===t)return"rc > "+e[0];for(var r="",o=t-2;o= "+e[o],o= "+e+";\n bool rEdge = rp1 >= "+n+";\n "}(e,t[t.length-1],t[t.length-2],n),i=function(t,e){var n=t.length,r=function(t,e){for(var n=[],r=0;r<=1;r++)for(var o=0;o<=1;o++){for(var a=(0===r?"r":"rp1")+", "+(0===o?"c":"cp1"),i=2;i= "+t[0]+" ? 0. : getA(rc + 1),\n 0, 0":"getA("+r[0]+"),\n cEdge ? 0. : getA("+r[1]+"),\n rEdge ? 0. : getA("+r[2]+"),\n rEdge || cEdge ? 0. : getA("+r[3]+")"}(t,n);this.userCode="\n void main() {\n "+r+" rc = getOutputCoords();\n\n if("+o+") {\n setOutput(vec4(0));\n } else {\n "+a+"\n\n setOutput(vec4("+i+"));\n }\n }\n "}};var Xi=function(t,e,n){this.variableNames=["x"],this.outputShape=e.map((function(e,n){return e[0]+t[n]+e[1]}));var r=t.length,o=wa(r),a=e.map((function(t){return t[0]})).join(","),i=e.map((function(e,n){return e[0]+t[n]})).join(","),s=["coords[0]","coords[1]","coords[2]","coords[3]"].slice(0,r);this.userCode=1!==r?"\n "+o+" start = "+o+"("+a+");\n "+o+" end = "+o+"("+i+");\n\n void main() {\n "+o+" outC = getOutputCoords();\n if (any(lessThan(outC, start)) || any(greaterThanEqual(outC, end))) {\n setOutput(float("+n+"));\n } else {\n "+o+" coords = outC - start;\n setOutput(getX("+s+"));\n }\n }\n ":"\n int start = "+a+";\n int end = "+i+";\n\n void main() {\n int outC = getOutputCoords();\n if (outC < start || outC >= end) {\n setOutput(float("+n+"));\n } else {\n setOutput(getX(outC - start));\n }\n }\n "},Yi=function(t,e,n){this.variableNames=["x"],this.packedInputs=!0,this.packedOutput=!0,this.outputShape=e.map((function(e,n){return e[0]+t[n]+e[1]}));for(var r=t.length,o=wa(r),a=e.map((function(t){return t[0]})).join(","),i=e.map((function(e,n){return e[0]+t[n]})).join(","),s=sa("rc",r),u=sa("source",r),c=s[r-1]+" < "+this.outputShape[r-1],l=1===r?"source":"vec2("+u.slice(-2).join()+")",h=[o+" rc = outputLoc;",s[r-1]+" += 1;\n if("+c+") {\n ",1===r?"":"}\n rc = outputLoc;\n "+s[r-2]+" += 1;\n if("+s[r-2]+" < "+this.outputShape[r-2]+") {",1===r?"":" "+s[r-1]+" += 1;\n if("+c+") {"],f=1===r?"rc < start || rc >= end":"any(lessThan(rc, start)) || any(greaterThanEqual(rc, end))",d="",p=0,v=1===r?2:4;p= "+t.inHeight+") {\n continue;\n }\n\n for (int wC = 0; wC < "+c+";\n wC += "+s+") {\n int xC = xCCorner + wC;\n\n if (xC < 0 || xC >= "+t.inWidth+") {\n continue;\n }\n\n float value = getX(batch, xR, xC, d);\n\n // If a min / max value has already been found, use it. If not,\n // use the current value.\n float currMinMaxValue = mix(\n value, minMaxValue, minMaxValueFound);\n if (value >= currMinMaxValue) {\n minMaxValue = value;\n minMaxValueFound = 1.0;\n minMaxPosition = wR * "+c+" + wC;\n }\n }\n }\n setOutput(float(minMaxPosition));\n }\n ";else{var p=e+"("+e+"("+e+"(minMaxValue[0], minMaxValue[1]), minMaxValue[2]), minMaxValue[3])";"avg"===e&&(p="avgValue / count");var v=4*Math.floor(r/4),m=r%4,g="\n if ("+f+") {\n avgValue += dot(values, ones);\n } else {\n minMaxValue = max(values, minMaxValue);\n }\n ";this.userCode="\n const ivec2 strides = ivec2("+o+", "+a+");\n const ivec2 pads = ivec2("+l+", "+h+");\n const float initializationValue = "+d+";\n const vec4 ones = vec4(1.0, 1.0, 1.0, 1.0);\n\n float count = 0.0;\n\n float getValue(int batch, int xR, int xC, int d) {\n if (xC < 0 || xC >= "+t.inWidth+") {\n return initializationValue;\n }\n count += 1.0;\n return getX(batch, xR, xC, d);\n }\n\n void main() {\n ivec4 coords = getOutputCoords();\n int batch = coords[0];\n int d = coords[3];\n\n ivec2 xRCCorner = coords.yz * strides - pads;\n int xRCorner = xRCCorner.x;\n int xCCorner = xRCCorner.y;\n\n // max/min x(?, ?, d) to get y(yR, yC, d).\n // ? = to be determined\n vec4 minMaxValue = vec4("+d+");\n float avgValue = 0.0;\n count = 0.0;\n\n for (int wR = 0; wR < "+u+";\n wR += "+i+") {\n int xR = xRCorner + wR;\n\n if (xR < 0 || xR >= "+t.inHeight+") {\n continue;\n }\n\n for (int wC = 0; wC < "+v+"; wC += 4) {\n int xC = xCCorner + wC * "+s+";\n\n vec4 values = vec4(\n getValue(batch, xR, xC, d),\n getValue(batch, xR, xC + "+s+", d),\n getValue(batch, xR, xC + 2 * "+s+", d),\n getValue(batch, xR, xC + 3 * "+s+", d)\n );\n\n "+g+"\n }\n\n int xC = xCCorner + "+v+";\n if ("+(1===m)+") {\n vec4 values = vec4(\n getValue(batch, xR, xC, d),\n initializationValue,\n initializationValue,\n initializationValue\n );\n\n "+g+"\n } else if ("+(2===m)+") {\n vec4 values = vec4(\n getValue(batch, xR, xC, d),\n getValue(batch, xR, xC + "+s+", d),\n initializationValue,\n initializationValue\n );\n\n "+g+"\n } else if ("+(3===m)+") {\n vec4 values = vec4(\n getValue(batch, xR, xC, d),\n getValue(batch, xR, xC + "+s+", d),\n getValue(batch, xR, xC + 2 * "+s+", d),\n initializationValue\n );\n\n "+g+"\n }\n }\n setOutput("+p+");\n }\n "}},Qi=function(t,e,n){if(this.variableNames=["x"],"avg"===e&&n)throw new Error("Cannot compute positions for average pool.");var r=t.filterWidth,o=t.strideDepth,a=t.strideHeight,i=t.strideWidth,s=t.dilationDepth,u=t.dilationHeight,c=t.dilationWidth,l=t.effectiveFilterDepth,h=t.effectiveFilterHeight,f=t.effectiveFilterWidth,d=t.padInfo.front,p=t.padInfo.top,v=t.padInfo.left;this.outputShape=t.outShape;var m="avg"===e,g="0.0";if(m||(g="-1.0 / 1e-20"),n)this.userCode="\n const ivec3 strides =\n ivec3("+o+", "+a+", "+i+");\n const ivec3 pads = ivec3("+d+", "+p+", "+v+");\n\n void main() {\n ivec5 coords = getOutputCoords();\n int batch = coords.x;\n int ch = coords.u;\n\n ivec3 xCorner = ivec3(coords.y, coords.z, coords.w) * strides - pads;\n int xDCorner = xCorner.x;\n int xRCorner = xCorner.y;\n int xCCorner = xCorner.z;\n\n // max/min x(?, ?, ?, ch) to get y(yD, yR, yC, ch).\n // ? = to be determined\n float minMaxValue = 0.0;\n float minMaxValueFound = 0.0;\n int minMaxPosition = 0;\n\n for (int wD = 0; wD < "+l+";\n wD += "+s+") {\n int xD = xDCorner + wD;\n\n if (xD < 0 || xD >= "+t.inDepth+") {\n continue;\n }\n\n for (int wR = 0; wR < "+h+";\n wR += "+u+") {\n int xR = xRCorner + wR;\n\n if (xR < 0 || xR >= "+t.inHeight+") {\n continue;\n }\n\n for (int wC = 0; wC < "+f+";\n wC += "+c+") {\n int xC = xCCorner + wC;\n\n if (xC < 0 || xC >= "+t.inWidth+") {\n continue;\n }\n\n float value = getX(batch, xD, xR, xC, ch);\n\n // If a min / max value has already been found, use it. If not,\n // use the current value.\n float currMinMaxValue = mix(\n value, minMaxValue, minMaxValueFound);\n if (value >= currMinMaxValue) {\n minMaxValue = value;\n minMaxValueFound = 1.0;\n minMaxPosition =\n wD * "+h+" * "+f+" +\n wR * "+f+" + wC;;\n }\n }\n }\n }\n setOutput(float(minMaxPosition));\n }\n ";else{var y=e+"("+e+"("+e+"(minMaxValue[0], minMaxValue[1]), minMaxValue[2]), minMaxValue[3])";"avg"===e&&(y="avgValue / count");var x=4*Math.floor(r/4),b=r%4,w="\n if ("+m+") {\n avgValue += dot(values, ones);\n } else {\n minMaxValue = max(values, minMaxValue);\n }\n ";this.userCode="\n const ivec3 strides =\n ivec3("+o+", "+a+", "+i+");\n const ivec3 pads = ivec3("+d+", "+p+", "+v+");\n const float initializationValue = "+g+";\n const vec4 ones = vec4(1.0, 1.0, 1.0, 1.0);\n\n float count = 0.0;\n\n float getValue(int batch, int xD, int xR, int xC, int ch) {\n if (xC < 0 || xC >= "+t.inWidth+") {\n return initializationValue;\n }\n count += 1.0;\n return getX(batch, xD, xR, xC, ch);\n }\n\n void main() {\n ivec5 coords = getOutputCoords();\n int batch = coords.x;\n int ch = coords.u;\n\n ivec3 xCorner = ivec3(coords.y, coords.z, coords.w) * strides - pads;\n int xDCorner = xCorner.x;\n int xRCorner = xCorner.y;\n int xCCorner = xCorner.z;\n\n // max/min x(?, ?, ?, d) to get y(yD, yR, yC, ch).\n // ? = to be determined\n vec4 minMaxValue = vec4("+g+");\n float avgValue = 0.0;\n count = 0.0;\n\n for (int wD = 0; wD < "+l+";\n wD += "+s+") {\n int xD = xDCorner + wD;\n\n if (xD < 0 || xD >= "+t.inDepth+") {\n continue;\n }\n\n for (int wR = 0; wR < "+h+";\n wR += "+u+") {\n int xR = xRCorner + wR;\n\n if (xR < 0 || xR >= "+t.inHeight+") {\n continue;\n }\n\n for (int wC = 0; wC < "+x+"; wC += 4) {\n int xC = xCCorner + wC * "+c+";\n\n vec4 values = vec4(\n getValue(batch, xD, xR, xC, ch),\n getValue(batch, xD, xR, xC + "+c+", ch),\n getValue(batch, xD, xR, xC + 2 * "+c+", ch),\n getValue(batch, xD, xR, xC + 3 * "+c+", ch)\n );\n\n "+w+"\n }\n\n int xC = xCCorner + "+x+";\n if ("+(1===b)+") {\n vec4 values = vec4(\n getValue(batch, xD, xR, xC, ch),\n initializationValue,\n initializationValue,\n initializationValue\n );\n\n "+w+"\n } else if ("+(2===b)+") {\n vec4 values = vec4(\n getValue(batch, xD, xR, xC, ch),\n getValue(batch, xD, xR, xC + "+c+", ch),\n initializationValue,\n initializationValue\n );\n\n "+w+"\n } else if ("+(3===b)+") {\n vec4 values = vec4(\n getValue(batch, xD, xR, xC, ch),\n getValue(batch, xD, xR, xC + "+c+", ch),\n getValue(batch, xD, xR, xC + 2 * "+c+", ch),\n initializationValue\n );\n\n "+w+"\n }\n }\n setOutput("+y+");\n }\n }\n "}},Ji=function(t,e){this.variableNames=["x"];var n=t.windowSize,r=t.batchSize,o=t.inSize,a=Math.ceil(o/n);this.outputShape=[r,a];var i="0.0",s="";"prod"===e?i="1.0":"min"===e?(i="1.0 / 1e-20",s="min"):"max"===e&&(i="-1.0 / 1e-20",s="max");var u=e+"("+e+"("+e+"(minMaxValue[0], minMaxValue[1]), minMaxValue[2]), minMaxValue[3])";"sum"===e?u="sumValue":"prod"===e?u="prodValue":"all"===e?u="allValue":"any"===e&&(u="anyValue");var c=4*Math.floor(n/4),l=n%4,h="\n if ("+("sum"===e)+") {\n sumValue += dot(values, ones);\n } else if ("+("prod"===e)+") {\n vec2 tmp = vec2(values[0], values[1]) * vec2(values[2], values[3]);\n prodValue *= tmp[0] * tmp[1];\n } else {\n minMaxValue = "+s+"(values, minMaxValue);\n }\n ",f="vec4";"all"===e?(i="1.0",h="\n bool reducedAllValue = all(values);\n float floatedReducedAllValue = float(reducedAllValue);\n allValue = float(allValue >= 1.0 && floatedReducedAllValue >= 1.0);\n ",f="bvec4"):"any"===e&&(i="0.0",h="\n bool reducedAnyValue = any(values);\n float floatedReducedAnyValue = float(reducedAnyValue);\n anyValue = float(anyValue >= 1.0 || floatedReducedAnyValue >= 1.0);\n ",f="bvec4");var d="";o%n>0&&(d="\n if (inIdx < 0 || inIdx >= "+o+") {\n return initializationValue;\n }\n "),this.userCode="\n const float initializationValue = "+i+";\n const vec4 ones = vec4(1.0, 1.0, 1.0, 1.0);\n\n float getValue(int batch, int inIdx) {\n "+d+"\n return getX(batch, inIdx);\n }\n\n void main() {\n ivec2 coords = getOutputCoords();\n int batch = coords[0];\n int outIdx = coords[1];\n int inOffset = outIdx * "+n+";\n\n vec4 minMaxValue = vec4("+i+");\n float prodValue = 1.0;\n float sumValue = 0.0;\n float allValue = 1.0;\n float anyValue = 0.0;\n\n for (int i = 0; i < "+c+"; i += 4) {\n int inIdx = inOffset + i;\n "+f+" values = "+f+"(\n getValue(batch, inIdx),\n getValue(batch, inIdx + 1),\n getValue(batch, inIdx + 2),\n getValue(batch, inIdx + 3)\n );\n\n "+h+"\n }\n\n int inIdx = inOffset + "+c+";\n if ("+(1===l)+") {\n "+f+" values = "+f+"(\n getValue(batch, inIdx),\n initializationValue,\n initializationValue,\n initializationValue\n );\n\n "+h+"\n } else if ("+(2===l)+") {\n "+f+" values = "+f+"(\n getValue(batch, inIdx),\n getValue(batch, inIdx + 1),\n initializationValue,\n initializationValue\n );\n\n "+h+"\n } else if ("+(3===l)+") {\n "+f+" values = "+f+"(\n getValue(batch, inIdx),\n getValue(batch, inIdx + 1),\n getValue(batch, inIdx + 2),\n initializationValue\n );\n\n "+h+"\n }\n setOutput("+u+");\n }\n "},Zi=function(t,e){this.variableNames=["A"],this.packedInputs=!0,this.packedOutput=!0,this.outputShape=t;for(var n="",r=0;r<4;r++){var o="thisRC = rc;";r%2==1&&(o+="thisRC.z += 1;"),r>1&&(o+="thisRC.y += 1;"),n+="\n "+o+"\n "+(r>0?"if(thisRC.y < rows && thisRC.z < cols){":"")+"\n int flatIndex = getFlatIndex(thisRC);\n\n ivec3 inputRC = inputCoordsFromReshapedOutCoords(flatIndex);\n vec2 inputRCInnerDims = vec2(float(inputRC.y),float(inputRC.z));\n\n result["+r+"] =\n getChannel(getA(inputRC.x, inputRC.y, inputRC.z), inputRCInnerDims);\n "+(r>0?"}":"")+"\n "}this.userCode="\n \n ivec3 inputCoordsFromReshapedOutCoords(int index) {\n "+ca(["r","c","d"],e)+"\n return ivec3(r, c, d);\n }\n \n "+la(t)+"\n\n void main() {\n ivec3 rc = getOutputCoords();\n\n vec4 result = vec4(0.);\n\n ivec3 thisRC;\n int rows = "+t[1]+";\n int cols = "+t[2]+";\n\n "+n+"\n\n setOutput(result);\n }\n "};var ts=function(t,e,n){this.variableNames=["dy"],this.outputShape=[],this.outputShape=e.shape;var r=e.shape,o=r[1],a=r[2],i=t.shape,s=i[1],u=i[2],c=[n&&s>1?o-1:o,n&&u>1?a-1:a],l=[n&&s>1?s-1:s,n&&u>1?u-1:u],h=c[0]/l[0],f=c[1]/l[1],d=1/h,p=1/f,v=2*Math.ceil(d)+2,m=2*Math.ceil(p)+2;this.userCode="\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int d = coords[3];\n int r = coords[1];\n int c = coords[2];\n\n float accumulator = 0.0;\n\n const float heightScale = float("+h+");\n const float widthScale = float("+f+");\n\n const float invHeightScale = float("+d+");\n const float invWidthScale = float("+p+");\n\n const int winHeight = int("+v+");\n const int winWidth = int("+m+");\n\n // Compute bounds for where in dy we will look\n float startRLerp = floor(float(r) * invHeightScale);\n int startDyR = int(startRLerp - float(winHeight / 2));\n\n float startCLerp = floor(float(c) * invWidthScale);\n int startDyC = int(startCLerp - float(winWidth / 2));\n\n // Loop over dy\n for (int dyROffset = 0; dyROffset < winHeight; dyROffset++) {\n int dyR = dyROffset + startDyR;\n\n // Guard against the window exceeding the bounds of dy\n if (dyR < 0 || dyR >= "+s+") {\n continue;\n }\n\n for (int dyCOffset = 0; dyCOffset < winWidth; dyCOffset++) {\n int dyC = dyCOffset + startDyC;\n\n // Guard against the window exceeding the bounds of dy\n if (dyC < 0 || dyC >= "+u+") {\n continue;\n }\n\n float dxR = float(dyR) * heightScale;\n int topDxRIndex = int(floor(dxR));\n int bottomDxRIndex = int(min(ceil(dxR), "+(o-1)+".0));\n float dxRLerp = dxR - float(topDxRIndex);\n float inverseDxRLerp = 1.0 - dxRLerp;\n\n float dxC = float(dyC) * widthScale;\n int leftDxCIndex = int(floor(dxC));\n int rightDxCIndex = int(min(ceil(dxC), "+(a-1)+".0));\n float dxCLerp = dxC - float(leftDxCIndex);\n float inverseDxCLerp = 1.0 - dxCLerp;\n\n if (r == topDxRIndex && c == leftDxCIndex) {\n // topLeft\n accumulator +=\n getDy(b, dyR, dyC, d) * inverseDxRLerp * inverseDxCLerp;\n }\n\n if (r == topDxRIndex && c == rightDxCIndex) {\n // topRight\n accumulator += getDy(b, dyR, dyC, d) * inverseDxRLerp * dxCLerp;\n }\n\n if (r == bottomDxRIndex && c == leftDxCIndex) {\n // bottomLeft\n accumulator += getDy(b, dyR, dyC, d) * dxRLerp * inverseDxCLerp;\n }\n\n if (r == bottomDxRIndex && c == rightDxCIndex) {\n // bottomRight\n accumulator += getDy(b, dyR, dyC, d) * dxRLerp * dxCLerp;\n }\n }\n }\n // End loop over dy\n\n setOutput(accumulator);\n }\n "},es=function(t,e,n,r){this.variableNames=["A"],this.outputShape=[];var o=t[0],a=t[1],i=t[2],s=t[3];this.outputShape=[o,e,n,s];var u=[r&&e>1?a-1:a,r&&n>1?i-1:i],c=[r&&e>1?e-1:e,r&&n>1?n-1:n];this.userCode="\n const vec2 effectiveInputOverOutputRatioRC = vec2(\n "+u[0]/c[0]+",\n "+u[1]/c[1]+");\n const vec2 inputShapeRC = vec2("+a+".0, "+i+".0);\n\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int d = coords[3];\n ivec2 yRC = coords.yz;\n\n // Fractional source index.\n vec2 sourceFracIndexRC = vec2(yRC) * effectiveInputOverOutputRatioRC;\n\n // Compute the four integer indices.\n ivec2 sourceFloorRC = ivec2(sourceFracIndexRC);\n ivec2 sourceCeilRC = ivec2(\n min(inputShapeRC - 1.0, ceil(sourceFracIndexRC)));\n\n float topLeft = getA(b, sourceFloorRC.x, sourceFloorRC.y, d);\n float bottomLeft = getA(b, sourceCeilRC.x, sourceFloorRC.y, d);\n float topRight = getA(b, sourceFloorRC.x, sourceCeilRC.y, d);\n float bottomRight = getA(b, sourceCeilRC.x, sourceCeilRC.y, d);\n\n vec2 fracRC = sourceFracIndexRC - vec2(sourceFloorRC);\n\n float top = topLeft + (topRight - topLeft) * fracRC.y;\n float bottom = bottomLeft + (bottomRight - bottomLeft) * fracRC.y;\n float newValue = top + (bottom - top) * fracRC.x;\n\n setOutput(newValue);\n }\n "},ns=function(t,e,n,r){this.variableNames=["A"],this.packedInputs=!0,this.packedOutput=!0,this.outputShape=[];var o=t[0],a=t[1],i=t[2],s=t[3];this.outputShape=[o,e,n,s];var u=[r&&e>1?a-1:a,r&&n>1?i-1:i],c=[r&&e>1?e-1:e,r&&n>1?n-1:n];this.userCode="\n const vec3 effectiveInputOverOutputRatioRC = vec3(\n "+u[0]/c[0]+",\n "+u[1]/c[1]+",\n "+u[1]/c[1]+");\n const vec3 inputShapeRC = vec3("+a+".0, "+i+".0,\n "+i+".0);\n\n float getAValue(int b, int r, int c, int d) {\n return getChannel(getA(b, r, c, d), vec2(c, d));\n }\n\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int d = coords[3];\n // Calculate values for next column in yRC.z.\n ivec3 yRC = coords.yzz + ivec3(0, 0, 1);\n\n // Fractional source index.\n vec3 sourceFracIndexRC = vec3(yRC) * effectiveInputOverOutputRatioRC;\n\n // Compute the four integer indices.\n ivec3 sourceFloorRC = ivec3(sourceFracIndexRC);\n ivec3 sourceCeilRC = ivec3(\n min(inputShapeRC - 1.0, ceil(sourceFracIndexRC)));\n\n // Should we calculate next column and row elements in 2x2 packed cell.\n bool hasNextCol = d < "+(s-1)+";\n bool hasNextRow = coords.z < "+(n-1)+";\n\n // In parallel, construct four corners for all four components in\n // packed 2x2 cell.\n vec4 topLeft = vec4(\n getAValue(b, sourceFloorRC.x, sourceFloorRC.y, d),\n hasNextCol ? getAValue(b, sourceFloorRC.x, sourceFloorRC.y, d + 1)\n : 0.0,\n hasNextRow ? getAValue(b, sourceFloorRC.x, sourceFloorRC.z, d)\n : 0.0,\n (hasNextRow && hasNextCol) ?\n getAValue(b, sourceFloorRC.x, sourceFloorRC.z, d + 1) : 0.0);\n\n vec4 bottomLeft = vec4(\n getAValue(b, sourceCeilRC.x, sourceFloorRC.y, d),\n hasNextCol ? getAValue(b, sourceCeilRC.x, sourceFloorRC.y, d + 1)\n : 0.0,\n hasNextRow ? getAValue(b, sourceCeilRC.x, sourceFloorRC.z, d)\n : 0.0,\n (hasNextRow && hasNextCol) ?\n getAValue(b, sourceCeilRC.x, sourceFloorRC.z, d + 1) : 0.0);\n\n vec4 topRight = vec4(\n getAValue(b, sourceFloorRC.x, sourceCeilRC.y, d),\n hasNextCol ? getAValue(b, sourceFloorRC.x, sourceCeilRC.y, d + 1)\n : 0.0,\n hasNextRow ? getAValue(b, sourceFloorRC.x, sourceCeilRC.z, d)\n : 0.0,\n (hasNextRow && hasNextCol) ?\n getAValue(b, sourceFloorRC.x, sourceCeilRC.z, d + 1) : 0.0);\n\n vec4 bottomRight = vec4(\n getAValue(b, sourceCeilRC.x, sourceCeilRC.y, d),\n hasNextCol ? getAValue(b, sourceCeilRC.x, sourceCeilRC.y, d + 1)\n : 0.0,\n hasNextRow ? getAValue(b, sourceCeilRC.x, sourceCeilRC.z, d)\n : 0.0,\n (hasNextRow && hasNextCol) ?\n getAValue(b, sourceCeilRC.x, sourceCeilRC.z, d + 1) : 0.0);\n\n vec3 fracRC = sourceFracIndexRC - vec3(sourceFloorRC);\n\n vec4 top = mix(topLeft, topRight, fracRC.yyzz);\n vec4 bottom = mix(bottomLeft, bottomRight, fracRC.yyzz);\n vec4 newValue = mix(top, bottom, fracRC.x);\n\n setOutput(newValue);\n }\n "},rs=function(t,e,n){this.variableNames=["dy"],this.outputShape=[],this.outputShape=e.shape;var r=e.shape,o=r[1],a=r[2],i=t.shape,s=i[1],u=i[2],c=[n&&s>1?o-1:o,n&&u>1?a-1:a],l=[n&&s>1?s-1:s,n&&u>1?u-1:u],h=c[0]/l[0],f=c[1]/l[1],d=1/h,p=1/f,v=2*Math.ceil(d)+2,m=2*Math.ceil(p)+2;this.userCode="\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int d = coords[3];\n int r = coords[1];\n int c = coords[2];\n\n float accumulator = 0.0;\n\n const float heightScale = float("+h+");\n const float widthScale = float("+f+");\n\n const float invHeightScale = float("+d+");\n const float invWidthScale = float("+p+");\n\n const int winHeight = int("+v+");\n const int winWidth = int("+m+");\n\n // Compute bounds for where in dy we will look\n float startRLerp = floor(float(r) * invHeightScale);\n int startDyR = int(floor(startRLerp - float(winHeight / 2)));\n\n float startCLerp = floor(float(c) * invWidthScale);\n int startDyC = int(floor(startCLerp - float(winWidth / 2)));\n\n // Loop over dy\n for (int dyROffset = 0; dyROffset < winHeight; dyROffset++) {\n int dyR = dyROffset + startDyR;\n\n // Guard against the window exceeding the bounds of dy\n if (dyR < 0 || dyR >= "+s+") {\n continue;\n }\n\n for (int dyCOffset = 0; dyCOffset < winWidth; dyCOffset++) {\n int dyC = dyCOffset + startDyC;\n\n // Guard against the window exceeding the bounds of dy\n if (dyC < 0 || dyC >= "+u+") {\n continue;\n }\n\n float sourceFracRow =\n float("+c[0]+") *\n (float(dyR) / float("+l[0]+"));\n\n float sourceFracCol =\n float("+c[1]+") *\n (float(dyC) / float("+l[1]+"));\n\n int sourceNearestRow = int(min(\n float(int("+o+") - 1),\n "+n+" ? float(round(sourceFracRow)) :\n float(floor(sourceFracRow))));\n\n int sourceNearestCol = int(min(\n float(int("+a+") - 1),\n "+n+" ? float(round(sourceFracCol)) :\n float(floor(sourceFracCol))));\n\n if (r == sourceNearestRow && c == sourceNearestCol) {\n accumulator += getDy(b, dyR, dyC, d);\n }\n }\n }\n // End loop over dy\n\n setOutput(accumulator);\n }\n "},os=function(t,e,n,r){this.variableNames=["A"],this.outputShape=[];var o=t[0],a=t[1],i=t[2],s=t[3];this.outputShape=[o,e,n,s];var u=[r&&e>1?a-1:a,r&&n>1?i-1:i],c=[r&&e>1?e-1:e,r&&n>1?n-1:n],l=r?"0.5":"0.0";this.userCode="\n const vec2 effectiveInputOverOutputRatioRC = vec2(\n "+u[0]/c[0]+",\n "+u[1]/c[1]+");\n const vec2 inputShapeRC = vec2("+a+".0, "+i+".0);\n\n void main() {\n ivec4 coords = getOutputCoords();\n int b = coords[0];\n int d = coords[3];\n ivec2 yRC = coords.yz;\n\n // Fractional source index.\n vec2 sourceFracIndexRC = vec2(yRC) * effectiveInputOverOutputRatioRC;\n\n // Compute the coordinators of nearest neighbor point.\n ivec2 sourceNearestRC = ivec2(\n min(inputShapeRC - 1.0, floor(sourceFracIndexRC + "+l+")));\n\n float newValue = getA(b, sourceNearestRC.x, sourceNearestRC.y, d);\n\n setOutput(newValue);\n }\n "},as=function(t,e){this.variableNames=["x"];var n=t.length;if(n>4)throw new Error("WebGL backend: Reverse of rank-"+n+" tensor is not yet supported");if(this.outputShape=t,1!==n){var r=t.map((function(n,r){return function(n){return-1!==e.indexOf(n)&&1!==t[n]?t[n]+" - coords["+n+"] - 1":"coords["+n+"]"}(r)})).join(","),o=wa(n);this.userCode="\n void main() {\n "+o+" coords = getOutputCoords();\n setOutput(getX("+r+"));\n }\n "}else this.userCode="\n void main() {\n int coord = getOutputCoords();\n setOutput(getX("+t[0]+" - coord - 1));\n }\n "},is=function(t,e){this.variableNames=["x"],this.packedInputs=!0,this.packedOutput=!0;var n=t.length;if(n>4)throw new Error("WebGL backend: Reverse of rank-"+n+" tensor is not yet supported");this.outputShape=t;var r=sa("rc",n),o=r[n-1]+" + 1 < "+this.outputShape[n-1],a=r[n-2]+" + 1 < "+this.outputShape[n-2],i=wa(n);function s(n){var r=t.map((function(r,o){return function(n,r){return-1!==e.indexOf(n)&&1!==t[n]?t[n]+" - "+r[n]+" - 1":""+r[n]}(o,n)}));return"getChannel(getX("+r.join(",")+"), vec2("+r.slice(-2).join(",")+"))"}this.userCode=1===n?"\n void main(){\n int rc = getOutputCoords();\n vec4 result = vec4(0.);\n result.r = getChannel(getX("+t[0]+" - rc - 1),\n "+t[0]+" - rc - 1);\n if("+o+"){\n result.g = getChannel(getX("+t[0]+" - (rc + 1) - 1),\n "+t[0]+" - (rc + 1) - 1);\n }\n setOutput(result);\n }\n ":"\n void main() {\n "+i+" rc = getOutputCoords();\n vec4 result = vec4(0.);\n result.r = "+function(t){return s(t)}(r.slice())+";\n if("+o+"){\n result.g = "+function(t){return t[n-1]="("+t[n-1]+" + 1)",s(t)}(r.slice())+";\n }\n if("+a+") {\n result.b = "+function(t){return t[n-2]="("+t[n-2]+" + 1)",s(t)}(r.slice())+";\n if("+o+") {\n result.a = "+function(t){return t[n-1]="("+t[n-1]+" + 1)",t[n-2]="("+t[n-2]+" + 1)",s(t)}(r.slice())+";\n }\n }\n setOutput(result);\n }\n "},ss=function(t,e,n,r,o,a,i){void 0===i&&(i=!0),this.variableNames=["updates","indices","defaultValue"],this.outputShape=a;var s=wa(o.length),u=wa(a.length),c="";1===n?c="i":2===n&&(c="i, j");var l="getIndices("+c+")",h="";1===r?h="i":2===r&&(h="i, coords[1]");var f="getUpdates("+h+")",d=e>1?"strides[j]":"strides";this.userCode="\n "+s+" strides = "+s+"("+o+");\n\n void main() {\n "+u+" coords = getOutputCoords();\n float sum = 0.0;\n bool found = false;\n for (int i = 0; i < "+t+"; i++) {\n int flattenedIndex = 0;\n for (int j = 0; j < "+e+"; j++) {\n int index = round("+l+");\n flattenedIndex += index * "+d+";\n }\n if (flattenedIndex == coords[0]) {\n sum += "+f+";\n found = true;\n }\n }\n setOutput(mix(getDefaultValue(), sum, float(found)));\n }\n "},us=function(t,e){this.variableNames=["x","segmentIds"];var n=t.windowSize,r=t.batchSize,o=t.inSize,a=t.numSegments,i=a*Math.ceil(o/n);this.outputShape=[r,i];var s=4*Math.floor(n/4),u=n%4,c="\n sumValue += dot(values, segFilter);\n ",l="";o%n>0&&(l="\n if (inIdx < 0 || inIdx >= "+o+") {\n return initializationValue;\n }\n ");var h="";o%n>0&&(h="\n if (inIdx < 0 || inIdx >= "+o+") {\n return -1.0;\n }\n "),this.userCode="\n const float initializationValue = 0.0;\n\n float getValue(int batch, int inIdx) {\n "+l+"\n return getX(batch, inIdx);\n }\n\n float getSegmentIdAtIndex(int inIdx) {\n "+h+"\n return getSegmentIds(inIdx);\n }\n\n void main() {\n ivec2 coords = getOutputCoords();\n int batch = coords[0];\n int outIdx = coords[1];\n int inOffset = int(floor(float(outIdx) / float(\n "+a+")) * float("+n+"));\n int currentSeg = int(mod(float(outIdx), float("+a+")));\n\n float sumValue = 0.0;\n\n for (int i = 0; i < "+s+"; i += 4) {\n int inIdx = inOffset + i;\n vec4 values = vec4(\n getValue(batch, inIdx),\n getValue(batch, inIdx + 1),\n getValue(batch, inIdx + 2),\n getValue(batch, inIdx + 3)\n );\n\n vec4 segFilter = vec4(\n int(getSegmentIdAtIndex(inIdx)) == currentSeg ? 1 : 0,\n int(getSegmentIdAtIndex(inIdx + 1)) == currentSeg ? 1 : 0,\n int(getSegmentIdAtIndex(inIdx + 2)) == currentSeg ? 1 : 0,\n int(getSegmentIdAtIndex(inIdx + 3)) == currentSeg ? 1 : 0\n );\n\n "+c+"\n }\n\n int inIdx = inOffset + "+s+";\n if ("+(1===u)+") {\n vec4 values = vec4(\n getValue(batch, inIdx),\n initializationValue,\n initializationValue,\n initializationValue\n );\n\n int inIdxSeg = int(getSegmentIdAtIndex(inIdx));\n\n vec4 segFilter = vec4(\n int(getSegmentIdAtIndex(inIdx)) == currentSeg ? 1 : 0,\n 0,\n 0,\n 0\n );\n\n "+c+"\n } else if ("+(2===u)+") {\n vec4 values = vec4(\n getValue(batch, inIdx),\n getValue(batch, inIdx + 1),\n initializationValue,\n initializationValue\n );\n\n vec4 segFilter = vec4(\n int(getSegmentIdAtIndex(inIdx)) == currentSeg ? 1 : 0,\n int(getSegmentIdAtIndex(inIdx + 1)) == currentSeg ? 1 : 0,\n 0,\n 0\n );\n\n "+c+"\n } else if ("+(3===u)+") {\n vec4 values = vec4(\n getValue(batch, inIdx),\n getValue(batch, inIdx + 1),\n getValue(batch, inIdx + 2),\n initializationValue\n );\n\n vec4 segFilter = vec4(\n int(getSegmentIdAtIndex(inIdx)) == currentSeg ? 1 : 0,\n int(getSegmentIdAtIndex(inIdx + 1)) == currentSeg ? 1 : 0,\n int(getSegmentIdAtIndex(inIdx + 2)) == currentSeg ? 1 : 0,\n 0\n );\n\n "+c+"\n }\n setOutput(sumValue);\n }\n "},cs=function(t,e,n){var r,o;if(this.variableNames=["c","a","b"],this.outputShape=e,n>4)throw Error("Where for rank "+n+" is not yet supported");if(1===n)o="resRC",r="resRC";else{for(var a=["resRC.x","resRC.y","resRC.z","resRC.w"],i=[],s=[],u=0;u= 1.0) {\n setOutput(getA("+o+"));\n } else {\n setOutput(getB("+o+"));\n }\n }\n "},ls=function(){function t(t){this.variableNames=["source"],this.outputShape=t,this.rank=t.length;var e,n=wa(this.rank),r="uniform int start["+this.rank+"];",o=function(t){if(1===t)return"sourceLoc";if(t<=6)return hs.slice(0,t).map((function(t){return"sourceLoc."+t})).join(",");throw Error("Slicing for rank "+t+" is not yet supported")}(this.rank);e="\n "+n+" sourceLoc;\n "+n+" coords = getOutputCoords();\n "+t.map((function(t,e){return"sourceLoc."+hs[e]+" = start["+e+"] + coords."+hs[e]+";"})).join("\n")+"\n ",this.userCode="\n "+r+"\n void main() {\n "+e+"\n setOutput(getSource("+o+"));\n }\n "}return t.prototype.getCustomSetupFunc=function(t){var e=this;if(t.length!==this.rank)throw Error("The rank ("+this.rank+") of the program must match the length of start ("+t.length+")");return function(n,r){null==e.startLoc&&(e.startLoc=n.getUniformLocationNoThrow(r,"start"),null==e.startLoc)||n.gl.uniform1iv(e.startLoc,t)}},t}(),hs=["x","y","z","w","u","v"];var fs=function(){function t(t){this.variableNames=["source"],this.packedInputs=!0,this.packedOutput=!0,this.outputShape=t,this.rank=t.length;var e=wa(this.rank),n=sa("coords",this.rank),r=sa("sourceLoc",this.rank),o=1===this.rank?"sourceLoc":"vec2("+r.slice(-2).join()+")",a="getChannel(getSource("+r.join()+"), "+o+")",i="\n result.x = "+a+";\n if (++"+n[this.rank-1]+" < "+t[this.rank-1]+") {\n ++"+r[this.rank-1]+";\n result.y = "+a+";\n --"+r[this.rank-1]+";\n }\n ",s=1===this.rank?"":"\n --"+n[this.rank-1]+";\n if (++"+n[this.rank-2]+" < "+t[this.rank-2]+") {\n ++"+r[this.rank-2]+";\n result.z = "+a+";\n if (++"+n[this.rank-1]+" < "+t[this.rank-1]+") {\n ++"+r[this.rank-1]+";\n result.w = "+a+";\n }\n }\n ",u=this.rank<=4?"sourceLoc = coords +\n "+e+"("+t.map((function(t,e){return"start["+e+"]"})).join()+");":t.map((function(t,e){return r[e]+" = "+n[e]+" + start["+e+"];"})).join("\n");this.userCode="\n uniform int start["+this.rank+"];\n void main() {\n "+e+" coords = getOutputCoords();\n "+e+" sourceLoc;\n "+u+"\n vec4 result = vec4(0.);\n "+i+"\n "+s+"\n setOutput(result);\n }\n "}return t.prototype.getCustomSetupFunc=function(t){var e=this;if(t.length!==this.rank)throw Error("The rank ("+this.rank+") of the program must match the length of start ("+t.length+")");return function(n,r){null==e.startLoc&&(e.startLoc=n.getUniformLocationNoThrow(r,"start"),null==e.startLoc)||n.gl.uniform1iv(e.startLoc,t)}},t}(),ds=function(t,e,n){this.variableNames=["x"],this.outputShape=n;var r=n.length,o=wa(n.length),a=wa(n.length),i="";if(1===r)i="coords * strides + begin";else{var s=0;i=n.map((function(t,e){return s++,1===n.length?"coords * strides["+e+"] + begin["+e+"]":"coords["+(s-1)+"] * strides["+e+"] + begin["+e+"]"})).join(",")}this.userCode="\n "+o+" begin = "+o+"("+t+");\n "+o+" strides = "+o+"("+e+");\n\n void main() {\n "+a+" coords = getOutputCoords();\n setOutput(getX("+i+"));\n }\n "},ps=function(){function t(t){this.gpgpu=t,this.numUsedTextures=0,this.numFreeTextures=0,this.freeTextures={},this.logEnabled=!1,this.usedTextures={}}return t.prototype.acquireTexture=function(t,e,n){var r,o=vs(e,n),a=ms(t,o,n);if(a in this.freeTextures||(this.freeTextures[a]=[]),a in this.usedTextures||(this.usedTextures[a]=[]),this.freeTextures[a].length>0){this.numFreeTextures--,this.numUsedTextures++,this.log();var i=this.freeTextures[a].shift();return this.usedTextures[a].push(i),i}return this.numUsedTextures++,this.log(),o===Gt.PACKED_2X2_FLOAT32?r=this.gpgpu.createPackedMatrixTexture(t[0],t[1]):o===Gt.PACKED_2X2_FLOAT16?r=this.gpgpu.createFloat16PackedMatrixTexture(t[0],t[1]):o===Gt.UNPACKED_FLOAT32?r=this.gpgpu.createFloat32MatrixTexture(t[0],t[1]):o===Gt.UNPACKED_FLOAT16?r=this.gpgpu.createFloat16MatrixTexture(t[0],t[1]):o===Gt.PACKED_4X1_UNSIGNED_BYTE&&(r=this.gpgpu.createUnsignedBytesMatrixTexture(t[0],t[1])),this.usedTextures[a].push(r),r},t.prototype.releaseTexture=function(t,e,n,r){if(null!=this.freeTextures){var o=ms(e,vs(n,r),r);o in this.freeTextures||(this.freeTextures[o]=[]),this.freeTextures[o].push(t),this.numFreeTextures++,this.numUsedTextures--;var a=this.usedTextures[o],i=a.indexOf(t);if(i<0)throw new Error("Cannot release a texture that was never provided by this texture manager");a.splice(i,1),this.log()}},t.prototype.log=function(){if(this.logEnabled){var t=this.numFreeTextures+this.numUsedTextures;console.log("Free/Used",this.numFreeTextures+" / "+this.numUsedTextures,"("+t+")")}},t.prototype.getNumUsedTextures=function(){return this.numUsedTextures},t.prototype.getNumFreeTextures=function(){return this.numFreeTextures},t.prototype.dispose=function(){var t=this;if(null!=this.freeTextures){for(var e in this.freeTextures)this.freeTextures[e].forEach((function(e){t.gpgpu.deleteMatrixTexture(e)}));for(var e in this.usedTextures)this.usedTextures[e].forEach((function(e){t.gpgpu.deleteMatrixTexture(e)}));this.freeTextures=null,this.usedTextures=null,this.numUsedTextures=0,this.numFreeTextures=0}},t}();function vs(t,e){if(t===zt.UPLOAD)return Gt.PACKED_2X2_FLOAT32;if(t===zt.RENDER||null==t)return function(t){return i().getBool("WEBGL_RENDER_FLOAT32_ENABLED")?t?Gt.PACKED_2X2_FLOAT32:Gt.UNPACKED_FLOAT32:t?Gt.PACKED_2X2_FLOAT16:Gt.UNPACKED_FLOAT16}(e);if(t===zt.DOWNLOAD||t===zt.PIXELS)return Gt.PACKED_4X1_UNSIGNED_BYTE;throw new Error("Unknown logical texture type "+t)}function ms(t,e,n){return t[0]+"_"+t[1]+"_"+e+"_"+n}var gs=function(t,e){this.variableNames=["A"];for(var n=new Array(t.length),r=0;r5)throw Error("Tile for rank "+e+" is not yet supported");if(1===e)return"imod(resRC, "+t[0]+")";for(var n=["resRC.x","resRC.y","resRC.z","resRC.w","resRC.u"],r=[],o=0;o6)throw Error("Transpose for rank "+e+" is not yet supported");for(var n=["resRC.x","resRC.y","resRC.z","resRC.w","resRC.u","resRC.v"],r=new Array(e),o=0;o6)throw Error("Packed transpose for rank "+this.rank+" is not yet supported.");var o=wa(this.rank),a=ia("rc",this.rank),i=new Array(this.rank);for(r=0;r= 0.0) ? scale * x : scaleAlpha * (exp(x) - 1.0);\n";var Ts="return -x;",Ns="return ceil(x);",Fs="return floor(x);",_s="return exp(x);",Os="return exp(x) - 1.0;",Ms=Es+"\n return sin(x);\n",Bs=Es+"\n return cos(x);\n",Ps=Es+"\n if (abs(x) > 1.) {\n return NAN;\n }\n return asin(x);\n",Ls=Es+"\n if (abs(x) > 1.) {\n return NAN;\n }\n return acos(x);\n",Ws=Es+"\n return atan(x);\n",Us=Es+"return log(x + sqrt(x * x + 1.0));",Vs=Es+"\n if (x < 1.0) return NAN;\n return log(x + sqrt(x * x - 1.0));",zs=Es+"\n if ((x < -1.0) || (x > 1.0)) return NAN;\n return (log(1.0 + x) - log(1.0 - x)) / 2.0;",Gs="return x;",Hs="return x;",qs="\n vec4 result = x * vec4(greaterThanEqual(x, vec4(0.0)));\n bvec4 isNaN = isnan(x);\n\n result.r = isNaN.r ? x.r : result.r;\n result.g = isNaN.g ? x.g : result.g;\n result.b = isNaN.b ? x.b : result.b;\n result.a = isNaN.a ? x.a : result.a;\n\n return result;\n",Ks="\n vec4 result = min(x, vec4(6.)) * vec4(greaterThanEqual(x, vec4(0.0)));\n bvec4 isNaN = isnan(x);\n\n result.r = isNaN.r ? x.r : result.r;\n result.g = isNaN.g ? x.g : result.g;\n result.b = isNaN.b ? x.b : result.b;\n result.a = isNaN.a ? x.a : result.a;\n\n return result;\n",js="\n vec4 result;\n\n result.r = (x.r >= 0.0) ? x.r : (exp(x.r) - 1.0);\n result.g = (x.g >= 0.0) ? x.g : (exp(x.g) - 1.0);\n result.b = (x.b >= 0.0) ? x.b : (exp(x.b) - 1.0);\n result.a = (x.a >= 0.0) ? x.a : (exp(x.a) - 1.0);\n\n return result;\n",Xs=function(t,e){this.variableNames=["A"],this.packedInputs=!0,this.packedOutput=!0,this.outputShape=t,this.userCode="\n vec4 unaryOperation(vec4 x) {\n "+e+"\n }\n\n void main() {\n vec4 x = getAAtOutCoords();\n vec4 y = unaryOperation(x);\n\n setOutput(y);\n }\n "},Ys=function(t){this.variableNames=["A"],this.packedInputs=!0,this.packedOutput=!1,this.outputShape=t;var e=t.length,n=sa("rc",e),r=wa(e),o=function(t,e){if(1===t)return"rc";for(var n="",r=0;r0?[4,Promise.all(a)]:[3,2];case 1:return c=r.sent(),u.kernelMs=w(c),u.getExtraProfileInfo=function(){return c.map((function(t,e){return{name:s[e],ms:t}})).map((function(t){return t.name+": "+t.ms})).join(", ")},[3,3];case 2:u.kernelMs={error:"WebGL query timers are not supported in this environment."},r.label=3;case 3:return this.uploadWaitMs=0,this.downloadWaitMs=0,[2,u]}}))}))},o.prototype.memory=function(){return{unreliable:!1,numBytesInGPU:this.numBytesInGPU}},o.prototype.startTimer=function(){return i().getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_RELIABLE")>0?this.gpgpu.beginQuery():{startMs:et(),endMs:null}},o.prototype.endTimer=function(t){return i().getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_RELIABLE")>0?(this.gpgpu.endQuery(),t):(t.endMs=et(),t)},o.prototype.getQueryTime=function(t){return n(this,void 0,void 0,(function(){var e;return r(this,(function(n){return i().getNumber("WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_RELIABLE")>0?[2,this.gpgpu.waitForQueryAndGetTime(t)]:[2,(e=t).endMs-e.startMs]}))}))},o.prototype.disposeData=function(t){if(!this.pendingDisposal.has(t)){if(this.pendingRead.has(t))return this.pendingDisposal.add(t),void this.pendingDeletes++;if(this.texData.has(t)){this.releaseGPUData(t);var e=this.texData.get(t).complexTensors;null!=e&&(e.real.dispose(),e.imag.dispose()),this.texData.delete(t)}}},o.prototype.releaseGPUData=function(t){var e=this.texData.get(t),n=e.texture,r=e.dtype,o=e.texShape,a=e.usage,i=e.isPacked,s=e.slice,u=s&&s.origDataId||t,c=this.dataRefCount.get(u);c>1?this.dataRefCount.set(u,c-1):(this.dataRefCount.delete(u),null!=n&&(this.numBytesInGPU-=this.computeBytes(o,r),this.textureManager.releaseTexture(n,o,a,i)));var l=this.texData.get(t);l.texture=null,l.texShape=null,l.isPacked=!1,l.slice=null},o.prototype.getTexture=function(t){return this.uploadToGPU(t),this.texData.get(t).texture},o.prototype.getDataInfo=function(t){return this.texData.get(t)},o.prototype.getCPUBackend=function(){return i().getBool("WEBGL_CPU_FORWARD")?(null==this.cpuBackend&&(this.cpuBackend=Lt.findBackend("cpu")),this.cpuBackend):null},o.prototype.shouldExecuteOnCPU=function(t,e){var n=this;return void 0===e&&(e=128),null!=this.getCPUBackend()&&t.every((function(t){return null==n.texData.get(t.dataId).texture&&t.sizei().getNumber("WEBGL_MAX_TEXTURES_IN_SHADER")){var o=Math.floor(t.length/2),a=this.concat(t.slice(0,o),e),s=this.concat(t.slice(o),e);return this.concat([a,s],e)}if(i().getBool("WEBGL_PACK_ARRAY_OPERATIONS")&&t[0].rank>1){var u=new Ga(t.map((function(t){return t.shape})),e);return this.compileAndRun(u,t)}var c=Sn(t.map((function(t){return t.shape})),e),l=t.map((function(t){return t.as2D(-1,k(t.shape.slice(e)))})),h=new za(l.map((function(t){return t.shape})));return this.compileAndRun(h,l).reshape(c)},o.prototype.neg=function(t){if(this.shouldExecuteOnCPU([t]))return this.cpuBackend.neg(t);if(i().getBool("WEBGL_PACK_UNARY_OPERATIONS"))return this.packedUnaryOp(t,Ts,t.dtype);var e=new Cs(t.shape,Ts);return this.compileAndRun(e,[t])},o.prototype.batchMatMul=function(t,e,n,r){var o=n?t.shape[2]:t.shape[1],a=r?e.shape[1]:e.shape[2],i=n?t.shape[1]:t.shape[2],s=t.shape[0];if((1===o||1===a)&&i>1e3){n&&(t=t.transpose([0,2,1])),r&&(e=e.transpose([0,2,1]));var u=1===a?t:t.as3D(s,i,1),c=1===a?2:1,l=1===a?e.as3D(s,1,i):e;return this.multiply(u,l).sum(c,!0)}var h=Dt(t.dtype,e.dtype),f=new Hi(t.shape,[s,o,a],n,r);return this.compileAndRun(f,[t,e],h)},o.prototype.fusedBatchMatMul=function(t){var e=t.a,n=t.b,r=t.transposeA,o=t.transposeB,a=t.bias,i=t.activation,s=t.preluActivationWeights,u=r?e.shape[2]:e.shape[1],c=o?n.shape[1]:n.shape[2],l=e.shape[0],h=Dt(e.dtype,n.dtype),f=null!=a,d=null!=s,p=i?Qs(i,!0):null,v=new Hi(e.shape,[l,u,c],r,o,f,p,d),m=[e,n];return a&&m.push(a),s&&m.push(s),this.compileAndRun(v,m,h)},o.prototype.multiply=function(t,e){if("complex64"===t.dtype){var n=this.texData.get(t.dataId),r=this.texData.get(e.dataId),o=new Na(Da,t.shape,e.shape),a=new Na(Ta,t.shape,e.shape),s=[this.makeComplexComponentTensorInfo(t,n.complexTensors.real),this.makeComplexComponentTensorInfo(t,n.complexTensors.imag),this.makeComplexComponentTensorInfo(e,r.complexTensors.real),this.makeComplexComponentTensorInfo(e,r.complexTensors.imag)],u=this.compileAndRun(o,s),c=this.compileAndRun(a,s),l=this.complex(u,c);return u.dispose(),c.dispose(),l}if(this.shouldExecuteOnCPU([t,e]))return this.cpuBackend.multiply(t,e);if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,Oa,t.dtype);var h=new Ba(Oa,t.shape,e.shape);return this.compileAndRun(h,[t,e],t.dtype)},o.prototype.batchNormalization=function(t,e,n,r,o,a){var s=[t,e,n],u=null;null!=a&&(u=a.shape,s.push(a));var c=null;if(null!=o&&(c=o.shape,s.push(o)),i().getBool("WEBGL_PACK_NORMALIZATION")){var l=new Aa(t.shape,e.shape,n.shape,u,c,r);return this.compileAndRun(l,s)}var h=new Sa(t.shape,e.shape,n.shape,u,c,r);return this.compileAndRun(h,s)},o.prototype.localResponseNormalization4D=function(t,e,n,r,o){var a=i().getBool("WEBGL_PACK_NORMALIZATION")?new Vi(t.shape,e,n,r,o):new Wi(t.shape,e,n,r,o);return this.compileAndRun(a,[t])},o.prototype.LRNGrad=function(t,e,n,r,o,a,i){var s=new Ui(e.shape,r,o,a,i);return this.compileAndRun(s,[e,n,t])},o.prototype.tile=function(t,e){if("string"===t.dtype){var n=this.readSync(t.dataId).map((function(t){return ot(t)}));return ta(dr(t.shape,t.dtype,n),e)}var r=new gs(t.shape,e);return this.compileAndRun(r,[t])},o.prototype.pad=function(t,e,n){var r=i().getBool("WEBGL_PACK_ARRAY_OPERATIONS")?new Yi(t.shape,e,n):new Xi(t.shape,e,n);return this.compileAndRun(r,[t])},o.prototype.transpose=function(t,e){if(this.shouldExecuteOnCPU([t]))return this.cpuBackend.transpose(t,e);var n=i().getBool("WEBGL_PACK_ARRAY_OPERATIONS")?new xs(t.shape,e):new ys(t.shape,e);return this.compileAndRun(n,[t])},o.prototype.gather=function(t,e,n){if(this.shouldExecuteOnCPU([t,e]))return this.cpuBackend.gather(t,e,n);var r=new mi(t.shape,e.size,n);return this.compileAndRun(r,[t,e])},o.prototype.batchToSpaceND=function(t,e,n){C(t.rank<=4,(function(){return"batchToSpaceND for rank > 4 with a WebGL backend not implemented yet"}));var r=e.reduce((function(t,e){return t*e})),o=zr(t.shape,e,r),a=Gr(o.length,e.length),i=Hr(t.shape,e,r),s=qr(n,e.length),u=Kr(i,n,e.length);return t.reshape(o).transpose(a).reshape(i).slice(s,u)},o.prototype.spaceToBatchND=function(t,e,n){C(t.rank<=4,(function(){return"spaceToBatchND for rank > 4 with a WebGL backend not implemented yet"}));var r=e.reduce((function(t,e){return t*e})),o=[[0,0]];o.push.apply(o,n);for(var a=1+e.length;ae||n===t?r=!0:n=Y(t,n+1);return n}(i,o),u=new us({windowSize:s,inSize:i,batchSize:a,numSegments:o},e),c=this.compileAndRun(u,[t,n],r);return c.shape[1]===o?c:(n=Kn(0,o).tile([i/s]),this.segOpCompute(c,e,n,r,o))},o.prototype.argMinMaxReduce=function(t,e,n){var r=[e];if(Cn("arg"+n.charAt(0).toUpperCase()+n.slice(1),r,t.rank),!i().getBool("WEBGL_PACK_REDUCE")||t.rank<=2){var o=bn(t.shape,r),a=o[0],s=k(o[1]),u=t.as2D(-1,s);return this.argReduce(u,n).reshape(a)}return this.argReducePacked(t,n)},o.prototype.argMin=function(t,e){return this.argMinMaxReduce(t,e,"min")},o.prototype.argMax=function(t,e){return this.argMinMaxReduce(t,e,"max")},o.prototype.cumsum=function(t,e,n,r){if(e!==t.rank-1)throw new Error("WebGL cumsum shader expects an inner-most axis="+(t.rank-1)+" but got axis="+e);var o=new ni(t.shape,n,r);return this.compileAndRun(o,[t])},o.prototype.equal=function(t,e){if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,"\n return vec4(equal(a, b));\n","bool");var n=new Ba("return float(a == b);",t.shape,e.shape);return this.compileAndRun(n,[t,e],"bool")},o.prototype.notEqual=function(t,e){if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,"\n return vec4(notEqual(a, b));\n","bool");var n=new Ba("return float(a != b);",t.shape,e.shape);return this.compileAndRun(n,[t,e],"bool")},o.prototype.less=function(t,e){if(this.shouldExecuteOnCPU([t,e]))return this.cpuBackend.less(t,e);if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,"\n return vec4(lessThan(a, b));\n","bool");var n=new Ba("return float(a < b);",t.shape,e.shape);return this.compileAndRun(n,[t,e],"bool")},o.prototype.lessEqual=function(t,e){if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,"\n return vec4(lessThanEqual(a, b));\n","bool");var n=new Ba("return float(a <= b);",t.shape,e.shape);return this.compileAndRun(n,[t,e],"bool")},o.prototype.greater=function(t,e){if(this.shouldExecuteOnCPU([t,e]))return this.cpuBackend.greater(t,e);if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,"\n return vec4(greaterThan(a, b));\n","bool");var n=new Ba("return float(a > b);",t.shape,e.shape);return this.compileAndRun(n,[t,e],"bool")},o.prototype.greaterEqual=function(t,e){if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,"\n return vec4(greaterThanEqual(a, b));\n","bool");var n=new Ba("return float(a >= b);",t.shape,e.shape);return this.compileAndRun(n,[t,e],"bool")},o.prototype.logicalNot=function(t){var e=new Cs(t.shape,"return float(!(x >= 1.0));");return this.compileAndRun(e,[t])},o.prototype.logicalAnd=function(t,e){if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,"\n return vec4(\n vec4(greaterThanEqual(a, vec4(1.0))) *\n vec4(greaterThanEqual(b, vec4(1.0))));\n","bool");var n=new Ba("return float(a >= 1.0 && b >= 1.0);",t.shape,e.shape);return this.compileAndRun(n,[t,e],"bool")},o.prototype.logicalOr=function(t,e){if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,"\n return min(\n vec4(greaterThanEqual(a, vec4(1.0))) +\n vec4(greaterThanEqual(b, vec4(1.0))),\n vec4(1.0));\n","bool");var n=new Ba("return float(a >= 1.0 || b >= 1.0);",t.shape,e.shape);return this.compileAndRun(n,[t,e],"bool")},o.prototype.select=function(t,e,n){var r=new cs(t.rank,e.shape,e.rank);return this.compileAndRun(r,[t,e,n],Dt(e.dtype,n.dtype))},o.prototype.where=function(t){dn("tf.where() in webgl locks the UI thread. Call tf.whereAsync() instead");var e=t.dataSync();return na(t.shape,e)},o.prototype.topk=function(t,e,n){return ea(t.dataSync(),t.shape,t.dtype,e)},o.prototype.min=function(t,e){Cn("min",e,t.rank);var n=bn(t.shape,e),r=n[0],o=k(n[1]),a=t.as2D(-1,o);return this.reduce(a,"min",a.dtype).reshape(r)},o.prototype.minimum=function(t,e){if(this.shouldExecuteOnCPU([t,e]))return this.cpuBackend.minimum(t,e);var n=i().getBool("WEBGL_PACK_BINARY_OPERATIONS")?new La("\n vec4 result = vec4(min(a, b));\n vec4 isNaN = min(vec4(isnan(a)) + vec4(isnan(b)), vec4(1.0));\n \n result.r = isNaN.r > 0. ? NAN : result.r;\n result.g = isNaN.g > 0. ? NAN : result.g;\n result.b = isNaN.b > 0. ? NAN : result.b;\n result.a = isNaN.a > 0. ? NAN : result.a;\n\n return result;\n",t.shape,e.shape):new Ba("\n if (isnan(a)) return a;\n if (isnan(b)) return b;\n\n return min(a, b);\n",t.shape,e.shape);return this.compileAndRun(n,[t,e])},o.prototype.mod=function(t,e){var n=i().getBool("WEBGL_PACK_BINARY_OPERATIONS")?new La("\n vec4 result = mod(a, b);\n vec4 isNaN = vec4(equal(b, vec4(0.0)));\n \n result.r = isNaN.r > 0. ? NAN : result.r;\n result.g = isNaN.g > 0. ? NAN : result.g;\n result.b = isNaN.b > 0. ? NAN : result.b;\n result.a = isNaN.a > 0. ? NAN : result.a;\n\n return result;\n",t.shape,e.shape):new Ba("if (b == 0.0) return NAN;\n return mod(a, b);",t.shape,e.shape);return this.compileAndRun(n,[t,e])},o.prototype.max=function(t,e){if(this.shouldExecuteOnCPU([t]))return this.cpuBackend.max(t,e);Cn("max",e,t.rank);var n=bn(t.shape,e),r=n[0],o=k(n[1]),a=t.as2D(-1,o);return this.reduce(a,"max",a.dtype).reshape(r)},o.prototype.maximum=function(t,e){if(this.shouldExecuteOnCPU([t,e]))return this.cpuBackend.maximum(t,e);var n=i().getBool("WEBGL_PACK_BINARY_OPERATIONS")?new La("\n vec4 result = vec4(max(a, b));\n vec4 isNaN = min(vec4(isnan(a)) + vec4(isnan(b)), vec4(1.0));\n \n result.r = isNaN.r > 0. ? NAN : result.r;\n result.g = isNaN.g > 0. ? NAN : result.g;\n result.b = isNaN.b > 0. ? NAN : result.b;\n result.a = isNaN.a > 0. ? NAN : result.a;\n\n return result;\n",t.shape,e.shape):new Ba("\n if (isnan(a)) return a;\n if (isnan(b)) return b;\n\n return max(a, b);\n",t.shape,e.shape);return this.compileAndRun(n,[t,e])},o.prototype.all=function(t,e){Cn("all",e,t.rank);var n=bn(t.shape,e),r=n[0],o=k(n[1]),a=t.as2D(-1,o);return this.reduce(a,"all",a.dtype).reshape(r)},o.prototype.any=function(t,e){Cn("any",e,t.rank);var n=bn(t.shape,e),r=n[0],o=k(n[1]),a=t.as2D(-1,o);return this.reduce(a,"any",a.dtype).reshape(r)},o.prototype.realDivide=function(t,e){if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS")){return this.packedBinaryOp(t,e,"\n // vec4 one = vec4(equal(a, b));\n // return one + (vec4(1.0) - one) * a / b;\n vec4 result = a / b;\n if(a.x == b.x) {\n result.x = 1.;\n }\n if(a.y == b.y) {\n result.y = 1.;\n }\n if(a.z == b.z) {\n result.z = 1.;\n }\n if(a.w == b.w) {\n result.w = 1.;\n }\n\n return result;\n","float32",!0)}var n=new Ba("\nif (a == b) {\n return 1.0;\n};\nreturn a / b;",t.shape,e.shape);return this.compileAndRun(n,[t,e],"float32")},o.prototype.floorDiv=function(t,e){if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,"\n ivec4 ia = round(a);\n ivec4 ib = round(b);\n bvec4 cond = notEqual(ib, ivec4(0));\n ivec4 result = ivec4(0);\n vec4 s = sign(a) * sign(b);\n\n // Windows (D3D) wants guaranteed non-zero int division at compile-time.\n if (cond[0]) {\n result[0] = idiv(ia[0], ib[0], s[0]);\n }\n if (cond[1]) {\n result[1] = idiv(ia[1], ib[1], s[1]);\n }\n if (cond[2]) {\n result[2] = idiv(ia[2], ib[2], s[2]);\n }\n if (cond[3]) {\n result[3] = idiv(ia[3], ib[3], s[3]);\n }\n return vec4(result);\n","int32");var n=new Ba("\n float s = sign(a) * sign(b);\n int ia = round(a);\n int ib = round(b);\n if (ib != 0) {\n // Windows (D3D) wants guaranteed non-zero int division at compile-time.\n return float(idiv(ia, ib, s));\n } else {\n return NAN;\n }\n",t.shape,e.shape);return this.compileAndRun(n,[t,e],"int32")},o.prototype.add=function(t,e){if("complex64"===t.dtype&&"complex64"===e.dtype)return this.complexSeparableBinaryOp(t,e,Fa);if(this.shouldExecuteOnCPU([t,e]))return this.cpuBackend.add(t,e);var n=Dt(t.dtype,e.dtype);if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,Fa,n);var r=new Ba(Fa,t.shape,e.shape);return this.compileAndRun(r,[t,e],n)},o.prototype.packedUnaryOp=function(t,e,n){var r=new Xs(t.shape,e);return this.compileAndRun(r,[t],n)},o.prototype.packedBinaryOp=function(t,e,n,r,o){void 0===o&&(o=!1);var a=new La(n,t.shape,e.shape,o);return this.compileAndRun(a,[t,e],r)},o.prototype.complexSeparableBinaryOp=function(t,e,n){var r=this,o=this.texData.get(t.dataId),a=this.texData.get(e.dataId),i=[[o.complexTensors.real,a.complexTensors.real],[o.complexTensors.imag,a.complexTensors.imag]].map((function(o){var a=o[0],i=o[1],s=r.makeComplexComponentTensorInfo(t,a),u=r.makeComplexComponentTensorInfo(e,i),c=new Ba(n,t.shape,e.shape);return r.compileAndRun(c,[s,u],Dt(a.dtype,i.dtype))})),s=i[0],u=i[1],c=this.complex(s,u);return s.dispose(),u.dispose(),c},o.prototype.makeComplexComponentTensorInfo=function(t,e){return{dataId:e.dataId,dtype:e.dtype,shape:t.shape}},o.prototype.addN=function(t){if(1===t.length)return t[0];if(t.length>i().get("WEBGL_MAX_TEXTURES_IN_SHADER")){var e=Math.floor(t.length/2),n=this.addN(t.slice(0,e)),r=this.addN(t.slice(e));return this.addN([n,r])}var o=t.map((function(t){return t.dtype})).reduce((function(t,e){return Dt(t,e)})),a=t.map((function(t){return t.shape})),s=i().getBool("WEBGL_PACK")?new oa(t[0].shape,a):new ra(t[0].shape,a);return this.compileAndRun(s,t,o)},o.prototype.subtract=function(t,e){if("complex64"===t.dtype&&"complex64"===e.dtype)return this.complexSeparableBinaryOp(t,e,_a);if(this.shouldExecuteOnCPU([t,e]))return this.cpuBackend.subtract(t,e);var n=Dt(t.dtype,e.dtype);if(i().getBool("WEBGL_PACK_BINARY_OPERATIONS"))return this.packedBinaryOp(t,e,_a,t.dtype);var r=new Ba(_a,t.shape,e.shape);return this.compileAndRun(r,[t,e],n)},o.prototype.pow=function(t,e){var n=i().getBool("WEBGL_PACK_BINARY_OPERATIONS")?new La("\n // isModRound1 has 1 for components with round(mod(b, 2.0)) == 1, 0 otherwise.\n vec4 isModRound1 = vec4(equal(round(mod(b, 2.0)), ivec4(1)));\n vec4 multiplier = sign(a) * isModRound1 + (vec4(1.0) - isModRound1);\n vec4 result = multiplier * pow(abs(a), b);\n\n // Ensure that a^0 = 1, including 0^0 = 1 as this correspond to TF and JS\n bvec4 isExpZero = equal(b, vec4(0.0));\n result.r = isExpZero.r ? 1.0 : result.r;\n result.g = isExpZero.g ? 1.0 : result.g;\n result.b = isExpZero.b ? 1.0 : result.b;\n result.a = isExpZero.a ? 1.0 : result.a;\n\n vec4 isNaN = vec4(lessThan(a, vec4(0.0))) * vec4(lessThan(floor(b), b));\n \n result.r = isNaN.r > 0. ? NAN : result.r;\n result.g = isNaN.g > 0. ? NAN : result.g;\n result.b = isNaN.b > 0. ? NAN : result.b;\n result.a = isNaN.a > 0. ? NAN : result.a;\n\n return result;\n",t.shape,e.shape):new Ba("\nif(a < 0.0 && floor(b) < b){\n return NAN;\n}\nif (b == 0.0) {\n return 1.0;\n}\nreturn (round(mod(b, 2.0)) != 1) ?\n pow(abs(a), b) : sign(a) * pow(abs(a), b);\n",t.shape,e.shape),r=Dt(t.dtype,e.dtype);return this.compileAndRun(n,[t,e],r)},o.prototype.ceil=function(t){if(this.shouldExecuteOnCPU([t]))return this.cpuBackend.ceil(t);if(i().getBool("WEBGL_PACK_UNARY_OPERATIONS"))return this.packedUnaryOp(t,Ns,t.dtype);var e=new Cs(t.shape,Ns);return this.compileAndRun(e,[t])},o.prototype.floor=function(t){if(this.shouldExecuteOnCPU([t]))return this.cpuBackend.floor(t);if(i().getBool("WEBGL_PACK_UNARY_OPERATIONS"))return this.packedUnaryOp(t,Fs,t.dtype);var e=new Cs(t.shape,Fs);return this.compileAndRun(e,[t])},o.prototype.sign=function(t){var e=new Cs(t.shape,"\n if (isnan(x)) { return 0.0; }\n return sign(x);\n");return this.compileAndRun(e,[t])},o.prototype.isNaN=function(t){var e=new Cs(t.shape,"return float(isnan(x));");return this.compileAndRun(e,[t],"bool")},o.prototype.isInf=function(t){var e=new Cs(t.shape,"return float(isinf(x));");return this.compileAndRun(e,[t],"bool")},o.prototype.isFinite=function(t){var e=new Cs(t.shape,"return float(!isnan(x) && !isinf(x));");return this.compileAndRun(e,[t],"bool")},o.prototype.round=function(t){var e=new Cs(t.shape,"\n // OpenGL ES does not support round function.\n // The algorithm is based on banker's rounding.\n float base = floor(x);\n if ((x - base) < 0.5) {\n return floor(x);\n } else if ((x - base) > 0.5) {\n return ceil(x);\n } else {\n if (mod(base, 2.0) == 0.0) {\n return base;\n } else {\n return base + 1.0;\n }\n }\n");return this.compileAndRun(e,[t])},o.prototype.exp=function(t){if(this.shouldExecuteOnCPU([t]))return this.cpuBackend.exp(t);if(i().getBool("WEBGL_PACK_UNARY_OPERATIONS"))return this.packedUnaryOp(t,_s,t.dtype);var e=new Cs(t.shape,_s);return this.compileAndRun(e,[t])},o.prototype.expm1=function(t){if(this.shouldExecuteOnCPU([t]))return this.cpuBackend.expm1(t);if(i().getBool("WEBGL_PACK_UNARY_OPERATIONS"))return this.packedUnaryOp(t,Os,t.dtype);var e=new Cs(t.shape,Os);return this.compileAndRun(e,[t])},o.prototype.softmax=function(t,e){var n=O([e],t.shape),r=this.max(t,n),o=wn(r.shape,n),a=this.subtract(t,r.reshape(o)),i=this.exp(a),s=this.sum(i,n).reshape(o);return this.realDivide(i,s)},o.prototype.log=function(t){if(this.shouldExecuteOnCPU([t]))return this.cpuBackend.log(t);if(i().getBool("WEBGL_PACK_UNARY_OPERATIONS"))return this.packedUnaryOp(t,"\n vec4 result = log(x);\n vec4 isNaN = vec4(lessThan(x, vec4(0.0)));\n result.r = isNaN.r == 1.0 ? NAN : result.r;\n result.g = isNaN.g == 1.0 ? NAN : result.g;\n result.b = isNaN.b == 1.0 ? NAN : result.b;\n result.a = isNaN.a == 1.0 ? NAN : result.a;\n\n return result;\n",t.dtype);var e=new Cs(t.shape,"if (x < 0.0) return NAN;\n return log(x);");return this.compileAndRun(e,[t])},o.prototype.log1p=function(t){var e=new Cs(t.shape,"return log(1.0 + x);");return this.compileAndRun(e,[t])},o.prototype.sqrt=function(t){var e=new Cs(t.shape,"return sqrt(x);");return this.compileAndRun(e,[t])},o.prototype.rsqrt=function(t){if(this.shouldExecuteOnCPU([t]))return this.cpuBackend.rsqrt(t);var e=new Cs(t.shape,"return inversesqrt(x);");return this.compileAndRun(e,[t])},o.prototype.reciprocal=function(t){var e=new Cs(t.shape,"return 1.0 / x;");return this.compileAndRun(e,[t])},o.prototype.relu=function(t){var e;return e=i().getBool("WEBGL_PACK")?new Xs(t.shape,qs):new Cs(t.shape,ks),this.compileAndRun(e,[t])},o.prototype.relu6=function(t){var e;return e=i().getBool("WEBGL_PACK")?new Xs(t.shape,Ks):new Cs(t.shape,Ss),this.compileAndRun(e,[t])},o.prototype.prelu=function(t,e){var n=i().getBool("WEBGL_PACK_BINARY_OPERATIONS")?new La(Pa,t.shape,e.shape):new Ba(Ma,t.shape,e.shape);return this.compileAndRun(n,[t,e])},o.prototype.elu=function(t){if(i().getBool("WEBGL_PACK_UNARY_OPERATIONS"))return this.packedUnaryOp(t,js,t.dtype);var e=new Cs(t.shape,As);return this.compileAndRun(e,[t])},o.prototype.eluDer=function(t,e){var n=i().getBool("WEBGL_PACK_BINARY_OPERATIONS")?new La("\n vec4 bGTEZero = vec4(greaterThanEqual(b, vec4(0.)));\n return (bGTEZero * a) + ((vec4(1.0) - bGTEZero) * (a * (b + vec4(1.0))));\n",t.shape,e.shape):new Ba("return (b >= 1.0) ? a : a * (b + 1.0);",t.shape,e.shape);return this.compileAndRun(n,[t,e])},o.prototype.selu=function(t){var e=new Cs(t.shape,Ds);return this.compileAndRun(e,[t])},o.prototype.int=function(t){var e=new Cs(t.shape,"return float(int(x));");return this.compileAndRun(e,[t],"int32")},o.prototype.clip=function(t,e,n){var r,o=(r=i().getBool("WEBGL_PACK_CLIP")?new Ua(t.shape):new Wa(t.shape)).getCustomSetupFunc(e,n);return this.compileAndRun(r,[t],null,o)},o.prototype.abs=function(t){if(this.shouldExecuteOnCPU([t]))return this.cpuBackend.abs(t);if(i().getBool("WEBGL_PACK_UNARY_OPERATIONS"))return this.packedUnaryOp(t,Is,t.dtype);var e=new Cs(t.shape,Is);return this.compileAndRun(e,[t])},o.prototype.complexAbs=function(t){var e=this.texData.get(t.dataId),n=new Va(t.shape),r=[this.makeComplexComponentTensorInfo(t,e.complexTensors.real),this.makeComplexComponentTensorInfo(t,e.complexTensors.imag)];return this.compileAndRun(n,r)},o.prototype.sigmoid=function(t){var e=new Cs(t.shape,"return 1.0 / (1.0 + exp(-1.0 * x));");return this.compileAndRun(e,[t])},o.prototype.softplus=function(t){var e=new Cs(t.shape,"\n float epsilon = 1.1920928955078125e-7;\n float threshold = log(epsilon) + 2.0;\n\n bool too_large = x > -threshold;\n bool too_small = x < threshold;\n\n float result;\n float exp_x = exp(x);\n\n if (too_large){\n result = x;\n }\n else if (too_small){\n result = exp_x;\n }\n else{\n result = log(exp_x + 1.0);\n }\n return result;\n");return this.compileAndRun(e,[t])},o.prototype.sin=function(t){var e=new Cs(t.shape,Ms);return this.compileAndRun(e,[t])},o.prototype.cos=function(t){var e=new Cs(t.shape,Bs);return this.compileAndRun(e,[t])},o.prototype.tan=function(t){var e=new Cs(t.shape,"return tan(x);");return this.compileAndRun(e,[t])},o.prototype.asin=function(t){var e=new Cs(t.shape,Ps);return this.compileAndRun(e,[t])},o.prototype.acos=function(t){var e=new Cs(t.shape,Ls);return this.compileAndRun(e,[t])},o.prototype.atan=function(t){var e=new Cs(t.shape,Ws);return this.compileAndRun(e,[t])},o.prototype.atan2=function(t,e){var n=i().getBool("WEBGL_PACK_BINARY_OPERATIONS")?new La("\n vec4 result = atan(a, b);\n vec4 isNaN = min(vec4(isnan(a)) + vec4(isnan(b)), vec4(1.0));\n \n result.r = isNaN.r > 0. ? NAN : result.r;\n result.g = isNaN.g > 0. ? NAN : result.g;\n result.b = isNaN.b > 0. ? NAN : result.b;\n result.a = isNaN.a > 0. ? NAN : result.a;\n\n return result;\n",t.shape,e.shape):new Ba("\n if (isnan(a)) return a;\n if (isnan(b)) return b;\n\n return atan(a, b);\n",t.shape,e.shape);return this.compileAndRun(n,[t,e])},o.prototype.sinh=function(t){var e=new Cs(t.shape,"\n float e2x = exp(x);\n return (e2x - 1.0 / e2x) / 2.0;\n");return this.compileAndRun(e,[t])},o.prototype.cosh=function(t){var e=new Cs(t.shape,"\n float e2x = exp(-x);\n return (e2x + 1.0 / e2x) / 2.0;\n");return this.compileAndRun(e,[t])},o.prototype.tanh=function(t){var e=new Cs(t.shape,"\n float e2x = exp(-2.0 * abs(x));\n return sign(x) * (1.0 - e2x) / (1.0 + e2x);\n");return this.compileAndRun(e,[t])},o.prototype.asinh=function(t){var e=new Cs(t.shape,Us);return this.compileAndRun(e,[t])},o.prototype.acosh=function(t){var e=new Cs(t.shape,Vs);return this.compileAndRun(e,[t])},o.prototype.atanh=function(t){var e=new Cs(t.shape,zs);return this.compileAndRun(e,[t])},o.prototype.erf=function(t){var e=new Cs(t.shape,'\n // Error function is calculated approximately with elementary function.\n // See "Handbook of Mathematical Functions with Formulas,\n // Graphs, and Mathematical Tables", Abramowitz and Stegun.\n float p = 0.3275911;\n float a1 = 0.254829592;\n float a2 = -0.284496736;\n float a3 = 1.421413741;\n float a4 = -1.453152027;\n float a5 = 1.061405429;\n\n float sign = sign(x);\n x = abs(x);\n float t = 1.0 / (1.0 + p * x);\n return sign * (1.0 - (((((a5*t + a4)*t) + a3)*t + a2)*t + a1)*t*exp(-x*x));\n');return this.compileAndRun(e,[t])},o.prototype.step=function(t,e){var n=new Cs(t.shape,function(t){return void 0===t&&(t=0),Es+"\n return x > 0.0 ? 1.0 : float("+t+");\n "}(e));return this.compileAndRun(n,[t])},o.prototype.conv2dByMatMul=function(t,e,n,r,o,a){var s=t.shape,u=this.texData.get(t.dataId),c=n.inChannels,l=s[0]*s[1]*s[2],h=n.outChannels,f="channelsLast"===n.dataFormat,d=(1===l||1===h)&&c>1e3,p=s[2]%2!=0&&!!u.isPacked;if(d||!i().getBool("WEBGL_LAZILY_UNPACK")||!i().getBool("WEBGL_PACK_BINARY_OPERATIONS")||!p){var v=f?s[0]*s[1]*s[2]:s[0]*s[2]*s[3],m=this.reshape(t,[1,v,n.inChannels]),g=this.reshape(e,[1,n.inChannels,n.outChannels]);return this.reshape(this.fusedBatchMatMul({a:m,b:g,transposeA:!1,transposeB:!1,bias:r,activation:o,preluActivationWeights:a}),n.outShape)}var y=f?s[0]*s[1]*(s[2]+1):s[0]*s[2]*(s[3]+1),x={dataId:t.dataId,shape:[1,y,n.inChannels],dtype:t.dtype},b=u.shape;u.shape=u.shape.slice(),u.shape[u.shape.length-2]++,C(_e(u.shape,x.shape),(function(){return"packed reshape "+u.shape+" to "+x.shape+" isn't free"}));var w=this.reshape(e,[1,n.inChannels,n.outChannels]),E=this.fusedBatchMatMul({a:x,b:w,transposeA:!1,transposeB:!1,bias:r,activation:o,preluActivationWeights:a}),R=this.texData.get(E.dataId);return C(R.isPacked,(function(){return"batchMatMul result is expected to be packed"})),u.shape=b,R.shape=n.outShape,Lt.makeTensorFromDataId(E.dataId,n.outShape,E.dtype)},o.prototype.conv2dWithIm2Row=function(t,e,n,r,o,a){var i=n.filterWidth,s=n.filterHeight,u=n.inChannels,c=n.outWidth,l=n.outHeight,h="channelsLast"===n.dataFormat,f=i*s*u,d=l*c,p=[f,d],v=t.squeeze([0]),m=e.reshape([1,f,-1]),g=new Li(p,v.shape,n),y=this.compileAndRun(g,[v]).reshape([1,p[0],p[1]]),x=null!=r,b=null!=a,w=o?Qs(o,!0):null,C=new Hi(y.shape,[1,d,n.outChannels],!0,!1,x,w,b),E=[y,m];r&&E.push(r),b&&E.push(a);var R=this.compileAndRun(C,E);return h?R.reshape([1,l,c,n.outChannels]):R.reshape([1,n.outChannels,l,c])},o.prototype.fusedConv2d=function(t){var e=t.input,n=t.filter,r=t.convInfo,o=t.bias,a=t.activation,s=t.preluActivationWeights;if(1===r.filterHeight&&1===r.filterWidth&&1===r.dilationHeight&&1===r.dilationWidth&&1===r.strideHeight&&1===r.strideWidth&&("SAME"===r.padInfo.type||"VALID"===r.padInfo.type))return this.conv2dByMatMul(e,n,r,o,a,s);if(i().getBool("WEBGL_CONV_IM2COL")&&1===e.shape[0])return this.conv2dWithIm2Row(e,n,r,o,a,s);var u=null!=o,c=null!=s,l=a?Qs(a,!1):null,h=new Qa(r,u,l,c),f=[e,n];return o&&f.push(o),s&&f.push(s),this.compileAndRun(h,f)},o.prototype.conv2d=function(t,e,n){if(1===n.filterHeight&&1===n.filterWidth&&1===n.dilationHeight&&1===n.dilationWidth&&1===n.strideHeight&&1===n.strideWidth&&("SAME"===n.padInfo.type||"VALID"===n.padInfo.type))return this.conv2dByMatMul(t,e,n);if(i().getBool("WEBGL_CONV_IM2COL")&&1===t.shape[0])return this.conv2dWithIm2Row(t,e,n);var r=new Qa(n);return this.compileAndRun(r,[t,e])},o.prototype.conv2dDerInput=function(t,e,n){var r=new Ka(n);return this.compileAndRun(r,[t,e])},o.prototype.conv2dDerFilter=function(t,e,n){var r=new qa(n);return this.compileAndRun(r,[t,e])},o.prototype.fusedDepthwiseConv2D=function(t){var e,n=t.input,r=t.filter,o=t.convInfo,a=t.bias,s=t.activation,u=t.preluActivationWeights,c=i().getBool("WEBGL_PACK_DEPTHWISECONV")&&o.strideWidth<=2&&o.outChannels/o.inChannels==1,l=s?Qs(s,c):null,h=[n,r],f=null!=a,d=null!=u;return f&&h.push(a),d&&h.push(u),c?(e=new ti(o,f,l,d),this.compileAndRun(e,h)):(e=new Za(o,f,l,d),this.compileAndRun(e,h))},o.prototype.depthwiseConv2D=function(t,e,n){var r;return i().getBool("WEBGL_PACK_DEPTHWISECONV")&&n.strideWidth<=2&&n.outChannels/n.inChannels==1?(r=new ti(n),this.compileAndRun(r,[t,e])):(r=new Za(n),this.compileAndRun(r,[t,e]))},o.prototype.depthwiseConv2DDerInput=function(t,e,n){var r=new $a(n);return this.compileAndRun(r,[t,e])},o.prototype.depthwiseConv2DDerFilter=function(t,e,n){var r=new Ya(n);return this.compileAndRun(r,[t,e])},o.prototype.conv3d=function(t,e,n){var r=new Ja(n);return this.compileAndRun(r,[t,e])},o.prototype.conv3dDerInput=function(t,e,n){var r=new Xa(n);return this.compileAndRun(r,[t,e])},o.prototype.conv3dDerFilter=function(t,e,n){var r=new ja(n);return this.compileAndRun(r,[t,e])},o.prototype.maxPool=function(t,e){var n=new $i(e,"max",!1);return this.compileAndRun(n,[t])},o.prototype.avgPool=function(t,e){var n=new $i(e,"avg",!1);return this.compileAndRun(n,[t],"float32")},o.prototype.maxPoolBackprop=function(t,e,n,r){var o=new $i(r,"max",!0),a=this.compileAndRun(o,[e]),i=new zi(r),s=this.compileAndRun(i,[t,a],e.dtype);return a.dispose(),s},o.prototype.avgPoolBackprop=function(t,e,n){var r=new Ia(n);return this.compileAndRun(r,[t],e.dtype)},o.prototype.cast=function(t,e){return Po(t,e,this)},o.prototype.unstack=function(t,e){for(var n=t.shape[e],r=new Array(t.rank-1),o=0,a=0;a1,(function(){return"blockSize should be > 1 for depthToSpace, but was: "+e}));var r=t.shape[0],o="NHWC"===n?t.shape[1]:t.shape[2],a="NHWC"===n?t.shape[2]:t.shape[3],i="NHWC"===n?t.shape[3]:t.shape[1],s=o*e,u=a*e,c=i/(e*e),l=new ii("NHWC"===n?[r,s,u,c]:[r,c,s,u],e,n);return this.compileAndRun(l,[t])},o.prototype.split=function(t,e,n){return Zo(t,e,n)},o.prototype.scatterND=function(t,e,n){var r=Zr(0,t,n),o=r.sliceRank,a=r.numUpdates,i=r.sliceSize,s=r.strides,u=r.outputSize,c=[u/i,i],l=t.reshape([a,o]),h=e.reshape([a,i]);if(0===u)return Lo(Fn([]),n);var f=On(0),d=new ss(a,o,l.rank,h.rank,s,c);return this.compileAndRun(d,[h,l,f]).reshape(n)},o.prototype.sparseToDense=function(t,e,n,r){var o=Zr(0,t,n),a=o.sliceRank,i=o.numUpdates,s=o.strides,u=o.outputSize,c=new ss(i,a,t.rank,e.rank,s,[u,1],!1);return this.compileAndRun(c,[e,t,r]).reshape(n)},o.prototype.fft=function(t){return this.fftImpl(t,!1)},o.prototype.ifft=function(t){return this.fftImpl(t,!0)},o.prototype.fftImpl=function(t,e){var n=this.texData.get(t.dataId),r=new pi(fi,t.shape,e),o=new pi(di,t.shape,e),a=[this.makeComplexComponentTensorInfo(t,n.complexTensors.real),this.makeComplexComponentTensorInfo(t,n.complexTensors.imag)],i=this.compileAndRun(r,a),s=this.compileAndRun(o,a),u=this.complex(i,s).as2D(t.shape[0],t.shape[1]);return i.dispose(),s.dispose(),u},o.prototype.gatherND=function(t,e){var n=e.shape,r=n[n.length-1],o=jr(t,e),a=o[0],i=o[1],s=o[2],u=o[3],c=e.reshape([i,r]),l=t.reshape([t.size/s,s]),h=new gi(r,u,[i,s]);return this.compileAndRun(h,[l,c]).reshape(a)},o.prototype.fill=function(t,e,n){if("string"===(n=n||j(e))){var r=P(n,k(t));return r.fill(e),Lt.makeTensor(r,t,n,this)}var o=new vi(t,e),a=o.getCustomSetupFunc(e);return this.compileAndRun(o,[],n,a)},o.prototype.onesLike=function(t){if("string"===t.dtype)throw new Error("onesLike is not supported under string dtype");return this.fill(t.shape,1,t.dtype)},o.prototype.zerosLike=function(t){return this.fill(t.shape,"string"===t.dtype?"":0,t.dtype)},o.prototype.linspace=function(t,e,n){return Wo(t,e,n)},o.prototype.makeTensorInfo=function(t,e){var n=this.write(null,t,e);return this.texData.get(n).usage=null,{dataId:n,shape:t,dtype:e}},o.prototype.makeOutput=function(t,e){var n=this.makeTensorInfo(t,e).dataId;return Lt.makeTensorFromDataId(n,t,e,this)},o.prototype.unpackTensor=function(t){var e=new Ys(t.shape);return this.runWebGLProgram(e,[t],t.dtype)},o.prototype.packTensor=function(t){var e=new ji(t.shape);return this.runWebGLProgram(e,[t],t.dtype,null,!0)},o.prototype.packedReshape=function(t,e){var n=[Ae(t.shape)].concat(De(t.shape)),r={dtype:t.dtype,shape:n,dataId:t.dataId},o=[Ae(e)].concat(De(e)),a=new Zi(o,n),i=this.runWebGLProgram(a,[r],t.dtype,null,!0);return{dataId:i.dataId,shape:e,dtype:i.dtype}},o.prototype.decode=function(t){var e,n=this.texData.get(t),r=n.isPacked,o=n.shape,a=n.dtype,i=Te(o);e=r?new ai(i):new oi(i);return{dtype:a,shape:o,dataId:this.runWebGLProgram(e,[{shape:i,dtype:a,dataId:t}],a,null,!0).dataId}},o.prototype.runWebGLProgram=function(t,e,n,r,o){var a=this;void 0===o&&(o=!1);var s=this.makeTensorInfo(t.outputShape,n),u=this.texData.get(s.dataId);if(t.packedOutput&&(u.isPacked=!0),t.outPackingScheme===Vt.DENSE){var c=Yt(t.outputShape);u.texShape=c.map((function(t){return 2*t}))}if(null!=t.outTexUsage&&(u.usage=t.outTexUsage),0===k(s.shape))return u.values=B(s.dtype,0),s;var l=[],h=e.map((function(e){if("complex64"===e.dtype)throw new Error("GPGPUProgram does not support complex64 input. For complex64 dtypes, please separate the program into real and imaginary parts.");var n=a.texData.get(e.dataId);if(null==n.texture){if(!t.packedInputs&&k(e.shape)<=i().getNumber("WEBGL_SIZE_UPLOAD_UNIFORM"))return{shape:e.shape,texData:null,isUniform:!0,uniformValues:n.values};t.packedInputs&&(n.isPacked=!0,n.shape=e.shape)}else if(!!n.isPacked!=!!t.packedInputs)e=n.isPacked?a.unpackTensor(e):a.packTensor(e),l.push(e),n=a.texData.get(e.dataId);else if(n.isPacked&&!_e(n.shape,e.shape)){var r=e,o=e.shape;e.shape=n.shape,e=a.packedReshape(e,o),l.push(e),n=a.texData.get(e.dataId),r.shape=o}return a.uploadToGPU(e.dataId),{shape:e.shape,texData:n,isUniform:!1}}));this.uploadToGPU(s.dataId);var f,d={shape:s.shape,texData:u,isUniform:!1},p=function(t,e,n){var r="";e.concat(n).forEach((function(t){var e=null!=t.texData&&null!=t.texData.slice&&t.texData.slice.flatOffset>0,n=t.isUniform?"uniform":t.texData.texShape;r+=t.shape+"_"+n+"_"+e}));var o=t.userCode,a=t.constructor.name;return a+="_"+r+"_"+o}(t,h,d),v=this.getAndSaveBinary(p,(function(){return function(t,e,n,r){var o=e.userCode,a=n.map((function(t,n){var r={logicalShape:t.shape,texShape:t.isUniform?null:t.texData.texShape,isUniform:t.isUniform,isPacked:!t.isUniform&&t.texData.isPacked,flatOffset:null};return null!=t.texData&&null!=t.texData.slice&&t.texData.slice.flatOffset>0&&(r.flatOffset=t.texData.slice.flatOffset),{name:e.variableNames[n],shapeInfo:r}})),s=a.map((function(t){return t.shapeInfo})),u={logicalShape:r.shape,texShape:r.texData.texShape,isUniform:!1,isPacked:r.texData.isPacked,flatOffset:null},c=fa(a,u,o,e.packedInputs),l=t.createProgram(c),h=null,f=t.getUniformLocation(l,"NAN",!1);1===i().getNumber("WEBGL_VERSION")&&(h=t.getUniformLocation(l,"INFINITY",!1));for(var d={},p=0;p0)return 32}return 16}))),this.floatPrecisionValue},o.prototype.epsilon=function(){return 32===this.floatPrecision()?1e-7:1e-4},o.prototype.uploadToGPU=function(t){var e,n=this.texData.get(t),r=n.shape,o=n.dtype,a=n.values,i=n.texture,s=n.usage,u=n.isPacked;if(null==i){var c,l=null!=this.activeTimers;l&&(c=et());var h=n.texShape;if(null==h&&(h=Ne(r,u),n.texShape=h),null!=a){var f=Te(r),d=void 0,p=h[1],v=h[0],m=a instanceof Uint8Array;u?(p=(e=$t(h[0],h[1]))[0],v=e[1],d=new hi(f,[v,p],m)):d=new li(f,[v,p],m);var g=this.makeTensorInfo([v,p],o);this.texData.get(g.dataId).usage=m?zt.PIXELS:zt.UPLOAD,this.gpgpu.uploadDenseMatrixToTexture(this.getTexture(g.dataId),p,v,a);var y=this.runWebGLProgram(d,[g],o,null,!0),x=this.texData.get(y.dataId);n.texture=x.texture,n.texShape=x.texShape,n.isPacked=x.isPacked,n.usage=x.usage,this.disposeData(g.dataId),this.texData.delete(y.dataId),n.values=null,l&&(this.uploadWaitMs+=et()-c)}else{var b=this.acquireTexture(h,s,o,u);n.texture=b}}},o.prototype.convertAndCacheOnCPU=function(t,e){var n=this.texData.get(t),r=n.dtype;return this.releaseGPUData(t),null!=e&&(n.values=function(t,e){if("float32"===e||"complex64"===e)return t;if("int32"===e||"bool"===e){for(var n="int32"===e?new Int32Array(t.length):new Uint8Array(t.length),r=0;r1024*this.numMBBeforeWarning*1024){var o=(this.numBytesInGPU/1024/1024).toFixed(2);this.warnedAboutMemory=!0,console.warn("High memory usage in GPU: "+o+" MB, most likely due to a memory leak")}return this.textureManager.acquireTexture(t,e,r)},o.prototype.computeBytes=function(t,e){return t[0]*t[1]*z(e)},o}(bo);Wt()&&Lt.registerBackend("webgl",(function(){return new Zs}),2);var tu=An({square_:function(t){var e=mn(t,"x","square"),n=[e];return Lt.runKernelFunc((function(t,n){return n([e]),t.square(e)}),{x:e},null,"Square",{},n,[])}}),eu="SquaredDifference";var nu=An({squaredDifference_:function(t,e){var n,r=mn(t,"a","squaredDifference"),o=mn(e,"b","squaredDifference");n=Nt(r,o),r=n[0],o=n[1],Ro(r.shape,o.shape);var a={a:r,b:o},i=[r,o];return Lt.runKernelFunc((function(t,e){var n=t.squaredDifference(r,o);return e([r,o]),n}),a,(function(t,e){var n=e[0],r=e[1],o=On(2);return{a:function(){return t.mul(n.sub(r).mul(o))},b:function(){return t.mul(r.sub(n).mul(o))}}}),eu,{},i,[])}});var ru=An({abs_:function(t){var e=mn(t,"x","abs");return"complex64"===e.dtype?Lt.runKernelFunc((function(t){return t.complexAbs(e)}),{$x:e}):Lt.runKernelFunc((function(t,n){var r=t.abs(e);return n([e]),r}),{x:e},(function(t,e){var n=e[0];return{x:function(){return t.mul(n.toFloat().step(-1))}}}),"Abs")}}),ou=An({acos_:function(t){var e=mn(t,"x","acos");return Lt.runKernelFunc((function(t,n){var r=t.acos(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.divStrict(On(1).sub(n.toFloat().square()).sqrt()).neg()}}}))}}),au=An({acosh_:function(t){var e=mn(t,"x","acosh");return Lt.runKernelFunc((function(t,n){var r=t.acosh(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.divStrict(n.toFloat().square().sub(1).sqrt())}}}))}}),iu=An({asin_:function(t){var e=mn(t,"x","asin");return Lt.runKernelFunc((function(t,n){var r=t.asin(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.divStrict(On(1).sub(n.toFloat().square()).sqrt())}}}))}}),su=An({asinh_:function(t){var e=mn(t,"x","asinh");return Lt.runKernelFunc((function(t,n){var r=t.asinh(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.divStrict(On(1).add(n.toFloat().square()).sqrt())}}}))}}),uu=An({atan_:function(t){var e=mn(t,"x","atan");return Lt.runKernelFunc((function(t,n){var r=t.atan(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.div(n.toFloat().square().add(1))}}}))}}),cu=An({atanh_:function(t){var e=mn(t,"x","atanh");return Lt.runKernelFunc((function(t,n){var r=t.atanh(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.div(On(1).sub(n.toFloat().square()))}}}))}}),lu=An({ceil_:function(t){var e=mn(t,"x","ceil");return Lt.runKernelFunc((function(t){return t.ceil(e)}),{$x:e},(function(t){return{$x:function(){return Xn(t)}}}))}}),hu=An({clipByValue_:function(t,e,n){var r=mn(t,"x","clipByValue");C(e<=n,(function(){return"Error in clip: min ("+e+") must be less than or equal to max ("+n+")."}));var o=[r],a={min:e,max:n};return Lt.runKernelFunc((function(t,o){var a=t.clip(r,e,n);return o([r]),a}),{x:r},(function(t,r){var o=r[0];return{x:function(){return t.where(o.greaterEqual(e).logicalAnd(o.lessEqual(n)),Xn(t))}}}),"ClipByValue",a,o)}}),fu=An({cos_:function(t){var e=mn(t,"x","cos"),n=[e];return Lt.runKernelFunc((function(t,n){var r=t.cos(e);return n([e]),r}),{x:e},(function(t,e){var n=e[0];return{x:function(){return n.toFloat().sin().neg().mul(t)}}}),"Cos",{},n)}}),du=An({cosh_:function(t){var e=mn(t,"x","cosh");return Lt.runKernelFunc((function(t,n){var r=t.cosh(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return n.toFloat().sinh().mulStrict(t)}}}))}}),pu=An({erf_:function(t){var e=mn(t,"x","erf");return C("int32"===e.dtype||"float32"===e.dtype,(function(){return"Input dtype must be `int32` or `float32`."})),"int32"===e.dtype&&(e=e.toFloat()),Lt.runKernelFunc((function(t,n){var r=t.erf(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.mul(n.square().neg().exp().mul(2/Math.sqrt(Math.PI)))}}}))}}),vu=An({exp_:function(t){var e=mn(t,"x","exp");return Lt.runKernelFunc((function(t,n){var r=t.exp(e);return n([r]),r}),{x:e},(function(t,e){return{x:function(){return t.mulStrict(e[0])}}}),"Exp",{},[],[!0])}}),mu=An({expm1_:function(t){var e=mn(t,"x","expm1");return Lt.runKernelFunc((function(t,n){var r=t.expm1(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.mul(n.exp())}}}))}}),gu=An({floor_:function(t){var e=mn(t,"x","floor");return Lt.runKernelFunc((function(t){return t.floor(e)}),{$x:e},(function(t){return{$x:function(){return Xn(t)}}}))}}),yu=An({log_:function(t){var e=mn(t,"x","log"),n=[e];return Lt.runKernelFunc((function(t,n){var r=t.log(e);return n([e]),r}),{x:e},(function(t,e){var n=e[0];return{x:function(){return t.div(n.toFloat())}}}),"Log",{},n)}}),xu=An({log1p_:function(t){var e=mn(t,"x","log1p");return Lt.runKernelFunc((function(t,n){var r=t.log1p(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.div(n.add(1))}}}))}}),bu=An({logSigmoid_:function(t){var e=mn(t,"x","logSigmoid");return Lt.runKernelFunc((function(t,n){var r=t.softplus(e.neg()).neg();return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.mul(n.neg().sigmoid())}}}))}}),wu=An({neg_:function(t){var e=mn(t,"x","neg"),n=[e];return Lt.runKernelFunc((function(t){return t.neg(e)}),{x:e},(function(t){return{x:function(){return t.neg()}}}),"Neg",{},n)}}),Cu=An({reciprocal_:function(t){var e=mn(t,"x","reciprocal");return Lt.runKernelFunc((function(t,n){var r=t.reciprocal(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.div(n.square().neg())}}}))}}),Eu=An({round_:function(t){var e=mn(t,"x","round");return Lt.runKernelFunc((function(t){return t.round(e)}),{$x:e},(function(t){return{$x:function(){return Xn(t)}}}))}}),Ru=An({rsqrt_:function(t){var e=mn(t,"x","rsqrt"),n=[e];return Lt.runKernelFunc((function(t,n){var r=t.rsqrt(e);return n([e]),r}),{x:e},(function(t,e){var n=e[0];return{x:function(){return t.div(n.pow(1.5).mul(2)).neg()}}}),"Rsqrt",{},n)}}),Iu=An({sigmoid_:function(t){var e=mn(t,"x","sigmoid");return Lt.runKernelFunc((function(t,n){var r=t.sigmoid(e);return n([r]),r}),{x:e},(function(t,e){var n=e[0];return{x:function(){return t.mul(n.mul(On(1).sub(n)))}}}),"Sigmoid")}}),ku=An({sign_:function(t){var e=mn(t,"x","sign");return Lt.runKernelFunc((function(t){return t.sign(e)}),{$x:e},(function(t){return{$x:function(){return Xn(t)}}}))}}),Su=An({isNaN_:function(t){var e=mn(t,"x","isNaN");return Lt.runKernelFunc((function(t){return t.isNaN(e)}),{$x:e},(function(t){return{$x:function(){return Xn(t)}}}))}}),Au=An({isInf_:function(t){var e=mn(t,"x","isInf");return Lt.runKernelFunc((function(t){return t.isInf(e)}),{$x:e},(function(t){return{$x:function(){return Xn(t)}}}))}}),Du=An({isFinite_:function(t){var e=mn(t,"x","isFinite");return Lt.runKernelFunc((function(t){return t.isFinite(e)}),{$x:e},(function(t){return{$x:function(){return Xn(t)}}}))}}),Tu=An({sin_:function(t){var e=mn(t,"x","sin"),n=[e];return Lt.runKernelFunc((function(t,n){var r=t.sin(e);return n([e]),r}),{x:e},(function(t,e){var n=e[0];return{x:function(){return n.toFloat().cos().mul(t)}}}),"Sin",{},n)}}),Nu=An({sinh_:function(t){var e=mn(t,"x","sinh");return Lt.runKernelFunc((function(t,n){var r=t.sinh(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return n.toFloat().cosh().mulStrict(t)}}}))}}),Fu=An({softplus_:function(t){var e=mn(t,"x","softplus");return Lt.runKernelFunc((function(t,n){var r=t.softplus(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.mul(n.sigmoid())}}}))}}),_u=An({sqrt_:function(t){var e=mn(t,"x","sqrt");return Lt.runKernelFunc((function(t,n){var r=t.sqrt(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.div(n.toFloat().sqrt().mul(2))}}}))}}),Ou=An({step_:function(t,e){void 0===e&&(e=0);var n=mn(t,"x","step");return Lt.runKernelFunc((function(t){return t.step(n,e)}),{$x:n},(function(t){return{$x:function(){return Xn(t)}}}))}}),Mu=An({tan_:function(t){var e=mn(t,"x","tan");return Lt.runKernelFunc((function(t,n){var r=t.tan(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){return t.div(n.cos().square())}}}))}}),Bu=An({tanh_:function(t){var e=mn(t,"x","tanh");return Lt.runKernelFunc((function(t,n){var r=t.tanh(e);return n([r]),r}),{x:e},(function(t,e){var n=e[0];return{x:function(){return On(1).sub(n.square()).mulStrict(t)}}}),"Tanh",{},null,[!0])}});function Pu(t,e,n,r,o,a){var i,s,u=mn(t,"x","batchNorm"),c=mn(e,"mean","batchNorm"),l=mn(n,"variance","batchNorm");return null!=o&&(i=mn(o,"scale","batchNorm")),null!=r&&(s=mn(r,"offset","batchNorm")),C(2===u.rank,(function(){return"Error in batchNorm3D: x must be rank 3 but got rank "+u.rank+"."})),C(2===c.rank||1===c.rank,(function(){return"Error in batchNorm2D: mean must be rank 2 or rank 1 but got rank "+c.rank+"."})),C(2===l.rank||1===l.rank,(function(){return"Error in batchNorm2D: variance must be rank 2 or rank 1 but got rank "+l.rank+"."})),null!=i&&C(2===i.rank||1===i.rank,(function(){return"Error in batchNorm2D: scale must be rank 2 or rank 1 but got rank "+i.rank+"."})),null!=s&&C(2===s.rank||1===s.rank,(function(){return"Error in batchNorm2D: offset must be rank 2 or rank 1 but got rank "+s.rank+"."})),Uu(u,c,l,s,i,a)}function Lu(t,e,n,r,o,a){var i,s,u=mn(t,"x","batchNorm"),c=mn(e,"mean","batchNorm"),l=mn(n,"variance","batchNorm");return null!=o&&(i=mn(o,"scale","batchNorm")),null!=r&&(s=mn(r,"offset","batchNorm")),C(3===u.rank,(function(){return"Error in batchNorm3D: x must be rank 3 but got rank "+u.rank+"."})),C(3===c.rank||1===c.rank,(function(){return"Error in batchNorm3D: mean must be rank 3 or rank 1 but got rank "+c.rank+"."})),C(3===l.rank||1===l.rank,(function(){return"Error in batchNorm3D: variance must be rank 3 or rank 1 but got rank "+l.rank+"."})),null!=i&&C(3===i.rank||1===i.rank,(function(){return"Error in batchNorm3D: scale must be rank 3 or rank 1 but got rank "+i.rank+"."})),null!=s&&C(3===s.rank||1===s.rank,(function(){return"Error in batchNorm3D: offset must be rank 3 or rank 1 but got rank "+s.rank+"."})),Uu(u,c,l,s,i,a)}function Wu(t,e,n,r,o,a){var i,s,u=mn(t,"x","batchNorm"),c=mn(e,"mean","batchNorm"),l=mn(n,"variance","batchNorm");return null!=o&&(i=mn(o,"scale","batchNorm")),null!=r&&(s=mn(r,"offset","batchNorm")),C(4===u.rank,(function(){return"Error in batchNorm4D: x must be rank 4 but got rank "+u.rank+"."})),C(4===c.rank||1===c.rank,(function(){return"Error in batchNorm4D: mean must be rank 4 or rank 1 but got rank "+c.rank+"."})),C(4===l.rank||1===l.rank,(function(){return"Error in batchNorm4D: variance must be rank 4 or rank 1 but got rank "+l.rank+"."})),null!=i&&C(4===i.rank||1===i.rank,(function(){return"Error in batchNorm4D: scale must be rank 4 or rank 1 but got rank "+i.rank+"."})),null!=s&&C(4===s.rank||1===s.rank,(function(){return"Error in batchNorm4D: offset must be rank 4 or rank 1 but got rank "+s.rank+"."})),Uu(u,c,l,s,i,a)}function Uu(t,e,n,r,o,a){null==a&&(a=.001);var i,s,u,c=mn(t,"x","batchNorm"),l=mn(e,"mean","batchNorm"),h=mn(n,"variance","batchNorm");null!=o&&(i=mn(o,"scale","batchNorm")),null!=r&&(s=mn(r,"offset","batchNorm")),C(l.rank===h.rank,(function(){return"Batch normalization gradient requires mean and variance to have equal ranks."})),C(null==s||l.rank===s.rank,(function(){return"Batch normalization gradient requires mean and offset to have equal ranks."})),C(null==i||l.rank===i.rank,(function(){return"Batch normalization gradient requires mean and scale to have equal ranks."})),u=0===c.rank||1===c.rank?c.as4D(1,1,1,c.size):2===c.rank?c.as4D(1,1,c.shape[0],c.shape[1]):3===c.rank?c.as4D(1,c.shape[0],c.shape[1],c.shape[2]):c;var f=[c,l,h,i];return Lt.runKernelFunc((function(t,e){var n=t.batchNormalization(u,Vu(l),Vu(h),a,Vu(i),Vu(s));return e([c,l,h,i]),n}),{x:c,mean:l,variance:h,scale:i,offset:s},(function(t,e){var n=e,r=n[0],o=n[1],i=n[2],s=n[3],c=null==s?On(1):s,l=Eo(o.shape,u.shape),h=[];if(1===o.rank){for(var f=0;f0&&(e=e.sum(n)),e.reshape(r.shape)},b:function(){var e=t,n=Eo(o.shape,a);return n.length>0&&(e=e.sum(n)),e.reshape(o.shape)}}}),"Add")}}),oc=An({addN_:function(t){C(Array.isArray(t),(function(){return"The argument passed to tf.addN() must be a list of tensors"})),C(t.length>=1,(function(){return"Must pass at least one tensor to tf.addN(), but got "+t.length}));var e=t.map((function(t,e){return mn(t,"tensors"+e,"addN")})),n=e[0];e.forEach((function(t){if(t.dtype!==n.dtype)throw new Error("All tensors passed to tf.addN() must have the same dtype")})),e.forEach((function(t){if(!S(t.shape,n.shape))throw new Error("All tensors passed to tf.addN() must have the same shape")}));var r=e;return Lt.runKernelFunc((function(t){return t.addN(e)}),r,(function(t){var n={};return e.forEach((function(e,r){n[r]=function(){return t.clone()}})),n}),"AddN")}}),ac=An({addStrict_:function(t,e){var n=mn(t,"a","addStrict"),r=mn(e,"b","addStrict");return E(n.shape,r.shape,"Error in addStrict: "),n.add(r)}}),ic=An({atan2_:function(t,e){var n,r=mn(t,"a","atan2"),o=mn(e,"b","atan2");n=Nt(r,o),r=n[0],o=n[1];var a=Ro(r.shape,o.shape);return Lt.runKernelFunc((function(t,e){var n=t.atan2(r,o);return e([r,o]),n}),{$a:r,$b:o},(function(t,e){var n=e[0],r=e[1];return{$a:function(){var e=rc(n.square(),r.square()),o=t.mul(r.div(e)),i=Eo(n.shape,a);return i.length>0&&(o=o.sum(i)),o.reshape(n.shape)},$b:function(){var e=rc(n.square(),r.square()),o=wu(t.mul(n.div(e))),i=Eo(r.shape,a);return i.length>0&&(o=o.sum(i)),o.reshape(r.shape)}}}))}}),sc=An({div_:function(t,e){var n,r=mn(t,"a","div"),o=mn(e,"b","div");if(n=Nt(r,o),r=n[0],o=n[1],"int32"===r.dtype&&"int32"===o.dtype)return lc(r,o);var a=Ro(r.shape,o.shape);return Lt.runKernelFunc((function(t,e){var n=t.realDivide(r,o);return e([r,o]),n}),{a:r,b:o},(function(t,e){var n=e[0],r=e[1];return{a:function(){var e=t.div(r.toFloat()),o=Eo(n.shape,a);return o.length>0?e.sum(o).reshape(n.shape):e},b:function(){var e=t.mul(n.toFloat()),o=Eo(r.shape,a);o.length>0&&(e=e.sum(o).reshape(r.shape));var i=r.square();return e.div(i.toFloat()).neg()}}}),"Div")}}),uc=An({divNoNan_:function(t,e){var n,r=mn(t,"a","div"),o=mn(e,"b","div");r=(n=Nt(r,o))[0],o=n[1];var a=sc(r,o),i=Xn(a),s=o.equal(i);return ec(s,i,a)}}),cc=An({divStrict_:function(t,e){var n=mn(t,"a","div"),r=mn(e,"b","div");return E(n.shape,r.shape,"Error in divideStrict: "),n.div(r)}}),lc=An({floorDiv_:function(t,e){var n,r=mn(t,"a","floorDiv"),o=mn(e,"b","floorDiv");n=Nt(r,o),r=n[0],o=n[1];var a=Ro(r.shape,o.shape);return Lt.runKernelFunc((function(t,e){var n=t.floorDiv(r,o);return e([r,o]),n}),{a:r,b:o},(function(t,e){var n=e[0],r=e[1];return{a:function(){var e=t.div(r.toFloat()),o=Eo(n.shape,a);return o.length>0?e.sum(o).reshape(n.shape):e},b:function(){var e=t.mul(n.toFloat()),o=Eo(r.shape,a);o.length>0&&(e=e.sum(o).reshape(r.shape));var i=r.square();return e.div(i.toFloat()).neg()}}}),"FloorDiv")}}),hc=An({maximum_:function(t,e){var n,r=mn(t,"a","maximum"),o=mn(e,"b","maximum");return n=Nt(r,o),r=n[0],o=n[1],"bool"===r.dtype&&(r=r.toInt(),o=o.toInt()),Ro(r.shape,o.shape),Lt.runKernelFunc((function(t,e){var n=t.maximum(r,o);return e([r,o]),n}),{a:r,b:o},(function(t,e){var n=e[0],r=e[1];return{a:function(){return t.mul(n.greaterEqual(r).toFloat())},b:function(){return t.mul(n.less(r).toFloat())}}}),"Maximum")}}),fc=An({maximumStrict_:function(t,e){var n=mn(t,"a","maximumStrict"),r=mn(e,"b","maximumStrict");return E(n.shape,r.shape,"Error in maximumStrict: "),n.maximum(r)}}),dc=An({minimum_:function(t,e){var n,r=mn(t,"a","minimum"),o=mn(e,"b","minimum");return n=Nt(r,o),r=n[0],o=n[1],"bool"===r.dtype&&(r=r.toInt(),o=o.toInt()),Ro(r.shape,o.shape),Lt.runKernelFunc((function(t,e){var n=t.minimum(r,o);return e([r,o]),n}),{a:r,b:o},(function(t,e){var n=e[0],r=e[1];return{a:function(){return t.mul(n.lessEqual(r).toFloat())},b:function(){return t.mul(n.greater(r).toFloat())}}}),"Minimum")}}),pc=An({minimumStrict_:function(t,e){var n=mn(t,"a","minimumStrict"),r=mn(e,"b","minimumStrict");return E(n.shape,r.shape,"Error in minimumStrict: "),n.minimum(r)}}),vc=An({mod_:function(t,e){var n,r=mn(t,"a","mod"),o=mn(e,"b","mod");n=Nt(r,o),r=n[0],o=n[1];var a=Ro(r.shape,o.shape);return Lt.runKernelFunc((function(t,e){var n=t.mod(r,o);return e([r,o]),n}),{$a:r,$b:o},(function(t,e){var n=e[0],r=e[1];return{$a:function(){var e=Eo(n.shape,a);return e.length>0?t.sum(e).reshape(n.shape):t},$b:function(){var e=t.mul(n.div(r).floor().neg()),o=Eo(r.shape,a);return o.length>0?e.sum(o).reshape(r.shape):e}}}))}}),mc=An({modStrict_:function(t,e){var n=mn(t,"a","modStrict"),r=mn(e,"b","modStrict");return E(n.shape,r.shape,"Error in modStrict: "),n.mod(r)}}),gc=An({mul_:function(t,e){var n,r=mn(t,"a","mul"),o=mn(e,"b","mul");n=Nt(r,o),r=n[0],o=n[1];var a=Ro(r.shape,o.shape);return Lt.runKernelFunc((function(t,e){var n=t.multiply(r,o);return e([r,o]),n}),{a:r,b:o},(function(t,e){var n=e[0],r=e[1];return{a:function(){var e=t.mul(r.toFloat()),o=Eo(n.shape,a);return o.length>0?e.sum(o).reshape(n.shape):e},b:function(){var e=t.mul(n.toFloat()),o=Eo(r.shape,a);return o.length>0?e.sum(o).reshape(r.shape):e}}}),"Mul")}}),yc=An({mulStrict_:function(t,e){var n=mn(t,"a","mul"),r=mn(e,"b","mul");return E(n.shape,r.shape,"Error in multiplyStrict: "),n.mul(r)}}),xc=An({pow_:function(t,e){var n,r=mn(t,"base","pow"),o=mn(e,"exp","pow");n=Nt(r,o),r=n[0],o=n[1];var a=Ro(r.shape,o.shape),i=[r,o];return Lt.runKernelFunc((function(t,e){var n=t.pow(r,o);return e([r,o,n]),n}),{a:r,b:o},(function(t,e){var n=e[0],r=e[1],o=e[2];return{a:function(){var e=r.toFloat(),o=t.mul(e.mul(n.pow(e.sub(On(1))))),i=Eo(n.shape,a);return i.length>0&&(o=o.sum(i)),o.reshape(n.shape)},b:function(){var e=n.greater(0),i=n.log().where(e,Xn(n)),s=t.mul(o.mul(i)),u=Eo(r.shape,a);return u.length>0&&(s=s.sum(u)),s.reshape(r.shape)}}}),"Pow",{},i,[!0])}}),bc=An({powStrict_:function(t,e){return E(t.shape,e.shape,"Error in powStrict: "),t.pow(e)}}),wc=An({squaredDifferenceStrict_:function(t,e){var n=mn(t,"a","squaredDifferenceStrict"),r=mn(e,"b","squaredDifferenceStrict");return E(n.shape,r.shape,"Error in squaredDifferenceStrict: "),n.squaredDifference(r)}}),Cc=An({sub_:function(t,e){var n,r=mn(t,"a","sub"),o=mn(e,"b","sub");n=Nt(r,o),r=n[0],o=n[1];var a=Ro(r.shape,o.shape);return Lt.runKernelFunc((function(t){return t.subtract(r,o)}),{a:r,b:o},(function(t){return{a:function(){var e=t,n=Eo(r.shape,a);return n.length>0&&(e=e.sum(n)),e.reshape(r.shape)},b:function(){var e=t,n=Eo(o.shape,a);return n.length>0&&(e=e.sum(n)),e.neg().reshape(o.shape)}}}),"Sub")}}),Ec=An({subStrict_:function(t,e){var n=mn(t,"a","subStrict"),r=mn(e,"b","subStrict");return E(n.shape,r.shape,"Error in subStrict: "),n.sub(r)}});var Rc=An({equal_:function(t,e){var n,r=mn(t,"a","equal"),o=mn(e,"b","equal");return n=Nt(r,o),r=n[0],o=n[1],Ro(r.shape,o.shape),Lt.runKernelFunc((function(t){return t.equal(r,o)}),{$a:r,$b:o})}}),Ic=An({equalStrict_:function(t,e){var n=mn(t,"a","equalStrict"),r=mn(e,"b","equalStrict");return E(n.shape,r.shape,"Error in equalStrict: "),n.equal(r)}}),kc=An({greater_:function(t,e){var n,r=mn(t,"a","greater"),o=mn(e,"b","greater");return n=Nt(r,o),r=n[0],o=n[1],Ro(r.shape,o.shape),Lt.runKernelFunc((function(t){return t.greater(r,o)}),{a:r,b:o},null,"Greater")}}),Sc=An({greaterEqual_:function(t,e){var n,r=mn(t,"a","greaterEqual"),o=mn(e,"b","greaterEqual");return n=Nt(r,o),r=n[0],o=n[1],Ro(r.shape,o.shape),Lt.runKernelFunc((function(t,e){var n=t.greaterEqual(r,o);return e([r,o]),n}),{a:r,b:o},(function(t,e){var n=e[0],r=e[1];return{a:function(){return Xn(n)},b:function(){return Xn(r)}}}),"GreaterEqual")}}),Ac=An({greaterEqualStrict_:function(t,e){var n=mn(t,"a","greaterEqualStrict"),r=mn(e,"b","greaterEqualStrict");return E(n.shape,r.shape,"Error in greaterEqualStrict: "),n.greaterEqual(r)}}),Dc=An({greaterStrict_:function(t,e){var n=mn(t,"a","greaterStrict"),r=mn(e,"b","greaterStrict");return E(n.shape,r.shape,"Error in greaterStrict: "),n.greater(r)}}),Tc=An({less_:function(t,e){var n,r=mn(t,"a","less"),o=mn(e,"b","less");return n=Nt(r,o),r=n[0],o=n[1],Ro(r.shape,o.shape),Lt.runKernelFunc((function(t){return t.less(r,o)}),{a:r,b:o},null,"Less")}}),Nc=An({lessEqual_:function(t,e){var n,r=mn(t,"a","lessEqual"),o=mn(e,"b","lessEqual");return n=Nt(r,o),r=n[0],o=n[1],Ro(r.shape,o.shape),Lt.runKernelFunc((function(t,e){var n=t.lessEqual(r,o);return e([r,o]),n}),{a:r,b:o},null,"LessEqual")}}),Fc=An({lessEqualStrict_:function(t,e){var n=mn(t,"a","lessEqualStrict"),r=mn(e,"b","lessEqualStrict");return E(n.shape,r.shape,"Error in lessEqualStrict: "),n.lessEqual(r)}}),_c=An({lessStrict_:function(t,e){var n=mn(t,"a","lessStrict"),r=mn(e,"b","lessStrict");return E(n.shape,r.shape,"Error in lessStrict: "),n.less(r)}}),Oc=An({notEqual_:function(t,e){var n,r=mn(t,"a","notEqual"),o=mn(e,"b","notEqual");return n=Nt(r,o),r=n[0],o=n[1],Ro(r.shape,o.shape),Lt.runKernelFunc((function(t){return t.notEqual(r,o)}),{a:r,b:o},null,"NotEqual")}}),Mc=An({notEqualStrict_:function(t,e){var n=mn(t,"a","notEqualStrict"),r=mn(e,"b","notEqualStrict");return E(n.shape,r.shape,"Error in notEqualStrict: "),n.notEqual(r)}});function Bc(t,e){for(var n=[],r=t;r0,(function(){return"mask cannot be scalar"})),E(u.slice(i,i+s),a.shape,"mask's shape must match the first K dimensions of tensor's shape,"),c=1,l=i;l=2&&i.rank>=2&&a.rank===i.rank,(function(){return"Error in matMul: inputs must have the same rank of at least 2, got ranks "+a.rank+" and "+i.rank+"."})),C(S(h,f),(function(){return"Error in matMul: outer dimensions ("+h+") and ("+f+") of Tensors with shapes "+a.shape+" and "+i.shape+" must match."})),C(s===u,(function(){return"Error in matMul: inner shapes ("+s+") and ("+u+") of Tensors with shapes "+a.shape+" and "+i.shape+" and transposeA="+n+" and transposeB="+r+" must match."}));var v=a.shape.slice(0,-2).concat([c,l]),m=n?a.as3D(d,s,c):a.as3D(d,c,s),g=r?i.as3D(p,l,u):i.as3D(p,u,l),y={transposeA:n,transposeB:r};return Lt.runKernelFunc((function(t,e){var o=t.batchMatMul(m,g,n,r);return e([m,g]),o}),{a:m,b:g},(function(t,e){var o=e,a=o[0],i=o[1];return n||r?!n&&r?{a:function(){return t.matMul(i,!1,!1)},b:function(){return t.matMul(a,!0,!1)}}:n&&!r?{a:function(){return i.matMul(t,!1,!0)},b:function(){return a.matMul(t,!1,!1)}}:{a:function(){return i.matMul(t,!0,!0)},b:function(){return t.matMul(a,!0,!0)}}:{a:function(){return t.matMul(i,!1,!0)},b:function(){return a.matMul(t,!0,!1)}}}),"BatchMatMul",y).reshape(v)}}),nl=An({dot_:function(t,e){var n=mn(t,"t1","dot"),r=mn(e,"t2","dot");C(!(1!==n.rank&&2!==n.rank||1!==r.rank&&2!==r.rank),(function(){return"Error in dot: inputs must all be rank 1 or 2, but got ranks "+n.rank+" and "+r.rank+"."}));var o=1===n.rank?n.size:n.shape[1],a=1===r.rank?r.size:r.shape[0];return C(o===a,(function(){return"Error in dot: inner dimensions of inputs must match, but got "+o+" and "+a+"."})),1===n.rank&&1===r.rank?n.as2D(1,-1).matMul(r.as2D(-1,1)).asScalar():1===n.rank&&2===r.rank?n.as2D(1,-1).matMul(r.as2D(r.shape[0],r.shape[1])).as1D():2===n.rank&&1===r.rank?n.matMul(r.as2D(-1,1)).as1D():n.matMul(r.as2D(r.shape[0],r.shape[1]))}}),rl=An({outerProduct_:function(t,e){var n=mn(t,"v1","outerProduct"),r=mn(e,"v2","outerProduct");return C(1===n.rank&&1===r.rank,(function(){return"Error in outerProduct: inputs must be rank 1, but got ranks "+n.rank+" and "+r.rank+"."})),n.as2D(-1,1).matMul(r.as2D(1,-1))}});var ol=An({reverse_:function(t,e){var n=mn(t,"x","reverse");if(0===n.rank)return n.clone();var r=O(e,n.shape);return Lt.runKernelFunc((function(t){return t.reverse(n,r)}),{$x:n},(function(t){return{$x:function(){return t.reverse(r)}}})).reshapeAs(n)}}),al=An({reverse1d_:function(t){var e=mn(t,"x","reverse");return C(1===e.rank,(function(){return"Error in reverse1D: x must be rank 1 but got rank "+e.rank+"."})),ol(e,0)}}),il=An({reverse2d_:function(t,e){var n=mn(t,"x","reverse");return C(2===n.rank,(function(){return"Error in reverse2D: x must be rank 2 but got rank "+n.rank+"."})),ol(n,e)}}),sl=An({reverse3d_:function(t,e){var n=mn(t,"x","reverse");return C(3===n.rank,(function(){return"Error in reverse3D: x must be rank 3 but got rank "+n.rank+"."})),ol(n,e)}}),ul=An({reverse4d_:function(t,e){var n=mn(t,"x","reverse");return C(4===n.rank,(function(){return"Error in reverse4D: x must be rank 4 but got rank "+n.rank+"."})),ol(n,e)}});function cl(t,e,n,r,o,a){var i=mn(t,"x","maxPool"),s=i,u=!1;3===i.rank&&(u=!0,s=i.as4D(1,i.shape[0],i.shape[1],i.shape[2])),null==r&&(r=[1,1]),C(4===s.rank,(function(){return"Error in maxPool: input must be rank 4 but got rank "+s.rank+"."})),C(Mo(n,r),(function(){return"Error in maxPool: Either strides or dilations must be 1. Got strides "+n+" and dilations '"+r+"'"})),null!=a&&C(A(o),(function(){return"Error in maxPool: pad must be an integer when using, dimRoundingMode "+a+" but got pad "+o+"."}));var c=Io(s.shape,e,n,r,o,a);if(1===c.filterWidth&&1===c.filterHeight&&S(c.inShape,c.outShape))return i.clone();var l=[s],h=Lt.runKernelFunc((function(t,e){var n=t.maxPool(s,c);return e([s,n]),n}),{x:s},(function(t,a){var i=a[0],s=a[1];return{x:function(){return function(t,e,n,r,o,a,i,s){var u=mn(t,"dy","maxPoolBackprop"),c=mn(e,"input","maxPoolBackprop"),l=mn(n,"output","maxPoolBackprop");C(c.rank===u.rank,(function(){return"Rank of input ("+c.rank+") does not match rank of dy ("+u.rank+")"})),null==a&&(a=[1,1]);C(Mo(o,a),(function(){return"Error in maxPoolBackProp: Either strides or dilations must be 1. Got strides "+o+" and dilations '"+a+"'"})),C(4===u.rank,(function(){return"Error in maxPoolBackprop: dy must be rank 4 but got rank "+u.rank+"."})),C(4===c.rank,(function(){return"Error in maxPoolBackprop: input must be rank 4 but got rank "+c.rank+"."})),null!=s&&C(A(i),(function(){return"Error in maxPoolBackprop: pad must be an integer when using, dimRoundingMode "+s+" but got pad "+i+"."}));var h=Io(c.shape,r,o,a,i,s);return Lt.runKernelFunc((function(t){return t.maxPoolBackprop(u,c,l,h)}),{$dy:u,$input:c})}(t,i,s,e,n,r,o)}}}),"MaxPool",c,l);return u?h.as3D(h.shape[1],h.shape[2],h.shape[3]):h}function ll(t,e,n,r,o,a){var i=mn(t,"x","avgPool","float32");null==r&&(r=[1,1]),C(Mo(n,r),(function(){return"Error in avgPool: Either strides or dilations must be 1. Got strides "+n+" and dilations '"+r+"'"}));var s=i,u=!1;3===i.rank&&(u=!0,s=i.as4D(1,i.shape[0],i.shape[1],i.shape[2])),C(4===s.rank,(function(){return"Error in avgPool: x must be rank 4 but got rank "+s.rank+"."})),null!=a&&C(A(o),(function(){return"Error in avgPool: pad must be an integer when using, dimRoundingMode "+a+" but got pad "+o+"."}));var c=Io(s.shape,e,n,r,o,a);if(1===c.filterWidth&&1===c.filterHeight&&S(c.inShape,c.outShape))return i.clone();var l=Lt.runKernelFunc((function(t){return t.avgPool(s,c)}),{x:s},(function(t){return{x:function(){return function(t,e,n,r,o,a){var i=mn(t,"dy","avgPoolBackprop"),s=mn(e,"input","avgPoolBackprop");C(s.rank===i.rank,(function(){return"Rank of input ("+s.rank+") does not match rank of dy ("+i.rank+")"})),null==o&&(o=[1,1]);C(Mo(r,o),(function(){return"Error in avgPoolBackprop: Either strides or dilations must be 1. Got strides "+r+" and dilations '"+o+"'"}));var u=s,c=i,l=!1;3===s.rank&&(l=!0,u=s.as4D(1,s.shape[0],s.shape[1],s.shape[2]),c=i.as4D(1,i.shape[0],i.shape[1],i.shape[2]));C(4===c.rank,(function(){return"Error in avgPoolBackprop: dy must be rank 4 but got rank "+c.rank+"."})),C(4===u.rank,(function(){return"Error in avgPoolBackprop: input must be rank 4 but got rank "+u.rank+"."}));var h=Io(u.shape,n,r,o,a),f=Lt.runKernelFunc((function(t){return t.avgPoolBackprop(c,u,h)}),{dy4D:c,input4D:u});if(l)return f.as3D(f.shape[1],f.shape[2],f.shape[3]);return f}(t,s,e,n,r,o)}}}),"AvgPool",c);return l=l.cast(i.dtype),u?l.as3D(l.shape[1],l.shape[2],l.shape[3]):l}var hl=An({maxPool_:function(t,e,n,r,o){return cl(t,e,n,1,r,o)}}),fl=An({avgPool_:function(t,e,n,r,o){return ll(t,e,n,1,r,o)}}),dl=An({pool_:function(t,e,n,r,o,a){null==o&&(o=[1,1]),null==a&&(a=1),0===r&&(r="valid");var i=mn(t,"x","maxPool"),s=i,u=!1;3===i.rank&&(u=!0,s=i.as4D(1,i.shape[0],i.shape[1],i.shape[2])),C(Mo(a,o),(function(){return"Error in pool: Either strides or dilations must be 1. Got strides "+a+" and dilations '"+o+"'"}));var c,l=Io(s.shape,e,a,o,r),h=[l.dilationHeight,l.dilationWidth];c="same"===r?function(t,e){var n=t.map((function(t,n){return t+(t-1)*(e[n]-1)})).map((function(t){return t-1})),r=n.map((function(t){return Math.floor(t/2)})),o=n.map((function(t,e){return t-r[e]}));return n.map((function(t,e){return[r[e],o[e]]}))}([l.filterHeight,l.filterWidth],h):[[0,0],[0,0]];var f=1===h[0]&&1===h[1],d=function(t,e,n){var r=n.map((function(t){return t[0]})),o=n.map((function(t){return t[1]})),a=t.concat(r,o),i=e.map((function(t,e){return(t-a[e]%t)%t})),s=o.map((function(t,e){return t+i[e]})),u=e.map((function(t,e){return[r[e],s[e]]})),c=e.map((function(t,e){return[0,i[e]]}));return[u,c]}([l.inHeight,l.inWidth],h,c),p=d[0],v=d[1],m=f?r:"valid",g=f?s:Mr(s,h,p),y=("avg"===n?function(){return ll(g,e,a,1,m)}:function(){return cl(g,e,a,1,m)})(),x=f?y:vr(y,h,v);return u?x.as3D(x.shape[1],x.shape[2],x.shape[3]):x}}),pl=An({maxPool3d_:function(t,e,n,r,o,a,i){void 0===a&&(a="NDHWC");var s=mn(t,"x","maxPool3d"),u=s,c=!1;4===s.rank&&(c=!0,u=s.as5D(1,s.shape[0],s.shape[1],s.shape[2],s.shape[3])),null==i&&(i=[1,1,1]),C(5===u.rank,(function(){return"Error in maxPool3d: x must be rank 5 but got rank "+u.rank+"."})),C("NDHWC"===a,(function(){return"Error in maxPool3d: Only NDHWC is currently supported, but got dataFormat of "+a})),C(Mo(n,i),(function(){return"Error in maxPool3d: Either strides or dilations must be 1. Got strides "+n+" and dilations '"+i+"'"})),null!=o&&C(A(r),(function(){return"Error in maxPool3d: pad must be an integer when using, dimRoundingMode "+o+" but got pad "+r+"."}));var l=ko(u.shape,e,n,i,r,o,a),h=Lt.runKernelFunc((function(t,e){var n=t.maxPool3d(u,l);return e([u,n]),n}),{x:u},(function(t,a){var s=a[0],u=a[1];return{x:function(){return function(t,e,n,r,o,a,i,s){var u=mn(t,"dy","maxPool3dBackprop"),c=mn(e,"input","maxPool3dBackprop"),l=mn(n,"output","maxPool3dBackprop"),h=u,f=c,d=l,p=!1;4===c.rank&&(p=!0,h=u.as5D(1,u.shape[0],u.shape[1],u.shape[2],u.shape[3]),f=c.as5D(1,c.shape[0],c.shape[1],c.shape[2],c.shape[3]),d=l.as5D(1,l.shape[0],l.shape[1],l.shape[2],l.shape[3]));C(5===h.rank,(function(){return"Error in maxPool3dBackprop: dy must be rank 5 but got rank "+h.rank+"."})),C(5===f.rank,(function(){return"Error in maxPool3dBackprop: input must be rank 5 but got rank "+f.rank+"."})),C(5===d.rank,(function(){return"Error in maxPool3dBackprop: output must be rank 5 but got rank "+d.rank+"."})),null==a&&(a=[1,1,1]);C(Mo(o,a),(function(){return"Error in maxPool3dBackprop: Either strides or dilations must be 1. Got strides "+o+" and dilations '"+a+"'"})),null!=s&&C(A(i),(function(){return"Error in maxPool3dBackprop: pad must be an integer when using, dimRoundingMode "+s+" but got pad "+i+"."}));var v=ko(f.shape,r,o,a,i,s),m=Lt.runKernelFunc((function(t){return t.maxPool3dBackprop(h,f,d,v)}),{dy5D:h,input5D:f});if(p)return m.as4D(m.shape[1],m.shape[2],m.shape[3],m.shape[4]);return m}(t,s,u,e,n,i,r,o)}}}));return c?h.as4D(h.shape[1],h.shape[2],h.shape[3],h.shape[4]):h}}),vl=An({avgPool3d_:function(t,e,n,r,o,a,i){void 0===a&&(a="NDHWC");var s=mn(t,"x","avgPool3d","float32"),u=s,c=!1;4===s.rank&&(c=!0,u=s.as5D(1,s.shape[0],s.shape[1],s.shape[2],s.shape[3])),null==i&&(i=[1,1,1]),C(5===u.rank,(function(){return"Error in avgPool3d: x must be rank 5 but got rank "+u.rank+"."})),C("NDHWC"===a,(function(){return"Error in avgPool3d: Only NDHWC is currently supported, but got dataFormat of "+a})),C(Mo(n,i),(function(){return"Error in avgPool3d: Either strides or dilations must be 1. Got strides "+n+" and dilations '"+i+"'"})),null!=o&&C(A(r),(function(){return"Error in avgPool3d: pad must be an integer when using, dimRoundingMode "+o+" but got pad "+r+"."}));var l=ko(u.shape,e,n,i,r,o,a),h=Lt.runKernelFunc((function(t){return t.avgPool3d(u,l)}),{x:u},(function(t){return{x:function(){return function(t,e,n,r,o,a,i){var s=mn(t,"dy","avgPool3dBackprop"),u=mn(e,"input","avgPool3dBackprop"),c=s,l=u,h=!1;4===u.rank&&(h=!0,c=s.as5D(1,s.shape[0],s.shape[1],s.shape[2],s.shape[3]),l=u.as5D(1,u.shape[0],u.shape[1],u.shape[2],u.shape[3]));C(5===c.rank,(function(){return"Error in avgPool3dBackprop: dy must be rank 5 but got rank "+c.rank+"."})),C(5===l.rank,(function(){return"Error in avgPool3dBackprop: input must be rank 5 but got rank "+l.rank+"."})),null==o&&(o=[1,1,1]);C(Mo(r,o),(function(){return"Error in avgPool3dBackprop: Either strides or dilations must be 1. Got strides "+r+" and dilations '"+o+"'"})),null!=i&&C(A(a),(function(){return"Error in maxPool3dBackprop: pad must be an integer when using, dimRoundingMode "+i+" but got pad "+a+"."}));var f=ko(l.shape,n,r,o,a,i),d=Lt.runKernelFunc((function(t){return t.avgPool3dBackprop(c,l,f)}),{dy5D:c,input5D:l});if(h)return d.as4D(d.shape[1],d.shape[2],d.shape[3],d.shape[4]);return d}(t,u,e,n,i,r,o)}}}));return h=h.cast(u.dtype),c?h.as4D(h.shape[1],h.shape[2],h.shape[3],h.shape[4]):h}});var ml=An({slice_:function(t,e,n){var r,o,a=mn(t,"x","slice");if(0===a.rank)throw new Error("Slicing scalar is not possible");(r="number"==typeof e?[e].concat(new Array(a.rank-1).fill(0)):e.length=0?t:(C(-1===t,(function(){return"Negative size values should be exactly -1 but got "+t+" for the slice() size at index "+e+"."})),a.shape[e]-r[e])})),eo(a,r,o);var i=a.shape,s={begin:r,size:o};return Lt.runKernelFunc((function(t){return t.slice(a,r,o)}),{x:a},(function(t){for(var e=[],n=0;n0&&(e=e.sum(a)),e.reshape(r.shape)}}}),"Prelu")}}),Bl=An({relu_:function(t){var e=mn(t,"x","relu");return"bool"===e.dtype?e.toInt():Lt.runKernelFunc((function(t,n){var r=t.relu(e);return n([e]),r}),{x:e},(function(t,e){var n=e[0];return{x:function(){return t.mulStrict(n.step().toFloat())}}}),"Relu")}}),Pl=An({relu6_:function(t){var e=mn(t,"x","relu6");return"bool"===e.dtype?e.toInt():Lt.runKernelFunc((function(t,n){var r=t.relu6(e);return n([e]),r}),{x:e},(function(t,e){var n=e[0],r=n.lessEqual(6).mul(n.step());return{x:function(){return t.mulStrict(r.toFloat())}}}),"Relu6")}}),Ll=An({selu_:function(t){var e=mn(t,"x","selu");return Lt.runKernelFunc((function(t,n){var r=t.selu(e);return n([e]),r}),{$x:e},(function(t,e){var n=e[0];return{$x:function(){var e=n.greater(On(0)),r=On(bs),o=On(ws),a=t.mul(o),i=t.mul(r).mul(n.toFloat().exp());return ec(e,a,i)}}}))}});var Wl=An({transpose_:function(t,e){var n=mn(t,"x","transpose");if(null==e&&(e=n.shape.map((function(t,e){return e})).reverse()),C(n.rank===e.length,(function(){return"Error in transpose: rank of input "+n.rank+" must match length of perm "+e+"."})),e.forEach((function(t){C(t>=0&&to)throw new Error("'k' passed to topk() must be <= the last dimension ("+o+") but got "+e);var a=Lt.runKernelFunc((function(t){return t.topk(r,e,n)}),{$x:r});return{values:a[0],indices:a[1]}}});var jl=An({scatterND_:function(t,e,n){var r=mn(t,"indices","scatterND","int32"),o=mn(e,"updates","scatterND");return Jr(o,r,n),Lt.runKernelFunc((function(t){return t.scatterND(r,o,n)}),{indices:r,updates:o},null,"ScatterNd",{shape:n})}});var Xl=An({fft_:function(t){C("complex64"===t.dtype,(function(){return"The dtype for tf.spectral.fft() must be complex64 but got "+t.dtype+"."}));var e=t.shape[t.shape.length-1],n=t.size/e,r=t.as2D(n,e);return Lt.runKernelFunc((function(t){return t.fft(r)}),{input:t}).reshape(t.shape)}}),Yl=An({ifft_:function(t){C("complex64"===t.dtype,(function(){return"The dtype for tf.spectral.ifft() must be complex64 but got "+t.dtype+"."}));var e=t.shape[t.shape.length-1],n=t.size/e,r=t.as2D(n,e);return Lt.runKernelFunc((function(t){return t.ifft(r)}),{input:t}).reshape(t.shape)}}),$l=An({rfft_:function(t,e){C("float32"===t.dtype,(function(){return"The dtype for rfft() must be real value but got "+t.dtype}));var n,r=t.shape[t.shape.length-1],o=t.size/r;if(null!=e&&er){var s=t.shape.map((function(t){return t}));s[t.shape.length-1]=e-r,n=t.concat(Gn(s),t.shape.length-1),r=e}else n=t;var u=n.zerosLike(),c=Dn(n,u).as2D(o,r),l=Xl(c),h=Math.floor(r/2)+1,f=Tn(l),d=Nn(l),p=f.split([h,r-h],f.shape.length-1),v=d.split([h,r-h],d.shape.length-1),m=n.shape.slice();return m[n.shape.length-1]=h,Dn(p[0],v[0]).reshape(m)}}),Ql=An({irfft_:function(t){var e=t.shape[t.shape.length-1],n=t.size/e;if(e<=2){var r=t.as2D(n,e),o=Yl(r);return Tn(o)}var a=[n,2*(e-1)],i=Tn(t).as2D(n,e),s=Nn(t).as2D(n,e),u=i.slice([0,1],[n,e-2]).reverse(1),c=s.slice([0,1],[n,e-2]).reverse(1).mul(On(-1)),l=i.concat(u,1),h=s.concat(c,1);return r=Dn(l,h).as2D(a[0],a[1]),o=Yl(r),Tn(o)}}),Jl=Object.freeze({fft:Xl,ifft:Yl,rfft:$l,irfft:Ql});var Zl=An({sparseToDense_:function(t,e,n,r){void 0===r&&(r=0);var o=mn(t,"sparseIndices","sparseToDense","int32"),a=mn(e,"sparseValues","sparseToDense"),i=mn(r,"defaultValue","sparseToDense",a.dtype);return function(t,e,n,r){if("int32"!==t.dtype)throw new Error("tf.sparseToDense() expects the indices to be int32 type, but the dtype was "+t.dtype+".");if(t.rank>2)throw new Error("sparseIndices should be a scalar, vector, or matrix, but got shape "+t.shape+".");var o=t.rank>0?t.shape[0]:1,a=t.rank>1?t.shape[1]:1;if(n.length!==a)throw new Error("outputShape has incorrect number of elements:, "+n.length+", should be: "+a+".");var i=e.size;if(0!==e.rank&&(1!==e.rank||i!==o))throw new Error("sparseValues has incorrect shape "+e.shape+", should be [] or ["+o+"]");if(e.dtype!==r.dtype)throw new Error("sparseValues.dtype must match defaultValues.dtype")}(o,a,n,i),Lt.runKernelFunc((function(t){return t.sparseToDense(o,a,n,i)}),{$sparseIndices:o,$sparseValues:a,$defaultValue:i})}});var th=An({gatherND_:function(t,e){var n=mn(e,"indices","gatherND","int32"),r=mn(t,"x","gatherND");return Lt.runKernelFunc((function(t){return t.gatherND(r,n)}),{x:r,indices:n},null,"GatherNd")}});var eh=An({diag_:function(t){var e=mn(t,"x","diag").flatten(),n=t.shape.concat(t.shape);return Lt.runKernelFunc((function(t){return t.diag(e)}),{$x:e}).reshape(n)}});var nh=An({dropout_:function(t,e,n,r){var o=mn(t,"x","dropout");if(C("float32"===o.dtype,(function(){return"x has to be a floating point tensor since it's going to be scaled, but got a "+o.dtype+" tensor instead."})),C(e>=0&&e<1,(function(){return"rate must be a float in the range [0, 1), but got "+e+"."})),0===e)return t instanceof wt?o.clone():o;var a=function(t,e){if(null==e)return t.shape.slice();if(S(t.shape,e))return e;if(t.shape.length===e.length){for(var n=[],r=0;r1,(function(){return"inTopK() expects the predictions to be of rank 2 or higher, but got "+n.rank})),C(n.rank-1===a.rank,(function(){return"predictions rank should be 1 larger than targets rank, but got predictions rank "+n.rank+" and targets rank "+a.rank})),E(n.shape.slice(0,n.shape.length-1),a.shape,"predictions's shape should be align with the targets' shape, except the last dimension."),i=n.shape[n.shape.length-1],C(o>0&&o<=i,(function(){return"'k' passed to inTopK() must be > 0 && <= the predictions last dimension ("+i+"), but got "+o})),[4,n.data()];case 1:return s=r.sent(),[4,a.data()];case 2:for(u=r.sent(),c=[s.length/i,i],h=c[1],f=B("bool",l=c[0]),d=0;d1?s.div(On(i)):s}if(n===ch.SUM_BY_NONZERO_WEIGHTS){if(null==o)return a.sum().div(On(r.size));var u=o.mul(zn(r.shape)).notEqual(On(0)).sum().toFloat();return a.sum().div(u)}throw Error("Unknown reduction: "+n)}}),dh=An({cosineDistance_:function(t,e,n,r,o){void 0===o&&(o=ch.SUM_BY_NONZERO_WEIGHTS);var a=mn(t,"labels","cosineDistance"),i=mn(e,"predictions","cosineDistance"),s=null;null!=r&&(s=mn(r,"weights","cosineDistance")),E(a.shape,i.shape,"Error in cosineDistance: ");var u=On(1).sub(a.mul(i).sum(n,!0));return fh(u,s,o)}}),ph=An({hingeLoss_:function(t,e,n,r){void 0===r&&(r=ch.SUM_BY_NONZERO_WEIGHTS);var o=mn(t,"labels","hingeLoss"),a=mn(e,"predictions","hingeLoss"),i=null;null!=n&&(i=mn(n,"weights","hingeLoss")),E(o.shape,a.shape,"Error in hingeLoss: ");var s=On(1);o=On(2).mul(o).sub(s);var u=s.sub(o.mul(a)).relu();return fh(u,i,r)}}),vh=An({huberLoss_:function(t,e,n,r,o){void 0===r&&(r=1),void 0===o&&(o=ch.SUM_BY_NONZERO_WEIGHTS);var a=mn(t,"labels","huberLoss"),i=mn(e,"predictions","huberLoss"),s=null;null!=n&&(s=mn(n,"weights","huberLoss")),E(a.shape,i.shape,"Error in huberLoss: ");var u=On(r),c=i.sub(a).abs(),l=dc(c,u),h=c.sub(l),f=On(.5).mul(l.square()).add(u.mul(h));return fh(f,s,o)}}),mh=An({logLoss_:function(t,e,n,r,o){void 0===r&&(r=1e-7),void 0===o&&(o=ch.SUM_BY_NONZERO_WEIGHTS);var a=mn(t,"labels","logLoss"),i=mn(e,"predictions","logLoss"),s=null;null!=n&&(s=mn(n,"weights","logLoss")),E(a.shape,i.shape,"Error in logLoss: ");var u=On(1),c=On(r),l=a.mul(i.add(c).log()).neg().sub(u.sub(a).mul(u.sub(i).add(c).log()));return fh(l,s,o)}}),gh=An({meanSquaredError_:function(t,e,n,r){void 0===r&&(r=ch.SUM_BY_NONZERO_WEIGHTS);var o=mn(t,"labels","meanSquaredError"),a=mn(e,"predictions","meanSquaredError"),i=null;null!=n&&(i=mn(n,"weights","meanSquaredError")),E(o.shape,a.shape,"Error in meanSquaredError: ");var s=o.squaredDifference(a);return fh(s,i,r)}}),yh=An({sigmoidCrossEntropy_:function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=ch.SUM_BY_NONZERO_WEIGHTS);var a=mn(t,"multiClassLabels","sigmoidCrossEntropy"),i=mn(e,"logits","sigmoidCrossEntropy"),s=null;if(null!=n&&(s=mn(n,"weights","sigmoidCrossEntropy")),E(a.shape,i.shape,"Error in sigmoidCrossEntropy: "),r>0){var u=On(r),c=On(1),l=On(.5);a=a.mul(c.sub(u)).add(l.mul(u))}var h=function(t,e){var n=mn(t,"labels","sigmoidCrossEntropyWithLogits"),r=mn(e,"logits","sigmoidCrossEntropyWithLogits");E(n.shape,r.shape,"Error in sigmoidCrossEntropyWithLogits: ");var o=r.relu(),a=r.mul(n),i=r.abs().neg().exp().log1p();return o.sub(a).add(i)}(a,i);return fh(h,s,o)}}),xh=An({softmaxCrossEntropy_:function(t,e,n,r,o){void 0===r&&(r=0),void 0===o&&(o=ch.SUM_BY_NONZERO_WEIGHTS);var a=mn(t,"onehotLabels","softmaxCrossEntropy"),i=mn(e,"logits","softmaxCrossEntropy"),s=null;if(null!=n&&(s=mn(n,"weights","softmaxCrossEntropy")),E(a.shape,i.shape,"Error in softmaxCrossEntropy: "),r>0){var u=On(r),c=On(1),l=On(a.shape[1]);a=a.mul(c.sub(u)).add(u.div(l))}var h=function(t,e,n){if(void 0===n&&(n=-1),-1===n&&(n=e.rank-1),n!==e.rank-1)throw Error("Softmax cross entropy along a non-last dimension is not yet supported. Labels / logits was rank "+e.rank+" and dim was "+n);return vo((function(t,e,r){var o=e.logSumExp([n],!0),a=e.toFloat().sub(o);r([t,a]);return{value:a.mul(t).neg().sum([n]),gradFunc:function(t,e){var r=e[0],o=e[1],a=wn(t.shape,[n]);return[t.reshape(a).mul(r.toFloat().sub(o.exp())),t.reshape(a).mul(o.exp().sub(r.toFloat()))]}}}))(t,e)}(a,i);return fh(h,s,o)}}),bh=Object.freeze({get Reduction(){return ch},absoluteDifference:hh,computeWeightedLoss:fh,cosineDistance:dh,hingeLoss:ph,huberLoss:vh,logLoss:mh,meanSquaredError:gh,sigmoidCrossEntropy:yh,softmaxCrossEntropy:xh});function wh(t,e){return void 0===e&&(e=!1),Lt.tidy((function(){if(2!==t.shape.length)throw new Error("qr2d() requires a 2D Tensor, but got a "+t.shape.length+"D Tensor.");for(var n=t.shape[0],r=t.shape[1],o=Cr(n),a=t.clone(),i=Bn([[1]],[1,1]),s=i.clone(),u=n>=r?r:n,c=function(t){var e,u=a,c=s,l=o;e=Lt.tidy((function(){var e=a.slice([t,t],[n-t,1]),u=e.norm(),c=a.slice([t,t],[1,1]),l=Bn([[-1]]).where(c.greater(0),Bn([[1]])),h=c.sub(l.mul(u)),f=e.div(h);s=1===f.shape[0]?i.clone():i.concat(f.slice([1,0],[f.shape[0]-1,f.shape[1]]),0);var d=l.matMul(h).div(u).neg(),p=a.slice([t,0],[n-t,r]),v=d.mul(s);if(0===t)a=p.sub(v.matMul(s.transpose().matMul(p)));else{var m=p.sub(v.matMul(s.transpose().matMul(p)));a=a.slice([0,0],[t,r]).concat(m,0)}var g=o.slice([0,t],[n,o.shape[1]-t]);if(0===t)o=g.sub(g.matMul(s).matMul(v.transpose()));else{var y=g.sub(g.matMul(s).matMul(v.transpose()));o=o.slice([0,0],[n,t]).concat(y,1)}return[s,a,o]})),s=e[0],a=e[1],o=e[2],tn([u,c,l])},l=0;lr&&(o=o.slice([0,0],[n,r]),a=a.slice([0,0],[r,r])),[o,a]}))}var Ch=An({bandPart_:function(t,e,n){if(e%1!=0)throw new Error("bandPart(): numLower must be an integer, got "+e+".");if(n%1!=0)throw new Error("bandPart(): numUpper must be an integer, got "+n+".");var r=mn(t,"a","bandPart");if(r.rank<2)throw new Error("bandPart(): Rank must be at least 2, got "+r.rank+".");var o=r.shape,a=r.shape.slice(-2),i=a[0],s=a[1];if(!(e<=i))throw new Error("bandPart(): numLower ("+e+") must not be greater than the number of rows ("+i+").");if(!(n<=s))throw new Error("bandPart(): numUpper ("+n+") must not be greater than the number of columns ("+s+").");e<0&&(e=i),n<0&&(n=s);var u=Kn(0,i,1,"int32").reshape([-1,1]),c=Kn(0,s,1,"int32"),l=Cc(u,c),h=Qu(l.lessEqual(On(+e,"int32")),l.greaterEqual(On(-n,"int32"))),f=Gn([i,s],r.dtype);return Pr(Ur(r.reshape([-1,i,s])).map((function(t){return ec(h,t,f)}))).reshape(o)}}),Eh=An({gramSchmidt_:function(t){var e;if(Array.isArray(t)){e=!1,C(null!=t&&t.length>0,(function(){return"Gram-Schmidt process: input must not be null, undefined, or empty"}));for(var n=t[0].shape[0],r=function(e){C(t[e].shape[0]===n,(function(){return"Gram-Schmidt: Non-unique lengths found in the input vectors: ("+t[e].shape[0]+" vs. "+n+")"}))},o=1;o0)for(var n=0;n= 2, but got rank "+t.rank);if(2===t.rank)return wh(t,e);var n=t.shape.slice(0,t.shape.length-2).reduce((function(t,e){return t*e})),r=Ur(t.reshape([n,t.shape[t.shape.length-2],t.shape[t.shape.length-1]]),0),o=[],a=[];return r.forEach((function(t){var n=wh(t,e),r=n[0],i=n[1];o.push(r),a.push(i)})),[Pr(o,0).reshape(t.shape),Pr(a,0).reshape(t.shape)]}}),Ih=Object.freeze({bandPart:Ch,gramSchmidt:Eh,qr:Rh});function kh(t,e,n,r,o,a){null==r&&(r=.5),null==o&&(o=Number.NEGATIVE_INFINITY),null==a&&(a=0);var i=t.shape[0];return n=Math.min(n,i),C(0<=r&&r<=1,(function(){return"iouThreshold must be in [0, 1], but was '"+r+"'"})),C(2===t.rank,(function(){return"boxes must be a 2D tensor, but was of rank '"+t.rank+"'"})),C(4===t.shape[1],(function(){return"boxes must have 4 columns, but 2nd dimension was "+t.shape[1]})),C(1===e.rank,(function(){return"scores must be a 1D tensor"})),C(e.shape[0]===i,(function(){return"scores has incompatible shape with boxes. Expected "+i+", but was "+e.shape[0]})),C(0<=a&&a<=1,(function(){return"softNmsSigma must be in [0, 1], but was '"+a+"'"})),{maxOutputSize:n,iouThreshold:r,scoreThreshold:o,softNmsSigma:a}}var Sh=An({resizeBilinear_:function(t,e,n){void 0===n&&(n=!1);var r=mn(t,"images","resizeBilinear");C(3===r.rank||4===r.rank,(function(){return"Error in resizeBilinear: x must be rank 3 or 4, but got rank "+r.rank+"."})),C(2===e.length,(function(){return"Error in resizeBilinear: new shape must 2D, but got shape "+e+"."}));var o=r,a=!1;3===r.rank&&(a=!0,o=r.as4D(1,r.shape[0],r.shape[1],r.shape[2]));var i=e[0],s=e[1],u=Lt.runKernelFunc((function(t,e){return e([o]),t.resizeBilinear(o,i,s,n)}),{x:o},(function(t,e){return{x:function(){return Lt.runKernelFunc((function(r){return r.resizeBilinearBackprop(t,e[0],n)}),{})}}}),"ResizeBilinear",{alignCorners:n,newHeight:i,newWidth:s});return a?u.as3D(u.shape[1],u.shape[2],u.shape[3]):u}}),Ah=An({resizeNearestNeighbor_:function(t,e,n){void 0===n&&(n=!1);var r=mn(t,"images","resizeNearestNeighbor");C(3===r.rank||4===r.rank,(function(){return"Error in resizeNearestNeighbor: x must be rank 3 or 4, but got rank "+r.rank+"."})),C(2===e.length,(function(){return"Error in resizeNearestNeighbor: new shape must 2D, but got shape "+e+"."})),C("float32"===r.dtype||"int32"===r.dtype,(function(){return"`images` must have `int32` or `float32` as dtype"}));var o=r,a=!1;3===r.rank&&(a=!0,o=r.as4D(1,r.shape[0],r.shape[1],r.shape[2]));var i=e[0],s=e[1],u=Lt.runKernelFunc((function(t,e){return e([o]),t.resizeNearestNeighbor(o,i,s,n)}),{batchImages:o},(function(t,e){return{batchImages:function(){return Lt.runKernelFunc((function(r){return r.resizeNearestNeighborBackprop(t,e[0],n)}),{})}}}));return a?u.as3D(u.shape[1],u.shape[2],u.shape[3]):u}}),Dh=An({nonMaxSuppression_:function(t,e,n,r,o){void 0===r&&(r=.5),void 0===o&&(o=Number.NEGATIVE_INFINITY);var a=mn(t,"boxes","nonMaxSuppression"),i=mn(e,"scores","nonMaxSuppression"),s=kh(a,i,n,r,o);n=s.maxOutputSize,r=s.iouThreshold,o=s.scoreThreshold;var u={maxOutputSize:n,iouThreshold:r,scoreThreshold:o};return Lt.runKernelFunc((function(t){return t.nonMaxSuppression(a,i,n,r,o)}),{boxes:a,scores:i},null,"NonMaxSuppressionV3",u)}}),Th=function(t,e,o,a,i){return void 0===a&&(a=.5),void 0===i&&(i=Number.NEGATIVE_INFINITY),n(this,void 0,void 0,(function(){var n,s,u,c,l,h,f;return r(this,(function(r){switch(r.label){case 0:return n=mn(t,"boxes","nonMaxSuppressionAsync"),s=mn(e,"scores","nonMaxSuppressionAsync"),u=kh(n,s,o,a,i),o=u.maxOutputSize,a=u.iouThreshold,i=u.scoreThreshold,[4,Promise.all([n.data(),s.data()])];case 1:return c=r.sent(),l=c[0],h=c[1],f=jo(l,h,o,a,i),n!==t&&n.dispose(),s!==e&&s.dispose(),[2,f]}}))}))},Nh=An({nonMaxSuppressionWithScore_:function(t,e,n,r,o,a){void 0===r&&(r=.5),void 0===o&&(o=Number.NEGATIVE_INFINITY),void 0===a&&(a=0);var i=mn(t,"boxes","nonMaxSuppression"),s=mn(e,"scores","nonMaxSuppression"),u=kh(i,s,n,r,o,a),c={maxOutputSize:n=u.maxOutputSize,iouThreshold:r=u.iouThreshold,scoreThreshold:o=u.scoreThreshold,softNmsSigma:a=u.softNmsSigma},l=Lt.runKernel("NonMaxSuppressionV5",{boxes:i,scores:s},c);return{selectedIndices:l[0],selectedScores:l[1]}}}),Fh=function(t,e,o,a,i,s){return void 0===a&&(a=.5),void 0===i&&(i=Number.NEGATIVE_INFINITY),void 0===s&&(s=0),n(this,void 0,void 0,(function(){var n,u,c,l,h,f,d;return r(this,(function(r){switch(r.label){case 0:return n=mn(t,"boxes","nonMaxSuppressionAsync"),u=mn(e,"scores","nonMaxSuppressionAsync"),c=kh(n,u,o,a,i,s),o=c.maxOutputSize,a=c.iouThreshold,i=c.scoreThreshold,s=c.softNmsSigma,[4,Promise.all([n.data(),u.data()])];case 1:return l=r.sent(),h=l[0],f=l[1],d=Xo(h,f,o,a,i,s),n!==t&&n.dispose(),u!==e&&u.dispose(),[2,d]}}))}))},_h=An({cropAndResize_:function(t,e,n,r,o,a){var i=mn(t,"image","cropAndResize"),s=mn(e,"boxes","cropAndResize","float32"),u=mn(n,"boxInd","cropAndResize","int32");o=o||"bilinear",a=a||0;var c=s.shape[0];return C(4===i.rank,(function(){return"Error in cropAndResize: image must be rank 4,but got rank "+i.rank+"."})),C(2===s.rank&&4===s.shape[1],(function(){return"Error in cropAndResize: boxes must be have size ["+c+",4] but had shape "+s.shape+"."})),C(1===u.rank&&u.shape[0]===c,(function(){return"Error in cropAndResize: boxInd must be have size ["+c+"] but had shape "+s.shape+"."})),C(2===r.length,(function(){return"Error in cropAndResize: cropSize must be of length 2, but got length "+r.length+"."})),C(r[0]>=1&&r[1]>=1,(function(){return"cropSize must be atleast [1,1], but was "+r})),C("bilinear"===o||"nearest"===o,(function(){return"method must be bilinear or nearest, but was "+o})),Lt.runKernelFunc((function(t,e){return t.cropAndResize(i,s,u,r,o,a)}),{images:i,boxes:s,boxInd:u},null,"CropAndResize",{method:o,extrapolationValue:a,cropSize:r})}}),Oh=Object.freeze({resizeBilinear:Sh,resizeNearestNeighbor:Ah,nonMaxSuppression:Dh,nonMaxSuppressionAsync:Th,nonMaxSuppressionWithScore:Nh,nonMaxSuppressionWithScoreAsync:Fh,cropAndResize:_h}),Mh=function(t,e){return!(t>0)||"linear"===e},Bh=function(t,e,n){if(null==n||"linear"===n)return t;if("relu"===n)return t.mul(e.step());throw new Error("Gradient for activation "+n+" has not been implemented yet.")},Ph=function(t,e){var n=e,r=Eo(t.shape,e.shape);return r.length>0&&(n=n.sum(r)),n.reshape(t.shape)},Lh=function(t,e,n){if("linear"===e)return t;if("relu"===e)return Bl(t);if("elu"===e)return _l(t);if("relu6"===e)return Pl(t);if("prelu"===e)return Ml(t,n);throw new Error("Unknown fused activation "+e+".")};var Wh=An({fusedMatMul_:function(t){var e,n=t.a,r=t.b,o=t.transposeA,a=void 0!==o&&o,i=t.transposeB,s=void 0!==i&&i,u=t.bias,c=t.activation,l=void 0===c?"linear":c,h=t.preluActivationWeights;if(!1===Mh(Lt.state.gradientDepth,l)){var f=el(n,r,a,s);return null!=u&&(f=rc(f,u)),Lh(f,l,h)}var d=mn(n,"a","fused matMul"),p=mn(r,"b","fused matMul");e=Nt(d,p),d=e[0],p=e[1];var v=a?d.shape[d.rank-2]:d.shape[d.rank-1],m=s?p.shape[p.rank-1]:p.shape[p.rank-2],g=a?d.shape[d.rank-1]:d.shape[d.rank-2],y=s?p.shape[p.rank-2]:p.shape[p.rank-1],x=d.shape.slice(0,-2),b=p.shape.slice(0,-2),w=k(x),E=k(b);C(d.rank>=2&&p.rank>=2&&d.rank===p.rank,(function(){return"Error in fused matMul: inputs must have the same rank of at least 2, got ranks "+d.rank+" and "+p.rank+"."})),C(S(x,b),(function(){return"Error in fused matMul: outer dimensions ("+x+") and ("+b+") of Tensors with shapes "+d.shape+" and "+p.shape+" must match."})),C(v===m,(function(){return"Error in fused matMul: inner shapes ("+v+") and ("+m+") of Tensors with shapes "+d.shape+" and "+p.shape+" and transposeA="+a+" and transposeB="+s+" must match."}));var R,I,A=d.shape.slice(0,-2).concat([g,y]),D=a?d.as3D(w,v,g):d.as3D(w,g,v),T=s?p.as3D(E,y,m):p.as3D(E,m,y);null!=u&&Ro(A,(R=Nt(R=mn(u,"bias","fused matMul"),d)[0]).shape),null!=h&&(I=mn(h,"prelu weights","fused matMul"));var N={a:D,b:T};null!=u&&(N.bias=R),null!=h&&(N.preluActivationWeights=I);var F=[D,T];return Lt.runKernelFunc((function(t,e){var n=t.fusedBatchMatMul({a:D,b:T,transposeA:a,transposeB:s,bias:R,activation:l,preluActivationWeights:I});return e([D,T,n]),n}),N,(function(t,e){var n=e[0],r=e[1],o=e[2],i=Bh(t,o,l),c={};return null!=u&&(c={bias:function(){return Ph(R,i)}}),a||s?!a&&s?Object.assign({a:function(){return i.matMul(r,!1,!1)},b:function(){return i.matMul(n,!0,!1)}},c):a&&!s?Object.assign({a:function(){return r.matMul(i,!1,!0)},b:function(){return n.matMul(i,!1,!1)}},c):Object.assign({a:function(){return r.matMul(i,!0,!0)},b:function(){return i.matMul(n,!0,!0)}},c):Object.assign({a:function(){return i.matMul(r,!1,!0)},b:function(){return n.matMul(i,!0,!1)}},c)}),"_FusedMatMul",{transposeA:a,transposeB:s,activation:l},F,[!0]).reshape(A)}}),Uh=An({fusedConv2d_:function(t){var e=t.x,n=t.filter,r=t.strides,o=t.pad,a=t.dataFormat,i=void 0===a?"NHWC":a,s=t.dilations,u=void 0===s?[1,1]:s,c=t.dimRoundingMode,l=t.bias,h=t.activation,f=void 0===h?"linear":h,d=t.preluActivationWeights;if(f=f||"linear",!1===Mh(Lt.state.gradientDepth,f)){var p=qc(e,n,r,o,i,u,c);return null!=l&&(p=rc(p,l)),Lh(p,f,d)}var v=mn(e,"x","conv2d"),m=mn(n,"filter","conv2d"),g=v,y=!1;3===v.rank&&(y=!0,g=v.as4D(1,v.shape[0],v.shape[1],v.shape[2])),C(4===g.rank,(function(){return"Error in fused conv2d: input must be rank 4, but got rank "+g.rank+"."})),C(4===m.rank,(function(){return"Error in fused conv2d: filter must be rank 4, but got rank "+m.rank+"."})),null!=c&&C(A(o),(function(){return"Error in fused conv2d: pad must be an integer when using, dimRoundingMode "+c+" but got pad "+o+"."})),C(g.shape[3]===m.shape[2],(function(){return"Error in conv2d: depth of input ("+g.shape[3]+") must match input depth for filter "+m.shape[2]+"."})),C(Mo(r,u),(function(){return"Error in conv2D: Either strides or dilations must be 1. Got strides "+r+" and dilations '"+u+"'"})),C("NHWC"===i,(function(){return"Error in conv2d: got dataFormat of "+i+" but only NHWC is currently supported."}));var x,b,w=So(g.shape,m.shape,r,u,o,c);null!=l&&(x=Nt(x=mn(l,"bias","fused conv2d"),v)[0],Ro(w.outShape,x.shape)),null!=d&&(b=mn(d,"prelu weights","fused conv2d"));var E={x:g,filter:m};null!=l&&(E.bias=x),null!=d&&(E.preluActivationWeights=b);var R=[m,g],I=Lt.runKernelFunc((function(t,e){var n=t.fusedConv2d({input:g,filter:m,convInfo:w,bias:x,activation:f,preluActivationWeights:b});return e([m,g,n]),n}),E,(function(t,e){var n=e,a=n[0],i=n[1],s=n[2],c=Bh(t,s,f);C(Oo(u),(function(){return"Error in gradient of fused conv2D: dilation rates greater than 1 are not yet supported in gradients. Got dilations '"+u+"'"}));var h={};return null!=l&&(h={bias:function(){return Ph(x,c)}}),Object.assign({x:function(){return Xc(i.shape,c,a,r,o)},filter:function(){return jc(i,c,a.shape,r,o)}},h)}),"FusedConv2D",{convInfo:w,activation:f},R,[!0]);return y?I.as3D(I.shape[1],I.shape[2],I.shape[3]):I}}),Vh=An({fusedDepthwiseConv2d_:function(t){var e=t.x,n=t.filter,r=t.strides,o=t.pad,a=t.dataFormat,i=void 0===a?"NHWC":a,s=t.dilations,u=void 0===s?[1,1]:s,c=t.dimRoundingMode,l=t.bias,h=t.activation,f=void 0===h?"linear":h,d=t.preluActivationWeights;if(!1===Mh(Lt.state.gradientDepth,f)){var p=Yc(e,n,r,o,i,u,c);return null!=l&&(p=rc(p,l)),Lh(p,f,d)}var v=mn(e,"x","depthwiseConv2d"),m=mn(n,"filter","depthwiseConv2d"),g=v,y=!1;3===v.rank&&(y=!0,g=v.as4D(1,v.shape[0],v.shape[1],v.shape[2])),C(4===g.rank,(function(){return"Error in fused depthwiseConv2d: input must be rank 4, but got rank "+g.rank+"."})),C(4===m.rank,(function(){return"Error in fused depthwiseConv2d: filter must be rank 4, but got rank "+m.rank+"."})),C(g.shape[3]===m.shape[2],(function(){return"Error in fused depthwiseConv2d: number of input channels ("+g.shape[3]+") must match the inChannels dimension in filter "+m.shape[2]+"."})),null==u&&(u=[1,1]),C(Mo(r,u),(function(){return"Error in fused depthwiseConv2d: Either strides or dilations must be 1. Got strides "+r+" and dilations '"+u+"'"})),null!=c&&C(A(o),(function(){return"Error in fused depthwiseConv2d: pad must be an integer when using dimRoundingMode "+c+" but got pad "+o+"."}));var x,b,w=So(g.shape,m.shape,r,u,o,c,!0);null!=l&&(x=Nt(x=mn(l,"bias","fused conv2d"),v)[0],Ro(w.outShape,x.shape)),null!=d&&(b=mn(d,"prelu weights","fused depthwiseConv2d"));var E={x:g,filter:m};null!=l&&(E.bias=x),null!=d&&(E.preluActivationWeights=b);var R=[m,g],I=Lt.runKernelFunc((function(t,e){var n=t.fusedDepthwiseConv2D({input:g,filter:m,convInfo:w,bias:x,activation:f,preluActivationWeights:b});return e([m,g,n]),n}),E,(function(t,e){C(Oo(u),(function(){return"Error in gradient of fused depthwiseConv2d: dilation rates greater than 1 are not yet supported. Got dilations '"+u+"'"}));var n=e[0],r=e[1],o=e[2],a=Bh(t,o,f),i={};return null!=l&&(i={bias:function(){return Ph(x,a)}}),Object.assign({x:function(){return $c(r.shape,a,n,w)},filter:function(){return Qc(r,a,n.shape,w)}},i)}),"FusedDepthwiseConv2D",{convInfo:w,activation:f},R,[!0]);return y?I.as3D(I.shape[1],I.shape[2],I.shape[3]):I}}),zh=Object.freeze({matMul:Wh,conv2d:Uh,depthwiseConv2d:Vh}),Gh=Object.freeze({image:Oh,linalg:Ih,losses:bh,spectral:Jl,fused:zh,signal:uh,square:tu,squaredDifference:nu,conv1d:Hc,conv2d:qc,conv3d:Kc,depthwiseConv2d:Yc,separableConv2d:Jc,conv2dTranspose:Zc,conv3dTranspose:tl,op:An,batchNormalization2d:Gu,batchNormalization3d:Hu,batchNormalization4d:qu,batchNormalization:Ku,batchNorm:ju,batchNorm2d:Xu,batchNorm3d:Yu,batchNorm4d:$u,booleanMaskAsync:Uc,complex:Dn,real:Tn,imag:Nn,concat:Yn,concat1d:$n,concat2d:Qn,concat3d:Jn,concat4d:Zn,split:tr,matMul:el,dot:nl,outerProduct:rl,reverse:ol,reverse1d:al,reverse2d:il,reverse3d:sl,reverse4d:ul,maxPool:hl,avgPool:fl,pool:dl,maxPool3d:pl,avgPool3d:vl,slice:ml,slice1d:gl,slice2d:yl,slice3d:xl,slice4d:bl,abs:ru,acos:ou,acosh:au,asin:iu,asinh:su,atan:uu,atanh:cu,ceil:lu,clipByValue:hu,cos:fu,cosh:du,erf:pu,exp:vu,expm1:mu,floor:gu,log:yu,log1p:xu,logSigmoid:bu,neg:wu,reciprocal:Cu,round:Eu,rsqrt:Ru,sigmoid:Iu,sign:ku,isNaN:Su,isInf:Au,isFinite:Du,sin:Tu,sinh:Nu,softplus:Fu,sqrt:_u,step:Ou,tan:Mu,tanh:Bu,all:Cl,any:El,argMax:Rl,argMin:Il,logSumExp:kl,max:Sl,mean:Al,min:Dl,moments:Tl,sum:Nl,prod:Fl,equal:Rc,equalStrict:Ic,greater:kc,greaterEqual:Sc,greaterEqualStrict:Ac,greaterStrict:Dc,less:Tc,lessEqual:Nc,lessEqualStrict:Fc,lessStrict:_c,notEqual:Oc,notEqualStrict:Mc,add:rc,addN:oc,addStrict:ac,atan2:ic,div:sc,divNoNan:uc,divStrict:cc,floorDiv:lc,maximum:hc,maximumStrict:fc,minimum:dc,minimumStrict:pc,mod:vc,modStrict:mc,mul:gc,mulStrict:yc,pow:xc,powStrict:bc,squaredDifferenceStrict:wc,sub:Cc,subStrict:Ec,elu:_l,leakyRelu:Ol,prelu:Ml,relu:Bl,relu6:Pl,selu:Ll,logicalAnd:Qu,logicalNot:Ju,logicalOr:Zu,logicalXor:tc,where:ec,whereAsync:nc,buffer:dr,print:pr,batchToSpaceND:vr,broadcastTo:mr,cast:gr,clone:yr,cumsum:xr,depthToSpace:br,expandDims:wr,eye:Cr,multinomial:Er,oneHot:Rr,pad:Ir,pad1d:kr,pad2d:Sr,pad3d:Ar,pad4d:Dr,rand:Tr,randomNormal:Nr,randomGamma:Fr,randomUniform:_r,reshape:Or,spaceToBatchND:Mr,squeeze:Br,stack:Pr,tile:Lr,truncatedNormal:Wr,unstack:Ur,setdiff1dAsync:Vr,fill:Hn,linspace:qn,ones:zn,range:Kn,scalar:On,tensor:Fn,tensor1d:Mn,tensor2d:Bn,tensor3d:Pn,tensor4d:Ln,tensor5d:Wn,tensor6d:Un,variable:Vn,zeros:Gn,onesLike:jn,zerosLike:Xn,transpose:Wl,softmax:go,logSoftmax:yo,localResponseNormalization:Ul,norm:Vl,gather:Lc,unsortedSegmentSum:Wc,basicLSTMCell:zl,multiRNNCell:Gl,movingAverage:Hl,stridedSlice:ql,topk:Kl,scatterND:jl,fft:Xl,ifft:Yl,rfft:$l,irfft:Ql,sparseToDense:Zl,gatherND:th,diag:eh,dropout:nh,hannWindow:oh,hammingWindow:ah,frame:ih,stft:sh,inTopKAsync:lh});function Hh(t,e){Array.isArray(t)||(t=[t]),t.forEach((function(t){null!=t&&C("complex64"!==t.dtype,(function(){return e+" does not support complex64 tensors."}))}))}function qh(t,e,n,r){if("linear"===n)return t.linear(e);if("relu"===n)return t.relu(e);if("elu"===n)return t.elu(e);if("relu6"===n)return t.relu6(e);if("prelu"===n)return t.prelu(e,r);throw new Error("Activation "+n+" has not been implemented for the CPU backend.")}var Kh=function(t){function o(){var e=t.call(this)||this;return e.blockSize=48,e.firstUse=!0,e.data=new xo(e,Lt),e}return e(o,t),o.prototype.write=function(t,e,n){this.firstUse&&(this.firstUse=!1,i().get("IS_NODE")&&dn("\n============================\nHi there 👋. Looks like you are running TensorFlow.js in Node.js. To speed things up dramatically, install our node backend, which binds to TensorFlow C++, by running npm i @tensorflow/tfjs-node, or npm i @tensorflow/tfjs-node-gpu if you have CUDA. Then call require('@tensorflow/tfjs-node'); (-gpu suffix for CUDA) at the start of your program. Visit https://github.com/tensorflow/tfjs-node for more details.\n============================"));var r={};return this.data.set(r,{values:t,dtype:n}),r},o.prototype.move=function(t,e,n,r){this.data.set(t,{values:e,dtype:r})},o.prototype.numDataIds=function(){return this.data.numDataIds()},o.prototype.read=function(t){return n(this,void 0,void 0,(function(){return r(this,(function(e){return[2,this.readSync(t)]}))}))},o.prototype.readSync=function(t){var e=this.data.get(t),n=e.dtype,r=e.complexTensors;return"complex64"===n?Vo(this.readSync(r.real.dataId),this.readSync(r.imag.dataId)):this.data.get(t).values},o.prototype.bufferSync=function(t){var e=this.readSync(t.dataId),n=e;if("string"===t.dtype)try{n=e.map((function(t){return ot(t)}))}catch(t){throw new Error("Failed to decode encoded string bytes into utf-8")}return dr(t.shape,t.dtype,n)},o.prototype.makeOutput=function(t,e,n){var r=this.write(t,e,n);return Lt.makeTensorFromDataId(r,e,n,this)},o.prototype.disposeData=function(t){if(this.data.has(t)){var e=this.data.get(t).complexTensors;null!=e&&(e.real.dispose(),e.imag.dispose()),this.data.delete(t)}},o.prototype.time=function(t){return n(this,void 0,void 0,(function(){var e;return r(this,(function(n){return e=et(),t(),[2,{kernelMs:et()-e}]}))}))},o.prototype.memory=function(){return{unreliable:!0,reasons:["The reported memory is an upper bound. Due to automatic garbage collection, the true allocated memory may be less."]}},o.prototype.complex=function(t,e){var n=this.makeOutput(null,t.shape,"complex64");return this.data.get(n.dataId).complexTensors={real:Lt.keep(t.clone()),imag:Lt.keep(e.clone())},n},o.prototype.real=function(t){return this.data.get(t.dataId).complexTensors.real.clone()},o.prototype.imag=function(t){return this.data.get(t.dataId).complexTensors.imag.clone()},o.prototype.slice=function(t,e,n){if(Hh(t,"slice"),io(t.shape,e,n)){var r=so(e,t.strides),o=k(n);return Fn(this.readSync(t.dataId).subarray(r,r+o),n,t.dtype)}for(var a=dr(n,t.dtype),i=this.bufferSync(t),s=0;sf&&(f=v,d=p)}u[l]=d}return i},o.prototype.cumsum=function(t,e,n,r){if(Hh(t,"cumsum"),e!==t.rank-1)throw new Error("backend.cumsum in CPU expects an inner-most axis="+(t.rank-1)+" but got axis="+e);for(var o=Dt(t.dtype,"int32"),a=Gn(t.shape,o),i=this.readSync(a.dataId),s=this.readSync(t.dataId),u=t.shape[t.rank-1],c=r?function(t,e){return t+u-e-1}:function(t,e){return t+e},l=0;le?1:0}))},o.prototype.greaterEqual=function(t,e){return Hh([t,e],"greaterEqual"),this.broadcastedBinaryOp(t,e,"bool",(function(t,e){return t>=e?1:0}))},o.prototype.logicalNot=function(t){Hh(t,"logicalNot");for(var e=this.readSync(t.dataId),n=new Uint8Array(e.length),r=0;r1||1===e.rank?1:k(e.shape.slice(1)),l=0;l=0&&e>=0?n:(n+e)%e}))},o.prototype.max=function(t,e){Hh(t,"max"),Cn("max",e,t.rank);for(var n=bn(t.shape,e),r=n[0],o=n[1],a=Gn(r,t.dtype),i=k(o),s=this.readSync(a.dataId),u=this.readSync(t.dataId),c=0;ch&&(h=d)}s[c]=h}return a},o.prototype.maximum=function(t,e){return Hh([t,e],"maximum"),this.broadcastedBinaryOp(t,e,t.dtype,(function(t,e){return Math.max(t,e)}))},o.prototype.all=function(t,e){Hh(t,"all"),Cn("all",e,t.rank);for(var n=bn(t.shape,e),r=n[0],o=n[1],a=Gn(r,t.dtype),i=k(o),s=this.readSync(a.dataId),u=this.readSync(t.dataId),c=0;c0?n[r]=1:n[r]=0;return this.makeOutput(n,t.shape,"float32")},o.prototype.isNaN=function(t){Hh(t,"x");for(var e=this.readSync(t.dataId),n=new Uint8Array(e.length),r=0;r.5?n[r]=Math.ceil(e[r]):n[r]=o%2==0?o:o+1}return this.makeOutput(n,t.shape,"float32")},o.prototype.exp=function(t){Hh(t,"exp");for(var e=this.readSync(t.dataId),n=new Float32Array(e.length),r=0;r=0?o:Math.exp(o)-1}return this.makeOutput(e,t.shape,"float32")},o.prototype.eluDer=function(t,e){Hh([t,e],"eluDer");for(var n=new Float32Array(e.size),r=this.readSync(e.dataId),o=this.readSync(t.dataId),a=0;a=1?o[a]:o[a]*(i+1)}return this.makeOutput(n,e.shape,"float32")},o.prototype.selu=function(t){Hh(t,"selu");for(var e=bs,n=ws,r=new Float32Array(t.size),o=this.readSync(t.dataId),a=0;a=0?n*i:e*(Math.exp(i)-1)}return this.makeOutput(r,t.shape,"float32")},o.prototype.clip=function(t,e,n){Hh(t,"clip");for(var r=new Float32Array(t.size),o=this.readSync(t.dataId),a=0;an?n:i-e,i=r[o]0?1:e}return this.makeOutput(n,t.shape,"float32")},o.prototype.fusedConv2d=function(t){var e=t.input,n=t.filter,r=t.convInfo,o=t.bias,a=t.activation,i=t.preluActivationWeights,s=this.conv2d(e,n,r);return o&&(s=this.add(s,o)),a&&(s=qh(this,s,a,i)),s},o.prototype.conv2d=function(t,e,n){Hh([t,e],"conv2d");for(var r=n.filterHeight,o=n.filterWidth,a=n.dilationHeight,i=n.dilationWidth,s=n.padInfo.left,u=n.padInfo.top,c="channelsLast"===n.dataFormat,l=dr(n.outShape,t.dtype),h=t.strides[0],f=c?t.strides[1]:t.strides[2],d=c?t.strides[2]:1,p=c?1:t.strides[1],v=l.strides[0],m=c?l.strides[1]:l.strides[2],g=c?l.strides[2]:1,y=c?1:l.strides[1],x=this.readSync(t.dataId),b=this.readSync(e.dataId),w=l.values,C=0;C=n.inHeight))for(var T=A*e.strides[0],N=E+D*f,F=0;F=n.inWidth))for(var P=N+B*d,L=T+M*e.strides[1],W=0;W=n.inDepth))for(var R=C*e.strides[0],I=g+E*t.strides[1],k=0;k=n.inHeight))for(var N=R+D*e.strides[1],F=I+T*t.strides[2],_=0;_=n.inWidth))for(var L=N+B*e.strides[2],W=F+P*n.inChannels,U=L,V=0;V=n.inHeight))for(var C=b*e.strides[0],E=v+w*t.strides[1],R=0;R=n.inWidth))for(var D=C+S*e.strides[1],T=E+A*n.inChannels,N=I,F=D,_=0;_N?N=P:"avg"===n&&(F+=P,_++)}if(isNaN(N))break}p[k+S*g+w]="avg"===n?F/_:N}return d.toTensor()},o.prototype.maxPool=function(t,e){return this.pool(t,e,"max")},o.prototype.maxPoolPositions=function(t,e){for(var n=dr(e.outShape,"int32"),r=e.strideHeight,o=e.strideWidth,a=e.dilationHeight,i=e.dilationWidth,s=e.effectiveFilterHeight,u=e.effectiveFilterWidth,c=e.padInfo.top,l=e.padInfo.left,h=this.bufferSync(t),f=0;fC&&(C=A,E=I*u+S)}n.set(E,f,p,y,d)}}return n.toTensor()},o.prototype.maxPoolBackprop=function(t,e,n,r){Hh([e,n],"maxPoolBackprop");for(var o=this.maxPoolPositions(e,r),a=r.strideHeight,i=r.strideWidth,s=r.dilationHeight,u=r.dilationWidth,c=r.effectiveFilterHeight,l=r.effectiveFilterWidth,h=l-1-r.padInfo.left,f=c-1-r.padInfo.top,d=dr(e.shape,"float32"),p=this.bufferSync(o),v=this.bufferSync(t),m=0;m=r.outHeight||Math.floor(R)!==R))for(var I=0;I=r.outWidth||Math.floor(k)!==k)){var S=c*l-1-p.get(m,R,k,g)===E*l+I?1:0;if(0!==S)C+=v.get(m,R,k,g)*S}}}d.set(C,m,y,x,g)}return d.toTensor()},o.prototype.avgPoolBackprop=function(t,e,n){Hh([t,e],"avgPoolBackprop");for(var r=n.strideHeight,o=n.strideWidth,a=n.filterHeight,i=n.filterWidth,s=n.dilationHeight,u=n.dilationWidth,c=n.effectiveFilterHeight,l=n.effectiveFilterWidth,h=l-1-n.padInfo.left,f=c-1-n.padInfo.top,d=dr(e.shape,"float32"),p=1/(a*i),v=this.bufferSync(t),m=0;m=n.outHeight||Math.floor(R)!==R))for(var I=0;I=n.outWidth||Math.floor(k)!==k))C+=v.get(m,R,k,g)}}d.set(C*p,m,y,x,g)}return d.toTensor()},o.prototype.pool3d=function(t,e,n){Hh(t,"pool3d");for(var r=e.strideDepth,o=e.strideHeight,a=e.strideWidth,i=e.dilationDepth,s=e.dilationHeight,u=e.dilationWidth,c=e.effectiveFilterDepth,l=e.effectiveFilterHeight,h=e.effectiveFilterWidth,f=e.padInfo.front,d=e.padInfo.top,p=e.padInfo.left,v="max"===n?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,m=this.readSync(t.dataId),g=dr(e.outShape,t.dtype),y=g.values,x=e.outShape[1]*e.outShape[2]*e.outShape[3]*e.outShape[4],b=e.outShape[2]*e.outShape[3]*e.outShape[4],w=e.outShape[3]*e.outShape[4],C=e.outShape[4],E=0;Ez?z=$:"avg"===n&&(G+=$,H++),isNaN(z))break}if(isNaN(z))break}if(isNaN(z))break}y[V+k]="avg"===n?G/H:z}}}return g.toTensor()},o.prototype.avgPool3d=function(t,e){return Hh(t,"avgPool3d"),this.pool3d(t,e,"avg").toFloat()},o.prototype.avgPool3dBackprop=function(t,e,n){Hh([t,e],"avgPool3dBackprop");for(var r=n.strideDepth,o=n.strideHeight,a=n.strideWidth,i=n.filterDepth,s=n.filterHeight,u=n.filterWidth,c=n.dilationDepth,l=n.dilationHeight,h=n.dilationWidth,f=n.effectiveFilterDepth,d=n.effectiveFilterHeight,p=n.effectiveFilterWidth,v=f-1-n.padInfo.front,m=p-1-n.padInfo.left,g=d-1-n.padInfo.top,y=dr(e.shape,"float32"),x=1/(i*s*u),b=this.bufferSync(t),w=0;w=n.outDepth||Math.floor(N)!==N))for(var F=0;F=n.outHeight||Math.floor(_)!==_))for(var O=0;O=n.outWidth||Math.floor(M)!==M))D+=b.get(w,N,_,M,C)}}}y.set(D*x,w,E,R,I,C)}return y.toTensor()},o.prototype.maxPool3d=function(t,e){return Hh(t,"maxPool3d"),this.pool3d(t,e,"max").toFloat()},o.prototype.maxPool3dPositions=function(t,e){for(var n=dr(e.outShape,"int32"),r=e.strideDepth,o=e.strideHeight,a=e.strideWidth,i=e.dilationDepth,s=e.dilationHeight,u=e.dilationWidth,c=e.effectiveFilterDepth,l=e.effectiveFilterHeight,h=e.effectiveFilterWidth,f=e.padInfo.front,d=e.padInfo.top,p=e.padInfo.left,v=this.bufferSync(t),m=0;m=T&&(T=L,N=_*l*h+M*l+P)}n.set(N,m,y,C,k,g)}}}return n.toTensor()},o.prototype.maxPool3dBackprop=function(t,e,n,r){Hh([e,n],"maxPool3dBackprop");for(var o=this.maxPool3dPositions(e,r),a=r.strideDepth,i=r.strideHeight,s=r.strideWidth,u=r.dilationDepth,c=r.dilationHeight,l=r.dilationWidth,h=r.effectiveFilterDepth,f=r.effectiveFilterHeight,d=r.effectiveFilterWidth,p=h-1-r.padInfo.front,v=d-1-r.padInfo.left,m=f-1-r.padInfo.top,g=dr(e.shape,"float32"),y=this.bufferSync(o),x=this.bufferSync(t),b=0;b=r.outDepth||Math.floor(T)!==T))for(var N=0;N=r.outHeight||Math.floor(F)!==F))for(var _=0;_=r.outWidth||Math.floor(O)!==O)){var M=h*f*d-1-y.get(b,T,F,O,w)===D*f*d+N*d+_?1:0;if(0!==M)A+=x.get(b,T,F,O,w)*M}}}}g.set(A,b,C,E,R,w)}return g.toTensor()},o.prototype.cast=function(t,e){return Po(t,e,this)},o.prototype.reshape=function(t,e){return Lo(t,e)},o.prototype.avgPool=function(t,e){return Hh(t,"avgPool"),this.pool(t,e,"avg").toFloat()},o.prototype.resizeBilinear=function(t,e,n,r){Hh(t,"resizeBilinear");for(var o=t.shape,a=o[0],i=o[1],s=o[2],u=o[3],c=this.readSync(t.dataId),l=new Float32Array(k([a,e,n,u])),h=[r&&e>1?i-1:i,r&&n>1?s-1:s],f=[r&&e>1?e-1:e,r&&n>1?n-1:n],d=0,p=h[0]/f[0],v=h[1]/f[1],m=0;m1?a-1:a,n&&l>1?i-1:i],d=[n&&c>1?c-1:c,n&&l>1?l-1:l],p=f[0]/d[0],v=f[1]/d[1],m=this.readSync(t.dataId),g=0,y=0;y1?i-1:i,r&&n>1?s-1:s],f=[r&&e>1?e-1:e,r&&n>1?n-1:n],d=h[0]/f[0],p=h[1]/f[1],v=0,m=0;m1?a-1:a,n&&l>1?i-1:i],p=[n&&c>1?c-1:c,n&&l>1?l-1:l],v=d[0]/p[0],m=d[1]/p[1],g=1/v,y=1/m,x=2*Math.ceil(g)+2,b=2*Math.ceil(y)+2,w=0;w=c)){var M=C+O*t.strides[1],B=O*v;if(E===Math.min(a-1,n?Math.round(B):Math.floor(B)))for(var P=0;P=l)){var W=M+L*t.strides[2],U=L*m;S===Math.min(i-1,n?Math.round(U):Math.floor(U))&&(F+=f[W+N])}}}}h[A+N]=F}return Ln(h,e.shape,e.dtype)},o.prototype.batchNormalization=function(t,e,n,r,o,a){Hh([t,e,n,o,a],"batchNorm");for(var i=this.readSync(t.dataId),s=this.readSync(e.dataId),u=this.readSync(n.dataId),c=o?this.readSync(o.dataId):new Float32Array([1]),l=a?this.readSync(a.dataId):new Float32Array([0]),h=new Float32Array(i.length),f=l.length,d=c.length,p=u.length,v=s.length,m=0,g=0,y=0,x=0,b=0;b=f&&(m=0),g>=v&&(g=0),y>=d&&(y=0),x>=p&&(x=0);return Ln(h,t.shape)},o.prototype.localResponseNormalization4D=function(t,e,n,r,o){Hh(t,"localResponseNormalization4D");var a=t.shape[3],i=a-1,s=this.readSync(t.dataId),u=t.size,c=new Float32Array(u);function l(t){for(var n=t%a,r=t-n+Math.max(0,n-e),o=t-n+Math.min(n+e,i),u=0;r<=o;r++){var c=s[r];u+=c*c}return u}for(var h=0;h=0&&a[i]1,(function(){return"blockSize should be > 1 for depthToSpace, but was: "+e}));for(var r=t.shape[0],o=t.shape[1],a=t.shape[2],i=t.shape[3],s=o*e,u=a*e,c=i/(e*e),l=this.readSync(t.dataId),h=new Float32Array(r*s*u*c),f=0,d=0;d=s))for(var S=f>1?(R-C)*(u-1)/(f-1):0,A=d>1?(I-E)*(c-1)/(d-1):0,D=0;D1?C*(u-1)+D*S:.5*(C+R)*(u-1);if(T<0||T>u-1)for(var N=0;N1?E*(c-1)+N*A:.5*(E+I)*(c-1))<0||q>c-1)for(F=0;F1?E*(c-1)+N*A:.5*(E+I)*(c-1))<0||q>c-1)for(F=0;F=t.size/s)throw new Error("Invalid indices: "+d+" does not index into "+t.shape);for(var g=0;g=r/o)throw new Error("Invalid indices: "+v+" does not index into "+n);for(var x=0;x0,(function(){return"scheme must not be an empty string."}));var r=t.getInstance();C(null==r.managers[e],(function(){return"A model store manager is already registered for scheme '"+e+"'."})),r.managers[e]=n},t.getManager=function(t){var e=this.getInstance().managers[t];if(null==e)throw new Error("Cannot find model manager for scheme '"+t+"'");return e},t.getSchemes=function(){return Object.keys(this.getInstance().managers)},t}();function xf(t){if(-1===t.indexOf(gf))throw new Error("The url string provided does not contain a scheme. Supported schemes are: "+yf.getSchemes().join(","));return{scheme:t.split(gf)[0],path:t.split(gf)[1]}}function bf(t,e,o){return void 0===o&&(o=!1),n(this,void 0,void 0,(function(){var n,a,i,s,u,c,l,h,f;return r(this,(function(r){switch(r.label){case 0:return C(t!==e,(function(){return"Old path and new path are the same: '"+t+"'"})),C((n=mf.getLoadHandlers(t)).length>0,(function(){return"Copying failed because no load handler is found for source URL "+t+"."})),C(n.length<2,(function(){return"Copying failed because more than one ("+n.length+") load handlers for source URL "+t+"."})),a=n[0],C((i=mf.getSaveHandlers(e)).length>0,(function(){return"Copying failed because no save handler is found for destination URL "+e+"."})),C(i.length<2,(function(){return"Copying failed because more than one ("+n.length+") save handlers for destination URL "+e+"."})),s=i[0],u=xf(t).scheme,c=xf(t).path,l=u===xf(t).scheme,[4,a.load()];case 1:return h=r.sent(),o&&l?[4,yf.getManager(u).removeModel(c)]:[3,3];case 2:r.sent(),r.label=3;case 3:return[4,s.save(h)];case 4:return f=r.sent(),!o||l?[3,6]:[4,yf.getManager(u).removeModel(c)];case 5:r.sent(),r.label=6;case 6:return[2,f.modelArtifactsInfo]}}))}))}var wf="models_store",Cf="model_info_store";function Ef(){if(!i().getBool("IS_BROWSER"))throw new Error("Failed to obtain IndexedDB factory because the current environmentis not a web browser.");var t=window||self,e=t.indexedDB||t.mozIndexedDB||t.webkitIndexedDB||t.msIndexedDB||t.shimIndexedDB;if(null==e)throw new Error("The current browser does not appear to support IndexedDB.");return e}function Rf(t){var e=t.result;e.createObjectStore(wf,{keyPath:"modelPath"}),e.createObjectStore(Cf,{keyPath:"modelPath"})}var If=function(){function t(t){if(this.indexedDB=Ef(),null==t||!t)throw new Error("For IndexedDB, modelPath must not be null, undefined or empty.");this.modelPath=t}return t.prototype.save=function(t){return n(this,void 0,void 0,(function(){return r(this,(function(e){if(t.modelTopology instanceof ArrayBuffer)throw new Error("BrowserLocalStorage.save() does not support saving model topology in binary formats yet.");return[2,this.databaseAction(this.modelPath,t)]}))}))},t.prototype.load=function(){return n(this,void 0,void 0,(function(){return r(this,(function(t){return[2,this.databaseAction(this.modelPath)]}))}))},t.prototype.databaseAction=function(t,e){var n=this;return new Promise((function(t,r){var o=n.indexedDB.open("tensorflowjs",1);o.onupgradeneeded=function(){return Rf(o)},o.onsuccess=function(){var a=o.result;if(null==e){var i=a.transaction(wf,"readonly"),s=i.objectStore(wf).get(n.modelPath);s.onsuccess=function(){if(null==s.result)return a.close(),r(new Error("Cannot find model with path '"+n.modelPath+"' in IndexedDB."));t(s.result.modelArtifacts)},s.onerror=function(t){return a.close(),r(s.error)},i.oncomplete=function(){return a.close()}}else{var u,c=vf(e),l=a.transaction(Cf,"readwrite"),h=l.objectStore(Cf),f=h.put({modelPath:n.modelPath,modelArtifactsInfo:c});f.onsuccess=function(){var o=(u=a.transaction(wf,"readwrite")).objectStore(wf).put({modelPath:n.modelPath,modelArtifacts:e,modelArtifactsInfo:c});o.onsuccess=function(){return t({modelArtifactsInfo:c})},o.onerror=function(t){var e=(h=l.objectStore(Cf)).delete(n.modelPath);e.onsuccess=function(){return a.close(),r(o.error)},e.onerror=function(t){return a.close(),r(o.error)}}},f.onerror=function(t){return a.close(),r(f.error)},l.oncomplete=function(){null==u?a.close():u.oncomplete=function(){return a.close()}}}},o.onerror=function(t){return r(o.error)}}))},t.URL_SCHEME="indexeddb://",t}(),kf=function(t){return i().getBool("IS_BROWSER")&&!Array.isArray(t)&&t.startsWith(If.URL_SCHEME)?(e=t.slice(If.URL_SCHEME.length),new If(e)):null;var e};mf.registerSaveRouter(kf),mf.registerLoadRouter(kf);var Sf=function(){function t(){this.indexedDB=Ef()}return t.prototype.listModels=function(){return n(this,void 0,void 0,(function(){var t=this;return r(this,(function(e){return[2,new Promise((function(e,n){var r=t.indexedDB.open("tensorflowjs",1);r.onupgradeneeded=function(){return Rf(r)},r.onsuccess=function(){var t=r.result,o=t.transaction(Cf,"readonly"),a=o.objectStore(Cf).getAll();a.onsuccess=function(){for(var t={},n=0,r=a.result;n0,(function(){return"promises must be a none empty array"}))}(t),function(t,e){C(t>=0&&t<=1,(function(){return"Progress fraction must be in range [0, 1], but got startFraction "+t})),C(e>=0&&e<=1,(function(){return"Progress fraction must be in range [0, 1], but got endFraction "+e})),C(e>=t,(function(){return"startFraction must be no more than endFraction, but got startFraction "+t+" and endFraction "+e}))}(n=null==n?0:n,r=null==r?1:r);var o=0;return Promise.all(t.map((function(a){return a.then((function(a){var i=n+ ++o/t.length*(r-n);return e(i),a})),a})))}function jf(t,e){return n(this,void 0,void 0,(function(){var n,o,a,s,u,c,l,h,f;return r(this,(function(r){switch(r.label){case 0:return null==e&&(e={}),n=null==e.fetchFunc?i().platform.fetch:e.fetchFunc,o=t.map((function(t){return n(t,e.requestInit,{isBinary:!0})})),a=0,s=.5,null!=e.onProgress?[3,2]:[4,Promise.all(o)];case 1:return u=r.sent(),[3,4];case 2:return[4,Kf(o,e.onProgress,a,s)];case 3:u=r.sent(),r.label=4;case 4:return c=u.map((function(t){return t.arrayBuffer()})),l=.5,h=1,null!=e.onProgress?[3,6]:[4,Promise.all(c)];case 5:return f=r.sent(),[3,8];case 6:return[4,Kf(c,e.onProgress,l,h)];case 7:f=r.sent(),r.label=8;case 8:return[2,f]}}))}))}function Xf(t){var e=this;return function(o,a,i){return void 0===a&&(a=""),n(e,void 0,void 0,(function(){var e,n,s,u,c,l,h,f,d,p;return r(this,(function(r){switch(r.label){case 0:if(e=o.map((function(){return!1})),n={},s=null!=i?i.map((function(){return!1})):[],u=[],o.forEach((function(t,r){var o=0;t.weights.forEach((function(t){var a="quantization"in t?t.quantization.dtype:t.dtype,c=sf[a]*k(t.shape),l=function(){e[r]=!0,null==n[r]&&(n[r]=[]),n[r].push({manifestEntry:t,groupOffset:o,sizeBytes:c})};null!=i?i.forEach((function(e,n){e===t.name&&(l(),s[n]=!0)})):l(),u.push(t.name),o+=c}))})),!s.every((function(t){return t})))throw c=i.filter((function(t,e){return!s[e]})),new Error("Could not find weights in manifest with names: "+c.join(", ")+". \nManifest JSON has weights with names: "+u.join(", ")+".");return l=e.reduce((function(t,e,n){return e&&t.push(n),t}),[]),h=[],l.forEach((function(t){o[t].paths.forEach((function(t){var e=a+(a.endsWith("/")?"":"/")+t;h.push(e)}))})),[4,t(h)];case 1:return f=r.sent(),d={},p=0,l.forEach((function(t){for(var e=o[t].paths.length,r=0,a=0;a0,(function(){return"URL path for http must not be null, undefined or empty."})),Array.isArray(t)&&C(2===t.length,(function(){return"URL paths for http must have a length of 2, (actual length is "+t.length+")."})),this.path=t,null!=e.requestInit&&null!=e.requestInit.body)throw new Error("requestInit is expected to have no pre-existing body, but has one.");this.requestInit=e.requestInit||{}}return t.prototype.save=function(t){return n(this,void 0,void 0,(function(){var e,n,o,a;return r(this,(function(r){switch(r.label){case 0:if(t.modelTopology instanceof ArrayBuffer)throw new Error("BrowserHTTPRequest.save() does not support saving model topology in binary formats yet.");return(e=Object.assign({method:this.DEFAULT_METHOD},this.requestInit)).body=new FormData,n=[{paths:["./model.weights.bin"],weights:t.weightSpecs}],o={modelTopology:t.modelTopology,format:t.format,generatedBy:t.generatedBy,convertedBy:t.convertedBy,userDefinedMetadata:t.userDefinedMetadata,weightsManifest:n},e.body.append("model.json",new Blob([JSON.stringify(o)],{type:"application/json"}),"model.json"),null!=t.weightData&&e.body.append("model.weights.bin",new Blob([t.weightData],{type:"application/octet-stream"}),"model.weights.bin"),[4,this.fetch(this.path,e)];case 1:if((a=r.sent()).ok)return[2,{modelArtifactsInfo:vf(t),responses:[a]}];throw new Error("BrowserHTTPRequest.save() failed due to HTTP response status "+a.status+".")}}))}))},t.prototype.load=function(){return n(this,void 0,void 0,(function(){var t,e,n,o,a,i,s,u,c,l,h,f;return r(this,(function(r){switch(r.label){case 0:return[4,this.fetch(this.path,this.requestInit)];case 1:if(!(t=r.sent()).ok)throw new Error("Request to "+this.path+" failed with status code "+t.status+". Please verify this URL points to the model JSON of the model to load.");r.label=2;case 2:return r.trys.push([2,4,,5]),[4,t.json()];case 3:return e=r.sent(),[3,5];case 4:throw r.sent(),n="Failed to parse model JSON of response from "+this.path+".",this.path.endsWith(".pb")?n+=" Your path contains a .pb file extension. Support for .pb models have been removed in TensorFlow.js 1.0 in favor of .json models. You can re-convert your Python TensorFlow model using the TensorFlow.js 1.0 conversion scripts or you can convert your.pb models with the 'pb2json'NPM script in the tensorflow/tfjs-converter repository.":n+=" Please make sure the server is serving valid JSON for this request.",new Error(n);case 5:if(o=e.modelTopology,a=e.weightsManifest,i=e.generatedBy,s=e.convertedBy,u=e.format,c=e.userDefinedMetadata,null==o&&null==a)throw new Error("The JSON from HTTP path "+this.path+" contains neither model topology or manifest for weights.");return null==a?[3,7]:[4,this.loadWeights(a)];case 6:f=r.sent(),l=f[0],h=f[1],r.label=7;case 7:return[2,{modelTopology:o,weightSpecs:l,weightData:h,userDefinedMetadata:c,generatedBy:i,convertedBy:s,format:u}]}}))}))},t.prototype.loadWeights=function(t){return n(this,void 0,void 0,(function(){var e,n,o,a,i,s,u,c,l,h,f;return r(this,(function(r){switch(r.label){case 0:for(e=Array.isArray(this.path)?this.path[1]:this.path,n=function(t){var e=t.lastIndexOf("/"),n=t.lastIndexOf("?"),r=t.substring(0,e),o=n>e?t.substring(n):"";return[r+"/",o]}(e),o=n[0],a=n[1],i=this.weightPathPrefix||o,s=[],u=0,c=t;u0&&Number.isInteger(n),(function(){return"If provided, numClasses must be a positive integer, but got "+n})),C(1===r.rank,(function(){return"Expected the rank of labels to be 1, but got "+r.rank})),C(1===o.rank,(function(){return"Expected the rank of predictions to be 1, but got "+o.rank})),C(r.shape[0]===o.shape[0],(function(){return"Mismatch in the number of examples: "+r.shape[0]+" vs. "+o.shape[0]+". Labels and predictions should have the same number of elements."})),C(n>0&&Number.isInteger(n),(function(){return"numClasses is required to be a positive integer, but got "+n}));var a=Rr(r.asType("int32"),n),i=Rr(o.asType("int32"),n);return a.transpose().matMul(i).asType("int32")}}),od=Object.freeze({confusionMatrix:rd});var ad=An({fromPixels_:function(t,e){if(void 0===e&&(e=3),e>4)throw new Error("Cannot construct Tensor with more than 4 channels from pixels.");if(null==t)throw new Error("pixels passed to tf.browser.fromPixels() can not be null");var n=!1,r=!1,o=!1,a=!1,i=!1;if(t.data instanceof Uint8Array)n=!0;else if("undefined"!=typeof ImageData&&t instanceof ImageData)r=!0;else if("undefined"!=typeof HTMLVideoElement&&t instanceof HTMLVideoElement)o=!0;else if("undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement)a=!0;else{if(null==t.getContext)throw new Error("pixels passed to tf.browser.fromPixels() must be either an HTMLVideoElement, HTMLImageElement, HTMLCanvasElement, ImageData in browser, or OffscreenCanvas, ImageData in webworker or {data: Uint32Array, width: number, height: number}, but was "+t.constructor.name);i=!0}if(o){if(o&&t.readyState<2)throw new Error("The video element has not loaded data yet. Please wait for `loadeddata` event on the