@datalayer/agent-runtimes 1.5.100 → 1.5.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/dist-embed/chunks/{AgentDetails-Bi0s0fAV.js → AgentDetails-BNjN_hIA.js} +1 -1
  2. package/dist-embed/chunks/{AgentDetailsDialog-DcHJB-46.js → AgentDetailsDialog-CDFTzqHt.js} +1 -1
  3. package/dist-embed/chunks/{AgentInspector-BoLztEWM.js → AgentInspector-CgyzKeHG.js} +1 -1
  4. package/dist-embed/chunks/{AgentInspectorDialog-BQbJv6BQ.js → AgentInspectorDialog-Cf8jT6kR.js} +1 -1
  5. package/dist-embed/chunks/{CellSidebarExtension-I1K60vh4.js → CellSidebarExtension-9Xkl4nS1.js} +8 -8
  6. package/dist-embed/chunks/{ChatView-CS0QVQQ5.js → ChatView-CfutdVuV.js} +4 -4
  7. package/dist-embed/chunks/{ContextPie-BlO8HMfv.js → ContextPie-CjoAkxWM.js} +1 -1
  8. package/dist-embed/chunks/{DeckComponent-pNpyII0x.js → DeckComponent-LPAk473I.js} +31 -31
  9. package/dist-embed/chunks/{DocumentView-DH3V3gQj.js → DocumentView-CSX_hWLV.js} +1 -1
  10. package/dist-embed/chunks/{EphemeralDocument-MgLvMU4F.js → EphemeralDocument-BqDLSVvb.js} +1 -1
  11. package/dist-embed/chunks/{EphemeralNotebook-DRNUs2CY.js → EphemeralNotebook-C3e2FrSq.js} +2 -2
  12. package/dist-embed/chunks/{ExcalidrawComponent-CFCkypGk.js → ExcalidrawComponent-DIz2Hp3F.js} +1 -1
  13. package/dist-embed/chunks/{ExcalidrawModal-Cb2Vho79.js → ExcalidrawModal-Bz4nrIlA.js} +1 -1
  14. package/dist-embed/chunks/{JupyterLexicalExtension-IRPTy6fp.js → JupyterLexicalExtension-Cq2BuRs0.js} +9 -9
  15. package/dist-embed/chunks/{KernelVariables-DKDFwfHn.js → KernelVariables-BmWOn-n_.js} +3 -3
  16. package/dist-embed/chunks/{LexicalToolRegistry-DSuihTus.js → LexicalToolRegistry-Cx7dBNnA.js} +4 -4
  17. package/dist-embed/chunks/{NotebookSkeleton-D1ewE63E.js → NotebookSkeleton-D-wj2esi.js} +1 -1
  18. package/dist-embed/chunks/{NotebookToolSurfaces-B04CoSFo.js → NotebookToolSurfaces-Ch-7Pk_I.js} +1 -1
  19. package/dist-embed/chunks/{NotebookToolbar-Ddg2JwS8.js → NotebookToolbar-C6VvAn4V.js} +1 -1
  20. package/dist-embed/chunks/{NotebookView-D-Lsg7D7.js → NotebookView-yvVgAED6.js} +1 -1
  21. package/dist-embed/chunks/{Output-nrXVDS-d.js → Output-DF1wzbCD.js} +1 -1
  22. package/dist-embed/chunks/{SandboxDetailsDialog-DMKJZFoP.js → SandboxDetailsDialog-Bue8qhTm.js} +1 -1
  23. package/dist-embed/chunks/{SchemaForm-DZ0DKlG1.js → SchemaForm-DdqxkcGg.js} +1 -1
  24. package/dist-embed/chunks/{SheetTabs-D6IAdDy0.js → SheetTabs-DbMfhfKN.js} +3 -3
  25. package/dist-embed/chunks/{SpreadsheetPreviewView-Dl3kr0Bb.js → SpreadsheetPreviewView-SNF7bdWe.js} +1 -1
  26. package/dist-embed/chunks/{SpreadsheetView-nspmk7vr.js → SpreadsheetView-Do58cpUN.js} +1 -1
  27. package/dist-embed/chunks/{Toolbar-BDrBbL69.js → Toolbar-CalSw9_B.js} +1 -1
  28. package/dist-embed/chunks/{WidgetVariableView-DQbR4tlr.js → WidgetVariableView-BEQqawKT.js} +1 -1
  29. package/dist-embed/chunks/{YouTubePlugin-Vcoo9cJt.js → YouTubePlugin-aO-jWjdh.js} +1 -1
  30. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-BnR307LJ.js → abnfDiagram-VCTEODGH-Cviduj-e.js} +1 -1
  31. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-DMM-4z2i.js → abnfDiagram-VCTEODGH-DRYUPXKp.js} +1 -1
  32. package/dist-embed/chunks/{abnfDiagram-VCTEODGH-CVbtYf4Z.js → abnfDiagram-VCTEODGH-uQbfcTeh.js} +1 -1
  33. package/dist-embed/chunks/{ar-SA-G6X2FPQ2-BSgmpt5-.js → ar-SA-G6X2FPQ2-DZ6ta9d0.js} +1 -1
  34. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-Dtz5vgdG.js → architectureDiagram-5GKGNRK7-BbVwTk8b.js} +1 -1
  35. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-Bt2FCLqZ.js → architectureDiagram-5GKGNRK7-CFyAMJIx.js} +1 -1
  36. package/dist-embed/chunks/{architectureDiagram-5GKGNRK7-ZkhoS04q.js → architectureDiagram-5GKGNRK7-DeCj6zMe.js} +1 -1
  37. package/dist-embed/chunks/{az-AZ-76LH7QW2-DdJYOut1.js → az-AZ-76LH7QW2-By3wlF01.js} +1 -1
  38. package/dist-embed/chunks/{bg-BG-XCXSNQG7-CqyLLUxV.js → bg-BG-XCXSNQG7-B7QcVEVY.js} +1 -1
  39. package/dist-embed/chunks/{blockDiagram-868be97b-Coa_jxC5.js → blockDiagram-868be97b-CfRaagn_.js} +1 -1
  40. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-G6aFEbTM.js → blockDiagram-I7D4REHJ-BjRmv4QH.js} +1 -1
  41. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-DQ8iRsgf.js → blockDiagram-I7D4REHJ-SufaJtAi.js} +1 -1
  42. package/dist-embed/chunks/{blockDiagram-I7D4REHJ-DXMyZCA-.js → blockDiagram-I7D4REHJ-kguVnun5.js} +1 -1
  43. package/dist-embed/chunks/{bn-BD-2XOGV67Q-DkvkFbHE.js → bn-BD-2XOGV67Q-TxN1ubr7.js} +1 -1
  44. package/dist-embed/chunks/{c4Diagram-3f4bdde3-DrlpIJhH.js → c4Diagram-3f4bdde3-FyOk3LSs.js} +1 -1
  45. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-Cb_4lbrT.js → c4Diagram-7LVT6UL2-Cf2_xw9_.js} +1 -1
  46. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-cpEH7bse.js → c4Diagram-7LVT6UL2-D3Vjz3Z8.js} +1 -1
  47. package/dist-embed/chunks/{c4Diagram-7LVT6UL2-BGIfXVGs.js → c4Diagram-7LVT6UL2-SgQrn2PO.js} +1 -1
  48. package/dist-embed/chunks/{ca-ES-6MX7JW3Y-BGbo8RKg.js → ca-ES-6MX7JW3Y-Dqf9cvaK.js} +1 -1
  49. package/dist-embed/chunks/{celltoolbartracker-Cw0z7did.js → celltoolbartracker-Dk_FdlQk.js} +1 -1
  50. package/dist-embed/chunks/{chunk-2Q5K7J3B-hFGnBugV.js → chunk-2Q5K7J3B-BJrhmygH.js} +1 -1
  51. package/dist-embed/chunks/{chunk-2Q5K7J3B-n5Wh4T7i.js → chunk-2Q5K7J3B-DBdUm--2.js} +1 -1
  52. package/dist-embed/chunks/{chunk-2Q5K7J3B-Wncj3lvJ.js → chunk-2Q5K7J3B-DuPgZFdB.js} +1 -1
  53. package/dist-embed/chunks/{chunk-5VM5RSS4-1iG33qxM.js → chunk-5VM5RSS4-B-UBqvd2.js} +1 -1
  54. package/dist-embed/chunks/{chunk-5VM5RSS4-BPZ17Fvc.js → chunk-5VM5RSS4-C1Bpa3VF.js} +1 -1
  55. package/dist-embed/chunks/{chunk-5VM5RSS4-C0qOJhaZ.js → chunk-5VM5RSS4-nQugzoqo.js} +1 -1
  56. package/dist-embed/chunks/{chunk-F27PBJKO-BZvchzhT.js → chunk-F27PBJKO-D3zJwrkg.js} +1 -1
  57. package/dist-embed/chunks/{chunk-F27PBJKO-gaxXTTyt.js → chunk-F27PBJKO-DYiXXgT1.js} +1 -1
  58. package/dist-embed/chunks/{chunk-F27PBJKO-FQuOLMts.js → chunk-F27PBJKO-MI-KHY-9.js} +1 -1
  59. package/dist-embed/chunks/{chunk-IMKFNOWR-D6WqThtx.js → chunk-IMKFNOWR-BbylDqs_.js} +1 -1
  60. package/dist-embed/chunks/{chunk-IMKFNOWR-Ce8Jl1Cu.js → chunk-IMKFNOWR-DJk_fAZn.js} +1 -1
  61. package/dist-embed/chunks/{chunk-IMKFNOWR-Ah6SL0XE.js → chunk-IMKFNOWR-i4q8sDDB.js} +1 -1
  62. package/dist-embed/chunks/{chunk-JWPE2WC7-DjfDnLXf.js → chunk-JWPE2WC7-8ggfUh7n.js} +1 -1
  63. package/dist-embed/chunks/{chunk-JWPE2WC7-BiLuWg0V.js → chunk-JWPE2WC7-BSzyfwPR.js} +1 -1
  64. package/dist-embed/chunks/{chunk-JWPE2WC7-WEMpWwN6.js → chunk-JWPE2WC7-D1PH2kGj.js} +1 -1
  65. package/dist-embed/chunks/{chunk-POPQ4Y6H-D1zcv3TO.js → chunk-POPQ4Y6H-CKubmyGa.js} +1 -1
  66. package/dist-embed/chunks/{chunk-POPQ4Y6H-Ci1ORfKB.js → chunk-POPQ4Y6H-DhZnEisk.js} +1 -1
  67. package/dist-embed/chunks/{chunk-POPQ4Y6H-DGo-c1gA.js → chunk-POPQ4Y6H-pegurE5S.js} +1 -1
  68. package/dist-embed/chunks/{chunk-SVP7TREG-Dw-r79VX.js → chunk-SVP7TREG-BF112NUO.js} +1 -1
  69. package/dist-embed/chunks/{chunk-SVP7TREG-Dp25klfn.js → chunk-SVP7TREG-CoZRhamu.js} +1 -1
  70. package/dist-embed/chunks/{chunk-SVP7TREG-BNbFIqtk.js → chunk-SVP7TREG-D5yRz6xm.js} +1 -1
  71. package/dist-embed/chunks/{chunk-TICWLB2K-mR6tLG7x.js → chunk-TICWLB2K-Bs5ffYyR.js} +1 -1
  72. package/dist-embed/chunks/{chunk-TICWLB2K-BGlpRZHG.js → chunk-TICWLB2K-XF3ekUig.js} +1 -1
  73. package/dist-embed/chunks/{chunk-TICWLB2K-Cdu1LH0d.js → chunk-TICWLB2K-v9-jDBp6.js} +1 -1
  74. package/dist-embed/chunks/{chunk-XXDRQBXY-THCdSzRs.js → chunk-XXDRQBXY-D9b9c_ic.js} +1 -1
  75. package/dist-embed/chunks/{chunk-XXDRQBXY-Frt_zuHl.js → chunk-XXDRQBXY-D_FJqGi2.js} +1 -1
  76. package/dist-embed/chunks/{chunk-XXDRQBXY-Qb6D0SQd.js → chunk-XXDRQBXY-l6VvHymR.js} +1 -1
  77. package/dist-embed/chunks/{classDiagram-ZZMXUADV-DVQyGWdi.js → classDiagram-ZZMXUADV-2t4a-wcA.js} +1 -1
  78. package/dist-embed/chunks/{classDiagram-ZZMXUADV-MmqdRe8H.js → classDiagram-ZZMXUADV-9WVRK_2x.js} +1 -1
  79. package/dist-embed/chunks/{classDiagram-ZZMXUADV-DQkKVwjv.js → classDiagram-ZZMXUADV-Dh5wgyac.js} +1 -1
  80. package/dist-embed/chunks/{classDiagram-f62afe4f-D5_ocBdB.js → classDiagram-f62afe4f-CaiUEXWA.js} +1 -1
  81. package/dist-embed/chunks/{classDiagram-v2-604399ef-DW4EPvpW.js → classDiagram-v2-604399ef-CZz_cEb3.js} +1 -1
  82. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-DVQyGWdi.js → classDiagram-v2-VYDZK3BY-2t4a-wcA.js} +1 -1
  83. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-MmqdRe8H.js → classDiagram-v2-VYDZK3BY-9WVRK_2x.js} +1 -1
  84. package/dist-embed/chunks/{classDiagram-v2-VYDZK3BY-DQkKVwjv.js → classDiagram-v2-VYDZK3BY-Dh5wgyac.js} +1 -1
  85. package/dist-embed/chunks/{code-block-IT6T5CEO-JFor4YAD.js → code-block-IT6T5CEO-FSD2IMlq.js} +1 -1
  86. package/dist-embed/chunks/{component-C8C1Quml.js → component-Cl7a1YGX.js} +1 -1
  87. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-C_tMYGtf.js → cose-bilkent-JH36ORCC-CYdr15Qb.js} +1 -1
  88. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-BQyw1y1U.js → cose-bilkent-JH36ORCC-D7xkFMi4.js} +1 -1
  89. package/dist-embed/chunks/{cose-bilkent-JH36ORCC-CsAENBdP.js → cose-bilkent-JH36ORCC-DyL8-f5N.js} +1 -1
  90. package/dist-embed/chunks/{createText-aed3d8b3-CMnWQblC.js → createText-aed3d8b3-Dw977TwJ.js} +1 -1
  91. package/dist-embed/chunks/{cs-CZ-2BRQDIVT-CDANWU11.js → cs-CZ-2BRQDIVT-CwlCWt4T.js} +1 -1
  92. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-6YzZCz6x.js → cynefinDiagram-5FMLGOSQ-B-cEXnFH.js} +1 -1
  93. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-DIkKdCg7.js → cynefinDiagram-5FMLGOSQ-DkFOdRYH.js} +1 -1
  94. package/dist-embed/chunks/{cynefinDiagram-5FMLGOSQ-Cq4XKqVa.js → cynefinDiagram-5FMLGOSQ-wHBoNo7j.js} +1 -1
  95. package/dist-embed/chunks/{da-DK-5WZEPLOC-DwmgcOxN.js → da-DK-5WZEPLOC-BYQLzbDz.js} +1 -1
  96. package/dist-embed/chunks/{dagre-GXQ25YYZ-CPco-SxY.js → dagre-GXQ25YYZ-BiceTC0E.js} +1 -1
  97. package/dist-embed/chunks/{dagre-GXQ25YYZ-n9sjDOqg.js → dagre-GXQ25YYZ-Bj78I_3y.js} +1 -1
  98. package/dist-embed/chunks/{dagre-GXQ25YYZ-BkueS0KV.js → dagre-GXQ25YYZ-BvxZGlAG.js} +1 -1
  99. package/dist-embed/chunks/{de-DE-XR44H4JA-l2943EP0.js → de-DE-XR44H4JA-CdWGWxSf.js} +1 -1
  100. package/dist-embed/chunks/{diagram-S7CK7UJ4-CrcfBLvv.js → diagram-S7CK7UJ4-Cmb9Ykqm.js} +1 -1
  101. package/dist-embed/chunks/{diagram-S7CK7UJ4-jZdRq6wu.js → diagram-S7CK7UJ4-DMHeQr8F.js} +1 -1
  102. package/dist-embed/chunks/{diagram-S7CK7UJ4-DYtNkxjk.js → diagram-S7CK7UJ4-a4FArSaJ.js} +1 -1
  103. package/dist-embed/chunks/{diagram-UQ7AKVKN-CAYDX7Bd.js → diagram-UQ7AKVKN-2cPTLkSD.js} +1 -1
  104. package/dist-embed/chunks/{diagram-UQ7AKVKN-BdRY39AK.js → diagram-UQ7AKVKN-CSMVfm7b.js} +1 -1
  105. package/dist-embed/chunks/{diagram-UQ7AKVKN-B9ZTK0Te.js → diagram-UQ7AKVKN-C_jt0u6D.js} +1 -1
  106. package/dist-embed/chunks/{diagram-VSXAHHWV-CcaaK20P.js → diagram-VSXAHHWV-BsxdgIBU.js} +1 -1
  107. package/dist-embed/chunks/{diagram-VSXAHHWV-CxMii8H2.js → diagram-VSXAHHWV-BzwWsSpj.js} +1 -1
  108. package/dist-embed/chunks/{diagram-VSXAHHWV-Dt-I1eKY.js → diagram-VSXAHHWV-D3lurhxI.js} +1 -1
  109. package/dist-embed/chunks/{diagram-VX7I27RA-DwX1uaCx.js → diagram-VX7I27RA-BJ2YQn5K.js} +1 -1
  110. package/dist-embed/chunks/{diagram-VX7I27RA-DcbG7Tne.js → diagram-VX7I27RA-DA1J99rY.js} +1 -1
  111. package/dist-embed/chunks/{diagram-VX7I27RA-D8bhlh3r.js → diagram-VX7I27RA-Dm3pOzxq.js} +1 -1
  112. package/dist-embed/chunks/{diagram-Z3DM3KII-fyF7IFt-.js → diagram-Z3DM3KII-C5sZC4ig.js} +1 -1
  113. package/dist-embed/chunks/{diagram-Z3DM3KII-CeM42DVq.js → diagram-Z3DM3KII-CVmSZjIo.js} +1 -1
  114. package/dist-embed/chunks/{diagram-Z3DM3KII-C9dar5bS.js → diagram-Z3DM3KII-DVQwJUFe.js} +1 -1
  115. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-Df0coz-U.js → ebnfDiagram-PWID7BFC-DwtRvYrD.js} +1 -1
  116. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-B0F4iy5P.js → ebnfDiagram-PWID7BFC-Qmmh9DWc.js} +1 -1
  117. package/dist-embed/chunks/{ebnfDiagram-PWID7BFC-COj5ulCD.js → ebnfDiagram-PWID7BFC-YwFzQxr5.js} +1 -1
  118. package/dist-embed/chunks/{edges-b2856ca0-ZiofUaoz.js → edges-b2856ca0-Cn0ZKu5E.js} +1 -1
  119. package/dist-embed/chunks/{el-GR-BZB4AONW-Csfuo4E5.js → el-GR-BZB4AONW-TO3tEZdB.js} +1 -1
  120. package/dist-embed/chunks/{erDiagram-5d81789a-RepZY3NM.js → erDiagram-5d81789a-D3blvZNR.js} +1 -1
  121. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-BulLtxKT.js → erDiagram-RLTQ6QDP-BvRjMgFJ.js} +1 -1
  122. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-B5eHyTSb.js → erDiagram-RLTQ6QDP-HUP46o_S.js} +1 -1
  123. package/dist-embed/chunks/{erDiagram-RLTQ6QDP-CdBi4-uF.js → erDiagram-RLTQ6QDP-pCbnjfMk.js} +1 -1
  124. package/dist-embed/chunks/{es-ES-U4NZUMDT-Barmg8lW.js → es-ES-U4NZUMDT-BKZIANpq.js} +1 -1
  125. package/dist-embed/chunks/{eu-ES-A7QVB2H4-bSfPMjGm.js → eu-ES-A7QVB2H4-vz5ecl6y.js} +1 -1
  126. package/dist-embed/chunks/{fa-IR-HGAKTJCU-9wWNbyPp.js → fa-IR-HGAKTJCU-Dmmoro5p.js} +1 -1
  127. package/dist-embed/chunks/{fi-FI-Z5N7JZ37-BwYpCx0e.js → fi-FI-Z5N7JZ37-4bWurBmp.js} +1 -1
  128. package/dist-embed/chunks/{flowDb-185abca5-DjN9NKb1.js → flowDb-185abca5-DzeO696Q.js} +1 -1
  129. package/dist-embed/chunks/{flowDiagram-1629c991-BvOM7G2N.js → flowDiagram-1629c991-BCS_QkN2.js} +1 -1
  130. package/dist-embed/chunks/{flowDiagram-HODETNUW-BCEPp4ad.js → flowDiagram-HODETNUW-7NyW99NE.js} +1 -1
  131. package/dist-embed/chunks/{flowDiagram-HODETNUW-3KNlQIm_.js → flowDiagram-HODETNUW-C7KqgwLg.js} +1 -1
  132. package/dist-embed/chunks/{flowDiagram-HODETNUW-CXD13cZH.js → flowDiagram-HODETNUW-CObZVANE.js} +1 -1
  133. package/dist-embed/chunks/{flowDiagram-v2-1d953310-DhnQn8Nr.js → flowDiagram-v2-1d953310-5ThB3y9b.js} +1 -1
  134. package/dist-embed/chunks/{flowchart-elk-definition-6df44142-BqgdASPv.js → flowchart-elk-definition-6df44142-72x8aEiK.js} +1 -1
  135. package/dist-embed/chunks/{fr-FR-RHASNOE6-BDJ0uslp.js → fr-FR-RHASNOE6-QYoMYddl.js} +1 -1
  136. package/dist-embed/chunks/{ganttDiagram-3b0b3873-qKAuWTsd.js → ganttDiagram-3b0b3873-BsGIi6q0.js} +1 -1
  137. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-CI7N1FH6.js → ganttDiagram-EL5Y4UJY-Bmj6A7sI.js} +1 -1
  138. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-Dk94wE3f.js → ganttDiagram-EL5Y4UJY-Cm2jOWpZ.js} +1 -1
  139. package/dist-embed/chunks/{ganttDiagram-EL5Y4UJY-dHpetUk-.js → ganttDiagram-EL5Y4UJY-QZMrDtOa.js} +1 -1
  140. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-BODb2uT3.js → gitGraphDiagram-WWUBYQGX-1XlTL5m_.js} +1 -1
  141. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-D57Klnd8.js → gitGraphDiagram-WWUBYQGX-APR1d-tc.js} +1 -1
  142. package/dist-embed/chunks/{gitGraphDiagram-WWUBYQGX-2qOrIdt0.js → gitGraphDiagram-WWUBYQGX-BAP8EKLt.js} +1 -1
  143. package/dist-embed/chunks/{gitGraphDiagram-f01e8bc2-CB6fU3iE.js → gitGraphDiagram-f01e8bc2-C5glz__6.js} +1 -1
  144. package/dist-embed/chunks/{gl-ES-HMX3MZ6V-Jphst371.js → gl-ES-HMX3MZ6V-CuWi9MKI.js} +1 -1
  145. package/dist-embed/chunks/{he-IL-6SHJWFNN-Dq3r101K.js → he-IL-6SHJWFNN-CZ7rDY29.js} +1 -1
  146. package/dist-embed/chunks/{hi-IN-IWLTKZ5I-8B89dnMh.js → hi-IN-IWLTKZ5I-BOtn2GYM.js} +1 -1
  147. package/dist-embed/chunks/{hu-HU-A5ZG7DT2-CW5VclQQ.js → hu-HU-A5ZG7DT2-Da2fd7BW.js} +1 -1
  148. package/dist-embed/chunks/{id-ID-SAP4L64H-glKtNYpe.js → id-ID-SAP4L64H-DygGPsGR.js} +1 -1
  149. package/dist-embed/chunks/{index-9bae90f3-CNczxBwD.js → index-9bae90f3-C6Xh0qGL.js} +1 -1
  150. package/dist-embed/chunks/{index-CZGjZxFf.js → index-B40K_78l.js} +1 -1
  151. package/dist-embed/chunks/{index-DPr4u5vQ.js → index-B6ISkj2i.js} +2 -2
  152. package/dist-embed/chunks/{index-BM2hYh8Q.js → index-BF1314TG.js} +1 -1
  153. package/dist-embed/chunks/{index-BDTquNK1.js → index-BYQPOTc8.js} +1 -1
  154. package/dist-embed/chunks/{index-xmcTHVsH.js → index-BeA4XI1t.js} +1 -1
  155. package/dist-embed/chunks/{index-kIY4bTgE.js → index-Ben6aEe6.js} +1 -1
  156. package/dist-embed/chunks/{index-B5qB2n6R.js → index-C4gfDIqr.js} +1 -1
  157. package/dist-embed/chunks/{index-B5Ar2C76.js → index-CA38jh_p.js} +1 -1
  158. package/dist-embed/chunks/{index-CgItmZMM.js → index-CDGGINfN.js} +6 -6
  159. package/dist-embed/chunks/{index-B6pSvSsm.js → index-CF9HUHN8.js} +1 -1
  160. package/dist-embed/chunks/{index-zYmeKXxb.js → index-CFSUTqDN.js} +1 -1
  161. package/dist-embed/chunks/{index-w0c9DMN0.js → index-CIJSTpqW.js} +1 -1
  162. package/dist-embed/chunks/{index-B1hVcCeL.js → index-CMna4RvT.js} +1 -1
  163. package/dist-embed/chunks/{index-H4p_UVsf.js → index-CXEjqez2.js} +3 -3
  164. package/dist-embed/chunks/{index-BEHCLH59.js → index-CbC1En_Z.js} +1 -1
  165. package/dist-embed/chunks/{index-CnIHrGr-.js → index-Clrbkk70.js} +1 -1
  166. package/dist-embed/chunks/{index-DIaoQxKH.js → index-D4a8E78-.js} +1 -1
  167. package/dist-embed/chunks/{index-BFH1nmiJ.js → index-D7tggxpZ.js} +1 -1
  168. package/dist-embed/chunks/{index-C66Vbs6F.js → index-D99YJ2MP.js} +1 -1
  169. package/dist-embed/chunks/{index-DKiNGAN5.js → index-DCBV5Hy0.js} +1 -1
  170. package/dist-embed/chunks/{index-Bq90Fbc4.js → index-DDgcbci7.js} +1 -1
  171. package/dist-embed/chunks/{index-BHHOSjZo.js → index-DIoOWi0w.js} +2 -2
  172. package/dist-embed/chunks/{index-CYUvojfN.js → index-DK_juJTN.js} +2 -2
  173. package/dist-embed/chunks/{index-BgxqJ9_L.js → index-DOI3H9VM.js} +1 -1
  174. package/dist-embed/chunks/{index-DtDFBOl9.js → index-DS7lfBW6.js} +1 -1
  175. package/dist-embed/chunks/{index-CTr6-SsV.js → index-DUtVEK_h.js} +1 -1
  176. package/dist-embed/chunks/{index-CYAoF-g4.js → index-DcQTeOGT.js} +1 -1
  177. package/dist-embed/chunks/{index-BWuVbZWH.js → index-DrXZebZS.js} +1 -1
  178. package/dist-embed/chunks/{index-D3C4W1e1.js → index-Dw3RE4d5.js} +1 -1
  179. package/dist-embed/chunks/{index-DckpK9sw.js → index-DwA3K69t.js} +1 -1
  180. package/dist-embed/chunks/{index-nOhqCuwU.js → index-ErZ9_T3y.js} +4 -4
  181. package/dist-embed/chunks/{index-CtOE7MGN.js → index-Gy_uosvT.js} +1 -1
  182. package/dist-embed/chunks/{index-BW_-m6b-.js → index-JdNcf3Gc.js} +1 -1
  183. package/dist-embed/chunks/{index-BuNU8ABo.js → index-MUnyaGR7.js} +1 -1
  184. package/dist-embed/chunks/{index-CkFaHglB.js → index-e62XL6B3.js} +4 -4
  185. package/dist-embed/chunks/{index-23xUfUK3.js → index-fi_KzQoZ.js} +1 -1
  186. package/dist-embed/chunks/{index.esm-CWcjqNjR.js → index.esm-B3EUlnks.js} +1 -1
  187. package/dist-embed/chunks/{index.esm-BLDeC6q1.js → index.esm-D5xkumnx.js} +1 -1
  188. package/dist-embed/chunks/{infoDiagram-27XIBGKW-CF4qMRpl.js → infoDiagram-27XIBGKW-BRFvlR5E.js} +1 -1
  189. package/dist-embed/chunks/{infoDiagram-27XIBGKW-wn3LxC14.js → infoDiagram-27XIBGKW-D2VjYulT.js} +1 -1
  190. package/dist-embed/chunks/{infoDiagram-27XIBGKW-drOzO4SB.js → infoDiagram-27XIBGKW-mC-wx4e9.js} +1 -1
  191. package/dist-embed/chunks/{infoDiagram-a29d40f1-REMs6KOr.js → infoDiagram-a29d40f1-C84ltR9z.js} +1 -1
  192. package/dist-embed/chunks/isEqual-DjmHhd-b.js +1 -0
  193. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-atVe3g88.js → ishikawaDiagram-5VMMS53U-19vfXaSu.js} +1 -1
  194. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-g9P7XeQ7.js → ishikawaDiagram-5VMMS53U-BKwHxl_c.js} +1 -1
  195. package/dist-embed/chunks/{ishikawaDiagram-5VMMS53U-ykVOWtHE.js → ishikawaDiagram-5VMMS53U-DxmD4pNL.js} +1 -1
  196. package/dist-embed/chunks/{it-IT-JPQ66NNP-B-ahG0CB.js → it-IT-JPQ66NNP-C61ct2vR.js} +1 -1
  197. package/dist-embed/chunks/{ja-JP-DBVTYXUO-5JyLIwOs.js → ja-JP-DBVTYXUO-DsuHLQzd.js} +1 -1
  198. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-BMXUCxse.js → journeyDiagram-3NMN7TZE-BtJM0rtE.js} +1 -1
  199. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-Bjti-927.js → journeyDiagram-3NMN7TZE-CRrrfAmB.js} +1 -1
  200. package/dist-embed/chunks/{journeyDiagram-3NMN7TZE-DUyUItoc.js → journeyDiagram-3NMN7TZE-D8vrwew7.js} +1 -1
  201. package/dist-embed/chunks/{journeyDiagram-95396277-B9L_UQQW.js → journeyDiagram-95396277-91Yn8aB5.js} +1 -1
  202. package/dist-embed/chunks/{kaa-6HZHGXH3-BIVYWYQP.js → kaa-6HZHGXH3-DXk4Goog.js} +1 -1
  203. package/dist-embed/chunks/{kab-KAB-ZGHBKWFO-DVL8cRgk.js → kab-KAB-ZGHBKWFO-lymWJChw.js} +1 -1
  204. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-CmWGlZ0H.js → kanban-definition-UXKFOSKX-BD4YKCh4.js} +1 -1
  205. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-ClVtSIhc.js → kanban-definition-UXKFOSKX-BI3EeL_e.js} +1 -1
  206. package/dist-embed/chunks/{kanban-definition-UXKFOSKX-BcbVekZs.js → kanban-definition-UXKFOSKX-DFA9oGiU.js} +1 -1
  207. package/dist-embed/chunks/{kk-KZ-P5N5QNE5-KOEMwerS.js → kk-KZ-P5N5QNE5-BVNL23_r.js} +1 -1
  208. package/dist-embed/chunks/{km-KH-HSX4SM5Z-CDH3ezLN.js → km-KH-HSX4SM5Z-C__pm6qQ.js} +1 -1
  209. package/dist-embed/chunks/{ko-KR-MTYHY66A-Bmb-D285.js → ko-KR-MTYHY66A-D5yQS5Y4.js} +1 -1
  210. package/dist-embed/chunks/{ku-TR-6OUDTVRD-BuhkTBbp.js → ku-TR-6OUDTVRD-OIGj43yE.js} +1 -1
  211. package/dist-embed/chunks/{layout-CIqBEWvO.js → layout-C3jdOWbU.js} +1 -1
  212. package/dist-embed/chunks/{layout-DAiowMz2.js → layout-DWmuzni9.js} +1 -1
  213. package/dist-embed/chunks/{layout-LTmWPIeE.js → layout-Dj_zgK51.js} +1 -1
  214. package/dist-embed/chunks/{lexicalHooks-CKdIdyZ8.js → lexicalHooks-DWzaOuko.js} +1 -1
  215. package/dist-embed/chunks/{lt-LT-XHIRWOB4-584bUjqP.js → lt-LT-XHIRWOB4-UGZ71aBo.js} +1 -1
  216. package/dist-embed/chunks/{lv-LV-5QDEKY6T-CkTBsD-R.js → lv-LV-5QDEKY6T-LRIHo0NC.js} +1 -1
  217. package/dist-embed/chunks/{mermaid.core-RXtCLUM0.js → mermaid.core-DF6jaPnW.js} +5 -5
  218. package/dist-embed/chunks/{mermaid.core-CIytoWBO.js → mermaid.core-DIIwHAlX.js} +3 -3
  219. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-B11GPGu3.js → mindmap-definition-YA3MSWOX-3bvIJFMV.js} +1 -1
  220. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-CGIHCY64.js → mindmap-definition-YA3MSWOX-D6u4H_xO.js} +1 -1
  221. package/dist-embed/chunks/{mindmap-definition-YA3MSWOX-MoPLOrcw.js → mindmap-definition-YA3MSWOX-fBVFRUCw.js} +1 -1
  222. package/dist-embed/chunks/{mindmap-definition-e4c1d938-D_grZmp7.js → mindmap-definition-e4c1d938-DbYGQCf5.js} +1 -1
  223. package/dist-embed/chunks/{mr-IN-CRQNXWMA-0Xba6kSJ.js → mr-IN-CRQNXWMA-BXO8TJMv.js} +1 -1
  224. package/dist-embed/chunks/{my-MM-5M5IBNSE-B09FZKSd.js → my-MM-5M5IBNSE-CRUW8B_2.js} +1 -1
  225. package/dist-embed/chunks/{nb-NO-T6EIAALU-BpCjfVUo.js → nb-NO-T6EIAALU-UnDxFcwr.js} +1 -1
  226. package/dist-embed/chunks/{nl-NL-IS3SIHDZ-IMA72Wj7.js → nl-NL-IS3SIHDZ-CdTeVF3c.js} +1 -1
  227. package/dist-embed/chunks/{nn-NO-6E72VCQL-BvFt5eEP.js → nn-NO-6E72VCQL-nLVDeuAb.js} +1 -1
  228. package/dist-embed/chunks/{oc-FR-POXYY2M6-QMGUoXMd.js → oc-FR-POXYY2M6-CGDfJA5K.js} +1 -1
  229. package/dist-embed/chunks/{pa-IN-N4M65BXN-a8dOum4D.js → pa-IN-N4M65BXN-h3gZ9Ic4.js} +1 -1
  230. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-CXd1v4RS.js → pegDiagram-XKGWAZYB-CtWh5AAX.js} +1 -1
  231. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-DkCI0q8Y.js → pegDiagram-XKGWAZYB-D0zyGRR2.js} +1 -1
  232. package/dist-embed/chunks/{pegDiagram-XKGWAZYB-DTT8e_Vu.js → pegDiagram-XKGWAZYB-fy3EphLc.js} +1 -1
  233. package/dist-embed/chunks/{percentages-BXMCSKIN-Ck3DaSng.js → percentages-BXMCSKIN-BQMwWCQD.js} +6 -6
  234. package/dist-embed/chunks/{pica-io9rFAcX.js → pica-BXDmzrU-.js} +1 -1
  235. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-B4P8wCma.js → pieDiagram-E7YTZNPT-BsWWB93l.js} +1 -1
  236. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-2Glo3MKw.js → pieDiagram-E7YTZNPT-CArVdetR.js} +1 -1
  237. package/dist-embed/chunks/{pieDiagram-E7YTZNPT-D6zxicZn.js → pieDiagram-E7YTZNPT-DNxhxWw6.js} +1 -1
  238. package/dist-embed/chunks/{pieDiagram-c941bede-Cqi77jMu.js → pieDiagram-c941bede-Cj4FBN3j.js} +1 -1
  239. package/dist-embed/chunks/{pl-PL-T2D74RX3-BS06UMKK.js → pl-PL-T2D74RX3-D83IXMGV.js} +1 -1
  240. package/dist-embed/chunks/{plugin-DE0vZ9p3.js → plugin-DyUbOay7.js} +1 -1
  241. package/dist-embed/chunks/{plugin-ihQPqJPB.js → plugin-OsRnWXOJ.js} +1 -1
  242. package/dist-embed/chunks/portable-BKg3lLaO.js +1 -0
  243. package/dist-embed/chunks/{pt-BR-5N22H2LF-BIO1KViR.js → pt-BR-5N22H2LF-C-tCCB23.js} +1 -1
  244. package/dist-embed/chunks/{pt-PT-UZXXM6DQ-BZuZ9OiO.js → pt-PT-UZXXM6DQ-BfalAAyJ.js} +1 -1
  245. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-C_CEGa46.js → quadrantDiagram-AXDQQJYC-299UcZFW.js} +1 -1
  246. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-DSBKUuiq.js → quadrantDiagram-AXDQQJYC-Be4yYxRi.js} +1 -1
  247. package/dist-embed/chunks/{quadrantDiagram-AXDQQJYC-xiPOrF1K.js → quadrantDiagram-AXDQQJYC-DWfnlrHL.js} +1 -1
  248. package/dist-embed/chunks/{quadrantDiagram-cf8b8fe0-BMOuDGDF.js → quadrantDiagram-cf8b8fe0-qh1uZ5v_.js} +1 -1
  249. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-CSD5KLnV.js → railroadDiagram-O6MQD6OU-C9HR2VRW.js} +1 -1
  250. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-DjTUEumb.js → railroadDiagram-O6MQD6OU-COJ52k8E.js} +1 -1
  251. package/dist-embed/chunks/{railroadDiagram-O6MQD6OU-BgrbSE40.js → railroadDiagram-O6MQD6OU-DPlEOlHJ.js} +1 -1
  252. package/dist-embed/chunks/{renderer-BU04-DkJ.js → renderer-VW8Zgoi-.js} +1 -1
  253. package/dist-embed/chunks/{requirementDiagram-53bda41b-DKlphVxw.js → requirementDiagram-53bda41b-C_KZy5Fe.js} +1 -1
  254. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-DMdw9yP9.js → requirementDiagram-BXWQKSXE-2dtqnxe5.js} +1 -1
  255. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-CnRk1roG.js → requirementDiagram-BXWQKSXE-BSUw2gn-.js} +1 -1
  256. package/dist-embed/chunks/{requirementDiagram-BXWQKSXE-BXaCAhpq.js → requirementDiagram-BXWQKSXE-BxFFoRpi.js} +1 -1
  257. package/dist-embed/chunks/{ro-RO-JPDTUUEW-Cr8vd9Pv.js → ro-RO-JPDTUUEW-BE1v-gpB.js} +1 -1
  258. package/dist-embed/chunks/{ru-RU-B4JR7IUQ-Dht1kDyT.js → ru-RU-B4JR7IUQ-CVNYAGNj.js} +1 -1
  259. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-BS7hu1AF.js → sankeyDiagram-P5KCCOFB-2w9aAGeM.js} +1 -1
  260. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-okgEVTpa.js → sankeyDiagram-P5KCCOFB-BWZcxo3B.js} +1 -1
  261. package/dist-embed/chunks/{sankeyDiagram-P5KCCOFB-CzrCH920.js → sankeyDiagram-P5KCCOFB-CatGDvVZ.js} +1 -1
  262. package/dist-embed/chunks/{sankeyDiagram-c3ef121a-Dg6SbJjG.js → sankeyDiagram-c3ef121a-B6bWzn2q.js} +1 -1
  263. package/dist-embed/chunks/{sequenceDiagram-82a5b84f-DE09oDEu.js → sequenceDiagram-82a5b84f-CaIr2bxU.js} +1 -1
  264. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-C7v6HXxx.js → sequenceDiagram-WJ2MYXX4-B67pBo6k.js} +1 -1
  265. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-CtR3Mxli.js → sequenceDiagram-WJ2MYXX4-CBRqz17v.js} +1 -1
  266. package/dist-embed/chunks/{sequenceDiagram-WJ2MYXX4-Bb3A79mo.js → sequenceDiagram-WJ2MYXX4-DlhUecfS.js} +1 -1
  267. package/dist-embed/chunks/{sessions-CnTFUfGi.js → sessions-Dlwi03ae.js} +1 -1
  268. package/dist-embed/chunks/{si-LK-N5RQ5JYF-B2xq7Zbi.js → si-LK-N5RQ5JYF-DUuCNsO5.js} +1 -1
  269. package/dist-embed/chunks/{sizeCapture-INFHLROL-CU32UBMk.js → sizeCapture-INFHLROL-BEjCofob.js} +1 -1
  270. package/dist-embed/chunks/{sizeCapture-INFHLROL-TdDsBg4W.js → sizeCapture-INFHLROL-DMtgrDCy.js} +1 -1
  271. package/dist-embed/chunks/{sizeCapture-INFHLROL-D5hzqzwD.js → sizeCapture-INFHLROL-fPkZXPlY.js} +1 -1
  272. package/dist-embed/chunks/{sk-SK-C5VTKIMK-Sw5YFSH1.js → sk-SK-C5VTKIMK-CnlsIkzl.js} +1 -1
  273. package/dist-embed/chunks/{sl-SI-NN7IZMDC-DZin2Uyg.js → sl-SI-NN7IZMDC-BUxNatf_.js} +1 -1
  274. package/dist-embed/chunks/{stateDiagram-43e79a5f-uKY_K58g.js → stateDiagram-43e79a5f-C9c4jD1w.js} +1 -1
  275. package/dist-embed/chunks/{stateDiagram-D77RDMKH-mOMKyP5U.js → stateDiagram-D77RDMKH-BwBOxQvl.js} +1 -1
  276. package/dist-embed/chunks/{stateDiagram-D77RDMKH-Cd_HasWU.js → stateDiagram-D77RDMKH-C3hsuLFV.js} +1 -1
  277. package/dist-embed/chunks/{stateDiagram-D77RDMKH-CY5udAKA.js → stateDiagram-D77RDMKH-dWsBlue-.js} +1 -1
  278. package/dist-embed/chunks/{stateDiagram-v2-2041ed4f-Cz97TKZ0.js → stateDiagram-v2-2041ed4f-CcvTvP8J.js} +1 -1
  279. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-BJVCwCLk.js → stateDiagram-v2-MP3YSRHH-BynTEikt.js} +1 -1
  280. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-2ASMATIX.js → stateDiagram-v2-MP3YSRHH-CRNCbzUu.js} +1 -1
  281. package/dist-embed/chunks/{stateDiagram-v2-MP3YSRHH-hXyOMGYK.js → stateDiagram-v2-MP3YSRHH-yYUm25Cg.js} +1 -1
  282. package/dist-embed/chunks/{styles-455b33cd-QxOIl59n.js → styles-455b33cd-DTnW81zt.js} +1 -1
  283. package/dist-embed/chunks/{styles-f932cba9-CRW7ybKl.js → styles-f932cba9-DvbsLPZ9.js} +1 -1
  284. package/dist-embed/chunks/{styles-fcc2142b-lNkMjC8Z.js → styles-fcc2142b-DS8IKMau.js} +1 -1
  285. package/dist-embed/chunks/{subset-shared.chunk-C8kMR6Ea.js → subset-shared.chunk-CTwDOb0-.js} +1 -1
  286. package/dist-embed/chunks/{subset-worker.chunk-BeXpWPn3.js → subset-worker.chunk-CY8G1DYa.js} +1 -1
  287. package/dist-embed/chunks/{sv-SE-XGPEYMSR-XX8MI0nA.js → sv-SE-XGPEYMSR-cyuprKcs.js} +1 -1
  288. package/dist-embed/chunks/{svgDrawCommon-148a3cd9-DrX92bA5.js → svgDrawCommon-148a3cd9-BxghTVdH.js} +1 -1
  289. package/dist-embed/chunks/{swimlanes-42K2YHIH-BUwYYg5o.js → swimlanes-42K2YHIH-CGEWUgMO.js} +1 -1
  290. package/dist-embed/chunks/{swimlanes-42K2YHIH-0MJvexik.js → swimlanes-42K2YHIH-DY5rybP3.js} +1 -1
  291. package/dist-embed/chunks/{swimlanes-42K2YHIH-CmWAxVZ_.js → swimlanes-42K2YHIH-DiRx3T6S.js} +1 -1
  292. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-BuFLmgBx.js → swimlanesDiagram-VR7AAH4N-BmSxUdGr.js} +1 -1
  293. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-DwTgKjIi.js → swimlanesDiagram-VR7AAH4N-BmTIqylO.js} +1 -1
  294. package/dist-embed/chunks/{swimlanesDiagram-VR7AAH4N-vzU4YzHa.js → swimlanesDiagram-VR7AAH4N-Dmom79F0.js} +1 -1
  295. package/dist-embed/chunks/{ta-IN-2NMHFXQM-Cm2c3FMf.js → ta-IN-2NMHFXQM-Byh0RKP5.js} +1 -1
  296. package/dist-embed/chunks/{th-TH-HPSO5L25-DD76ndfY.js → th-TH-HPSO5L25-C8zeMDt2.js} +1 -1
  297. package/dist-embed/chunks/{timeline-definition-24CTP7MA-DxAxZYKP.js → timeline-definition-24CTP7MA-4T6yq6Xl.js} +1 -1
  298. package/dist-embed/chunks/{timeline-definition-24CTP7MA-SfVzoC7E.js → timeline-definition-24CTP7MA-CbdMtllQ.js} +1 -1
  299. package/dist-embed/chunks/{timeline-definition-24CTP7MA-a0E0wu89.js → timeline-definition-24CTP7MA-D_rwkEbI.js} +1 -1
  300. package/dist-embed/chunks/{timeline-definition-7545f45a-CqsiZe-C.js → timeline-definition-7545f45a-BV1QYS8b.js} +1 -1
  301. package/dist-embed/chunks/{tr-TR-DEFEU3FU-CkX69g80.js → tr-TR-DEFEU3FU-CnqB5qYp.js} +1 -1
  302. package/dist-embed/chunks/{uk-UA-QMV73CPH-DILlpWB0.js → uk-UA-QMV73CPH-T0hbDiAg.js} +1 -1
  303. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-C8SwZKm-.js → vennDiagram-4TSXK5OY-Bvimw16k.js} +1 -1
  304. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-BDOrQK88.js → vennDiagram-4TSXK5OY-CBXnZEfU.js} +1 -1
  305. package/dist-embed/chunks/{vennDiagram-4TSXK5OY-BxUbBn7b.js → vennDiagram-4TSXK5OY-CYAyZJWP.js} +1 -1
  306. package/dist-embed/chunks/{vi-VN-M7AON7JQ-D0REMGYG.js → vi-VN-M7AON7JQ-BbVJrx8R.js} +1 -1
  307. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-BZssbJ10.js → wardleyDiagram-VM6X3IG4-B9iqutw0.js} +1 -1
  308. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-DY5BAim8.js → wardleyDiagram-VM6X3IG4-CkqyRdUt.js} +1 -1
  309. package/dist-embed/chunks/{wardleyDiagram-VM6X3IG4-DQI20vwb.js → wardleyDiagram-VM6X3IG4-k_2iCVDr.js} +1 -1
  310. package/dist-embed/chunks/{xychartDiagram-3f383b91-DnD8gcm_.js → xychartDiagram-3f383b91-L3ZS62LU.js} +1 -1
  311. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-DfsjHT0Y.js → xychartDiagram-S5SC5T6Z--E3rc8E6.js} +1 -1
  312. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-BO4MDqrK.js → xychartDiagram-S5SC5T6Z-COkEQpnW.js} +1 -1
  313. package/dist-embed/chunks/{xychartDiagram-S5SC5T6Z-CDXKKZoM.js → xychartDiagram-S5SC5T6Z-DufzH9GE.js} +1 -1
  314. package/dist-embed/chunks/{zh-CN-LNUGB5OW-BmSYUWcq.js → zh-CN-LNUGB5OW-B2XCvd4u.js} +1 -1
  315. package/dist-embed/chunks/{zh-HK-E62DVLB3-BqISOUKV.js → zh-HK-E62DVLB3-D8xk7wby.js} +1 -1
  316. package/dist-embed/chunks/{zh-TW-RAJ6MFWO-DACyIjvO.js → zh-TW-RAJ6MFWO-fBqMZFIZ.js} +1 -1
  317. package/dist-embed/datalayer-app-main.js +59 -26
  318. package/package.json +1 -1
  319. package/dist-embed/chunks/isEqual-zPmcQAke.js +0 -1
  320. package/dist-embed/chunks/portable-DeuNvN1G.js +0 -1
@@ -1,4 +1,4 @@
1
- import{iK as Ov,u7 as _f,as as ehe}from"../datalayer-app-main.js";import{k as fme}from"./index-DIaoQxKH.js";import{i as the,b as hme,d as dme,n as vme,o as pme,a as gme}from"./round-BfLWjAu-.js";import{h as a9,n as ap,f as yme,g as mme,i as _me,a as xme,r as bme,j as wme,b as Tme,e as Sme,d as Ame}from"./index-atSsKceW.js";import{R as rhe,r as Mme,d as kme,e as Cme,f as AV,g as MV,C as Eme,h as kV}from"./color-CG7_7V2-.js";import{d as Lme,r as Ime,l as CV,i as Pme,h as Rme}from"./hcl-DhKDpa4Z.js";import{r as Dme}from"./index-jGGzfal6.js";function zme(r,i){for(var h=0;h<i.length;h++){const c=i[h];if(typeof c!="string"&&!Array.isArray(c)){for(const a in c)if(a!=="default"&&!(a in r)){const o=Object.getOwnPropertyDescriptor(c,a);o&&Object.defineProperty(r,a,o.get?o:{enumerable:!0,get:()=>c[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var ihe=-.14861,o9=1.78277,s9=-.29227,k2=-.90649,z_=1.97294,EV=z_*k2,LV=z_*o9,IV=o9*s9-k2*ihe;function Fme(r){if(r instanceof ny)return new ny(r.h,r.s,r.l,r.opacity);r instanceof rhe||(r=Mme(r));var i=r.r/255,h=r.g/255,c=r.b/255,a=(IV*c+EV*i-LV*h)/(IV+EV-LV),o=c-a,e=(z_*(h-a)-s9*o)/k2,t=Math.sqrt(e*e+o*o)/(z_*a*(1-a)),n=t?Math.atan2(e,o)*Lme-120:NaN;return new ny(n<0?n+360:n,t,a,r.opacity)}function K7(r,i,h,c){return arguments.length===1?Fme(r):new ny(r,i,h,c??1)}function ny(r,i,h,c){this.h=+r,this.s=+i,this.l=+h,this.opacity=+c}kme(ny,K7,Cme(Eme,{brighter(r){return r=r==null?MV:Math.pow(MV,r),new ny(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?AV:Math.pow(AV,r),new ny(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=isNaN(this.h)?0:(this.h+120)*Ime,i=+this.l,h=isNaN(this.s)?0:this.s*i*(1-i),c=Math.cos(r),a=Math.sin(r);return new rhe(255*(i+h*(ihe*c+o9*a)),255*(i+h*(s9*c+k2*a)),255*(i+h*(z_*c)),this.opacity)}}));var nS={},aS={},PV;function l9(){return PV||(PV=1,aS.version="2.35.3"),aS}var ew={exports:{}};var Bme=ew.exports,RV;function Ome(){return RV||(RV=1,(function(r){(function(h,c,a){c[h]=c[h]||a(),r.exports&&(r.exports=c[h])})("Promise",typeof globalThis<"u"?globalThis:Bme,function(){var h,c,a,o=Object.prototype.toString,e=typeof setImmediate<"u"?function(A){return setImmediate(A)}:setTimeout;try{Object.defineProperty({},"x",{}),h=function(A,w,M,m){return Object.defineProperty(A,w,{value:M,writable:!0,configurable:m!==!1})}}catch{h=function(w,M,m){return w[M]=m,w}}a=(function(){var A,w,M;function m(k,b){this.fn=k,this.self=b,this.next=void 0}return{add:function(b,_){M=new m(b,_),w?w.next=M:A=M,w=M,M=void 0},drain:function(){var b=A;for(A=w=c=void 0;b;)b.fn.call(b.self),b=b.next}}})();function t(y,A){a.add(y,A),c||(c=e(a.drain))}function n(y){var A,w=typeof y;return y!=null&&(w=="object"||w=="function")&&(A=y.then),typeof A=="function"?A:!1}function s(){for(var y=0;y<this.chain.length;y++)l(this,this.state===1?this.chain[y].success:this.chain[y].failure,this.chain[y]);this.chain.length=0}function l(y,A,w){var M,m;try{A===!1?w.reject(y.msg):(A===!0?M=y.msg:M=A.call(void 0,y.msg),M===w.promise?w.reject(TypeError("Promise-chain cycle")):(m=n(M))?m.call(M,w.resolve,w.reject):w.resolve(M))}catch(k){w.reject(k)}}function u(y){var A,w=this;if(!w.triggered){w.triggered=!0,w.def&&(w=w.def);try{(A=n(y))?t(function(){var M=new v(w);try{A.call(y,function(){u.apply(M,arguments)},function(){f.apply(M,arguments)})}catch(m){f.call(M,m)}}):(w.msg=y,w.state=1,w.chain.length>0&&t(s,w))}catch(M){f.call(new v(w),M)}}}function f(y){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=y,A.state=2,A.chain.length>0&&t(s,A))}function d(y,A,w,M){for(var m=0;m<A.length;m++)(function(b){y.resolve(A[b]).then(function(x){w(b,x)},M)})(m)}function v(y){this.def=y,this.triggered=!1}function g(y){this.promise=y,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function T(y){if(typeof y!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var A=new g(this);this.then=function(M,m){var k={success:typeof M=="function"?M:!0,failure:typeof m=="function"?m:!1};return k.promise=new this.constructor(function(_,x){if(typeof _!="function"||typeof x!="function")throw TypeError("Not a function");k.resolve=_,k.reject=x}),A.chain.push(k),A.state!==0&&t(s,A),k.promise},this.catch=function(M){return this.then(void 0,M)};try{y.call(void 0,function(M){u.call(A,M)},function(M){f.call(A,M)})}catch(w){f.call(A,w)}}var p=h({},"constructor",T,!1);return T.prototype=p,h(p,"__NPO__",0,!1),h(T,"resolve",function(A){var w=this;return A&&typeof A=="object"&&A.__NPO__===1?A:new w(function(m,k){if(typeof m!="function"||typeof k!="function")throw TypeError("Not a function");m(A)})}),h(T,"reject",function(A){return new this(function(M,m){if(typeof M!="function"||typeof m!="function")throw TypeError("Not a function");m(A)})}),h(T,"all",function(A){var w=this;return o.call(A)!="[object Array]"?w.reject(TypeError("Not an array")):A.length===0?w.resolve([]):new w(function(m,k){if(typeof m!="function"||typeof k!="function")throw TypeError("Not a function");var b=A.length,_=Array(b),x=0;d(w,A,function(P,D){_[P]=D,++x===b&&m(_)},k)})}),h(T,"race",function(A){var w=this;return o.call(A)!="[object Array]"?w.reject(TypeError("Not an array")):new w(function(m,k){if(typeof m!="function"||typeof k!="function")throw TypeError("Not a function");d(w,A,function(_,x){m(x)},k)})}),T})})(ew)),ew.exports}var DV={},oS={exports:{}},sS={exports:{}},zV;function Kn(){return zV||(zV=1,(function(r){(function(){var i={version:"3.8.2"},h=[].slice,c=function(he){return h.call(he)},a=self.document;function o(he){return he&&(he.ownerDocument||he.document||he).documentElement}function e(he){return he&&(he.ownerDocument&&he.ownerDocument.defaultView||he.document&&he||he.defaultView)}if(a)try{c(a.documentElement.childNodes)[0].nodeType}catch{c=function(Ae){for(var Be=Ae.length,Ze=new Array(Be);Be--;)Ze[Be]=Ae[Be];return Ze}}if(Date.now||(Date.now=function(){return+new Date}),a)try{a.createElement("DIV").style.setProperty("opacity",0,"")}catch{var t=this.Element.prototype,n=t.setAttribute,s=t.setAttributeNS,l=this.CSSStyleDeclaration.prototype,u=l.setProperty;t.setAttribute=function(Ae,Be){n.call(this,Ae,Be+"")},t.setAttributeNS=function(Ae,Be,Ze){s.call(this,Ae,Be,Ze+"")},l.setProperty=function(Ae,Be,Ze){u.call(this,Ae,Be+"",Ze)}}i.ascending=f;function f(he,Ae){return he<Ae?-1:he>Ae?1:he>=Ae?0:NaN}i.descending=function(he,Ae){return Ae<he?-1:Ae>he?1:Ae>=he?0:NaN},i.min=function(he,Ae){var Be=-1,Ze=he.length,tt,at;if(arguments.length===1){for(;++Be<Ze;)if((at=he[Be])!=null&&at>=at){tt=at;break}for(;++Be<Ze;)(at=he[Be])!=null&&tt>at&&(tt=at)}else{for(;++Be<Ze;)if((at=Ae.call(he,he[Be],Be))!=null&&at>=at){tt=at;break}for(;++Be<Ze;)(at=Ae.call(he,he[Be],Be))!=null&&tt>at&&(tt=at)}return tt},i.max=function(he,Ae){var Be=-1,Ze=he.length,tt,at;if(arguments.length===1){for(;++Be<Ze;)if((at=he[Be])!=null&&at>=at){tt=at;break}for(;++Be<Ze;)(at=he[Be])!=null&&at>tt&&(tt=at)}else{for(;++Be<Ze;)if((at=Ae.call(he,he[Be],Be))!=null&&at>=at){tt=at;break}for(;++Be<Ze;)(at=Ae.call(he,he[Be],Be))!=null&&at>tt&&(tt=at)}return tt},i.extent=function(he,Ae){var Be=-1,Ze=he.length,tt,at,Lt;if(arguments.length===1){for(;++Be<Ze;)if((at=he[Be])!=null&&at>=at){tt=Lt=at;break}for(;++Be<Ze;)(at=he[Be])!=null&&(tt>at&&(tt=at),Lt<at&&(Lt=at))}else{for(;++Be<Ze;)if((at=Ae.call(he,he[Be],Be))!=null&&at>=at){tt=Lt=at;break}for(;++Be<Ze;)(at=Ae.call(he,he[Be],Be))!=null&&(tt>at&&(tt=at),Lt<at&&(Lt=at))}return[tt,Lt]};function d(he){return he===null?NaN:+he}function v(he){return!isNaN(he)}i.sum=function(he,Ae){var Be=0,Ze=he.length,tt,at=-1;if(arguments.length===1)for(;++at<Ze;)v(tt=+he[at])&&(Be+=tt);else for(;++at<Ze;)v(tt=+Ae.call(he,he[at],at))&&(Be+=tt);return Be},i.mean=function(he,Ae){var Be=0,Ze=he.length,tt,at=-1,Lt=Ze;if(arguments.length===1)for(;++at<Ze;)v(tt=d(he[at]))?Be+=tt:--Lt;else for(;++at<Ze;)v(tt=d(Ae.call(he,he[at],at)))?Be+=tt:--Lt;if(Lt)return Be/Lt},i.quantile=function(he,Ae){var Be=(he.length-1)*Ae+1,Ze=Math.floor(Be),tt=+he[Ze-1],at=Be-Ze;return at?tt+at*(he[Ze]-tt):tt},i.median=function(he,Ae){var Be=[],Ze=he.length,tt,at=-1;if(arguments.length===1)for(;++at<Ze;)v(tt=d(he[at]))&&Be.push(tt);else for(;++at<Ze;)v(tt=d(Ae.call(he,he[at],at)))&&Be.push(tt);if(Be.length)return i.quantile(Be.sort(f),.5)},i.variance=function(he,Ae){var Be=he.length,Ze=0,tt,at,Lt=0,vt=-1,qt=0;if(arguments.length===1)for(;++vt<Be;)v(tt=d(he[vt]))&&(at=tt-Ze,Ze+=at/++qt,Lt+=at*(tt-Ze));else for(;++vt<Be;)v(tt=d(Ae.call(he,he[vt],vt)))&&(at=tt-Ze,Ze+=at/++qt,Lt+=at*(tt-Ze));if(qt>1)return Lt/(qt-1)},i.deviation=function(){var he=i.variance.apply(this,arguments);return he&&Math.sqrt(he)};function g(he){return{left:function(Ae,Be,Ze,tt){for(arguments.length<3&&(Ze=0),arguments.length<4&&(tt=Ae.length);Ze<tt;){var at=Ze+tt>>>1;he(Ae[at],Be)<0?Ze=at+1:tt=at}return Ze},right:function(Ae,Be,Ze,tt){for(arguments.length<3&&(Ze=0),arguments.length<4&&(tt=Ae.length);Ze<tt;){var at=Ze+tt>>>1;he(Ae[at],Be)>0?tt=at:Ze=at+1}return Ze}}}var T=g(f);i.bisectLeft=T.left,i.bisect=i.bisectRight=T.right,i.bisector=function(he){return g(he.length===1?function(Ae,Be){return f(he(Ae),Be)}:he)},i.shuffle=function(he,Ae,Be){(Ze=arguments.length)<3&&(Be=he.length,Ze<2&&(Ae=0));for(var Ze=Be-Ae,tt,at;Ze;)at=Math.random()*Ze--|0,tt=he[Ze+Ae],he[Ze+Ae]=he[at+Ae],he[at+Ae]=tt;return he},i.permute=function(he,Ae){for(var Be=Ae.length,Ze=new Array(Be);Be--;)Ze[Be]=he[Ae[Be]];return Ze},i.pairs=function(he){for(var Ae=0,Be=he.length-1,Ze=he[0],tt=new Array(Be<0?0:Be);Ae<Be;)tt[Ae]=[Ze,Ze=he[++Ae]];return tt},i.transpose=function(he){if(!(at=he.length))return[];for(var Ae=-1,Be=i.min(he,p),Ze=new Array(Be);++Ae<Be;)for(var tt=-1,at,Lt=Ze[Ae]=new Array(at);++tt<at;)Lt[tt]=he[tt][Ae];return Ze};function p(he){return he.length}i.zip=function(){return i.transpose(arguments)},i.keys=function(he){var Ae=[];for(var Be in he)Ae.push(Be);return Ae},i.values=function(he){var Ae=[];for(var Be in he)Ae.push(he[Be]);return Ae},i.entries=function(he){var Ae=[];for(var Be in he)Ae.push({key:Be,value:he[Be]});return Ae},i.merge=function(he){for(var Ae=he.length,Be,Ze=-1,tt=0,at,Lt;++Ze<Ae;)tt+=he[Ze].length;for(at=new Array(tt);--Ae>=0;)for(Lt=he[Ae],Be=Lt.length;--Be>=0;)at[--tt]=Lt[Be];return at};var y=Math.abs;i.range=function(he,Ae,Be){if(arguments.length<3&&(Be=1,arguments.length<2&&(Ae=he,he=0)),(Ae-he)/Be===1/0)throw new Error("infinite range");var Ze=[],tt=A(y(Be)),at=-1,Lt;if(he*=tt,Ae*=tt,Be*=tt,Be<0)for(;(Lt=he+Be*++at)>Ae;)Ze.push(Lt/tt);else for(;(Lt=he+Be*++at)<Ae;)Ze.push(Lt/tt);return Ze};function A(he){for(var Ae=1;he*Ae%1;)Ae*=10;return Ae}function w(he,Ae){for(var Be in Ae)Object.defineProperty(he.prototype,Be,{value:Ae[Be],enumerable:!1})}i.map=function(he,Ae){var Be=new M;if(he instanceof M)he.forEach(function(vt,qt){Be.set(vt,qt)});else if(Array.isArray(he)){var Ze=-1,tt=he.length,at;if(arguments.length===1)for(;++Ze<tt;)Be.set(Ze,he[Ze]);else for(;++Ze<tt;)Be.set(Ae.call(he,at=he[Ze],Ze),at)}else for(var Lt in he)Be.set(Lt,he[Lt]);return Be};function M(){this._=Object.create(null)}var m="__proto__",k="\0";w(M,{has:x,get:function(he){return this._[b(he)]},set:function(he,Ae){return this._[b(he)]=Ae},remove:S,keys:P,values:function(){var he=[];for(var Ae in this._)he.push(this._[Ae]);return he},entries:function(){var he=[];for(var Ae in this._)he.push({key:_(Ae),value:this._[Ae]});return he},size:D,empty:F,forEach:function(he){for(var Ae in this._)he.call(this,_(Ae),this._[Ae])}});function b(he){return(he+="")===m||he[0]===k?k+he:he}function _(he){return(he+="")[0]===k?he.slice(1):he}function x(he){return b(he)in this._}function S(he){return(he=b(he))in this._&&delete this._[he]}function P(){var he=[];for(var Ae in this._)he.push(_(Ae));return he}function D(){var he=0;for(var Ae in this._)++he;return he}function F(){for(var he in this._)return!1;return!0}i.nest=function(){var he={},Ae=[],Be=[],Ze,tt;function at(vt,qt,dr){if(dr>=Ae.length)return tt?tt.call(he,qt):Ze?qt.sort(Ze):qt;for(var _r=-1,Ir=qt.length,Rr=Ae[dr++],ei,Hr,qr,Kr=new M,ri;++_r<Ir;)(ri=Kr.get(ei=Rr(Hr=qt[_r])))?ri.push(Hr):Kr.set(ei,[Hr]);return vt?(Hr=vt(),qr=function(ui,si){Hr.set(ui,at(vt,si,dr))}):(Hr={},qr=function(ui,si){Hr[ui]=at(vt,si,dr)}),Kr.forEach(qr),Hr}function Lt(vt,qt){if(qt>=Ae.length)return vt;var dr=[],_r=Be[qt++];return vt.forEach(function(Ir,Rr){dr.push({key:Ir,values:Lt(Rr,qt)})}),_r?dr.sort(function(Ir,Rr){return _r(Ir.key,Rr.key)}):dr}return he.map=function(vt,qt){return at(qt,vt,0)},he.entries=function(vt){return Lt(at(i.map,vt,0),0)},he.key=function(vt){return Ae.push(vt),he},he.sortKeys=function(vt){return Be[Ae.length-1]=vt,he},he.sortValues=function(vt){return Ze=vt,he},he.rollup=function(vt){return tt=vt,he},he},i.set=function(he){var Ae=new N;if(he)for(var Be=0,Ze=he.length;Be<Ze;++Be)Ae.add(he[Be]);return Ae};function N(){this._=Object.create(null)}w(N,{has:x,add:function(he){return this._[b(he+="")]=!0,he},remove:S,values:P,size:D,empty:F,forEach:function(he){for(var Ae in this._)he.call(this,_(Ae))}}),i.behavior={};function O(he){return he}i.rebind=function(he,Ae){for(var Be=1,Ze=arguments.length,tt;++Be<Ze;)he[tt=arguments[Be]]=B(he,Ae,Ae[tt]);return he};function B(he,Ae,Be){return function(){var Ze=Be.apply(Ae,arguments);return Ze===Ae?he:Ze}}function R(he,Ae){if(Ae in he)return Ae;Ae=Ae.charAt(0).toUpperCase()+Ae.slice(1);for(var Be=0,Ze=q.length;Be<Ze;++Be){var tt=q[Be]+Ae;if(tt in he)return tt}}var q=["webkit","ms","moz","Moz","o","O"];function G(){}i.dispatch=function(){for(var he=new Z,Ae=-1,Be=arguments.length;++Ae<Be;)he[arguments[Ae]]=$(he);return he};function Z(){}Z.prototype.on=function(he,Ae){var Be=he.indexOf("."),Ze="";if(Be>=0&&(Ze=he.slice(Be+1),he=he.slice(0,Be)),he)return arguments.length<2?this[he].on(Ze):this[he].on(Ze,Ae);if(arguments.length===2){if(Ae==null)for(he in this)this.hasOwnProperty(he)&&this[he].on(Ze,null);return this}};function $(he){var Ae=[],Be=new M;function Ze(){for(var tt=Ae,at=-1,Lt=tt.length,vt;++at<Lt;)(vt=tt[at].on)&&vt.apply(this,arguments);return he}return Ze.on=function(tt,at){var Lt=Be.get(tt),vt;return arguments.length<2?Lt&&Lt.on:(Lt&&(Lt.on=null,Ae=Ae.slice(0,vt=Ae.indexOf(Lt)).concat(Ae.slice(vt+1)),Be.remove(tt)),at&&Ae.push(Be.set(tt,{on:at})),he)},Ze}i.event=null;function ae(){i.event.preventDefault()}function ne(){for(var he=i.event,Ae;Ae=he.sourceEvent;)he=Ae;return he}function oe(he){for(var Ae=new Z,Be=0,Ze=arguments.length;++Be<Ze;)Ae[arguments[Be]]=$(Ae);return Ae.of=function(tt,at){return function(Lt){try{var vt=Lt.sourceEvent=i.event;Lt.target=he,i.event=Lt,Ae[Lt.type].apply(tt,at)}finally{i.event=vt}}},Ae}i.requote=function(he){return he.replace(K,"\\$&")};var K=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ue={}.__proto__?function(he,Ae){he.__proto__=Ae}:function(he,Ae){for(var Be in Ae)he[Be]=Ae[Be]};function re(he){return ue(he,Q),he}var V=function(he,Ae){return Ae.querySelector(he)},Y=function(he,Ae){return Ae.querySelectorAll(he)},te=function(he,Ae){var Be=he.matches||he[R(he,"matchesSelector")];return te=function(Ze,tt){return Be.call(Ze,tt)},te(he,Ae)};typeof Sizzle=="function"&&(V=function(he,Ae){return Sizzle(he,Ae)[0]||null},Y=Sizzle,te=Sizzle.matchesSelector),i.selection=function(){return i.select(a.documentElement)};var Q=i.selection.prototype=[];Q.select=function(he){var Ae=[],Be,Ze,tt,at;he=ee(he);for(var Lt=-1,vt=this.length;++Lt<vt;){Ae.push(Be=[]),Be.parentNode=(tt=this[Lt]).parentNode;for(var qt=-1,dr=tt.length;++qt<dr;)(at=tt[qt])?(Be.push(Ze=he.call(at,at.__data__,qt,Lt)),Ze&&"__data__"in at&&(Ze.__data__=at.__data__)):Be.push(null)}return re(Ae)};function ee(he){return typeof he=="function"?he:function(){return V(he,this)}}Q.selectAll=function(he){var Ae=[],Be,Ze;he=se(he);for(var tt=-1,at=this.length;++tt<at;)for(var Lt=this[tt],vt=-1,qt=Lt.length;++vt<qt;)(Ze=Lt[vt])&&(Ae.push(Be=c(he.call(Ze,Ze.__data__,vt,tt))),Be.parentNode=Ze);return re(Ae)};function se(he){return typeof he=="function"?he:function(){return Y(he,this)}}var le="http://www.w3.org/1999/xhtml",me={svg:"http://www.w3.org/2000/svg",xhtml:le,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};i.ns={prefix:me,qualify:function(he){var Ae=he.indexOf(":"),Be=he;return Ae>=0&&(Be=he.slice(0,Ae))!=="xmlns"&&(he=he.slice(Ae+1)),me.hasOwnProperty(Be)?{space:me[Be],local:he}:he}},Q.attr=function(he,Ae){if(arguments.length<2){if(typeof he=="string"){var Be=this.node();return he=i.ns.qualify(he),he.local?Be.getAttributeNS(he.space,he.local):Be.getAttribute(he)}for(Ae in he)this.each(we(Ae,he[Ae]));return this}return this.each(we(he,Ae))};function we(he,Ae){he=i.ns.qualify(he);function Be(){this.removeAttribute(he)}function Ze(){this.removeAttributeNS(he.space,he.local)}function tt(){this.setAttribute(he,Ae)}function at(){this.setAttributeNS(he.space,he.local,Ae)}function Lt(){var qt=Ae.apply(this,arguments);qt==null?this.removeAttribute(he):this.setAttribute(he,qt)}function vt(){var qt=Ae.apply(this,arguments);qt==null?this.removeAttributeNS(he.space,he.local):this.setAttributeNS(he.space,he.local,qt)}return Ae==null?he.local?Ze:Be:typeof Ae=="function"?he.local?vt:Lt:he.local?at:tt}function Pe(he){return he.trim().replace(/\s+/g," ")}Q.classed=function(he,Ae){if(arguments.length<2){if(typeof he=="string"){var Be=this.node(),Ze=(he=Fe(he)).length,tt=-1;if(Ae=Be.classList){for(;++tt<Ze;)if(!Ae.contains(he[tt]))return!1}else for(Ae=Be.getAttribute("class");++tt<Ze;)if(!Ie(he[tt]).test(Ae))return!1;return!0}for(Ae in he)this.each(je(Ae,he[Ae]));return this}return this.each(je(he,Ae))};function Ie(he){return new RegExp("(?:^|\\s+)"+i.requote(he)+"(?:\\s+|$)","g")}function Fe(he){return(he+"").trim().split(/^|\s+/)}function je(he,Ae){he=Fe(he).map(Ke);var Be=he.length;function Ze(){for(var at=-1;++at<Be;)he[at](this,Ae)}function tt(){for(var at=-1,Lt=Ae.apply(this,arguments);++at<Be;)he[at](this,Lt)}return typeof Ae=="function"?tt:Ze}function Ke(he){var Ae=Ie(he);return function(Be,Ze){if(tt=Be.classList)return Ze?tt.add(he):tt.remove(he);var tt=Be.getAttribute("class")||"";Ze?(Ae.lastIndex=0,Ae.test(tt)||Be.setAttribute("class",Pe(tt+" "+he))):Be.setAttribute("class",Pe(tt.replace(Ae," ")))}}Q.style=function(he,Ae,Be){var Ze=arguments.length;if(Ze<3){if(typeof he!="string"){Ze<2&&(Ae="");for(Be in he)this.each(rt(Be,he[Be],Ae));return this}if(Ze<2){var tt=this.node();return e(tt).getComputedStyle(tt,null).getPropertyValue(he)}Be=""}return this.each(rt(he,Ae,Be))};function rt(he,Ae,Be){function Ze(){this.style.removeProperty(he)}function tt(){this.style.setProperty(he,Ae,Be)}function at(){var Lt=Ae.apply(this,arguments);Lt==null?this.style.removeProperty(he):this.style.setProperty(he,Lt,Be)}return Ae==null?Ze:typeof Ae=="function"?at:tt}Q.property=function(he,Ae){if(arguments.length<2){if(typeof he=="string")return this.node()[he];for(Ae in he)this.each(it(Ae,he[Ae]));return this}return this.each(it(he,Ae))};function it(he,Ae){function Be(){delete this[he]}function Ze(){this[he]=Ae}function tt(){var at=Ae.apply(this,arguments);at==null?delete this[he]:this[he]=at}return Ae==null?Be:typeof Ae=="function"?tt:Ze}Q.text=function(he){return arguments.length?this.each(typeof he=="function"?function(){var Ae=he.apply(this,arguments);this.textContent=Ae??""}:he==null?function(){this.textContent=""}:function(){this.textContent=he}):this.node().textContent},Q.html=function(he){return arguments.length?this.each(typeof he=="function"?function(){var Ae=he.apply(this,arguments);this.innerHTML=Ae??""}:he==null?function(){this.innerHTML=""}:function(){this.innerHTML=he}):this.node().innerHTML},Q.append=function(he){return he=ze(he),this.select(function(){return this.appendChild(he.apply(this,arguments))})};function ze(he){function Ae(){var Ze=this.ownerDocument,tt=this.namespaceURI;return tt===le&&Ze.documentElement.namespaceURI===le?Ze.createElement(he):Ze.createElementNS(tt,he)}function Be(){return this.ownerDocument.createElementNS(he.space,he.local)}return typeof he=="function"?he:(he=i.ns.qualify(he)).local?Be:Ae}Q.insert=function(he,Ae){return he=ze(he),Ae=ee(Ae),this.select(function(){return this.insertBefore(he.apply(this,arguments),Ae.apply(this,arguments)||null)})},Q.remove=function(){return this.each($e)};function $e(){var he=this.parentNode;he&&he.removeChild(this)}Q.data=function(he,Ae){var Be=-1,Ze=this.length,tt,at;if(!arguments.length){for(he=new Array(Ze=(tt=this[0]).length);++Be<Ze;)(at=tt[Be])&&(he[Be]=at.__data__);return he}function Lt(_r,Ir){var Rr,ei=_r.length,Hr=Ir.length,qr=Math.min(ei,Hr),Kr=new Array(Hr),ri=new Array(Hr),ui=new Array(ei),si,ti;if(Ae){var ji=new M,vn=new Array(ei),Ln;for(Rr=-1;++Rr<ei;)(si=_r[Rr])&&(ji.has(Ln=Ae.call(si,si.__data__,Rr))?ui[Rr]=si:ji.set(Ln,si),vn[Rr]=Ln);for(Rr=-1;++Rr<Hr;)(si=ji.get(Ln=Ae.call(Ir,ti=Ir[Rr],Rr)))?si!==!0&&(Kr[Rr]=si,si.__data__=ti):ri[Rr]=Me(ti),ji.set(Ln,!0);for(Rr=-1;++Rr<ei;)Rr in vn&&ji.get(vn[Rr])!==!0&&(ui[Rr]=_r[Rr])}else{for(Rr=-1;++Rr<qr;)si=_r[Rr],ti=Ir[Rr],si?(si.__data__=ti,Kr[Rr]=si):ri[Rr]=Me(ti);for(;Rr<Hr;++Rr)ri[Rr]=Me(Ir[Rr]);for(;Rr<ei;++Rr)ui[Rr]=_r[Rr]}ri.update=Kr,ri.parentNode=Kr.parentNode=ui.parentNode=_r.parentNode,vt.push(ri),qt.push(Kr),dr.push(ui)}var vt=Ue([]),qt=re([]),dr=re([]);if(typeof he=="function")for(;++Be<Ze;)Lt(tt=this[Be],he.call(tt,tt.parentNode.__data__,Be));else for(;++Be<Ze;)Lt(tt=this[Be],he);return qt.enter=function(){return vt},qt.exit=function(){return dr},qt};function Me(he){return{__data__:he}}Q.datum=function(he){return arguments.length?this.property("__data__",he):this.property("__data__")},Q.filter=function(he){var Ae=[],Be,Ze,tt;typeof he!="function"&&(he=Se(he));for(var at=0,Lt=this.length;at<Lt;at++){Ae.push(Be=[]),Be.parentNode=(Ze=this[at]).parentNode;for(var vt=0,qt=Ze.length;vt<qt;vt++)(tt=Ze[vt])&&he.call(tt,tt.__data__,vt,at)&&Be.push(tt)}return re(Ae)};function Se(he){return function(){return te(this,he)}}Q.order=function(){for(var he=-1,Ae=this.length;++he<Ae;)for(var Be=this[he],Ze=Be.length-1,tt=Be[Ze],at;--Ze>=0;)(at=Be[Ze])&&(tt&&tt!==at.nextSibling&&tt.parentNode.insertBefore(at,tt),tt=at);return this},Q.sort=function(he){he=be.apply(this,arguments);for(var Ae=-1,Be=this.length;++Ae<Be;)this[Ae].sort(he);return this.order()};function be(he){return arguments.length||(he=f),function(Ae,Be){return Ae&&Be?he(Ae.__data__,Be.__data__):!Ae-!Be}}Q.each=function(he){return Ne(this,function(Ae,Be,Ze){he.call(Ae,Ae.__data__,Be,Ze)})};function Ne(he,Ae){for(var Be=0,Ze=he.length;Be<Ze;Be++)for(var tt=he[Be],at=0,Lt=tt.length,vt;at<Lt;at++)(vt=tt[at])&&Ae(vt,at,Be);return he}Q.call=function(he){var Ae=c(arguments);return he.apply(Ae[0]=this,Ae),this},Q.empty=function(){return!this.node()},Q.node=function(){for(var he=0,Ae=this.length;he<Ae;he++)for(var Be=this[he],Ze=0,tt=Be.length;Ze<tt;Ze++){var at=Be[Ze];if(at)return at}return null},Q.size=function(){var he=0;return Ne(this,function(){++he}),he};function Ue(he){return ue(he,dt),he}var dt=[];i.selection.enter=Ue,i.selection.enter.prototype=dt,dt.append=Q.append,dt.empty=Q.empty,dt.node=Q.node,dt.call=Q.call,dt.size=Q.size,dt.select=function(he){for(var Ae=[],Be,Ze,tt,at,Lt,vt=-1,qt=this.length;++vt<qt;){tt=(at=this[vt]).update,Ae.push(Be=[]),Be.parentNode=at.parentNode;for(var dr=-1,_r=at.length;++dr<_r;)(Lt=at[dr])?(Be.push(tt[dr]=Ze=he.call(at.parentNode,Lt.__data__,dr,vt)),Ze.__data__=Lt.__data__):Be.push(null)}return re(Ae)},dt.insert=function(he,Ae){return arguments.length<2&&(Ae=yt(this)),Q.insert.call(this,he,Ae)};function yt(he){var Ae,Be;return function(Ze,tt,at){var Lt=he[at].update,vt=Lt.length,qt;for(at!=Be&&(Be=at,Ae=0),tt>=Ae&&(Ae=tt+1);!(qt=Lt[Ae])&&++Ae<vt;);return qt}}i.select=function(he){var Ae;return typeof he=="string"?(Ae=[V(he,a)],Ae.parentNode=a.documentElement):(Ae=[he],Ae.parentNode=o(he)),re([Ae])},i.selectAll=function(he){var Ae;return typeof he=="string"?(Ae=c(Y(he,a)),Ae.parentNode=a.documentElement):(Ae=c(he),Ae.parentNode=null),re([Ae])},Q.on=function(he,Ae,Be){var Ze=arguments.length;if(Ze<3){if(typeof he!="string"){Ze<2&&(Ae=!1);for(Be in he)this.each(At(Be,he[Be],Ae));return this}if(Ze<2)return(Ze=this.node()["__on"+he])&&Ze._;Be=!1}return this.each(At(he,Ae,Be))};function At(he,Ae,Be){var Ze="__on"+he,tt=he.indexOf("."),at=nr;tt>0&&(he=he.slice(0,tt));var Lt=Et.get(he);Lt&&(he=Lt,at=Ht);function vt(){var _r=this[Ze];_r&&(this.removeEventListener(he,_r,_r.$),delete this[Ze])}function qt(){var _r=at(Ae,c(arguments));vt.call(this),this.addEventListener(he,this[Ze]=_r,_r.$=Be),_r._=Ae}function dr(){var _r=new RegExp("^__on([^.]+)"+i.requote(he)+"$"),Ir;for(var Rr in this)if(Ir=Rr.match(_r)){var ei=this[Rr];this.removeEventListener(Ir[1],ei,ei.$),delete this[Rr]}}return tt?Ae?qt:vt:Ae?G:dr}var Et=i.map({mouseenter:"mouseover",mouseleave:"mouseout"});a&&Et.forEach(function(he){"on"+he in a&&Et.remove(he)});function nr(he,Ae){return function(Be){var Ze=i.event;i.event=Be,Ae[0]=this.__data__;try{he.apply(this,Ae)}finally{i.event=Ze}}}function Ht(he,Ae){var Be=nr(he,Ae);return function(Ze){var tt=this,at=Ze.relatedTarget;(!at||at!==tt&&!(at.compareDocumentPosition(tt)&8))&&Be.call(tt,Ze)}}var vr,sr=0;function hr(he){var Ae=".dragsuppress-"+ ++sr,Be="click"+Ae,Ze=i.select(e(he)).on("touchmove"+Ae,ae).on("dragstart"+Ae,ae).on("selectstart"+Ae,ae);if(vr==null&&(vr="onselectstart"in he?!1:R(he.style,"userSelect")),vr){var tt=o(he).style,at=tt[vr];tt[vr]="none"}return function(Lt){if(Ze.on(Ae,null),vr&&(tt[vr]=at),Lt){var vt=function(){Ze.on(Be,null)};Ze.on(Be,function(){ae(),vt()},!0),setTimeout(vt,0)}}}i.mouse=function(he){return bt(he,ne())};var Vt=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function bt(he,Ae){Ae.changedTouches&&(Ae=Ae.changedTouches[0]);var Be=he.ownerSVGElement||he;if(Be.createSVGPoint){var Ze=Be.createSVGPoint();if(Vt<0){var tt=e(he);if(tt.scrollX||tt.scrollY){Be=i.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var at=Be[0][0].getScreenCTM();Vt=!(at.f||at.e),Be.remove()}}return Vt?(Ze.x=Ae.pageX,Ze.y=Ae.pageY):(Ze.x=Ae.clientX,Ze.y=Ae.clientY),Ze=Ze.matrixTransform(he.getScreenCTM().inverse()),[Ze.x,Ze.y]}var Lt=he.getBoundingClientRect();return[Ae.clientX-Lt.left-he.clientLeft,Ae.clientY-Lt.top-he.clientTop]}i.touch=function(he,Ae,Be){if(arguments.length<3&&(Be=Ae,Ae=ne().changedTouches),Ae){for(var Ze=0,tt=Ae.length,at;Ze<tt;++Ze)if((at=Ae[Ze]).identifier===Be)return bt(he,at)}},i.behavior.drag=function(){var he=oe(tt,"drag","dragstart","dragend"),Ae=null,Be=at(G,i.mouse,e,"mousemove","mouseup"),Ze=at(Mt,i.touch,O,"touchmove","touchend");function tt(){this.on("mousedown.drag",Be).on("touchstart.drag",Ze)}function at(Lt,vt,qt,dr,_r){return function(){var Ir=this,Rr=i.event.target.correspondingElement||i.event.target,ei=Ir.parentNode,Hr=he.of(Ir,arguments),qr=0,Kr=Lt(),ri=".drag"+(Kr==null?"":"-"+Kr),ui,si=i.select(qt(Rr)).on(dr+ri,vn).on(_r+ri,Ln),ti=hr(Rr),ji=vt(ei,Kr);Ae?(ui=Ae.apply(Ir,arguments),ui=[ui.x-ji[0],ui.y-ji[1]]):ui=[0,0],Hr({type:"dragstart"});function vn(){var gn=vt(ei,Kr),Nn,qn;gn&&(Nn=gn[0]-ji[0],qn=gn[1]-ji[1],qr|=Nn|qn,ji=gn,Hr({type:"drag",x:gn[0]+ui[0],y:gn[1]+ui[1],dx:Nn,dy:qn}))}function Ln(){vt(ei,Kr)&&(si.on(dr+ri,null).on(_r+ri,null),ti(qr),Hr({type:"dragend"}))}}}return tt.origin=function(Lt){return arguments.length?(Ae=Lt,tt):Ae},i.rebind(tt,he,"on")};function Mt(){return i.event.changedTouches[0].identifier}i.touches=function(he,Ae){return arguments.length<2&&(Ae=ne().touches),Ae?c(Ae).map(function(Be){var Ze=bt(he,Be);return Ze.identifier=Be.identifier,Ze}):[]};var Dt=1e-6,Ve=Dt*Dt,De=Math.PI,Oe=2*De,Re=Oe-Dt,et=De/2,ct=De/180,lt=180/De;function Ft(he,Ae,Be){return(Ae[0]-he[0])*(Be[1]-he[1])-(Ae[1]-he[1])*(Be[0]-he[0])}function tr(he){return he>1?et:he<-1?-et:Math.asin(he)}function xr(he){return((he=Math.exp(he))-1/he)/2}function cr(he){return((he=Math.exp(he))+1/he)/2}function ar(he){return((he=Math.exp(2*he))-1)/(he+1)}var lr=Math.SQRT2,Wr=2,di=4;i.interpolateZoom=function(he,Ae){var Be=he[0],Ze=he[1],tt=he[2],at=Ae[0],Lt=Ae[1],vt=Ae[2],qt=at-Be,dr=Lt-Ze,_r=qt*qt+dr*dr,Ir,Rr;if(_r<Ve)Rr=Math.log(vt/tt)/lr,Ir=function(ui){return[Be+ui*qt,Ze+ui*dr,tt*Math.exp(lr*ui*Rr)]};else{var ei=Math.sqrt(_r),Hr=(vt*vt-tt*tt+di*_r)/(2*tt*Wr*ei),qr=(vt*vt-tt*tt-di*_r)/(2*vt*Wr*ei),Kr=Math.log(Math.sqrt(Hr*Hr+1)-Hr),ri=Math.log(Math.sqrt(qr*qr+1)-qr);Rr=(ri-Kr)/lr,Ir=function(ui){var si=ui*Rr,ti=cr(Kr),ji=tt/(Wr*ei)*(ti*ar(lr*si+Kr)-xr(Kr));return[Be+ji*qt,Ze+ji*dr,tt*ti/cr(lr*si+Kr)]}}return Ir.duration=Rr*1e3,Ir},i.behavior.zoom=function(){var he={x:0,y:0,k:1},Ae,Be,Ze,tt=[960,500],at=Ut,Lt=250,vt=0,qt="mousedown.zoom",dr="mousemove.zoom",_r="mouseup.zoom",Ir,Rr="touchstart.zoom",ei,Hr=oe(si,"zoomstart","zoom","zoomend"),qr,Kr,ri,ui;kt||(kt="onwheel"in a?(Tt=function(){return-i.event.deltaY*(i.event.deltaMode?120:1)},"wheel"):"onmousewheel"in a?(Tt=function(){return i.event.wheelDelta},"mousewheel"):(Tt=function(){return-i.event.detail},"MozMousePixelScroll"));function si(Mn){Mn.on(qt,fa).on(kt+".zoom",Oo).on("dblclick.zoom",No).on(Rr,Wa)}si.event=function(Mn){Mn.each(function(){var Ca=Hr.of(this,arguments),Xa=he;lc?i.select(this).transition().each("start.zoom",function(){he=this.__chart__||{x:0,y:0,k:1},qn(Ca)}).tween("zoom:zoom",function(){var io=tt[0],qo=tt[1],$o=Be?Be[0]:io/2,_s=Be?Be[1]:qo/2,qa=i.interpolateZoom([($o-he.x)/he.k,(_s-he.y)/he.k,io/he.k],[($o-Xa.x)/Xa.k,(_s-Xa.y)/Xa.k,io/Xa.k]);return function(Rl){var Sl=qa(Rl),Ms=io/Sl[2];this.__chart__=he={x:$o-Sl[0]*Ms,y:_s-Sl[1]*Ms,k:Ms},Sa(Ca)}}).each("interrupt.zoom",function(){aa(Ca)}).each("end.zoom",function(){aa(Ca)}):(this.__chart__=he,qn(Ca),Sa(Ca),aa(Ca))})},si.translate=function(Mn){return arguments.length?(he={x:+Mn[0],y:+Mn[1],k:he.k},Nn(),si):[he.x,he.y]},si.scale=function(Mn){return arguments.length?(he={x:he.x,y:he.y,k:null},vn(+Mn),Nn(),si):he.k},si.scaleExtent=function(Mn){return arguments.length?(at=Mn==null?Ut:[+Mn[0],+Mn[1]],si):at},si.center=function(Mn){return arguments.length?(Ze=Mn&&[+Mn[0],+Mn[1]],si):Ze},si.size=function(Mn){return arguments.length?(tt=Mn&&[+Mn[0],+Mn[1]],si):tt},si.duration=function(Mn){return arguments.length?(Lt=+Mn,si):Lt},si.x=function(Mn){return arguments.length?(Kr=Mn,qr=Mn.copy(),he={x:0,y:0,k:1},si):Kr},si.y=function(Mn){return arguments.length?(ui=Mn,ri=Mn.copy(),he={x:0,y:0,k:1},si):ui};function ti(Mn){return[(Mn[0]-he.x)/he.k,(Mn[1]-he.y)/he.k]}function ji(Mn){return[Mn[0]*he.k+he.x,Mn[1]*he.k+he.y]}function vn(Mn){he.k=Math.max(at[0],Math.min(at[1],Mn))}function Ln(Mn,Ca){Ca=ji(Ca),he.x+=Mn[0]-Ca[0],he.y+=Mn[1]-Ca[1]}function gn(Mn,Ca,Xa,io){Mn.__chart__={x:he.x,y:he.y,k:he.k},vn(Math.pow(2,io)),Ln(Be=Ca,Xa),Mn=i.select(Mn),Lt>0&&(Mn=Mn.transition().duration(Lt)),Mn.call(si.event)}function Nn(){Kr&&Kr.domain(qr.range().map(function(Mn){return(Mn-he.x)/he.k}).map(qr.invert)),ui&&ui.domain(ri.range().map(function(Mn){return(Mn-he.y)/he.k}).map(ri.invert))}function qn(Mn){vt++||Mn({type:"zoomstart"})}function Sa(Mn){Nn(),Mn({type:"zoom",scale:he.k,translate:[he.x,he.y]})}function aa(Mn){--vt||(Mn({type:"zoomend"}),Be=null)}function fa(){var Mn=this,Ca=Hr.of(Mn,arguments),Xa=0,io=i.select(e(Mn)).on(dr,_s).on(_r,qa),qo=ti(i.mouse(Mn)),$o=hr(Mn);Rh.call(Mn),qn(Ca);function _s(){Xa=1,Ln(i.mouse(Mn),qo),Sa(Ca)}function qa(){io.on(dr,null).on(_r,null),$o(Xa),aa(Ca)}}function Wa(){var Mn=this,Ca=Hr.of(Mn,arguments),Xa={},io=0,qo,$o=".zoom-"+i.event.changedTouches[0].identifier,_s="touchmove"+$o,qa="touchend"+$o,Rl=[],Sl=i.select(Mn),Ms=hr(Mn);jr(),qn(Ca),Sl.on(qt,null).on(Rr,jr);function Wt(){var Fi=i.touches(Mn);return qo=he.k,Fi.forEach(function(Nr){Nr.identifier in Xa&&(Xa[Nr.identifier]=ti(Nr))}),Fi}function jr(){var Fi=i.event.target;i.select(Fi).on(_s,$r).on(qa,Ei),Rl.push(Fi);for(var Nr=i.event.changedTouches,oi=0,yn=Nr.length;oi<yn;++oi)Xa[Nr[oi].identifier]=null;var pn=Wt(),_n=Date.now();if(pn.length===1){if(_n-ei<500){var Tn=pn[0];gn(Mn,Tn,Xa[Tn.identifier],Math.floor(Math.log(he.k)/Math.LN2)+1),ae()}ei=_n}else if(pn.length>1){var Tn=pn[0],Jn=pn[1],Zn=Tn[0]-Jn[0],Qi=Tn[1]-Jn[1];io=Zn*Zn+Qi*Qi}}function $r(){var Fi=i.touches(Mn),Nr,oi,yn,pn;Rh.call(Mn);for(var _n=0,Tn=Fi.length;_n<Tn;++_n,pn=null)if(yn=Fi[_n],pn=Xa[yn.identifier]){if(oi)break;Nr=yn,oi=pn}if(pn){var Jn=(Jn=yn[0]-Nr[0])*Jn+(Jn=yn[1]-Nr[1])*Jn,Zn=io&&Math.sqrt(Jn/io);Nr=[(Nr[0]+yn[0])/2,(Nr[1]+yn[1])/2],oi=[(oi[0]+pn[0])/2,(oi[1]+pn[1])/2],vn(Zn*qo)}ei=null,Ln(Nr,oi),Sa(Ca)}function Ei(){if(i.event.touches.length){for(var Fi=i.event.changedTouches,Nr=0,oi=Fi.length;Nr<oi;++Nr)delete Xa[Fi[Nr].identifier];for(var yn in Xa)return void Wt()}i.selectAll(Rl).on($o,null),Sl.on(qt,fa).on(Rr,Wa),Ms(),aa(Ca)}}function Oo(){var Mn=Hr.of(this,arguments);Ir?clearTimeout(Ir):(Rh.call(this),Ae=ti(Be=Ze||i.mouse(this)),qn(Mn)),Ir=setTimeout(function(){Ir=null,aa(Mn)},50),ae(),vn(Math.pow(2,Tt()*.002)*he.k),Ln(Be,Ae),Sa(Mn)}function No(){var Mn=i.mouse(this),Ca=Math.log(he.k)/Math.LN2;gn(this,Mn,ti(Mn),i.event.shiftKey?Math.ceil(Ca)-1:Math.floor(Ca)+1)}return i.rebind(si,Hr,"on")};var Ut=[0,1/0],Tt,kt;i.color=It;function It(){}It.prototype.toString=function(){return this.rgb()+""},i.hsl=Qt;function Qt(he,Ae,Be){return this instanceof Qt?(this.h=+he,this.s=+Ae,void(this.l=+Be)):arguments.length<2?he instanceof Qt?new Qt(he.h,he.s,he.l):Tr(""+he,Yt,Qt):new Qt(he,Ae,Be)}var Er=Qt.prototype=new It;Er.brighter=function(he){return he=Math.pow(.7,arguments.length?he:1),new Qt(this.h,this.s,this.l/he)},Er.darker=function(he){return he=Math.pow(.7,arguments.length?he:1),new Qt(this.h,this.s,he*this.l)},Er.rgb=function(){return Br(this.h,this.s,this.l)};function Br(he,Ae,Be){var Ze,tt;he=isNaN(he)?0:(he%=360)<0?he+360:he,Ae=isNaN(Ae)||Ae<0?0:Ae>1?1:Ae,Be=Be<0?0:Be>1?1:Be,tt=Be<=.5?Be*(1+Ae):Be+Ae-Be*Ae,Ze=2*Be-tt;function at(vt){return vt>360?vt-=360:vt<0&&(vt+=360),vt<60?Ze+(tt-Ze)*vt/60:vt<180?tt:vt<240?Ze+(tt-Ze)*(240-vt)/60:Ze}function Lt(vt){return Math.round(at(vt)*255)}return new Zt(Lt(he+120),Lt(he),Lt(he-120))}i.hcl=wr;function wr(he,Ae,Be){return this instanceof wr?(this.h=+he,this.c=+Ae,void(this.l=+Be)):arguments.length<2?he instanceof wr?new wr(he.h,he.c,he.l):he instanceof _t?Ur(he.l,he.a,he.b):Ur((he=Ar((he=i.rgb(he)).r,he.g,he.b)).l,he.a,he.b):new wr(he,Ae,Be)}var ht=wr.prototype=new It;ht.brighter=function(he){return new wr(this.h,this.c,Math.min(100,this.l+St*(arguments.length?he:1)))},ht.darker=function(he){return new wr(this.h,this.c,Math.max(0,this.l-St*(arguments.length?he:1)))},ht.rgb=function(){return ot(this.h,this.c,this.l).rgb()};function ot(he,Ae,Be){return isNaN(he)&&(he=0),isNaN(Ae)&&(Ae=0),new _t(Be,Math.cos(he*=ct)*Ae,Math.sin(he)*Ae)}i.lab=_t;function _t(he,Ae,Be){return this instanceof _t?(this.l=+he,this.a=+Ae,void(this.b=+Be)):arguments.length<2?he instanceof _t?new _t(he.l,he.a,he.b):he instanceof wr?ot(he.h,he.c,he.l):Ar((he=Zt(he)).r,he.g,he.b):new _t(he,Ae,Be)}var St=18,Ot=.95047,yr=1,Lr=1.08883,Pr=_t.prototype=new It;Pr.brighter=function(he){return new _t(Math.min(100,this.l+St*(arguments.length?he:1)),this.a,this.b)},Pr.darker=function(he){return new _t(Math.max(0,this.l-St*(arguments.length?he:1)),this.a,this.b)},Pr.rgb=function(){return Dr(this.l,this.a,this.b)};function Dr(he,Ae,Be){var Ze=(he+16)/116,tt=Ze+Ae/500,at=Ze-Be/200;return tt=Cr(tt)*Ot,Ze=Cr(Ze)*yr,at=Cr(at)*Lr,new Zt(Ge(3.2404542*tt-1.5371385*Ze-.4985314*at),Ge(-.969266*tt+1.8760108*Ze+.041556*at),Ge(.0556434*tt-.2040259*Ze+1.0572252*at))}function Ur(he,Ae,Be){return he>0?new wr(Math.atan2(Be,Ae)*lt,Math.sqrt(Ae*Ae+Be*Be),he):new wr(NaN,NaN,he)}function Cr(he){return he>.206893034?he*he*he:(he-4/29)/7.787037}function Je(he){return he>.008856?Math.pow(he,1/3):7.787037*he+4/29}function Ge(he){return Math.round(255*(he<=.00304?12.92*he:1.055*Math.pow(he,1/2.4)-.055))}i.rgb=Zt;function Zt(he,Ae,Be){return this instanceof Zt?(this.r=~~he,this.g=~~Ae,void(this.b=~~Be)):arguments.length<2?he instanceof Zt?new Zt(he.r,he.g,he.b):Tr(""+he,Zt,Br):new Zt(he,Ae,Be)}function fr(he){return new Zt(he>>16,he>>8&255,he&255)}function jt(he){return fr(he)+""}var Kt=Zt.prototype=new It;Kt.brighter=function(he){he=Math.pow(.7,arguments.length?he:1);var Ae=this.r,Be=this.g,Ze=this.b,tt=30;return!Ae&&!Be&&!Ze?new Zt(tt,tt,tt):(Ae&&Ae<tt&&(Ae=tt),Be&&Be<tt&&(Be=tt),Ze&&Ze<tt&&(Ze=tt),new Zt(Math.min(255,Ae/he),Math.min(255,Be/he),Math.min(255,Ze/he)))},Kt.darker=function(he){return he=Math.pow(.7,arguments.length?he:1),new Zt(he*this.r,he*this.g,he*this.b)},Kt.hsl=function(){return Yt(this.r,this.g,this.b)},Kt.toString=function(){return"#"+gr(this.r)+gr(this.g)+gr(this.b)};function gr(he){return he<16?"0"+Math.max(0,he).toString(16):Math.min(255,he).toString(16)}function Tr(he,Ae,Be){var Ze=0,tt=0,at=0,Lt,vt,qt;if(Lt=/([a-z]+)\((.*)\)/.exec(he=he.toLowerCase()),Lt)switch(vt=Lt[2].split(","),Lt[1]){case"hsl":return Be(parseFloat(vt[0]),parseFloat(vt[1])/100,parseFloat(vt[2])/100);case"rgb":return Ae(ni(vt[0]),ni(vt[1]),ni(vt[2]))}return(qt=ii.get(he))?Ae(qt.r,qt.g,qt.b):(he!=null&&he.charAt(0)==="#"&&!isNaN(qt=parseInt(he.slice(1),16))&&(he.length===4?(Ze=(qt&3840)>>4,Ze=Ze>>4|Ze,tt=qt&240,tt=tt>>4|tt,at=qt&15,at=at<<4|at):he.length===7&&(Ze=(qt&16711680)>>16,tt=(qt&65280)>>8,at=qt&255)),Ae(Ze,tt,at))}function Yt(he,Ae,Be){var Ze=Math.min(he/=255,Ae/=255,Be/=255),tt=Math.max(he,Ae,Be),at=tt-Ze,Lt,vt,qt=(tt+Ze)/2;return at?(vt=qt<.5?at/(tt+Ze):at/(2-tt-Ze),he==tt?Lt=(Ae-Be)/at+(Ae<Be?6:0):Ae==tt?Lt=(Be-he)/at+2:Lt=(he-Ae)/at+4,Lt*=60):(Lt=NaN,vt=qt>0&&qt<1?0:Lt),new Qt(Lt,vt,qt)}function Ar(he,Ae,Be){he=Or(he),Ae=Or(Ae),Be=Or(Be);var Ze=Je((.4124564*he+.3575761*Ae+.1804375*Be)/Ot),tt=Je((.2126729*he+.7151522*Ae+.072175*Be)/yr),at=Je((.0193339*he+.119192*Ae+.9503041*Be)/Lr);return _t(116*tt-16,500*(Ze-tt),200*(tt-at))}function Or(he){return(he/=255)<=.04045?he/12.92:Math.pow((he+.055)/1.055,2.4)}function ni(he){var Ae=parseFloat(he);return he.charAt(he.length-1)==="%"?Math.round(Ae*2.55):Ae}var ii=i.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ii.forEach(function(he,Ae){ii.set(he,fr(Ae))});function vi(he){return typeof he=="function"?he:function(){return he}}i.functor=vi,i.xhr=mi(O);function mi(he){return function(Ae,Be,Ze){return arguments.length===2&&typeof Be=="function"&&(Ze=Be,Be=null),cn(Ae,Be,he,Ze)}}function cn(he,Ae,Be,Ze){var tt={},at=i.dispatch("beforesend","progress","load","error"),Lt={},vt=new XMLHttpRequest,qt=null;self.XDomainRequest&&!("withCredentials"in vt)&&/^(http(s)?:)?\/\//.test(he)&&(vt=new XDomainRequest),"onload"in vt?vt.onload=vt.onerror=dr:vt.onreadystatechange=function(){vt.readyState>3&&dr()};function dr(){var _r=vt.status,Ir;if(!_r&&ln(vt)||_r>=200&&_r<300||_r===304){try{Ir=Be.call(tt,vt)}catch(Rr){at.error.call(tt,Rr);return}at.load.call(tt,Ir)}else at.error.call(tt,vt)}return vt.onprogress=function(_r){var Ir=i.event;i.event=_r;try{at.progress.call(tt,vt)}finally{i.event=Ir}},tt.header=function(_r,Ir){return _r=(_r+"").toLowerCase(),arguments.length<2?Lt[_r]:(Ir==null?delete Lt[_r]:Lt[_r]=Ir+"",tt)},tt.mimeType=function(_r){return arguments.length?(Ae=_r==null?null:_r+"",tt):Ae},tt.responseType=function(_r){return arguments.length?(qt=_r,tt):qt},tt.response=function(_r){return Be=_r,tt},["get","post"].forEach(function(_r){tt[_r]=function(){return tt.send.apply(tt,[_r].concat(c(arguments)))}}),tt.send=function(_r,Ir,Rr){if(arguments.length===2&&typeof Ir=="function"&&(Rr=Ir,Ir=null),vt.open(_r,he,!0),Ae!=null&&!("accept"in Lt)&&(Lt.accept=Ae+",*/*"),vt.setRequestHeader)for(var ei in Lt)vt.setRequestHeader(ei,Lt[ei]);return Ae!=null&&vt.overrideMimeType&&vt.overrideMimeType(Ae),qt!=null&&(vt.responseType=qt),Rr!=null&&tt.on("error",Rr).on("load",function(Hr){Rr(null,Hr)}),at.beforesend.call(tt,vt),vt.send(Ir??null),tt},tt.abort=function(){return vt.abort(),tt},i.rebind(tt,at,"on"),Ze==null?tt:tt.get(zi(Ze))}function zi(he){return he.length===1?function(Ae,Be){he(Ae==null?Be:null)}:he}function ln(he){var Ae=he.responseType;return Ae&&Ae!=="text"?he.response:he.responseText}i.dsv=function(he,Ae){var Be=new RegExp('["'+he+`
1
+ import{iL as Ov,u8 as _f,as as ehe}from"../datalayer-app-main.js";import{k as fme}from"./index-D4a8E78-.js";import{i as the,b as hme,d as dme,n as vme,o as pme,a as gme}from"./round-BfLWjAu-.js";import{h as a9,n as ap,f as yme,g as mme,i as _me,a as xme,r as bme,j as wme,b as Tme,e as Sme,d as Ame}from"./index-atSsKceW.js";import{R as rhe,r as Mme,d as kme,e as Cme,f as AV,g as MV,C as Eme,h as kV}from"./color-CG7_7V2-.js";import{d as Lme,r as Ime,l as CV,i as Pme,h as Rme}from"./hcl-DhKDpa4Z.js";import{r as Dme}from"./index-jGGzfal6.js";function zme(r,i){for(var h=0;h<i.length;h++){const c=i[h];if(typeof c!="string"&&!Array.isArray(c)){for(const a in c)if(a!=="default"&&!(a in r)){const o=Object.getOwnPropertyDescriptor(c,a);o&&Object.defineProperty(r,a,o.get?o:{enumerable:!0,get:()=>c[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var ihe=-.14861,o9=1.78277,s9=-.29227,k2=-.90649,z_=1.97294,EV=z_*k2,LV=z_*o9,IV=o9*s9-k2*ihe;function Fme(r){if(r instanceof ny)return new ny(r.h,r.s,r.l,r.opacity);r instanceof rhe||(r=Mme(r));var i=r.r/255,h=r.g/255,c=r.b/255,a=(IV*c+EV*i-LV*h)/(IV+EV-LV),o=c-a,e=(z_*(h-a)-s9*o)/k2,t=Math.sqrt(e*e+o*o)/(z_*a*(1-a)),n=t?Math.atan2(e,o)*Lme-120:NaN;return new ny(n<0?n+360:n,t,a,r.opacity)}function K7(r,i,h,c){return arguments.length===1?Fme(r):new ny(r,i,h,c??1)}function ny(r,i,h,c){this.h=+r,this.s=+i,this.l=+h,this.opacity=+c}kme(ny,K7,Cme(Eme,{brighter(r){return r=r==null?MV:Math.pow(MV,r),new ny(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?AV:Math.pow(AV,r),new ny(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=isNaN(this.h)?0:(this.h+120)*Ime,i=+this.l,h=isNaN(this.s)?0:this.s*i*(1-i),c=Math.cos(r),a=Math.sin(r);return new rhe(255*(i+h*(ihe*c+o9*a)),255*(i+h*(s9*c+k2*a)),255*(i+h*(z_*c)),this.opacity)}}));var nS={},aS={},PV;function l9(){return PV||(PV=1,aS.version="2.35.3"),aS}var ew={exports:{}};var Bme=ew.exports,RV;function Ome(){return RV||(RV=1,(function(r){(function(h,c,a){c[h]=c[h]||a(),r.exports&&(r.exports=c[h])})("Promise",typeof globalThis<"u"?globalThis:Bme,function(){var h,c,a,o=Object.prototype.toString,e=typeof setImmediate<"u"?function(A){return setImmediate(A)}:setTimeout;try{Object.defineProperty({},"x",{}),h=function(A,w,M,m){return Object.defineProperty(A,w,{value:M,writable:!0,configurable:m!==!1})}}catch{h=function(w,M,m){return w[M]=m,w}}a=(function(){var A,w,M;function m(k,b){this.fn=k,this.self=b,this.next=void 0}return{add:function(b,_){M=new m(b,_),w?w.next=M:A=M,w=M,M=void 0},drain:function(){var b=A;for(A=w=c=void 0;b;)b.fn.call(b.self),b=b.next}}})();function t(y,A){a.add(y,A),c||(c=e(a.drain))}function n(y){var A,w=typeof y;return y!=null&&(w=="object"||w=="function")&&(A=y.then),typeof A=="function"?A:!1}function s(){for(var y=0;y<this.chain.length;y++)l(this,this.state===1?this.chain[y].success:this.chain[y].failure,this.chain[y]);this.chain.length=0}function l(y,A,w){var M,m;try{A===!1?w.reject(y.msg):(A===!0?M=y.msg:M=A.call(void 0,y.msg),M===w.promise?w.reject(TypeError("Promise-chain cycle")):(m=n(M))?m.call(M,w.resolve,w.reject):w.resolve(M))}catch(k){w.reject(k)}}function u(y){var A,w=this;if(!w.triggered){w.triggered=!0,w.def&&(w=w.def);try{(A=n(y))?t(function(){var M=new v(w);try{A.call(y,function(){u.apply(M,arguments)},function(){f.apply(M,arguments)})}catch(m){f.call(M,m)}}):(w.msg=y,w.state=1,w.chain.length>0&&t(s,w))}catch(M){f.call(new v(w),M)}}}function f(y){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=y,A.state=2,A.chain.length>0&&t(s,A))}function d(y,A,w,M){for(var m=0;m<A.length;m++)(function(b){y.resolve(A[b]).then(function(x){w(b,x)},M)})(m)}function v(y){this.def=y,this.triggered=!1}function g(y){this.promise=y,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function T(y){if(typeof y!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var A=new g(this);this.then=function(M,m){var k={success:typeof M=="function"?M:!0,failure:typeof m=="function"?m:!1};return k.promise=new this.constructor(function(_,x){if(typeof _!="function"||typeof x!="function")throw TypeError("Not a function");k.resolve=_,k.reject=x}),A.chain.push(k),A.state!==0&&t(s,A),k.promise},this.catch=function(M){return this.then(void 0,M)};try{y.call(void 0,function(M){u.call(A,M)},function(M){f.call(A,M)})}catch(w){f.call(A,w)}}var p=h({},"constructor",T,!1);return T.prototype=p,h(p,"__NPO__",0,!1),h(T,"resolve",function(A){var w=this;return A&&typeof A=="object"&&A.__NPO__===1?A:new w(function(m,k){if(typeof m!="function"||typeof k!="function")throw TypeError("Not a function");m(A)})}),h(T,"reject",function(A){return new this(function(M,m){if(typeof M!="function"||typeof m!="function")throw TypeError("Not a function");m(A)})}),h(T,"all",function(A){var w=this;return o.call(A)!="[object Array]"?w.reject(TypeError("Not an array")):A.length===0?w.resolve([]):new w(function(m,k){if(typeof m!="function"||typeof k!="function")throw TypeError("Not a function");var b=A.length,_=Array(b),x=0;d(w,A,function(P,D){_[P]=D,++x===b&&m(_)},k)})}),h(T,"race",function(A){var w=this;return o.call(A)!="[object Array]"?w.reject(TypeError("Not an array")):new w(function(m,k){if(typeof m!="function"||typeof k!="function")throw TypeError("Not a function");d(w,A,function(_,x){m(x)},k)})}),T})})(ew)),ew.exports}var DV={},oS={exports:{}},sS={exports:{}},zV;function Kn(){return zV||(zV=1,(function(r){(function(){var i={version:"3.8.2"},h=[].slice,c=function(he){return h.call(he)},a=self.document;function o(he){return he&&(he.ownerDocument||he.document||he).documentElement}function e(he){return he&&(he.ownerDocument&&he.ownerDocument.defaultView||he.document&&he||he.defaultView)}if(a)try{c(a.documentElement.childNodes)[0].nodeType}catch{c=function(Ae){for(var Be=Ae.length,Ze=new Array(Be);Be--;)Ze[Be]=Ae[Be];return Ze}}if(Date.now||(Date.now=function(){return+new Date}),a)try{a.createElement("DIV").style.setProperty("opacity",0,"")}catch{var t=this.Element.prototype,n=t.setAttribute,s=t.setAttributeNS,l=this.CSSStyleDeclaration.prototype,u=l.setProperty;t.setAttribute=function(Ae,Be){n.call(this,Ae,Be+"")},t.setAttributeNS=function(Ae,Be,Ze){s.call(this,Ae,Be,Ze+"")},l.setProperty=function(Ae,Be,Ze){u.call(this,Ae,Be+"",Ze)}}i.ascending=f;function f(he,Ae){return he<Ae?-1:he>Ae?1:he>=Ae?0:NaN}i.descending=function(he,Ae){return Ae<he?-1:Ae>he?1:Ae>=he?0:NaN},i.min=function(he,Ae){var Be=-1,Ze=he.length,tt,at;if(arguments.length===1){for(;++Be<Ze;)if((at=he[Be])!=null&&at>=at){tt=at;break}for(;++Be<Ze;)(at=he[Be])!=null&&tt>at&&(tt=at)}else{for(;++Be<Ze;)if((at=Ae.call(he,he[Be],Be))!=null&&at>=at){tt=at;break}for(;++Be<Ze;)(at=Ae.call(he,he[Be],Be))!=null&&tt>at&&(tt=at)}return tt},i.max=function(he,Ae){var Be=-1,Ze=he.length,tt,at;if(arguments.length===1){for(;++Be<Ze;)if((at=he[Be])!=null&&at>=at){tt=at;break}for(;++Be<Ze;)(at=he[Be])!=null&&at>tt&&(tt=at)}else{for(;++Be<Ze;)if((at=Ae.call(he,he[Be],Be))!=null&&at>=at){tt=at;break}for(;++Be<Ze;)(at=Ae.call(he,he[Be],Be))!=null&&at>tt&&(tt=at)}return tt},i.extent=function(he,Ae){var Be=-1,Ze=he.length,tt,at,Lt;if(arguments.length===1){for(;++Be<Ze;)if((at=he[Be])!=null&&at>=at){tt=Lt=at;break}for(;++Be<Ze;)(at=he[Be])!=null&&(tt>at&&(tt=at),Lt<at&&(Lt=at))}else{for(;++Be<Ze;)if((at=Ae.call(he,he[Be],Be))!=null&&at>=at){tt=Lt=at;break}for(;++Be<Ze;)(at=Ae.call(he,he[Be],Be))!=null&&(tt>at&&(tt=at),Lt<at&&(Lt=at))}return[tt,Lt]};function d(he){return he===null?NaN:+he}function v(he){return!isNaN(he)}i.sum=function(he,Ae){var Be=0,Ze=he.length,tt,at=-1;if(arguments.length===1)for(;++at<Ze;)v(tt=+he[at])&&(Be+=tt);else for(;++at<Ze;)v(tt=+Ae.call(he,he[at],at))&&(Be+=tt);return Be},i.mean=function(he,Ae){var Be=0,Ze=he.length,tt,at=-1,Lt=Ze;if(arguments.length===1)for(;++at<Ze;)v(tt=d(he[at]))?Be+=tt:--Lt;else for(;++at<Ze;)v(tt=d(Ae.call(he,he[at],at)))?Be+=tt:--Lt;if(Lt)return Be/Lt},i.quantile=function(he,Ae){var Be=(he.length-1)*Ae+1,Ze=Math.floor(Be),tt=+he[Ze-1],at=Be-Ze;return at?tt+at*(he[Ze]-tt):tt},i.median=function(he,Ae){var Be=[],Ze=he.length,tt,at=-1;if(arguments.length===1)for(;++at<Ze;)v(tt=d(he[at]))&&Be.push(tt);else for(;++at<Ze;)v(tt=d(Ae.call(he,he[at],at)))&&Be.push(tt);if(Be.length)return i.quantile(Be.sort(f),.5)},i.variance=function(he,Ae){var Be=he.length,Ze=0,tt,at,Lt=0,vt=-1,qt=0;if(arguments.length===1)for(;++vt<Be;)v(tt=d(he[vt]))&&(at=tt-Ze,Ze+=at/++qt,Lt+=at*(tt-Ze));else for(;++vt<Be;)v(tt=d(Ae.call(he,he[vt],vt)))&&(at=tt-Ze,Ze+=at/++qt,Lt+=at*(tt-Ze));if(qt>1)return Lt/(qt-1)},i.deviation=function(){var he=i.variance.apply(this,arguments);return he&&Math.sqrt(he)};function g(he){return{left:function(Ae,Be,Ze,tt){for(arguments.length<3&&(Ze=0),arguments.length<4&&(tt=Ae.length);Ze<tt;){var at=Ze+tt>>>1;he(Ae[at],Be)<0?Ze=at+1:tt=at}return Ze},right:function(Ae,Be,Ze,tt){for(arguments.length<3&&(Ze=0),arguments.length<4&&(tt=Ae.length);Ze<tt;){var at=Ze+tt>>>1;he(Ae[at],Be)>0?tt=at:Ze=at+1}return Ze}}}var T=g(f);i.bisectLeft=T.left,i.bisect=i.bisectRight=T.right,i.bisector=function(he){return g(he.length===1?function(Ae,Be){return f(he(Ae),Be)}:he)},i.shuffle=function(he,Ae,Be){(Ze=arguments.length)<3&&(Be=he.length,Ze<2&&(Ae=0));for(var Ze=Be-Ae,tt,at;Ze;)at=Math.random()*Ze--|0,tt=he[Ze+Ae],he[Ze+Ae]=he[at+Ae],he[at+Ae]=tt;return he},i.permute=function(he,Ae){for(var Be=Ae.length,Ze=new Array(Be);Be--;)Ze[Be]=he[Ae[Be]];return Ze},i.pairs=function(he){for(var Ae=0,Be=he.length-1,Ze=he[0],tt=new Array(Be<0?0:Be);Ae<Be;)tt[Ae]=[Ze,Ze=he[++Ae]];return tt},i.transpose=function(he){if(!(at=he.length))return[];for(var Ae=-1,Be=i.min(he,p),Ze=new Array(Be);++Ae<Be;)for(var tt=-1,at,Lt=Ze[Ae]=new Array(at);++tt<at;)Lt[tt]=he[tt][Ae];return Ze};function p(he){return he.length}i.zip=function(){return i.transpose(arguments)},i.keys=function(he){var Ae=[];for(var Be in he)Ae.push(Be);return Ae},i.values=function(he){var Ae=[];for(var Be in he)Ae.push(he[Be]);return Ae},i.entries=function(he){var Ae=[];for(var Be in he)Ae.push({key:Be,value:he[Be]});return Ae},i.merge=function(he){for(var Ae=he.length,Be,Ze=-1,tt=0,at,Lt;++Ze<Ae;)tt+=he[Ze].length;for(at=new Array(tt);--Ae>=0;)for(Lt=he[Ae],Be=Lt.length;--Be>=0;)at[--tt]=Lt[Be];return at};var y=Math.abs;i.range=function(he,Ae,Be){if(arguments.length<3&&(Be=1,arguments.length<2&&(Ae=he,he=0)),(Ae-he)/Be===1/0)throw new Error("infinite range");var Ze=[],tt=A(y(Be)),at=-1,Lt;if(he*=tt,Ae*=tt,Be*=tt,Be<0)for(;(Lt=he+Be*++at)>Ae;)Ze.push(Lt/tt);else for(;(Lt=he+Be*++at)<Ae;)Ze.push(Lt/tt);return Ze};function A(he){for(var Ae=1;he*Ae%1;)Ae*=10;return Ae}function w(he,Ae){for(var Be in Ae)Object.defineProperty(he.prototype,Be,{value:Ae[Be],enumerable:!1})}i.map=function(he,Ae){var Be=new M;if(he instanceof M)he.forEach(function(vt,qt){Be.set(vt,qt)});else if(Array.isArray(he)){var Ze=-1,tt=he.length,at;if(arguments.length===1)for(;++Ze<tt;)Be.set(Ze,he[Ze]);else for(;++Ze<tt;)Be.set(Ae.call(he,at=he[Ze],Ze),at)}else for(var Lt in he)Be.set(Lt,he[Lt]);return Be};function M(){this._=Object.create(null)}var m="__proto__",k="\0";w(M,{has:x,get:function(he){return this._[b(he)]},set:function(he,Ae){return this._[b(he)]=Ae},remove:S,keys:P,values:function(){var he=[];for(var Ae in this._)he.push(this._[Ae]);return he},entries:function(){var he=[];for(var Ae in this._)he.push({key:_(Ae),value:this._[Ae]});return he},size:D,empty:F,forEach:function(he){for(var Ae in this._)he.call(this,_(Ae),this._[Ae])}});function b(he){return(he+="")===m||he[0]===k?k+he:he}function _(he){return(he+="")[0]===k?he.slice(1):he}function x(he){return b(he)in this._}function S(he){return(he=b(he))in this._&&delete this._[he]}function P(){var he=[];for(var Ae in this._)he.push(_(Ae));return he}function D(){var he=0;for(var Ae in this._)++he;return he}function F(){for(var he in this._)return!1;return!0}i.nest=function(){var he={},Ae=[],Be=[],Ze,tt;function at(vt,qt,dr){if(dr>=Ae.length)return tt?tt.call(he,qt):Ze?qt.sort(Ze):qt;for(var _r=-1,Ir=qt.length,Rr=Ae[dr++],ei,Hr,qr,Kr=new M,ri;++_r<Ir;)(ri=Kr.get(ei=Rr(Hr=qt[_r])))?ri.push(Hr):Kr.set(ei,[Hr]);return vt?(Hr=vt(),qr=function(ui,si){Hr.set(ui,at(vt,si,dr))}):(Hr={},qr=function(ui,si){Hr[ui]=at(vt,si,dr)}),Kr.forEach(qr),Hr}function Lt(vt,qt){if(qt>=Ae.length)return vt;var dr=[],_r=Be[qt++];return vt.forEach(function(Ir,Rr){dr.push({key:Ir,values:Lt(Rr,qt)})}),_r?dr.sort(function(Ir,Rr){return _r(Ir.key,Rr.key)}):dr}return he.map=function(vt,qt){return at(qt,vt,0)},he.entries=function(vt){return Lt(at(i.map,vt,0),0)},he.key=function(vt){return Ae.push(vt),he},he.sortKeys=function(vt){return Be[Ae.length-1]=vt,he},he.sortValues=function(vt){return Ze=vt,he},he.rollup=function(vt){return tt=vt,he},he},i.set=function(he){var Ae=new N;if(he)for(var Be=0,Ze=he.length;Be<Ze;++Be)Ae.add(he[Be]);return Ae};function N(){this._=Object.create(null)}w(N,{has:x,add:function(he){return this._[b(he+="")]=!0,he},remove:S,values:P,size:D,empty:F,forEach:function(he){for(var Ae in this._)he.call(this,_(Ae))}}),i.behavior={};function O(he){return he}i.rebind=function(he,Ae){for(var Be=1,Ze=arguments.length,tt;++Be<Ze;)he[tt=arguments[Be]]=B(he,Ae,Ae[tt]);return he};function B(he,Ae,Be){return function(){var Ze=Be.apply(Ae,arguments);return Ze===Ae?he:Ze}}function R(he,Ae){if(Ae in he)return Ae;Ae=Ae.charAt(0).toUpperCase()+Ae.slice(1);for(var Be=0,Ze=q.length;Be<Ze;++Be){var tt=q[Be]+Ae;if(tt in he)return tt}}var q=["webkit","ms","moz","Moz","o","O"];function G(){}i.dispatch=function(){for(var he=new Z,Ae=-1,Be=arguments.length;++Ae<Be;)he[arguments[Ae]]=$(he);return he};function Z(){}Z.prototype.on=function(he,Ae){var Be=he.indexOf("."),Ze="";if(Be>=0&&(Ze=he.slice(Be+1),he=he.slice(0,Be)),he)return arguments.length<2?this[he].on(Ze):this[he].on(Ze,Ae);if(arguments.length===2){if(Ae==null)for(he in this)this.hasOwnProperty(he)&&this[he].on(Ze,null);return this}};function $(he){var Ae=[],Be=new M;function Ze(){for(var tt=Ae,at=-1,Lt=tt.length,vt;++at<Lt;)(vt=tt[at].on)&&vt.apply(this,arguments);return he}return Ze.on=function(tt,at){var Lt=Be.get(tt),vt;return arguments.length<2?Lt&&Lt.on:(Lt&&(Lt.on=null,Ae=Ae.slice(0,vt=Ae.indexOf(Lt)).concat(Ae.slice(vt+1)),Be.remove(tt)),at&&Ae.push(Be.set(tt,{on:at})),he)},Ze}i.event=null;function ae(){i.event.preventDefault()}function ne(){for(var he=i.event,Ae;Ae=he.sourceEvent;)he=Ae;return he}function oe(he){for(var Ae=new Z,Be=0,Ze=arguments.length;++Be<Ze;)Ae[arguments[Be]]=$(Ae);return Ae.of=function(tt,at){return function(Lt){try{var vt=Lt.sourceEvent=i.event;Lt.target=he,i.event=Lt,Ae[Lt.type].apply(tt,at)}finally{i.event=vt}}},Ae}i.requote=function(he){return he.replace(K,"\\$&")};var K=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,ue={}.__proto__?function(he,Ae){he.__proto__=Ae}:function(he,Ae){for(var Be in Ae)he[Be]=Ae[Be]};function re(he){return ue(he,Q),he}var V=function(he,Ae){return Ae.querySelector(he)},Y=function(he,Ae){return Ae.querySelectorAll(he)},te=function(he,Ae){var Be=he.matches||he[R(he,"matchesSelector")];return te=function(Ze,tt){return Be.call(Ze,tt)},te(he,Ae)};typeof Sizzle=="function"&&(V=function(he,Ae){return Sizzle(he,Ae)[0]||null},Y=Sizzle,te=Sizzle.matchesSelector),i.selection=function(){return i.select(a.documentElement)};var Q=i.selection.prototype=[];Q.select=function(he){var Ae=[],Be,Ze,tt,at;he=ee(he);for(var Lt=-1,vt=this.length;++Lt<vt;){Ae.push(Be=[]),Be.parentNode=(tt=this[Lt]).parentNode;for(var qt=-1,dr=tt.length;++qt<dr;)(at=tt[qt])?(Be.push(Ze=he.call(at,at.__data__,qt,Lt)),Ze&&"__data__"in at&&(Ze.__data__=at.__data__)):Be.push(null)}return re(Ae)};function ee(he){return typeof he=="function"?he:function(){return V(he,this)}}Q.selectAll=function(he){var Ae=[],Be,Ze;he=se(he);for(var tt=-1,at=this.length;++tt<at;)for(var Lt=this[tt],vt=-1,qt=Lt.length;++vt<qt;)(Ze=Lt[vt])&&(Ae.push(Be=c(he.call(Ze,Ze.__data__,vt,tt))),Be.parentNode=Ze);return re(Ae)};function se(he){return typeof he=="function"?he:function(){return Y(he,this)}}var le="http://www.w3.org/1999/xhtml",me={svg:"http://www.w3.org/2000/svg",xhtml:le,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};i.ns={prefix:me,qualify:function(he){var Ae=he.indexOf(":"),Be=he;return Ae>=0&&(Be=he.slice(0,Ae))!=="xmlns"&&(he=he.slice(Ae+1)),me.hasOwnProperty(Be)?{space:me[Be],local:he}:he}},Q.attr=function(he,Ae){if(arguments.length<2){if(typeof he=="string"){var Be=this.node();return he=i.ns.qualify(he),he.local?Be.getAttributeNS(he.space,he.local):Be.getAttribute(he)}for(Ae in he)this.each(we(Ae,he[Ae]));return this}return this.each(we(he,Ae))};function we(he,Ae){he=i.ns.qualify(he);function Be(){this.removeAttribute(he)}function Ze(){this.removeAttributeNS(he.space,he.local)}function tt(){this.setAttribute(he,Ae)}function at(){this.setAttributeNS(he.space,he.local,Ae)}function Lt(){var qt=Ae.apply(this,arguments);qt==null?this.removeAttribute(he):this.setAttribute(he,qt)}function vt(){var qt=Ae.apply(this,arguments);qt==null?this.removeAttributeNS(he.space,he.local):this.setAttributeNS(he.space,he.local,qt)}return Ae==null?he.local?Ze:Be:typeof Ae=="function"?he.local?vt:Lt:he.local?at:tt}function Pe(he){return he.trim().replace(/\s+/g," ")}Q.classed=function(he,Ae){if(arguments.length<2){if(typeof he=="string"){var Be=this.node(),Ze=(he=Fe(he)).length,tt=-1;if(Ae=Be.classList){for(;++tt<Ze;)if(!Ae.contains(he[tt]))return!1}else for(Ae=Be.getAttribute("class");++tt<Ze;)if(!Ie(he[tt]).test(Ae))return!1;return!0}for(Ae in he)this.each(je(Ae,he[Ae]));return this}return this.each(je(he,Ae))};function Ie(he){return new RegExp("(?:^|\\s+)"+i.requote(he)+"(?:\\s+|$)","g")}function Fe(he){return(he+"").trim().split(/^|\s+/)}function je(he,Ae){he=Fe(he).map(Ke);var Be=he.length;function Ze(){for(var at=-1;++at<Be;)he[at](this,Ae)}function tt(){for(var at=-1,Lt=Ae.apply(this,arguments);++at<Be;)he[at](this,Lt)}return typeof Ae=="function"?tt:Ze}function Ke(he){var Ae=Ie(he);return function(Be,Ze){if(tt=Be.classList)return Ze?tt.add(he):tt.remove(he);var tt=Be.getAttribute("class")||"";Ze?(Ae.lastIndex=0,Ae.test(tt)||Be.setAttribute("class",Pe(tt+" "+he))):Be.setAttribute("class",Pe(tt.replace(Ae," ")))}}Q.style=function(he,Ae,Be){var Ze=arguments.length;if(Ze<3){if(typeof he!="string"){Ze<2&&(Ae="");for(Be in he)this.each(rt(Be,he[Be],Ae));return this}if(Ze<2){var tt=this.node();return e(tt).getComputedStyle(tt,null).getPropertyValue(he)}Be=""}return this.each(rt(he,Ae,Be))};function rt(he,Ae,Be){function Ze(){this.style.removeProperty(he)}function tt(){this.style.setProperty(he,Ae,Be)}function at(){var Lt=Ae.apply(this,arguments);Lt==null?this.style.removeProperty(he):this.style.setProperty(he,Lt,Be)}return Ae==null?Ze:typeof Ae=="function"?at:tt}Q.property=function(he,Ae){if(arguments.length<2){if(typeof he=="string")return this.node()[he];for(Ae in he)this.each(it(Ae,he[Ae]));return this}return this.each(it(he,Ae))};function it(he,Ae){function Be(){delete this[he]}function Ze(){this[he]=Ae}function tt(){var at=Ae.apply(this,arguments);at==null?delete this[he]:this[he]=at}return Ae==null?Be:typeof Ae=="function"?tt:Ze}Q.text=function(he){return arguments.length?this.each(typeof he=="function"?function(){var Ae=he.apply(this,arguments);this.textContent=Ae??""}:he==null?function(){this.textContent=""}:function(){this.textContent=he}):this.node().textContent},Q.html=function(he){return arguments.length?this.each(typeof he=="function"?function(){var Ae=he.apply(this,arguments);this.innerHTML=Ae??""}:he==null?function(){this.innerHTML=""}:function(){this.innerHTML=he}):this.node().innerHTML},Q.append=function(he){return he=ze(he),this.select(function(){return this.appendChild(he.apply(this,arguments))})};function ze(he){function Ae(){var Ze=this.ownerDocument,tt=this.namespaceURI;return tt===le&&Ze.documentElement.namespaceURI===le?Ze.createElement(he):Ze.createElementNS(tt,he)}function Be(){return this.ownerDocument.createElementNS(he.space,he.local)}return typeof he=="function"?he:(he=i.ns.qualify(he)).local?Be:Ae}Q.insert=function(he,Ae){return he=ze(he),Ae=ee(Ae),this.select(function(){return this.insertBefore(he.apply(this,arguments),Ae.apply(this,arguments)||null)})},Q.remove=function(){return this.each($e)};function $e(){var he=this.parentNode;he&&he.removeChild(this)}Q.data=function(he,Ae){var Be=-1,Ze=this.length,tt,at;if(!arguments.length){for(he=new Array(Ze=(tt=this[0]).length);++Be<Ze;)(at=tt[Be])&&(he[Be]=at.__data__);return he}function Lt(_r,Ir){var Rr,ei=_r.length,Hr=Ir.length,qr=Math.min(ei,Hr),Kr=new Array(Hr),ri=new Array(Hr),ui=new Array(ei),si,ti;if(Ae){var ji=new M,vn=new Array(ei),Ln;for(Rr=-1;++Rr<ei;)(si=_r[Rr])&&(ji.has(Ln=Ae.call(si,si.__data__,Rr))?ui[Rr]=si:ji.set(Ln,si),vn[Rr]=Ln);for(Rr=-1;++Rr<Hr;)(si=ji.get(Ln=Ae.call(Ir,ti=Ir[Rr],Rr)))?si!==!0&&(Kr[Rr]=si,si.__data__=ti):ri[Rr]=Me(ti),ji.set(Ln,!0);for(Rr=-1;++Rr<ei;)Rr in vn&&ji.get(vn[Rr])!==!0&&(ui[Rr]=_r[Rr])}else{for(Rr=-1;++Rr<qr;)si=_r[Rr],ti=Ir[Rr],si?(si.__data__=ti,Kr[Rr]=si):ri[Rr]=Me(ti);for(;Rr<Hr;++Rr)ri[Rr]=Me(Ir[Rr]);for(;Rr<ei;++Rr)ui[Rr]=_r[Rr]}ri.update=Kr,ri.parentNode=Kr.parentNode=ui.parentNode=_r.parentNode,vt.push(ri),qt.push(Kr),dr.push(ui)}var vt=Ue([]),qt=re([]),dr=re([]);if(typeof he=="function")for(;++Be<Ze;)Lt(tt=this[Be],he.call(tt,tt.parentNode.__data__,Be));else for(;++Be<Ze;)Lt(tt=this[Be],he);return qt.enter=function(){return vt},qt.exit=function(){return dr},qt};function Me(he){return{__data__:he}}Q.datum=function(he){return arguments.length?this.property("__data__",he):this.property("__data__")},Q.filter=function(he){var Ae=[],Be,Ze,tt;typeof he!="function"&&(he=Se(he));for(var at=0,Lt=this.length;at<Lt;at++){Ae.push(Be=[]),Be.parentNode=(Ze=this[at]).parentNode;for(var vt=0,qt=Ze.length;vt<qt;vt++)(tt=Ze[vt])&&he.call(tt,tt.__data__,vt,at)&&Be.push(tt)}return re(Ae)};function Se(he){return function(){return te(this,he)}}Q.order=function(){for(var he=-1,Ae=this.length;++he<Ae;)for(var Be=this[he],Ze=Be.length-1,tt=Be[Ze],at;--Ze>=0;)(at=Be[Ze])&&(tt&&tt!==at.nextSibling&&tt.parentNode.insertBefore(at,tt),tt=at);return this},Q.sort=function(he){he=be.apply(this,arguments);for(var Ae=-1,Be=this.length;++Ae<Be;)this[Ae].sort(he);return this.order()};function be(he){return arguments.length||(he=f),function(Ae,Be){return Ae&&Be?he(Ae.__data__,Be.__data__):!Ae-!Be}}Q.each=function(he){return Ne(this,function(Ae,Be,Ze){he.call(Ae,Ae.__data__,Be,Ze)})};function Ne(he,Ae){for(var Be=0,Ze=he.length;Be<Ze;Be++)for(var tt=he[Be],at=0,Lt=tt.length,vt;at<Lt;at++)(vt=tt[at])&&Ae(vt,at,Be);return he}Q.call=function(he){var Ae=c(arguments);return he.apply(Ae[0]=this,Ae),this},Q.empty=function(){return!this.node()},Q.node=function(){for(var he=0,Ae=this.length;he<Ae;he++)for(var Be=this[he],Ze=0,tt=Be.length;Ze<tt;Ze++){var at=Be[Ze];if(at)return at}return null},Q.size=function(){var he=0;return Ne(this,function(){++he}),he};function Ue(he){return ue(he,dt),he}var dt=[];i.selection.enter=Ue,i.selection.enter.prototype=dt,dt.append=Q.append,dt.empty=Q.empty,dt.node=Q.node,dt.call=Q.call,dt.size=Q.size,dt.select=function(he){for(var Ae=[],Be,Ze,tt,at,Lt,vt=-1,qt=this.length;++vt<qt;){tt=(at=this[vt]).update,Ae.push(Be=[]),Be.parentNode=at.parentNode;for(var dr=-1,_r=at.length;++dr<_r;)(Lt=at[dr])?(Be.push(tt[dr]=Ze=he.call(at.parentNode,Lt.__data__,dr,vt)),Ze.__data__=Lt.__data__):Be.push(null)}return re(Ae)},dt.insert=function(he,Ae){return arguments.length<2&&(Ae=yt(this)),Q.insert.call(this,he,Ae)};function yt(he){var Ae,Be;return function(Ze,tt,at){var Lt=he[at].update,vt=Lt.length,qt;for(at!=Be&&(Be=at,Ae=0),tt>=Ae&&(Ae=tt+1);!(qt=Lt[Ae])&&++Ae<vt;);return qt}}i.select=function(he){var Ae;return typeof he=="string"?(Ae=[V(he,a)],Ae.parentNode=a.documentElement):(Ae=[he],Ae.parentNode=o(he)),re([Ae])},i.selectAll=function(he){var Ae;return typeof he=="string"?(Ae=c(Y(he,a)),Ae.parentNode=a.documentElement):(Ae=c(he),Ae.parentNode=null),re([Ae])},Q.on=function(he,Ae,Be){var Ze=arguments.length;if(Ze<3){if(typeof he!="string"){Ze<2&&(Ae=!1);for(Be in he)this.each(At(Be,he[Be],Ae));return this}if(Ze<2)return(Ze=this.node()["__on"+he])&&Ze._;Be=!1}return this.each(At(he,Ae,Be))};function At(he,Ae,Be){var Ze="__on"+he,tt=he.indexOf("."),at=nr;tt>0&&(he=he.slice(0,tt));var Lt=Et.get(he);Lt&&(he=Lt,at=Ht);function vt(){var _r=this[Ze];_r&&(this.removeEventListener(he,_r,_r.$),delete this[Ze])}function qt(){var _r=at(Ae,c(arguments));vt.call(this),this.addEventListener(he,this[Ze]=_r,_r.$=Be),_r._=Ae}function dr(){var _r=new RegExp("^__on([^.]+)"+i.requote(he)+"$"),Ir;for(var Rr in this)if(Ir=Rr.match(_r)){var ei=this[Rr];this.removeEventListener(Ir[1],ei,ei.$),delete this[Rr]}}return tt?Ae?qt:vt:Ae?G:dr}var Et=i.map({mouseenter:"mouseover",mouseleave:"mouseout"});a&&Et.forEach(function(he){"on"+he in a&&Et.remove(he)});function nr(he,Ae){return function(Be){var Ze=i.event;i.event=Be,Ae[0]=this.__data__;try{he.apply(this,Ae)}finally{i.event=Ze}}}function Ht(he,Ae){var Be=nr(he,Ae);return function(Ze){var tt=this,at=Ze.relatedTarget;(!at||at!==tt&&!(at.compareDocumentPosition(tt)&8))&&Be.call(tt,Ze)}}var vr,sr=0;function hr(he){var Ae=".dragsuppress-"+ ++sr,Be="click"+Ae,Ze=i.select(e(he)).on("touchmove"+Ae,ae).on("dragstart"+Ae,ae).on("selectstart"+Ae,ae);if(vr==null&&(vr="onselectstart"in he?!1:R(he.style,"userSelect")),vr){var tt=o(he).style,at=tt[vr];tt[vr]="none"}return function(Lt){if(Ze.on(Ae,null),vr&&(tt[vr]=at),Lt){var vt=function(){Ze.on(Be,null)};Ze.on(Be,function(){ae(),vt()},!0),setTimeout(vt,0)}}}i.mouse=function(he){return bt(he,ne())};var Vt=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function bt(he,Ae){Ae.changedTouches&&(Ae=Ae.changedTouches[0]);var Be=he.ownerSVGElement||he;if(Be.createSVGPoint){var Ze=Be.createSVGPoint();if(Vt<0){var tt=e(he);if(tt.scrollX||tt.scrollY){Be=i.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var at=Be[0][0].getScreenCTM();Vt=!(at.f||at.e),Be.remove()}}return Vt?(Ze.x=Ae.pageX,Ze.y=Ae.pageY):(Ze.x=Ae.clientX,Ze.y=Ae.clientY),Ze=Ze.matrixTransform(he.getScreenCTM().inverse()),[Ze.x,Ze.y]}var Lt=he.getBoundingClientRect();return[Ae.clientX-Lt.left-he.clientLeft,Ae.clientY-Lt.top-he.clientTop]}i.touch=function(he,Ae,Be){if(arguments.length<3&&(Be=Ae,Ae=ne().changedTouches),Ae){for(var Ze=0,tt=Ae.length,at;Ze<tt;++Ze)if((at=Ae[Ze]).identifier===Be)return bt(he,at)}},i.behavior.drag=function(){var he=oe(tt,"drag","dragstart","dragend"),Ae=null,Be=at(G,i.mouse,e,"mousemove","mouseup"),Ze=at(Mt,i.touch,O,"touchmove","touchend");function tt(){this.on("mousedown.drag",Be).on("touchstart.drag",Ze)}function at(Lt,vt,qt,dr,_r){return function(){var Ir=this,Rr=i.event.target.correspondingElement||i.event.target,ei=Ir.parentNode,Hr=he.of(Ir,arguments),qr=0,Kr=Lt(),ri=".drag"+(Kr==null?"":"-"+Kr),ui,si=i.select(qt(Rr)).on(dr+ri,vn).on(_r+ri,Ln),ti=hr(Rr),ji=vt(ei,Kr);Ae?(ui=Ae.apply(Ir,arguments),ui=[ui.x-ji[0],ui.y-ji[1]]):ui=[0,0],Hr({type:"dragstart"});function vn(){var gn=vt(ei,Kr),Nn,qn;gn&&(Nn=gn[0]-ji[0],qn=gn[1]-ji[1],qr|=Nn|qn,ji=gn,Hr({type:"drag",x:gn[0]+ui[0],y:gn[1]+ui[1],dx:Nn,dy:qn}))}function Ln(){vt(ei,Kr)&&(si.on(dr+ri,null).on(_r+ri,null),ti(qr),Hr({type:"dragend"}))}}}return tt.origin=function(Lt){return arguments.length?(Ae=Lt,tt):Ae},i.rebind(tt,he,"on")};function Mt(){return i.event.changedTouches[0].identifier}i.touches=function(he,Ae){return arguments.length<2&&(Ae=ne().touches),Ae?c(Ae).map(function(Be){var Ze=bt(he,Be);return Ze.identifier=Be.identifier,Ze}):[]};var Dt=1e-6,Ve=Dt*Dt,De=Math.PI,Oe=2*De,Re=Oe-Dt,et=De/2,ct=De/180,lt=180/De;function Ft(he,Ae,Be){return(Ae[0]-he[0])*(Be[1]-he[1])-(Ae[1]-he[1])*(Be[0]-he[0])}function tr(he){return he>1?et:he<-1?-et:Math.asin(he)}function xr(he){return((he=Math.exp(he))-1/he)/2}function cr(he){return((he=Math.exp(he))+1/he)/2}function ar(he){return((he=Math.exp(2*he))-1)/(he+1)}var lr=Math.SQRT2,Wr=2,di=4;i.interpolateZoom=function(he,Ae){var Be=he[0],Ze=he[1],tt=he[2],at=Ae[0],Lt=Ae[1],vt=Ae[2],qt=at-Be,dr=Lt-Ze,_r=qt*qt+dr*dr,Ir,Rr;if(_r<Ve)Rr=Math.log(vt/tt)/lr,Ir=function(ui){return[Be+ui*qt,Ze+ui*dr,tt*Math.exp(lr*ui*Rr)]};else{var ei=Math.sqrt(_r),Hr=(vt*vt-tt*tt+di*_r)/(2*tt*Wr*ei),qr=(vt*vt-tt*tt-di*_r)/(2*vt*Wr*ei),Kr=Math.log(Math.sqrt(Hr*Hr+1)-Hr),ri=Math.log(Math.sqrt(qr*qr+1)-qr);Rr=(ri-Kr)/lr,Ir=function(ui){var si=ui*Rr,ti=cr(Kr),ji=tt/(Wr*ei)*(ti*ar(lr*si+Kr)-xr(Kr));return[Be+ji*qt,Ze+ji*dr,tt*ti/cr(lr*si+Kr)]}}return Ir.duration=Rr*1e3,Ir},i.behavior.zoom=function(){var he={x:0,y:0,k:1},Ae,Be,Ze,tt=[960,500],at=Ut,Lt=250,vt=0,qt="mousedown.zoom",dr="mousemove.zoom",_r="mouseup.zoom",Ir,Rr="touchstart.zoom",ei,Hr=oe(si,"zoomstart","zoom","zoomend"),qr,Kr,ri,ui;kt||(kt="onwheel"in a?(Tt=function(){return-i.event.deltaY*(i.event.deltaMode?120:1)},"wheel"):"onmousewheel"in a?(Tt=function(){return i.event.wheelDelta},"mousewheel"):(Tt=function(){return-i.event.detail},"MozMousePixelScroll"));function si(Mn){Mn.on(qt,fa).on(kt+".zoom",Oo).on("dblclick.zoom",No).on(Rr,Wa)}si.event=function(Mn){Mn.each(function(){var Ca=Hr.of(this,arguments),Xa=he;lc?i.select(this).transition().each("start.zoom",function(){he=this.__chart__||{x:0,y:0,k:1},qn(Ca)}).tween("zoom:zoom",function(){var io=tt[0],qo=tt[1],$o=Be?Be[0]:io/2,_s=Be?Be[1]:qo/2,qa=i.interpolateZoom([($o-he.x)/he.k,(_s-he.y)/he.k,io/he.k],[($o-Xa.x)/Xa.k,(_s-Xa.y)/Xa.k,io/Xa.k]);return function(Rl){var Sl=qa(Rl),Ms=io/Sl[2];this.__chart__=he={x:$o-Sl[0]*Ms,y:_s-Sl[1]*Ms,k:Ms},Sa(Ca)}}).each("interrupt.zoom",function(){aa(Ca)}).each("end.zoom",function(){aa(Ca)}):(this.__chart__=he,qn(Ca),Sa(Ca),aa(Ca))})},si.translate=function(Mn){return arguments.length?(he={x:+Mn[0],y:+Mn[1],k:he.k},Nn(),si):[he.x,he.y]},si.scale=function(Mn){return arguments.length?(he={x:he.x,y:he.y,k:null},vn(+Mn),Nn(),si):he.k},si.scaleExtent=function(Mn){return arguments.length?(at=Mn==null?Ut:[+Mn[0],+Mn[1]],si):at},si.center=function(Mn){return arguments.length?(Ze=Mn&&[+Mn[0],+Mn[1]],si):Ze},si.size=function(Mn){return arguments.length?(tt=Mn&&[+Mn[0],+Mn[1]],si):tt},si.duration=function(Mn){return arguments.length?(Lt=+Mn,si):Lt},si.x=function(Mn){return arguments.length?(Kr=Mn,qr=Mn.copy(),he={x:0,y:0,k:1},si):Kr},si.y=function(Mn){return arguments.length?(ui=Mn,ri=Mn.copy(),he={x:0,y:0,k:1},si):ui};function ti(Mn){return[(Mn[0]-he.x)/he.k,(Mn[1]-he.y)/he.k]}function ji(Mn){return[Mn[0]*he.k+he.x,Mn[1]*he.k+he.y]}function vn(Mn){he.k=Math.max(at[0],Math.min(at[1],Mn))}function Ln(Mn,Ca){Ca=ji(Ca),he.x+=Mn[0]-Ca[0],he.y+=Mn[1]-Ca[1]}function gn(Mn,Ca,Xa,io){Mn.__chart__={x:he.x,y:he.y,k:he.k},vn(Math.pow(2,io)),Ln(Be=Ca,Xa),Mn=i.select(Mn),Lt>0&&(Mn=Mn.transition().duration(Lt)),Mn.call(si.event)}function Nn(){Kr&&Kr.domain(qr.range().map(function(Mn){return(Mn-he.x)/he.k}).map(qr.invert)),ui&&ui.domain(ri.range().map(function(Mn){return(Mn-he.y)/he.k}).map(ri.invert))}function qn(Mn){vt++||Mn({type:"zoomstart"})}function Sa(Mn){Nn(),Mn({type:"zoom",scale:he.k,translate:[he.x,he.y]})}function aa(Mn){--vt||(Mn({type:"zoomend"}),Be=null)}function fa(){var Mn=this,Ca=Hr.of(Mn,arguments),Xa=0,io=i.select(e(Mn)).on(dr,_s).on(_r,qa),qo=ti(i.mouse(Mn)),$o=hr(Mn);Rh.call(Mn),qn(Ca);function _s(){Xa=1,Ln(i.mouse(Mn),qo),Sa(Ca)}function qa(){io.on(dr,null).on(_r,null),$o(Xa),aa(Ca)}}function Wa(){var Mn=this,Ca=Hr.of(Mn,arguments),Xa={},io=0,qo,$o=".zoom-"+i.event.changedTouches[0].identifier,_s="touchmove"+$o,qa="touchend"+$o,Rl=[],Sl=i.select(Mn),Ms=hr(Mn);jr(),qn(Ca),Sl.on(qt,null).on(Rr,jr);function Wt(){var Fi=i.touches(Mn);return qo=he.k,Fi.forEach(function(Nr){Nr.identifier in Xa&&(Xa[Nr.identifier]=ti(Nr))}),Fi}function jr(){var Fi=i.event.target;i.select(Fi).on(_s,$r).on(qa,Ei),Rl.push(Fi);for(var Nr=i.event.changedTouches,oi=0,yn=Nr.length;oi<yn;++oi)Xa[Nr[oi].identifier]=null;var pn=Wt(),_n=Date.now();if(pn.length===1){if(_n-ei<500){var Tn=pn[0];gn(Mn,Tn,Xa[Tn.identifier],Math.floor(Math.log(he.k)/Math.LN2)+1),ae()}ei=_n}else if(pn.length>1){var Tn=pn[0],Jn=pn[1],Zn=Tn[0]-Jn[0],Qi=Tn[1]-Jn[1];io=Zn*Zn+Qi*Qi}}function $r(){var Fi=i.touches(Mn),Nr,oi,yn,pn;Rh.call(Mn);for(var _n=0,Tn=Fi.length;_n<Tn;++_n,pn=null)if(yn=Fi[_n],pn=Xa[yn.identifier]){if(oi)break;Nr=yn,oi=pn}if(pn){var Jn=(Jn=yn[0]-Nr[0])*Jn+(Jn=yn[1]-Nr[1])*Jn,Zn=io&&Math.sqrt(Jn/io);Nr=[(Nr[0]+yn[0])/2,(Nr[1]+yn[1])/2],oi=[(oi[0]+pn[0])/2,(oi[1]+pn[1])/2],vn(Zn*qo)}ei=null,Ln(Nr,oi),Sa(Ca)}function Ei(){if(i.event.touches.length){for(var Fi=i.event.changedTouches,Nr=0,oi=Fi.length;Nr<oi;++Nr)delete Xa[Fi[Nr].identifier];for(var yn in Xa)return void Wt()}i.selectAll(Rl).on($o,null),Sl.on(qt,fa).on(Rr,Wa),Ms(),aa(Ca)}}function Oo(){var Mn=Hr.of(this,arguments);Ir?clearTimeout(Ir):(Rh.call(this),Ae=ti(Be=Ze||i.mouse(this)),qn(Mn)),Ir=setTimeout(function(){Ir=null,aa(Mn)},50),ae(),vn(Math.pow(2,Tt()*.002)*he.k),Ln(Be,Ae),Sa(Mn)}function No(){var Mn=i.mouse(this),Ca=Math.log(he.k)/Math.LN2;gn(this,Mn,ti(Mn),i.event.shiftKey?Math.ceil(Ca)-1:Math.floor(Ca)+1)}return i.rebind(si,Hr,"on")};var Ut=[0,1/0],Tt,kt;i.color=It;function It(){}It.prototype.toString=function(){return this.rgb()+""},i.hsl=Qt;function Qt(he,Ae,Be){return this instanceof Qt?(this.h=+he,this.s=+Ae,void(this.l=+Be)):arguments.length<2?he instanceof Qt?new Qt(he.h,he.s,he.l):Tr(""+he,Yt,Qt):new Qt(he,Ae,Be)}var Er=Qt.prototype=new It;Er.brighter=function(he){return he=Math.pow(.7,arguments.length?he:1),new Qt(this.h,this.s,this.l/he)},Er.darker=function(he){return he=Math.pow(.7,arguments.length?he:1),new Qt(this.h,this.s,he*this.l)},Er.rgb=function(){return Br(this.h,this.s,this.l)};function Br(he,Ae,Be){var Ze,tt;he=isNaN(he)?0:(he%=360)<0?he+360:he,Ae=isNaN(Ae)||Ae<0?0:Ae>1?1:Ae,Be=Be<0?0:Be>1?1:Be,tt=Be<=.5?Be*(1+Ae):Be+Ae-Be*Ae,Ze=2*Be-tt;function at(vt){return vt>360?vt-=360:vt<0&&(vt+=360),vt<60?Ze+(tt-Ze)*vt/60:vt<180?tt:vt<240?Ze+(tt-Ze)*(240-vt)/60:Ze}function Lt(vt){return Math.round(at(vt)*255)}return new Zt(Lt(he+120),Lt(he),Lt(he-120))}i.hcl=wr;function wr(he,Ae,Be){return this instanceof wr?(this.h=+he,this.c=+Ae,void(this.l=+Be)):arguments.length<2?he instanceof wr?new wr(he.h,he.c,he.l):he instanceof _t?Ur(he.l,he.a,he.b):Ur((he=Ar((he=i.rgb(he)).r,he.g,he.b)).l,he.a,he.b):new wr(he,Ae,Be)}var ht=wr.prototype=new It;ht.brighter=function(he){return new wr(this.h,this.c,Math.min(100,this.l+St*(arguments.length?he:1)))},ht.darker=function(he){return new wr(this.h,this.c,Math.max(0,this.l-St*(arguments.length?he:1)))},ht.rgb=function(){return ot(this.h,this.c,this.l).rgb()};function ot(he,Ae,Be){return isNaN(he)&&(he=0),isNaN(Ae)&&(Ae=0),new _t(Be,Math.cos(he*=ct)*Ae,Math.sin(he)*Ae)}i.lab=_t;function _t(he,Ae,Be){return this instanceof _t?(this.l=+he,this.a=+Ae,void(this.b=+Be)):arguments.length<2?he instanceof _t?new _t(he.l,he.a,he.b):he instanceof wr?ot(he.h,he.c,he.l):Ar((he=Zt(he)).r,he.g,he.b):new _t(he,Ae,Be)}var St=18,Ot=.95047,yr=1,Lr=1.08883,Pr=_t.prototype=new It;Pr.brighter=function(he){return new _t(Math.min(100,this.l+St*(arguments.length?he:1)),this.a,this.b)},Pr.darker=function(he){return new _t(Math.max(0,this.l-St*(arguments.length?he:1)),this.a,this.b)},Pr.rgb=function(){return Dr(this.l,this.a,this.b)};function Dr(he,Ae,Be){var Ze=(he+16)/116,tt=Ze+Ae/500,at=Ze-Be/200;return tt=Cr(tt)*Ot,Ze=Cr(Ze)*yr,at=Cr(at)*Lr,new Zt(Ge(3.2404542*tt-1.5371385*Ze-.4985314*at),Ge(-.969266*tt+1.8760108*Ze+.041556*at),Ge(.0556434*tt-.2040259*Ze+1.0572252*at))}function Ur(he,Ae,Be){return he>0?new wr(Math.atan2(Be,Ae)*lt,Math.sqrt(Ae*Ae+Be*Be),he):new wr(NaN,NaN,he)}function Cr(he){return he>.206893034?he*he*he:(he-4/29)/7.787037}function Je(he){return he>.008856?Math.pow(he,1/3):7.787037*he+4/29}function Ge(he){return Math.round(255*(he<=.00304?12.92*he:1.055*Math.pow(he,1/2.4)-.055))}i.rgb=Zt;function Zt(he,Ae,Be){return this instanceof Zt?(this.r=~~he,this.g=~~Ae,void(this.b=~~Be)):arguments.length<2?he instanceof Zt?new Zt(he.r,he.g,he.b):Tr(""+he,Zt,Br):new Zt(he,Ae,Be)}function fr(he){return new Zt(he>>16,he>>8&255,he&255)}function jt(he){return fr(he)+""}var Kt=Zt.prototype=new It;Kt.brighter=function(he){he=Math.pow(.7,arguments.length?he:1);var Ae=this.r,Be=this.g,Ze=this.b,tt=30;return!Ae&&!Be&&!Ze?new Zt(tt,tt,tt):(Ae&&Ae<tt&&(Ae=tt),Be&&Be<tt&&(Be=tt),Ze&&Ze<tt&&(Ze=tt),new Zt(Math.min(255,Ae/he),Math.min(255,Be/he),Math.min(255,Ze/he)))},Kt.darker=function(he){return he=Math.pow(.7,arguments.length?he:1),new Zt(he*this.r,he*this.g,he*this.b)},Kt.hsl=function(){return Yt(this.r,this.g,this.b)},Kt.toString=function(){return"#"+gr(this.r)+gr(this.g)+gr(this.b)};function gr(he){return he<16?"0"+Math.max(0,he).toString(16):Math.min(255,he).toString(16)}function Tr(he,Ae,Be){var Ze=0,tt=0,at=0,Lt,vt,qt;if(Lt=/([a-z]+)\((.*)\)/.exec(he=he.toLowerCase()),Lt)switch(vt=Lt[2].split(","),Lt[1]){case"hsl":return Be(parseFloat(vt[0]),parseFloat(vt[1])/100,parseFloat(vt[2])/100);case"rgb":return Ae(ni(vt[0]),ni(vt[1]),ni(vt[2]))}return(qt=ii.get(he))?Ae(qt.r,qt.g,qt.b):(he!=null&&he.charAt(0)==="#"&&!isNaN(qt=parseInt(he.slice(1),16))&&(he.length===4?(Ze=(qt&3840)>>4,Ze=Ze>>4|Ze,tt=qt&240,tt=tt>>4|tt,at=qt&15,at=at<<4|at):he.length===7&&(Ze=(qt&16711680)>>16,tt=(qt&65280)>>8,at=qt&255)),Ae(Ze,tt,at))}function Yt(he,Ae,Be){var Ze=Math.min(he/=255,Ae/=255,Be/=255),tt=Math.max(he,Ae,Be),at=tt-Ze,Lt,vt,qt=(tt+Ze)/2;return at?(vt=qt<.5?at/(tt+Ze):at/(2-tt-Ze),he==tt?Lt=(Ae-Be)/at+(Ae<Be?6:0):Ae==tt?Lt=(Be-he)/at+2:Lt=(he-Ae)/at+4,Lt*=60):(Lt=NaN,vt=qt>0&&qt<1?0:Lt),new Qt(Lt,vt,qt)}function Ar(he,Ae,Be){he=Or(he),Ae=Or(Ae),Be=Or(Be);var Ze=Je((.4124564*he+.3575761*Ae+.1804375*Be)/Ot),tt=Je((.2126729*he+.7151522*Ae+.072175*Be)/yr),at=Je((.0193339*he+.119192*Ae+.9503041*Be)/Lr);return _t(116*tt-16,500*(Ze-tt),200*(tt-at))}function Or(he){return(he/=255)<=.04045?he/12.92:Math.pow((he+.055)/1.055,2.4)}function ni(he){var Ae=parseFloat(he);return he.charAt(he.length-1)==="%"?Math.round(Ae*2.55):Ae}var ii=i.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});ii.forEach(function(he,Ae){ii.set(he,fr(Ae))});function vi(he){return typeof he=="function"?he:function(){return he}}i.functor=vi,i.xhr=mi(O);function mi(he){return function(Ae,Be,Ze){return arguments.length===2&&typeof Be=="function"&&(Ze=Be,Be=null),cn(Ae,Be,he,Ze)}}function cn(he,Ae,Be,Ze){var tt={},at=i.dispatch("beforesend","progress","load","error"),Lt={},vt=new XMLHttpRequest,qt=null;self.XDomainRequest&&!("withCredentials"in vt)&&/^(http(s)?:)?\/\//.test(he)&&(vt=new XDomainRequest),"onload"in vt?vt.onload=vt.onerror=dr:vt.onreadystatechange=function(){vt.readyState>3&&dr()};function dr(){var _r=vt.status,Ir;if(!_r&&ln(vt)||_r>=200&&_r<300||_r===304){try{Ir=Be.call(tt,vt)}catch(Rr){at.error.call(tt,Rr);return}at.load.call(tt,Ir)}else at.error.call(tt,vt)}return vt.onprogress=function(_r){var Ir=i.event;i.event=_r;try{at.progress.call(tt,vt)}finally{i.event=Ir}},tt.header=function(_r,Ir){return _r=(_r+"").toLowerCase(),arguments.length<2?Lt[_r]:(Ir==null?delete Lt[_r]:Lt[_r]=Ir+"",tt)},tt.mimeType=function(_r){return arguments.length?(Ae=_r==null?null:_r+"",tt):Ae},tt.responseType=function(_r){return arguments.length?(qt=_r,tt):qt},tt.response=function(_r){return Be=_r,tt},["get","post"].forEach(function(_r){tt[_r]=function(){return tt.send.apply(tt,[_r].concat(c(arguments)))}}),tt.send=function(_r,Ir,Rr){if(arguments.length===2&&typeof Ir=="function"&&(Rr=Ir,Ir=null),vt.open(_r,he,!0),Ae!=null&&!("accept"in Lt)&&(Lt.accept=Ae+",*/*"),vt.setRequestHeader)for(var ei in Lt)vt.setRequestHeader(ei,Lt[ei]);return Ae!=null&&vt.overrideMimeType&&vt.overrideMimeType(Ae),qt!=null&&(vt.responseType=qt),Rr!=null&&tt.on("error",Rr).on("load",function(Hr){Rr(null,Hr)}),at.beforesend.call(tt,vt),vt.send(Ir??null),tt},tt.abort=function(){return vt.abort(),tt},i.rebind(tt,at,"on"),Ze==null?tt:tt.get(zi(Ze))}function zi(he){return he.length===1?function(Ae,Be){he(Ae==null?Be:null)}:he}function ln(he){var Ae=he.responseType;return Ae&&Ae!=="text"?he.response:he.responseText}i.dsv=function(he,Ae){var Be=new RegExp('["'+he+`
2
2
  ]`),Ze=he.charCodeAt(0);function tt(dr,_r,Ir){arguments.length<3&&(Ir=_r,_r=null);var Rr=cn(dr,Ae,_r==null?at:Lt(_r),Ir);return Rr.row=function(ei){return arguments.length?Rr.response((_r=ei)==null?at:Lt(ei)):_r},Rr}function at(dr){return tt.parse(dr.responseText)}function Lt(dr){return function(_r){return tt.parse(_r.responseText,dr)}}tt.parse=function(dr,_r){var Ir;return tt.parseRows(dr,function(Rr,ei){if(Ir)return Ir(Rr,ei-1);var Hr=function(qr){for(var Kr={},ri=Rr.length,ui=0;ui<ri;++ui)Kr[Rr[ui]]=qr[ui];return Kr};Ir=_r?function(qr,Kr){return _r(Hr(qr),Kr)}:Hr})},tt.parseRows=function(dr,_r){var Ir={},Rr={},ei=[],Hr=dr.length,qr=0,Kr=0,ri,ui;function si(){if(qr>=Hr)return Rr;if(ui)return ui=!1,Ir;var ji=qr;if(dr.charCodeAt(ji)===34){for(var vn=ji;vn++<Hr;)if(dr.charCodeAt(vn)===34){if(dr.charCodeAt(vn+1)!==34)break;++vn}qr=vn+2;var Ln=dr.charCodeAt(vn+1);return Ln===13?(ui=!0,dr.charCodeAt(vn+2)===10&&++qr):Ln===10&&(ui=!0),dr.slice(ji+1,vn).replace(/""/g,'"')}for(;qr<Hr;){var Ln=dr.charCodeAt(qr++),gn=1;if(Ln===10)ui=!0;else if(Ln===13)ui=!0,dr.charCodeAt(qr)===10&&(++qr,++gn);else if(Ln!==Ze)continue;return dr.slice(ji,qr-gn)}return dr.slice(ji)}for(;(ri=si())!==Rr;){for(var ti=[];ri!==Ir&&ri!==Rr;)ti.push(ri),ri=si();_r&&(ti=_r(ti,Kr++))==null||ei.push(ti)}return ei},tt.format=function(dr){if(Array.isArray(dr[0]))return tt.formatRows(dr);var _r=new N,Ir=[];return dr.forEach(function(Rr){for(var ei in Rr)_r.has(ei)||Ir.push(_r.add(ei))}),[Ir.map(qt).join(he)].concat(dr.map(function(Rr){return Ir.map(function(ei){return qt(Rr[ei])}).join(he)})).join(`
3
3
  `)},tt.formatRows=function(dr){return dr.map(vt).join(`
4
4
  `)};function vt(dr){return dr.map(qt).join(he)}function qt(dr){return Be.test(dr)?'"'+dr.replace(/\"/g,'""')+'"':dr}return tt},i.csv=i.dsv(",","text/csv"),i.tsv=i.dsv(" ","text/tab-separated-values");var qi,Gi,Xi,fn,tn=this[R(this,"requestAnimationFrame")]||function(he){setTimeout(he,17)};i.timer=function(){Ra.apply(this,arguments)};function Ra(he,Ae,Be){var Ze=arguments.length;Ze<2&&(Ae=0),Ze<3&&(Be=Date.now());var tt=Be+Ae,at={c:he,t:tt,n:null};return Gi?Gi.n=at:qi=at,Gi=at,Xi||(fn=clearTimeout(fn),Xi=1,tn(Ai)),at}function Ai(){var he=ya(),Ae=So()-he;Ae>24?(isFinite(Ae)&&(clearTimeout(fn),fn=setTimeout(Ai,Ae)),Xi=0):(Xi=1,tn(Ai))}i.timer.flush=function(){ya(),So()};function ya(){for(var he=Date.now(),Ae=qi;Ae;)he>=Ae.t&&Ae.c(he-Ae.t)&&(Ae.c=null),Ae=Ae.n;return he}function So(){for(var he,Ae=qi,Be=1/0;Ae;)Ae.c?(Ae.t<Be&&(Be=Ae.t),Ae=(he=Ae).n):Ae=he?he.n=Ae.n:qi=Ae.n;return Gi=he,Be}i.round=function(he,Ae){return Ae?Math.round(he*(Ae=Math.pow(10,Ae)))/Ae:Math.round(he)},i.geom={};function Wo(he){return he[0]}function ja(he){return he[1]}i.geom.hull=function(he){var Ae=Wo,Be=ja;if(arguments.length)return Ze(he);function Ze(tt){if(tt.length<3)return[];var at=vi(Ae),Lt=vi(Be),vt,qt=tt.length,dr=[],_r=[];for(vt=0;vt<qt;vt++)dr.push([+at.call(this,tt[vt],vt),+Lt.call(this,tt[vt],vt),vt]);for(dr.sort(nn),vt=0;vt<qt;vt++)_r.push([dr[vt][0],-dr[vt][1]]);var Ir=hn(dr),Rr=hn(_r),ei=Rr[0]===Ir[0],Hr=Rr[Rr.length-1]===Ir[Ir.length-1],qr=[];for(vt=Ir.length-1;vt>=0;--vt)qr.push(tt[dr[Ir[vt]][2]]);for(vt=+ei;vt<Rr.length-Hr;++vt)qr.push(tt[dr[Rr[vt]][2]]);return qr}return Ze.x=function(tt){return arguments.length?(Ae=tt,Ze):Ae},Ze.y=function(tt){return arguments.length?(Be=tt,Ze):Be},Ze};function hn(he){for(var Ae=he.length,Be=[0,1],Ze=2,tt=2;tt<Ae;tt++){for(;Ze>1&&Ft(he[Be[Ze-2]],he[Be[Ze-1]],he[tt])<=0;)--Ze;Be[Ze++]=tt}return Be.slice(0,Ze)}function nn(he,Ae){return he[0]-Ae[0]||he[1]-Ae[1]}i.geom.polygon=function(he){return ue(he,la),he};var la=i.geom.polygon.prototype=[];la.area=function(){for(var he=-1,Ae=this.length,Be,Ze=this[Ae-1],tt=0;++he<Ae;)Be=Ze,Ze=this[he],tt+=Be[1]*Ze[0]-Be[0]*Ze[1];return tt*.5},la.centroid=function(he){var Ae=-1,Be=this.length,Ze=0,tt=0,at,Lt=this[Be-1],vt;for(arguments.length||(he=-1/(6*this.area()));++Ae<Be;)at=Lt,Lt=this[Ae],vt=at[0]*Lt[1]-Lt[0]*at[1],Ze+=(at[0]+Lt[0])*vt,tt+=(at[1]+Lt[1])*vt;return[Ze*he,tt*he]},la.clip=function(he){for(var Ae,Be=Pn(he),Ze=-1,tt=this.length-Pn(this),at,Lt,vt=this[tt-1],qt,dr,_r;++Ze<tt;){for(Ae=he.slice(),he.length=0,qt=this[Ze],dr=Ae[(Lt=Ae.length-Be)-1],at=-1;++at<Lt;)_r=Ae[at],to(_r,vt,qt)?(to(dr,vt,qt)||he.push(Zo(dr,_r,vt,qt)),he.push(_r)):to(dr,vt,qt)&&he.push(Zo(dr,_r,vt,qt)),dr=_r;Be&&he.push(he[0]),vt=qt}return he};function to(he,Ae,Be){return(Be[0]-Ae[0])*(he[1]-Ae[1])<(Be[1]-Ae[1])*(he[0]-Ae[0])}function Zo(he,Ae,Be,Ze){var tt=he[0],at=Be[0],Lt=Ae[0]-tt,vt=Ze[0]-at,qt=he[1],dr=Be[1],_r=Ae[1]-qt,Ir=Ze[1]-dr,Rr=(vt*(qt-dr)-Ir*(tt-at))/(Ir*Lt-vt*_r);return[tt+Rr*Lt,qt+Rr*_r]}function Pn(he){var Ae=he[0],Be=he[he.length-1];return!(Ae[0]-Be[0]||Ae[1]-Be[1])}var co,jn,za,Ja=[],Do,Ao,ro=[];function $a(){Cu(this),this.edge=this.site=this.circle=null}function Bs(he){var Ae=Ja.pop()||new $a;return Ae.site=he,Ae}function Uo(he){Qo(he),za.remove(he),Ja.push(he),Cu(he)}function Ys(he){var Ae=he.circle,Be=Ae.x,Ze=Ae.cy,tt={x:Be,y:Ze},at=he.P,Lt=he.N,vt=[he];Uo(he);for(var qt=at;qt.circle&&y(Be-qt.circle.x)<Dt&&y(Ze-qt.circle.cy)<Dt;)at=qt.P,vt.unshift(qt),Uo(qt),qt=at;vt.unshift(qt),Qo(qt);for(var dr=Lt;dr.circle&&y(Be-dr.circle.x)<Dt&&y(Ze-dr.circle.cy)<Dt;)Lt=dr.N,vt.push(dr),Uo(dr),dr=Lt;vt.push(dr),Qo(dr);var _r=vt.length,Ir;for(Ir=1;Ir<_r;++Ir)dr=vt[Ir],qt=vt[Ir-1],Ks(dr.edge,qt.site,dr.site,tt);qt=vt[0],dr=vt[_r-1],dr.edge=On(qt.site,dr.site,null,tt),Os(qt),Os(dr)}function fo(he){for(var Ae=he.x,Be=he.y,Ze,tt,at,Lt,vt=za._;vt;)if(at=Xo(vt,Be)-Ae,at>Dt)vt=vt.L;else if(Lt=Ae-Hi(vt,Be),Lt>Dt){if(!vt.R){Ze=vt;break}vt=vt.R}else{at>-Dt?(Ze=vt.P,tt=vt):Lt>-Dt?(Ze=vt,tt=vt.N):Ze=tt=vt;break}var qt=Bs(he);if(za.insert(Ze,qt),!(!Ze&&!tt)){if(Ze===tt){Qo(Ze),tt=Bs(Ze.site),za.insert(qt,tt),qt.edge=tt.edge=On(Ze.site,qt.site),Os(Ze),Os(tt);return}if(!tt){qt.edge=On(Ze.site,qt.site);return}Qo(Ze),Qo(tt);var dr=Ze.site,_r=dr.x,Ir=dr.y,Rr=he.x-_r,ei=he.y-Ir,Hr=tt.site,qr=Hr.x-_r,Kr=Hr.y-Ir,ri=2*(Rr*Kr-ei*qr),ui=Rr*Rr+ei*ei,si=qr*qr+Kr*Kr,ti={x:(Kr*ui-ei*si)/ri+_r,y:(Rr*si-qr*ui)/ri+Ir};Ks(tt.edge,dr,Hr,ti),qt.edge=On(dr,he,null,ti),tt.edge=On(he,Hr,null,ti),Os(Ze),Os(tt)}}function Xo(he,Ae){var Be=he.site,Ze=Be.x,tt=Be.y,at=tt-Ae;if(!at)return Ze;var Lt=he.P;if(!Lt)return-1/0;Be=Lt.site;var vt=Be.x,qt=Be.y,dr=qt-Ae;if(!dr)return vt;var _r=vt-Ze,Ir=1/at-1/dr,Rr=_r/dr;return Ir?(-Rr+Math.sqrt(Rr*Rr-2*Ir*(_r*_r/(-2*dr)-qt+dr/2+tt-at/2)))/Ir+Ze:(Ze+vt)/2}function Hi(he,Ae){var Be=he.N;if(Be)return Xo(Be,Ae);var Ze=he.site;return Ze.y===Ae?Ze.x:1/0}function Bn(he){this.site=he,this.edges=[]}Bn.prototype.prepare=function(){for(var he=this.edges,Ae=he.length,Be;Ae--;)Be=he[Ae].edge,(!Be.b||!Be.a)&&he.splice(Ae,1);return he.sort($s),he.length};function bl(he){for(var Ae=he[0][0],Be=he[1][0],Ze=he[0][1],tt=he[1][1],at,Lt,vt,qt,dr=jn,_r=dr.length,Ir,Rr,ei,Hr,qr,Kr;_r--;)if(Ir=dr[_r],!(!Ir||!Ir.prepare()))for(ei=Ir.edges,Hr=ei.length,Rr=0;Rr<Hr;)Kr=ei[Rr].end(),vt=Kr.x,qt=Kr.y,qr=ei[++Rr%Hr].start(),at=qr.x,Lt=qr.y,(y(vt-at)>Dt||y(qt-Lt)>Dt)&&(ei.splice(Rr,0,new Ga(Mo(Ir.site,Kr,y(vt-Ae)<Dt&&tt-qt>Dt?{x:Ae,y:y(at-Ae)<Dt?Lt:tt}:y(qt-tt)<Dt&&Be-vt>Dt?{x:y(Lt-tt)<Dt?at:Be,y:tt}:y(vt-Be)<Dt&&qt-Ze>Dt?{x:Be,y:y(at-Be)<Dt?Lt:Ze}:y(qt-Ze)<Dt&&vt-Ae>Dt?{x:y(Lt-Ze)<Dt?at:Ae,y:Ze}:null),Ir.site,null)),++Hr)}function $s(he,Ae){return Ae.angle-he.angle}function Qa(){Cu(this),this.x=this.y=this.arc=this.site=this.cy=null}function Os(he){var Ae=he.P,Be=he.N;if(!(!Ae||!Be)){var Ze=Ae.site,tt=he.site,at=Be.site;if(Ze!==at){var Lt=tt.x,vt=tt.y,qt=Ze.x-Lt,dr=Ze.y-vt,_r=at.x-Lt,Kr=at.y-vt,Ir=2*(qt*Kr-dr*_r);if(!(Ir>=-Ve)){var Rr=qt*qt+dr*dr,ei=_r*_r+Kr*Kr,Hr=(Kr*Rr-dr*ei)/Ir,qr=(qt*ei-_r*Rr)/Ir,Kr=qr+vt,ri=ro.pop()||new Qa;ri.arc=he,ri.site=tt,ri.x=Hr+Lt,ri.y=Kr+Math.sqrt(Hr*Hr+qr*qr),ri.cy=Kr,he.circle=ri;for(var ui=null,si=Ao._;si;)if(ri.y<si.y||ri.y===si.y&&ri.x<=si.x)if(si.L)si=si.L;else{ui=si.P;break}else if(si.R)si=si.R;else{ui=si;break}Ao.insert(ui,ri),ui||(Do=ri)}}}}function Qo(he){var Ae=he.circle;Ae&&(Ae.P||(Do=Ae.N),Ao.remove(Ae),ro.push(Ae),Cu(Ae),he.circle=null)}function ws(he,Ae,Be,Ze){return function(tt){var at=tt.a,Lt=tt.b,vt=at.x,qt=at.y,dr=Lt.x,_r=Lt.y,Ir=0,Rr=1,ei=dr-vt,Hr=_r-qt,qr;if(qr=he-vt,!(!ei&&qr>0)){if(qr/=ei,ei<0){if(qr<Ir)return;qr<Rr&&(Rr=qr)}else if(ei>0){if(qr>Rr)return;qr>Ir&&(Ir=qr)}if(qr=Be-vt,!(!ei&&qr<0)){if(qr/=ei,ei<0){if(qr>Rr)return;qr>Ir&&(Ir=qr)}else if(ei>0){if(qr<Ir)return;qr<Rr&&(Rr=qr)}if(qr=Ae-qt,!(!Hr&&qr>0)){if(qr/=Hr,Hr<0){if(qr<Ir)return;qr<Rr&&(Rr=qr)}else if(Hr>0){if(qr>Rr)return;qr>Ir&&(Ir=qr)}if(qr=Ze-qt,!(!Hr&&qr<0)){if(qr/=Hr,Hr<0){if(qr>Rr)return;qr>Ir&&(Ir=qr)}else if(Hr>0){if(qr<Ir)return;qr<Rr&&(Rr=qr)}return Ir>0&&(tt.a={x:vt+Ir*ei,y:qt+Ir*Hr}),Rr<1&&(tt.b={x:vt+Rr*ei,y:qt+Rr*Hr}),tt}}}}}}function dl(he){for(var Ae=co,Be=ws(he[0][0],he[0][1],he[1][0],he[1][1]),Ze=Ae.length,tt;Ze--;)tt=Ae[Ze],(!mn(tt,he)||!Be(tt)||y(tt.a.x-tt.b.x)<Dt&&y(tt.a.y-tt.b.y)<Dt)&&(tt.a=tt.b=null,Ae.splice(Ze,1))}function mn(he,Ae){var Be=he.b;if(Be)return!0;var Ze=he.a,tt=Ae[0][0],at=Ae[1][0],Lt=Ae[0][1],vt=Ae[1][1],qt=he.l,dr=he.r,_r=qt.x,Ir=qt.y,Rr=dr.x,ei=dr.y,Hr=(_r+Rr)/2,qr=(Ir+ei)/2,Kr,ri;if(ei===Ir){if(Hr<tt||Hr>=at)return;if(_r>Rr){if(!Ze)Ze={x:Hr,y:Lt};else if(Ze.y>=vt)return;Be={x:Hr,y:vt}}else{if(!Ze)Ze={x:Hr,y:vt};else if(Ze.y<Lt)return;Be={x:Hr,y:Lt}}}else if(Kr=(_r-Rr)/(ei-Ir),ri=qr-Kr*Hr,Kr<-1||Kr>1)if(_r>Rr){if(!Ze)Ze={x:(Lt-ri)/Kr,y:Lt};else if(Ze.y>=vt)return;Be={x:(vt-ri)/Kr,y:vt}}else{if(!Ze)Ze={x:(vt-ri)/Kr,y:vt};else if(Ze.y<Lt)return;Be={x:(Lt-ri)/Kr,y:Lt}}else if(Ir<ei){if(!Ze)Ze={x:tt,y:Kr*tt+ri};else if(Ze.x>=at)return;Be={x:at,y:Kr*at+ri}}else{if(!Ze)Ze={x:at,y:Kr*at+ri};else if(Ze.x<tt)return;Be={x:tt,y:Kr*tt+ri}}return he.a=Ze,he.b=Be,!0}function Ta(he,Ae){this.l=he,this.r=Ae,this.a=this.b=null}function On(he,Ae,Be,Ze){var tt=new Ta(he,Ae);return co.push(tt),Be&&Ks(tt,he,Ae,Be),Ze&&Ks(tt,Ae,he,Ze),jn[he.i].edges.push(new Ga(tt,he,Ae)),jn[Ae.i].edges.push(new Ga(tt,Ae,he)),tt}function Mo(he,Ae,Be){var Ze=new Ta(he,null);return Ze.a=Ae,Ze.b=Be,co.push(Ze),Ze}function Ks(he,Ae,Be,Ze){!he.a&&!he.b?(he.a=Ze,he.l=Ae,he.r=Be):he.l===Be?he.b=Ze:he.a=Ze}function Ga(he,Ae,Be){var Ze=he.a,tt=he.b;this.edge=he,this.site=Ae,this.angle=Be?Math.atan2(Be.y-Ae.y,Be.x-Ae.x):he.l===Ae?Math.atan2(tt.x-Ze.x,Ze.y-tt.y):Math.atan2(Ze.x-tt.x,tt.y-Ze.y)}Ga.prototype={start:function(){return this.edge.l===this.site?this.edge.a:this.edge.b},end:function(){return this.edge.l===this.site?this.edge.b:this.edge.a}};function ec(){this._=null}function Cu(he){he.U=he.C=he.L=he.R=he.P=he.N=null}ec.prototype={insert:function(he,Ae){var Be,Ze,tt;if(he){if(Ae.P=he,Ae.N=he.N,he.N&&(he.N.P=Ae),he.N=Ae,he.R){for(he=he.R;he.L;)he=he.L;he.L=Ae}else he.R=Ae;Be=he}else this._?(he=Gl(this._),Ae.P=null,Ae.N=he,he.P=he.L=Ae,Be=he):(Ae.P=Ae.N=null,this._=Ae,Be=null);for(Ae.L=Ae.R=null,Ae.U=Be,Ae.C=!0,he=Ae;Be&&Be.C;)Ze=Be.U,Be===Ze.L?(tt=Ze.R,tt&&tt.C?(Be.C=tt.C=!1,Ze.C=!0,he=Ze):(he===Be.R&&(El(this,Be),he=Be,Be=he.U),Be.C=!1,Ze.C=!0,tc(this,Ze))):(tt=Ze.L,tt&&tt.C?(Be.C=tt.C=!1,Ze.C=!0,he=Ze):(he===Be.L&&(tc(this,Be),he=Be,Be=he.U),Be.C=!1,Ze.C=!0,El(this,Ze))),Be=he.U;this._.C=!1},remove:function(he){he.N&&(he.N.P=he.P),he.P&&(he.P.N=he.N),he.N=he.P=null;var Ae=he.U,Be,Ze=he.L,tt=he.R,at,Lt;if(Ze?tt?at=Gl(tt):at=Ze:at=tt,Ae?Ae.L===he?Ae.L=at:Ae.R=at:this._=at,Ze&&tt?(Lt=at.C,at.C=he.C,at.L=Ze,Ze.U=at,at!==tt?(Ae=at.U,at.U=he.U,he=at.R,Ae.L=he,at.R=tt,tt.U=at):(at.U=Ae,Ae=at,he=at.R)):(Lt=he.C,he=at),he&&(he.U=Ae),!Lt){if(he&&he.C){he.C=!1;return}do{if(he===this._)break;if(he===Ae.L){if(Be=Ae.R,Be.C&&(Be.C=!1,Ae.C=!0,El(this,Ae),Be=Ae.R),Be.L&&Be.L.C||Be.R&&Be.R.C){(!Be.R||!Be.R.C)&&(Be.L.C=!1,Be.C=!0,tc(this,Be),Be=Ae.R),Be.C=Ae.C,Ae.C=Be.R.C=!1,El(this,Ae),he=this._;break}}else if(Be=Ae.L,Be.C&&(Be.C=!1,Ae.C=!0,tc(this,Ae),Be=Ae.L),Be.L&&Be.L.C||Be.R&&Be.R.C){(!Be.L||!Be.L.C)&&(Be.R.C=!1,Be.C=!0,El(this,Be),Be=Ae.L),Be.C=Ae.C,Ae.C=Be.L.C=!1,tc(this,Ae),he=this._;break}Be.C=!0,he=Ae,Ae=Ae.U}while(!he.C);he&&(he.C=!1)}}};function El(he,Ae){var Be=Ae,Ze=Ae.R,tt=Be.U;tt?tt.L===Be?tt.L=Ze:tt.R=Ze:he._=Ze,Ze.U=tt,Be.U=Ze,Be.R=Ze.L,Be.R&&(Be.R.U=Be),Ze.L=Be}function tc(he,Ae){var Be=Ae,Ze=Ae.L,tt=Be.U;tt?tt.L===Be?tt.L=Ze:tt.R=Ze:he._=Ze,Ze.U=tt,Be.U=Ze,Be.L=Ze.R,Be.L&&(Be.L.U=Be),Ze.R=Be}function Gl(he){for(;he.L;)he=he.L;return he}function os(he,Ae){var Be=he.sort(yc).pop(),Ze,tt,at;for(co=[],jn=new Array(he.length),za=new ec,Ao=new ec;;)if(at=Do,Be&&(!at||Be.y<at.y||Be.y===at.y&&Be.x<at.x))(Be.x!==Ze||Be.y!==tt)&&(jn[Be.i]=new Bn(Be),fo(Be),Ze=Be.x,tt=Be.y),Be=he.pop();else if(at)Ys(at.arc);else break;Ae&&(dl(Ae),bl(Ae));var Lt={cells:jn,edges:co};return za=Ao=co=jn=null,Lt}function yc(he,Ae){return Ae.y-he.y||Ae.x-he.x}i.geom.voronoi=function(he){var Ae=Wo,Be=ja,Ze=Ae,tt=Be,at=Ll;if(he)return Lt(he);function Lt(qt){var dr=new Array(qt.length),_r=at[0][0],Ir=at[0][1],Rr=at[1][0],ei=at[1][1];return os(vt(qt),at).cells.forEach(function(Hr,qr){var Kr=Hr.edges,ri=Hr.site,ui=dr[qr]=Kr.length?Kr.map(function(si){var ti=si.start();return[ti.x,ti.y]}):ri.x>=_r&&ri.x<=Rr&&ri.y>=Ir&&ri.y<=ei?[[_r,ei],[Rr,ei],[Rr,Ir],[_r,Ir]]:[];ui.point=qt[qr]}),dr}function vt(qt){return qt.map(function(dr,_r){return{x:Math.round(Ze(dr,_r)/Dt)*Dt,y:Math.round(tt(dr,_r)/Dt)*Dt,i:_r}})}return Lt.links=function(qt){return os(vt(qt)).edges.filter(function(dr){return dr.l&&dr.r}).map(function(dr){return{source:qt[dr.l.i],target:qt[dr.r.i]}})},Lt.triangles=function(qt){var dr=[];return os(vt(qt)).cells.forEach(function(_r,Ir){for(var Rr=_r.site,ei=_r.edges.sort($s),Hr=-1,qr=ei.length,Kr,ri=ei[qr-1].edge,ui=ri.l===Rr?ri.r:ri.l;++Hr<qr;)Kr=ui,ri=ei[Hr].edge,ui=ri.l===Rr?ri.r:ri.l,Ir<Kr.i&&Ir<ui.i&&Rd(Rr,Kr,ui)<0&&dr.push([qt[Ir],qt[Kr.i],qt[ui.i]])}),dr},Lt.x=function(qt){return arguments.length?(Ze=vi(Ae=qt),Lt):Ae},Lt.y=function(qt){return arguments.length?(tt=vi(Be=qt),Lt):Be},Lt.clipExtent=function(qt){return arguments.length?(at=qt??Ll,Lt):at===Ll?null:at},Lt.size=function(qt){return arguments.length?Lt.clipExtent(qt&&[[0,0],qt]):at===Ll?null:at&&at[1]},Lt};var Ll=[[-1e6,-1e6],[1e6,1e6]];function Rd(he,Ae,Be){return(he.x-Be.x)*(Ae.y-he.y)-(he.x-Ae.x)*(Be.y-he.y)}i.geom.delaunay=function(he){return i.geom.voronoi().triangles(he)},i.geom.quadtree=function(he,Ae,Be,Ze,tt){var at=Wo,Lt=ja,vt;if(vt=arguments.length)return at=Tf,Lt=Ts,vt===3&&(tt=Be,Ze=Ae,Be=Ae=0),qt(he);function qt(dr){var _r,Ir=vi(at),Rr=vi(Lt),ei,Hr,qr,Kr,ri,ui,si,ti;if(Ae!=null)ri=Ae,ui=Be,si=Ze,ti=tt;else if(si=ti=-(ri=ui=1/0),ei=[],Hr=[],Kr=dr.length,vt)for(qr=0;qr<Kr;++qr)_r=dr[qr],_r.x<ri&&(ri=_r.x),_r.y<ui&&(ui=_r.y),_r.x>si&&(si=_r.x),_r.y>ti&&(ti=_r.y),ei.push(_r.x),Hr.push(_r.y);else for(qr=0;qr<Kr;++qr){var ji=+Ir(_r=dr[qr],qr),vn=+Rr(_r,qr);ji<ri&&(ri=ji),vn<ui&&(ui=vn),ji>si&&(si=ji),vn>ti&&(ti=vn),ei.push(ji),Hr.push(vn)}var Ln=si-ri,gn=ti-ui;Ln>gn?ti=ui+Ln:si=ri+gn;function Nn(aa,fa,Wa,Oo,No,Mn,Ca,Xa){if(!(isNaN(Wa)||isNaN(Oo)))if(aa.leaf){var io=aa.x,qo=aa.y;if(io!=null)if(y(io-Wa)+y(qo-Oo)<.01)qn(aa,fa,Wa,Oo,No,Mn,Ca,Xa);else{var $o=aa.point;aa.x=aa.y=aa.point=null,qn(aa,$o,io,qo,No,Mn,Ca,Xa),qn(aa,fa,Wa,Oo,No,Mn,Ca,Xa)}else aa.x=Wa,aa.y=Oo,aa.point=fa}else qn(aa,fa,Wa,Oo,No,Mn,Ca,Xa)}function qn(aa,fa,Wa,Oo,No,Mn,Ca,Xa){var io=(No+Ca)*.5,qo=(Mn+Xa)*.5,$o=Wa>=io,_s=Oo>=qo,qa=_s<<1|$o;aa.leaf=!1,aa=aa.nodes[qa]||(aa.nodes[qa]=$h()),$o?No=io:Ca=io,_s?Mn=qo:Xa=qo,Nn(aa,fa,Wa,Oo,No,Mn,Ca,Xa)}var Sa=$h();if(Sa.add=function(aa){Nn(Sa,aa,+Ir(aa,++qr),+Rr(aa,qr),ri,ui,si,ti)},Sa.visit=function(aa){Bo(aa,Sa,ri,ui,si,ti)},Sa.find=function(aa){return Jl(Sa,aa[0],aa[1],ri,ui,si,ti)},qr=-1,Ae==null){for(;++qr<Kr;)Nn(Sa,dr[qr],ei[qr],Hr[qr],ri,ui,si,ti);--qr}else dr.forEach(Sa.add);return ei=Hr=dr=_r=null,Sa}return qt.x=function(dr){return arguments.length?(at=dr,qt):at},qt.y=function(dr){return arguments.length?(Lt=dr,qt):Lt},qt.extent=function(dr){return arguments.length?(dr==null?Ae=Be=Ze=tt=null:(Ae=+dr[0][0],Be=+dr[0][1],Ze=+dr[1][0],tt=+dr[1][1]),qt):Ae==null?null:[[Ae,Be],[Ze,tt]]},qt.size=function(dr){return arguments.length?(dr==null?Ae=Be=Ze=tt=null:(Ae=Be=0,Ze=+dr[0],tt=+dr[1]),qt):Ae==null?null:[Ze-Ae,tt-Be]},qt};function Tf(he){return he.x}function Ts(he){return he.y}function $h(){return{leaf:!0,nodes:[],point:null,x:null,y:null}}function Bo(he,Ae,Be,Ze,tt,at){if(!he(Ae,Be,Ze,tt,at)){var Lt=(Be+tt)*.5,vt=(Ze+at)*.5,qt=Ae.nodes;qt[0]&&Bo(he,qt[0],Be,Ze,Lt,vt),qt[1]&&Bo(he,qt[1],Lt,Ze,tt,vt),qt[2]&&Bo(he,qt[2],Be,vt,Lt,at),qt[3]&&Bo(he,qt[3],Lt,vt,tt,at)}}function Jl(he,Ae,Be,Ze,tt,at,Lt){var vt=1/0,qt;return(function dr(_r,Ir,Rr,ei,Hr){if(!(Ir>at||Rr>Lt||ei<Ze||Hr<tt)){if(qr=_r.point){var qr,Kr=Ae-_r.x,ri=Be-_r.y,ui=Kr*Kr+ri*ri;if(ui<vt){var si=Math.sqrt(vt=ui);Ze=Ae-si,tt=Be-si,at=Ae+si,Lt=Be+si,qt=qr}}for(var ti=_r.nodes,ji=(Ir+ei)*.5,vn=(Rr+Hr)*.5,Ln=Ae>=ji,gn=Be>=vn,Nn=gn<<1|Ln,qn=Nn+4;Nn<qn;++Nn)if(_r=ti[Nn&3])switch(Nn&3){case 0:dr(_r,Ir,Rr,ji,vn);break;case 1:dr(_r,ji,Rr,ei,vn);break;case 2:dr(_r,Ir,vn,ji,Hr);break;case 3:dr(_r,ji,vn,ei,Hr);break}}})(he,Ze,tt,at,Lt),qt}i.interpolateRgb=Ql;function Ql(he,Ae){he=i.rgb(he),Ae=i.rgb(Ae);var Be=he.r,Ze=he.g,tt=he.b,at=Ae.r-Be,Lt=Ae.g-Ze,vt=Ae.b-tt;return function(qt){return"#"+gr(Math.round(Be+at*qt))+gr(Math.round(Ze+Lt*qt))+gr(Math.round(tt+vt*qt))}}i.interpolateObject=Ol;function Ol(he,Ae){var Be={},Ze={},tt;for(tt in he)tt in Ae?Be[tt]=ls(he[tt],Ae[tt]):Ze[tt]=he[tt];for(tt in Ae)tt in he||(Ze[tt]=Ae[tt]);return function(at){for(tt in Be)Ze[tt]=Be[tt](at);return Ze}}i.interpolateNumber=ss;function ss(he,Ae){return he=+he,Ae=+Ae,function(Be){return he*(1-Be)+Ae*Be}}i.interpolateString=yu;function yu(he,Ae){var Be=mc.lastIndex=Ws.lastIndex=0,Ze,tt,at,Lt=-1,vt=[],qt=[];for(he=he+"",Ae=Ae+"";(Ze=mc.exec(he))&&(tt=Ws.exec(Ae));)(at=tt.index)>Be&&(at=Ae.slice(Be,at),vt[Lt]?vt[Lt]+=at:vt[++Lt]=at),(Ze=Ze[0])===(tt=tt[0])?vt[Lt]?vt[Lt]+=tt:vt[++Lt]=tt:(vt[++Lt]=null,qt.push({i:Lt,x:ss(Ze,tt)})),Be=Ws.lastIndex;return Be<Ae.length&&(at=Ae.slice(Be),vt[Lt]?vt[Lt]+=at:vt[++Lt]=at),vt.length<2?qt[0]?(Ae=qt[0].x,function(dr){return Ae(dr)+""}):function(){return Ae}:(Ae=qt.length,function(dr){for(var _r=0,Ir;_r<Ae;++_r)vt[(Ir=qt[_r]).i]=Ir.x(dr);return vt.join("")})}var mc=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ws=new RegExp(mc.source,"g");i.interpolate=ls;function ls(he,Ae){for(var Be=i.interpolators.length,Ze;--Be>=0&&!(Ze=i.interpolators[Be](he,Ae)););return Ze}i.interpolators=[function(he,Ae){var Be=typeof Ae;return(Be==="string"?ii.has(Ae.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(Ae)?Ql:yu:Ae instanceof It?Ql:Array.isArray(Ae)?Ps:Be==="object"&&isNaN(Ae)?Ol:ss)(he,Ae)}],i.interpolateArray=Ps;function Ps(he,Ae){var Be=[],Ze=[],tt=he.length,at=Ae.length,Lt=Math.min(he.length,Ae.length),vt;for(vt=0;vt<Lt;++vt)Be.push(ls(he[vt],Ae[vt]));for(;vt<tt;++vt)Ze[vt]=he[vt];for(;vt<at;++vt)Ze[vt]=Ae[vt];return function(qt){for(vt=0;vt<Lt;++vt)Ze[vt]=Be[vt](qt);return Ze}}var Ss=function(){return O},il=i.map({linear:Ss,poly:jo,quad:function(){return Bu},cubic:function(){return qv},sin:function(){return Kh},exp:function(){return xc},circle:function(){return uu},elastic:Wf,back:Dd,bounce:function(){return fv}}),Nl=i.map({in:O,out:_c,"in-out":Dc,"out-in":function(he){return Dc(_c(he))}});i.ease=function(he){var Ae=he.indexOf("-"),Be=Ae>=0?he.slice(0,Ae):he,Ze=Ae>=0?he.slice(Ae+1):"in";return Be=il.get(Be)||Ss,Ze=Nl.get(Ze)||O,Il(Ze(Be.apply(null,h.call(arguments,1))))};function Il(he){return function(Ae){return Ae<=0?0:Ae>=1?1:he(Ae)}}function _c(he){return function(Ae){return 1-he(1-Ae)}}function Dc(he){return function(Ae){return .5*(Ae<.5?he(2*Ae):2-he(2-2*Ae))}}function Bu(he){return he*he}function qv(he){return he*he*he}function lu(he){if(he<=0)return 0;if(he>=1)return 1;var Ae=he*he,Be=Ae*he;return 4*(he<.5?Be:3*(he-Ae)+Be-.75)}function jo(he){return function(Ae){return Math.pow(Ae,he)}}function Kh(he){return 1-Math.cos(he*et)}function xc(he){return Math.pow(2,10*(he-1))}function uu(he){return 1-Math.sqrt(1-he*he)}function Wf(he,Ae){var Be;return arguments.length<2&&(Ae=.45),arguments.length?Be=Ae/Oe*Math.asin(1/he):(he=1,Be=Ae/4),function(Ze){return 1+he*Math.pow(2,-10*Ze)*Math.sin((Ze-Be)*Oe/Ae)}}function Dd(he){return he||(he=1.70158),function(Ae){return Ae*Ae*((he+1)*Ae-he)}}function fv(he){return he<1/2.75?7.5625*he*he:he<2/2.75?7.5625*(he-=1.5/2.75)*he+.75:he<2.5/2.75?7.5625*(he-=2.25/2.75)*he+.9375:7.5625*(he-=2.625/2.75)*he+.984375}i.interpolateHcl=Zf;function Zf(he,Ae){he=i.hcl(he),Ae=i.hcl(Ae);var Be=he.h,Ze=he.c,tt=he.l,at=Ae.h-Be,Lt=Ae.c-Ze,vt=Ae.l-tt;return isNaN(Lt)&&(Lt=0,Ze=isNaN(Ze)?Ae.c:Ze),isNaN(at)?(at=0,Be=isNaN(Be)?Ae.h:Be):at>180?at-=360:at<-180&&(at+=360),function(qt){return ot(Be+at*qt,Ze+Lt*qt,tt+vt*qt)+""}}i.interpolateHsl=zd;function zd(he,Ae){he=i.hsl(he),Ae=i.hsl(Ae);var Be=he.h,Ze=he.s,tt=he.l,at=Ae.h-Be,Lt=Ae.s-Ze,vt=Ae.l-tt;return isNaN(Lt)&&(Lt=0,Ze=isNaN(Ze)?Ae.s:Ze),isNaN(at)?(at=0,Be=isNaN(Be)?Ae.h:Be):at>180?at-=360:at<-180&&(at+=360),function(qt){return Br(Be+at*qt,Ze+Lt*qt,tt+vt*qt)+""}}i.interpolateLab=Jh;function Jh(he,Ae){he=i.lab(he),Ae=i.lab(Ae);var Be=he.l,Ze=he.a,tt=he.b,at=Ae.l-Be,Lt=Ae.a-Ze,vt=Ae.b-tt;return function(qt){return Dr(Be+at*qt,Ze+Lt*qt,tt+vt*qt)+""}}i.interpolateRound=Fd;function Fd(he,Ae){return Ae-=he,function(Be){return Math.round(he+Ae*Be)}}i.transform=function(he){var Ae=a.createElementNS(i.ns.prefix.svg,"g");return(i.transform=function(Be){if(Be!=null){Ae.setAttribute("transform",Be);var Ze=Ae.transform.baseVal.consolidate()}return new Qh(Ze?Ze.matrix:Xf)})(he)};function Qh(he){var Ae=[he.a,he.b],Be=[he.c,he.d],Ze=dv(Ae),tt=hv(Ae,Be),at=dv(vv(Be,Ae,-tt))||0;Ae[0]*Be[1]<Be[0]*Ae[1]&&(Ae[0]*=-1,Ae[1]*=-1,Ze*=-1,tt*=-1),this.rotate=(Ze?Math.atan2(Ae[1],Ae[0]):Math.atan2(-Be[0],Be[1]))*lt,this.translate=[he.e,he.f],this.scale=[Ze,at],this.skew=at?Math.atan2(tt,at)*lt:0}Qh.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};function hv(he,Ae){return he[0]*Ae[0]+he[1]*Ae[1]}function dv(he){var Ae=Math.sqrt(hv(he,he));return Ae&&(he[0]/=Ae,he[1]/=Ae),Ae}function vv(he,Ae,Be){return he[0]+=Be*Ae[0],he[1]+=Be*Ae[1],he}var Xf={a:1,b:0,c:0,d:1,e:0,f:0};i.interpolateTransform=_o;function Jc(he){return he.length?he.pop()+",":""}function ed(he,Ae,Be,Ze){if(he[0]!==Ae[0]||he[1]!==Ae[1]){var tt=Be.push("translate(",null,",",null,")");Ze.push({i:tt-4,x:ss(he[0],Ae[0])},{i:tt-2,x:ss(he[1],Ae[1])})}else(Ae[0]||Ae[1])&&Be.push("translate("+Ae+")")}function Sf(he,Ae,Be,Ze){he!==Ae?(he-Ae>180?Ae+=360:Ae-he>180&&(he+=360),Ze.push({i:Be.push(Jc(Be)+"rotate(",null,")")-2,x:ss(he,Ae)})):Ae&&Be.push(Jc(Be)+"rotate("+Ae+")")}function _h(he,Ae,Be,Ze){he!==Ae?Ze.push({i:Be.push(Jc(Be)+"skewX(",null,")")-2,x:ss(he,Ae)}):Ae&&Be.push(Jc(Be)+"skewX("+Ae+")")}function ql(he,Ae,Be,Ze){if(he[0]!==Ae[0]||he[1]!==Ae[1]){var tt=Be.push(Jc(Be)+"scale(",null,",",null,")");Ze.push({i:tt-4,x:ss(he[0],Ae[0])},{i:tt-2,x:ss(he[1],Ae[1])})}else(Ae[0]!==1||Ae[1]!==1)&&Be.push(Jc(Be)+"scale("+Ae+")")}function _o(he,Ae){var Be=[],Ze=[];return he=i.transform(he),Ae=i.transform(Ae),ed(he.translate,Ae.translate,Be,Ze),Sf(he.rotate,Ae.rotate,Be,Ze),_h(he.skew,Ae.skew,Be,Ze),ql(he.scale,Ae.scale,Be,Ze),he=Ae=null,function(tt){for(var at=-1,Lt=Ze.length,vt;++at<Lt;)Be[(vt=Ze[at]).i]=vt.x(tt);return Be.join("")}}function Bd(he,Ae){return Ae=(Ae-=he=+he)||1/Ae,function(Be){return(Be-he)/Ae}}function Yf(he,Ae){return Ae=(Ae-=he=+he)||1/Ae,function(Be){return Math.max(0,Math.min(1,(Be-he)/Ae))}}i.layout={},i.layout.bundle=function(){return function(he){for(var Ae=[],Be=-1,Ze=he.length;++Be<Ze;)Ae.push(Od(he[Be]));return Ae}};function Od(he){for(var Ae=he.source,Be=he.target,Ze=Uv(Ae,Be),tt=[Ae];Ae!==Ze;)Ae=Ae.parent,tt.push(Ae);for(var at=tt.length;Be!==Ze;)tt.splice(at,0,Be),Be=Be.parent;return tt}function pv(he){for(var Ae=[],Be=he.parent;Be!=null;)Ae.push(he),he=Be,Be=Be.parent;return Ae.push(he),Ae}function Uv(he,Ae){if(he===Ae)return he;for(var Be=pv(he),Ze=pv(Ae),tt=Be.pop(),at=Ze.pop(),Lt=null;tt===at;)Lt=tt,tt=Be.pop(),at=Ze.pop();return Lt}i.layout.chord=function(){var he={},Ae,Be,Ze,tt,at=0,Lt,vt,qt;function dr(){var Ir={},Rr=[],ei=i.range(tt),Hr=[],qr,Kr,ri,ui,si;for(Ae=[],Be=[],qr=0,ui=-1;++ui<tt;){for(Kr=0,si=-1;++si<tt;)Kr+=Ze[ui][si];Rr.push(Kr),Hr.push(i.range(tt)),qr+=Kr}for(Lt&&ei.sort(function(Sa,aa){return Lt(Rr[Sa],Rr[aa])}),vt&&Hr.forEach(function(Sa,aa){Sa.sort(function(fa,Wa){return vt(Ze[aa][fa],Ze[aa][Wa])})}),qr=(Oe-at*tt)/qr,Kr=0,ui=-1;++ui<tt;){for(ri=Kr,si=-1;++si<tt;){var ti=ei[ui],ji=Hr[ti][si],vn=Ze[ti][ji],Ln=Kr,gn=Kr+=vn*qr;Ir[ti+"-"+ji]={index:ti,subindex:ji,startAngle:Ln,endAngle:gn,value:vn}}Be[ti]={index:ti,startAngle:ri,endAngle:Kr,value:Rr[ti]},Kr+=at}for(ui=-1;++ui<tt;)for(si=ui-1;++si<tt;){var Nn=Ir[ui+"-"+si],qn=Ir[si+"-"+ui];(Nn.value||qn.value)&&Ae.push(Nn.value<qn.value?{source:qn,target:Nn}:{source:Nn,target:qn})}qt&&_r()}function _r(){Ae.sort(function(Ir,Rr){return qt((Ir.source.value+Ir.target.value)/2,(Rr.source.value+Rr.target.value)/2)})}return he.matrix=function(Ir){return arguments.length?(tt=(Ze=Ir)&&Ze.length,Ae=Be=null,he):Ze},he.padding=function(Ir){return arguments.length?(at=Ir,Ae=Be=null,he):at},he.sortGroups=function(Ir){return arguments.length?(Lt=Ir,Ae=Be=null,he):Lt},he.sortSubgroups=function(Ir){return arguments.length?(vt=Ir,Ae=null,he):vt},he.sortChords=function(Ir){return arguments.length?(qt=Ir,Ae&&_r(),he):qt},he.chords=function(){return Ae||dr(),Ae},he.groups=function(){return Be||dr(),Be},he},i.layout.force=function(){var he={},Ae=i.dispatch("start","tick","end"),Be,Ze=[1,1],tt,at,Lt=.9,vt=tu,qt=rd,dr=-30,_r=Qc,Ir=.1,Rr=.64,ei=[],Hr=[],qr,Kr,ri;function ui(ti){return function(ji,vn,Ln,gn){if(ji.point!==ti){var Nn=ji.cx-ti.x,qn=ji.cy-ti.y,Sa=gn-vn,aa=Nn*Nn+qn*qn;if(Sa*Sa/Rr<aa){if(aa<_r){var fa=ji.charge/aa;ti.px-=Nn*fa,ti.py-=qn*fa}return!0}if(ji.point&&aa&&aa<_r){var fa=ji.pointCharge/aa;ti.px-=Nn*fa,ti.py-=qn*fa}}return!ji.charge}}he.tick=function(){if((at*=.99)<.005)return Be=null,Ae.end({type:"end",alpha:at=0}),!0;var ti=ei.length,ji=Hr.length,vn,Ln,gn,Nn,qn,Sa,aa,fa,Wa;for(Ln=0;Ln<ji;++Ln)gn=Hr[Ln],Nn=gn.source,qn=gn.target,fa=qn.x-Nn.x,Wa=qn.y-Nn.y,(Sa=fa*fa+Wa*Wa)&&(Sa=at*Kr[Ln]*((Sa=Math.sqrt(Sa))-qr[Ln])/Sa,fa*=Sa,Wa*=Sa,qn.x-=fa*(aa=Nn.weight+qn.weight?Nn.weight/(Nn.weight+qn.weight):.5),qn.y-=Wa*aa,Nn.x+=fa*(aa=1-aa),Nn.y+=Wa*aa);if((aa=at*Ir)&&(fa=Ze[0]/2,Wa=Ze[1]/2,Ln=-1,aa))for(;++Ln<ti;)gn=ei[Ln],gn.x+=(fa-gn.x)*aa,gn.y+=(Wa-gn.y)*aa;if(dr)for(zc(vn=i.geom.quadtree(ei),at,ri),Ln=-1;++Ln<ti;)(gn=ei[Ln]).fixed||vn.visit(ui(gn));for(Ln=-1;++Ln<ti;)gn=ei[Ln],gn.fixed?(gn.x=gn.px,gn.y=gn.py):(gn.x-=(gn.px-(gn.px=gn.x))*Lt,gn.y-=(gn.py-(gn.py=gn.y))*Lt);Ae.tick({type:"tick",alpha:at})},he.nodes=function(ti){return arguments.length?(ei=ti,he):ei},he.links=function(ti){return arguments.length?(Hr=ti,he):Hr},he.size=function(ti){return arguments.length?(Ze=ti,he):Ze},he.linkDistance=function(ti){return arguments.length?(vt=typeof ti=="function"?ti:+ti,he):vt},he.distance=he.linkDistance,he.linkStrength=function(ti){return arguments.length?(qt=typeof ti=="function"?ti:+ti,he):qt},he.friction=function(ti){return arguments.length?(Lt=+ti,he):Lt},he.charge=function(ti){return arguments.length?(dr=typeof ti=="function"?ti:+ti,he):dr},he.chargeDistance=function(ti){return arguments.length?(_r=ti*ti,he):Math.sqrt(_r)},he.gravity=function(ti){return arguments.length?(Ir=+ti,he):Ir},he.theta=function(ti){return arguments.length?(Rr=ti*ti,he):Math.sqrt(Rr)},he.alpha=function(ti){return arguments.length?(ti=+ti,at?ti>0?at=ti:(Be.c=null,Be.t=NaN,Be=null,Ae.end({type:"end",alpha:at=0})):ti>0&&(Ae.start({type:"start",alpha:at=ti}),Be=Ra(he.tick)),he):at},he.start=function(){var ti,ji=ei.length,vn=Hr.length,Ln=Ze[0],gn=Ze[1],Nn,qn;for(ti=0;ti<ji;++ti)(qn=ei[ti]).index=ti,qn.weight=0;for(ti=0;ti<vn;++ti)qn=Hr[ti],typeof qn.source=="number"&&(qn.source=ei[qn.source]),typeof qn.target=="number"&&(qn.target=ei[qn.target]),++qn.source.weight,++qn.target.weight;for(ti=0;ti<ji;++ti)qn=ei[ti],isNaN(qn.x)&&(qn.x=Sa("x",Ln)),isNaN(qn.y)&&(qn.y=Sa("y",gn)),isNaN(qn.px)&&(qn.px=qn.x),isNaN(qn.py)&&(qn.py=qn.y);if(qr=[],typeof vt=="function")for(ti=0;ti<vn;++ti)qr[ti]=+vt.call(this,Hr[ti],ti);else for(ti=0;ti<vn;++ti)qr[ti]=vt;if(Kr=[],typeof qt=="function")for(ti=0;ti<vn;++ti)Kr[ti]=+qt.call(this,Hr[ti],ti);else for(ti=0;ti<vn;++ti)Kr[ti]=qt;if(ri=[],typeof dr=="function")for(ti=0;ti<ji;++ti)ri[ti]=+dr.call(this,ei[ti],ti);else for(ti=0;ti<ji;++ti)ri[ti]=dr;function Sa(aa,fa){if(!Nn){for(Nn=new Array(ji),No=0;No<ji;++No)Nn[No]=[];for(No=0;No<vn;++No){var Wa=Hr[No];Nn[Wa.source.index].push(Wa.target),Nn[Wa.target.index].push(Wa.source)}}for(var Oo=Nn[ti],No=-1,Mn=Oo.length,Ca;++No<Mn;)if(!isNaN(Ca=Oo[No][aa]))return Ca;return Math.random()*fa}return he.resume()},he.resume=function(){return he.alpha(.1)},he.stop=function(){return he.alpha(0)},he.drag=function(){if(tt||(tt=i.behavior.drag().origin(O).on("dragstart.force",rc).on("drag.force",si).on("dragend.force",td)),!arguments.length)return tt;this.on("mouseover.force",eu).on("mouseout.force",$f).call(tt)};function si(ti){ti.px=i.event.x,ti.py=i.event.y,he.resume()}return i.rebind(he,Ae,"on")};function rc(he){he.fixed|=2}function td(he){he.fixed&=-7}function eu(he){he.fixed|=4,he.px=he.x,he.py=he.y}function $f(he){he.fixed&=-5}function zc(he,Ae,Be){var Ze=0,tt=0;if(he.charge=0,!he.leaf)for(var at=he.nodes,Lt=at.length,vt=-1,qt;++vt<Lt;)qt=at[vt],qt!=null&&(zc(qt,Ae,Be),he.charge+=qt.charge,Ze+=qt.charge*qt.cx,tt+=qt.charge*qt.cy);if(he.point){he.leaf||(he.point.x+=Math.random()-.5,he.point.y+=Math.random()-.5);var dr=Ae*Be[he.point.index];he.charge+=he.pointCharge=dr,Ze+=dr*he.point.x,tt+=dr*he.point.y}he.cx=Ze/he.charge,he.cy=tt/he.charge}var tu=20,rd=1,Qc=1/0;i.layout.hierarchy=function(){var he=Hv,Ae=Vv,Be=id;function Ze(tt){var at=[tt],Lt=[],vt;for(tt.depth=0;(vt=at.pop())!=null;)if(Lt.push(vt),(dr=Ae.call(Ze,vt,vt.depth))&&(qt=dr.length)){for(var qt,dr,_r;--qt>=0;)at.push(_r=dr[qt]),_r.parent=vt,_r.depth=vt.depth+1;Be&&(vt.value=0),vt.children=dr}else Be&&(vt.value=+Be.call(Ze,vt,vt.depth)||0),delete vt.children;return cu(tt,function(Ir){var Rr,ei;he&&(Rr=Ir.children)&&Rr.sort(he),Be&&(ei=Ir.parent)&&(ei.value+=Ir.value)}),Lt}return Ze.sort=function(tt){return arguments.length?(he=tt,Ze):he},Ze.children=function(tt){return arguments.length?(Ae=tt,Ze):Ae},Ze.value=function(tt){return arguments.length?(Be=tt,Ze):Be},Ze.revalue=function(tt){return Be&&(Zs(tt,function(at){at.children&&(at.value=0)}),cu(tt,function(at){var Lt;at.children||(at.value=+Be.call(Ze,at,at.depth)||0),(Lt=at.parent)&&(Lt.value+=at.value)})),tt},Ze};function Eu(he,Ae){return i.rebind(he,Ae,"sort","children","value"),he.nodes=he,he.links=jv,he}function Zs(he,Ae){for(var Be=[he];(he=Be.pop())!=null;)if(Ae(he),(tt=he.children)&&(Ze=tt.length))for(var Ze,tt;--Ze>=0;)Be.push(tt[Ze])}function cu(he,Ae){for(var Be=[he],Ze=[];(he=Be.pop())!=null;)if(Ze.push(he),(Lt=he.children)&&(at=Lt.length))for(var tt=-1,at,Lt;++tt<at;)Be.push(Lt[tt]);for(;(he=Ze.pop())!=null;)Ae(he)}function Vv(he){return he.children}function id(he){return he.value}function Hv(he,Ae){return Ae.value-he.value}function jv(he){return i.merge(he.map(function(Ae){return(Ae.children||[]).map(function(Be){return{source:Ae,target:Be}})}))}i.layout.partition=function(){var he=i.layout.hierarchy(),Ae=[1,1];function Be(at,Lt,vt,qt){var dr=at.children;if(at.x=Lt,at.y=at.depth*qt,at.dx=vt,at.dy=qt,dr&&(Ir=dr.length)){var _r=-1,Ir,Rr,ei;for(vt=at.value?vt/at.value:0;++_r<Ir;)Be(Rr=dr[_r],Lt,ei=Rr.value*vt,qt),Lt+=ei}}function Ze(at){var Lt=at.children,vt=0;if(Lt&&(dr=Lt.length))for(var qt=-1,dr;++qt<dr;)vt=Math.max(vt,Ze(Lt[qt]));return 1+vt}function tt(at,Lt){var vt=he.call(this,at,Lt);return Be(vt[0],0,Ae[0],Ae[1]/Ze(vt[0])),vt}return tt.size=function(at){return arguments.length?(Ae=at,tt):Ae},Eu(tt,he)},i.layout.pie=function(){var he=Number,Ae=Nd,Be=0,Ze=Oe,tt=0;function at(Lt){var vt=Lt.length,qt=Lt.map(function(ui,si){return+he.call(at,ui,si)}),dr=+(typeof Be=="function"?Be.apply(this,arguments):Be),_r=(typeof Ze=="function"?Ze.apply(this,arguments):Ze)-dr,Ir=Math.min(Math.abs(_r)/vt,+(typeof tt=="function"?tt.apply(this,arguments):tt)),Rr=Ir*(_r<0?-1:1),ei=i.sum(qt),Hr=ei?(_r-vt*Rr)/ei:0,qr=i.range(vt),Kr=[],ri;return Ae!=null&&qr.sort(Ae===Nd?function(ui,si){return qt[si]-qt[ui]}:function(ui,si){return Ae(Lt[ui],Lt[si])}),qr.forEach(function(ui){Kr[ui]={data:Lt[ui],value:ri=qt[ui],startAngle:dr,endAngle:dr+=ri*Hr+Rr,padAngle:Ir}}),Kr}return at.value=function(Lt){return arguments.length?(he=Lt,at):he},at.sort=function(Lt){return arguments.length?(Ae=Lt,at):Ae},at.startAngle=function(Lt){return arguments.length?(Be=Lt,at):Be},at.endAngle=function(Lt){return arguments.length?(Ze=Lt,at):Ze},at.padAngle=function(Lt){return arguments.length?(tt=Lt,at):tt},at};var Nd={};i.layout.stack=function(){var he=O,Ae=nd,Be=Lu,Ze=qd,tt=gv,at=ef;function Lt(vt,qt){if(!(Hr=vt.length))return vt;var dr=vt.map(function(ui,si){return he.call(Lt,ui,si)}),_r=dr.map(function(ui){return ui.map(function(si,ti){return[tt.call(Lt,si,ti),at.call(Lt,si,ti)]})}),Ir=Ae.call(Lt,_r,qt);dr=i.permute(dr,Ir),_r=i.permute(_r,Ir);var Rr=Be.call(Lt,_r,qt),ei=dr[0].length,Hr,qr,Kr,ri;for(Kr=0;Kr<ei;++Kr)for(Ze.call(Lt,dr[0][Kr],ri=Rr[Kr],_r[0][Kr][1]),qr=1;qr<Hr;++qr)Ze.call(Lt,dr[qr][Kr],ri+=_r[qr-1][Kr][1],_r[qr][Kr][1]);return vt}return Lt.values=function(vt){return arguments.length?(he=vt,Lt):he},Lt.order=function(vt){return arguments.length?(Ae=typeof vt=="function"?vt:xh.get(vt)||nd,Lt):Ae},Lt.offset=function(vt){return arguments.length?(Be=typeof vt=="function"?vt:bh.get(vt)||Lu,Lt):Be},Lt.x=function(vt){return arguments.length?(tt=vt,Lt):tt},Lt.y=function(vt){return arguments.length?(at=vt,Lt):at},Lt.out=function(vt){return arguments.length?(Ze=vt,Lt):Ze},Lt};function gv(he){return he.x}function ef(he){return he.y}function qd(he,Ae,Be){he.y0=Ae,he.y=Be}var xh=i.map({"inside-out":function(he){var Ae=he.length,Be,Ze,tt=he.map(Ud),at=he.map(Af),Lt=i.range(Ae).sort(function(Ir,Rr){return tt[Ir]-tt[Rr]}),vt=0,qt=0,dr=[],_r=[];for(Be=0;Be<Ae;++Be)Ze=Lt[Be],vt<qt?(vt+=at[Ze],dr.push(Ze)):(qt+=at[Ze],_r.push(Ze));return _r.reverse().concat(dr)},reverse:function(he){return i.range(he.length).reverse()},default:nd}),bh=i.map({silhouette:function(he){var Ae=he.length,Be=he[0].length,Ze=[],tt=0,at,Lt,vt,qt=[];for(Lt=0;Lt<Be;++Lt){for(at=0,vt=0;at<Ae;at++)vt+=he[at][Lt][1];vt>tt&&(tt=vt),Ze.push(vt)}for(Lt=0;Lt<Be;++Lt)qt[Lt]=(tt-Ze[Lt])/2;return qt},wiggle:function(he){var Ae=he.length,Be=he[0],Ze=Be.length,tt,at,Lt,vt,qt,dr,_r,Ir,Rr,ei=[];for(ei[0]=Ir=Rr=0,at=1;at<Ze;++at){for(tt=0,vt=0;tt<Ae;++tt)vt+=he[tt][at][1];for(tt=0,qt=0,_r=Be[at][0]-Be[at-1][0];tt<Ae;++tt){for(Lt=0,dr=(he[tt][at][1]-he[tt][at-1][1])/(2*_r);Lt<tt;++Lt)dr+=(he[Lt][at][1]-he[Lt][at-1][1])/_r;qt+=dr*he[tt][at][1]}ei[at]=Ir-=vt?qt/vt*_r:0,Ir<Rr&&(Rr=Ir)}for(at=0;at<Ze;++at)ei[at]-=Rr;return ei},expand:function(he){var Ae=he.length,Be=he[0].length,Ze=1/Ae,tt,at,Lt,vt=[];for(at=0;at<Be;++at){for(tt=0,Lt=0;tt<Ae;tt++)Lt+=he[tt][at][1];if(Lt)for(tt=0;tt<Ae;tt++)he[tt][at][1]/=Lt;else for(tt=0;tt<Ae;tt++)he[tt][at][1]=Ze}for(at=0;at<Be;++at)vt[at]=0;return vt},zero:Lu});function nd(he){return i.range(he.length)}function Lu(he){for(var Ae=-1,Be=he[0].length,Ze=[];++Ae<Be;)Ze[Ae]=0;return Ze}function Ud(he){for(var Ae=1,Be=0,Ze=he[0][1],tt,at=he.length;Ae<at;++Ae)(tt=he[Ae][1])>Ze&&(Be=Ae,Ze=tt);return Be}function Af(he){return he.reduce(ad,0)}function ad(he,Ae){return he+Ae[1]}i.layout.histogram=function(){var he=!0,Ae=Number,Be=Ns,Ze=yv;function tt(at,Rr){for(var vt=[],qt=at.map(Ae,this),dr=Be.call(this,qt,Rr),_r=Ze.call(this,dr,qt,Rr),Ir,Rr=-1,ei=qt.length,Hr=_r.length-1,qr=he?1:1/ei,Kr;++Rr<Hr;)Ir=vt[Rr]=[],Ir.dx=_r[Rr+1]-(Ir.x=_r[Rr]),Ir.y=0;if(Hr>0)for(Rr=-1;++Rr<ei;)Kr=qt[Rr],Kr>=dr[0]&&Kr<=dr[1]&&(Ir=vt[i.bisect(_r,Kr,1,Hr)-1],Ir.y+=qr,Ir.push(at[Rr]));return vt}return tt.value=function(at){return arguments.length?(Ae=at,tt):Ae},tt.range=function(at){return arguments.length?(Be=vi(at),tt):Be},tt.bins=function(at){return arguments.length?(Ze=typeof at=="number"?function(Lt){return Vd(Lt,at)}:vi(at),tt):Ze},tt.frequency=function(at){return arguments.length?(he=!!at,tt):he},tt};function yv(he,Ae){return Vd(he,Math.ceil(Math.log(Ae.length)/Math.LN2+1))}function Vd(he,Ae){for(var Be=-1,Ze=+he[0],tt=(he[1]-Ze)/Ae,at=[];++Be<=Ae;)at[Be]=tt*Be+Ze;return at}function Ns(he){return[i.min(he),i.max(he)]}i.layout.pack=function(){var he=i.layout.hierarchy().sort(od),Ae=0,Be=[1,1],Ze;function tt(at,Lt){var vt=he.call(this,at,Lt),qt=vt[0],dr=Be[0],_r=Be[1],Ir=Ze==null?Math.sqrt:typeof Ze=="function"?Ze:function(){return Ze};if(qt.x=qt.y=0,cu(qt,function(ei){ei.r=+Ir(ei.value)}),cu(qt,bc),Ae){var Rr=Ae*(Ze?1:Math.max(2*qt.r/dr,2*qt.r/_r))/2;cu(qt,function(ei){ei.r+=Rr}),cu(qt,bc),cu(qt,function(ei){ei.r-=Rr})}return Ul(qt,dr/2,_r/2,Ze?1:1/Math.max(2*qt.r/dr,2*qt.r/_r)),vt}return tt.size=function(at){return arguments.length?(Be=at,tt):Be},tt.radius=function(at){return arguments.length?(Ze=at==null||typeof at=="function"?at:+at,tt):Ze},tt.padding=function(at){return arguments.length?(Ae=+at,tt):Ae},Eu(tt,he)};function od(he,Ae){return he.value-Ae.value}function Fc(he,Ae){var Be=he._pack_next;he._pack_next=Ae,Ae._pack_prev=he,Ae._pack_next=Be,Be._pack_prev=Ae}function Hd(he,Ae){he._pack_next=Ae,Ae._pack_prev=he}function jd(he,Ae){var Be=Ae.x-he.x,Ze=Ae.y-he.y,tt=he.r+Ae.r;return .999*tt*tt>Be*Be+Ze*Ze}function bc(he){if(!(Ae=he.children)||!(Rr=Ae.length))return;var Ae,Be=1/0,Ze=-1/0,tt=1/0,at=-1/0,Lt,vt,qt,dr,_r,Ir,Rr;function ei(ti){Be=Math.min(ti.x-ti.r,Be),Ze=Math.max(ti.x+ti.r,Ze),tt=Math.min(ti.y-ti.r,tt),at=Math.max(ti.y+ti.r,at)}if(Ae.forEach(sd),Lt=Ae[0],Lt.x=-Lt.r,Lt.y=0,ei(Lt),Rr>1&&(vt=Ae[1],vt.x=vt.r,vt.y=0,ei(vt),Rr>2))for(qt=Ae[2],wh(Lt,vt,qt),ei(qt),Fc(Lt,qt),Lt._pack_prev=qt,Fc(qt,vt),vt=Lt._pack_next,dr=3;dr<Rr;dr++){wh(Lt,vt,qt=Ae[dr]);var Hr=0,qr=1,Kr=1;for(_r=vt._pack_next;_r!==vt;_r=_r._pack_next,qr++)if(jd(_r,qt)){Hr=1;break}if(Hr==1)for(Ir=Lt._pack_prev;Ir!==_r._pack_prev&&!jd(Ir,qt);Ir=Ir._pack_prev,Kr++);Hr?(qr<Kr||qr==Kr&&vt.r<Lt.r?Hd(Lt,vt=_r):Hd(Lt=Ir,vt),dr--):(Fc(Lt,qt),vt=qt,ei(qt))}var ri=(Be+Ze)/2,ui=(tt+at)/2,si=0;for(dr=0;dr<Rr;dr++)qt=Ae[dr],qt.x-=ri,qt.y-=ui,si=Math.max(si,qt.r+Math.sqrt(qt.x*qt.x+qt.y*qt.y));he.r=si,Ae.forEach(Kf)}function sd(he){he._pack_next=he._pack_prev=he}function Kf(he){delete he._pack_next,delete he._pack_prev}function Ul(he,Ae,Be,Ze){var tt=he.children;if(he.x=Ae+=Ze*he.x,he.y=Be+=Ze*he.y,he.r*=Ze,tt)for(var at=-1,Lt=tt.length;++at<Lt;)Ul(tt[at],Ae,Be,Ze)}function wh(he,Ae,Be){var Ze=he.r+Be.r,tt=Ae.x-he.x,at=Ae.y-he.y;if(Ze&&(tt||at)){var Lt=Ae.r+Be.r,vt=tt*tt+at*at;Lt*=Lt,Ze*=Ze;var qt=.5+(Ze-Lt)/(2*vt),dr=Math.sqrt(Math.max(0,2*Lt*(Ze+vt)-(Ze-=vt)*Ze-Lt*Lt))/(2*vt);Be.x=he.x+qt*tt+dr*at,Be.y=he.y+qt*at-dr*tt}else Be.x=he.x+Ze,Be.y=he.y}i.layout.tree=function(){var he=i.layout.hierarchy().sort(null).value(null),Ae=Bc,Be=[1,1],Ze=null;function tt(_r,Ir){var Rr=he.call(this,_r,Ir),ei=Rr[0],Hr=at(ei);if(cu(Hr,Lt),Hr.parent.m=-Hr.z,Zs(Hr,vt),Ze)Zs(ei,dr);else{var qr=ei,Kr=ei,ri=ei;Zs(ei,function(ji){ji.x<qr.x&&(qr=ji),ji.x>Kr.x&&(Kr=ji),ji.depth>ri.depth&&(ri=ji)});var ui=Ae(qr,Kr)/2-qr.x,si=Be[0]/(Kr.x+Ae(Kr,qr)/2+ui),ti=Be[1]/(ri.depth||1);Zs(ei,function(ji){ji.x=(ji.x+ui)*si,ji.y=ji.depth*ti})}return Rr}function at(_r){for(var Ir={A:null,children:[_r]},Rr=[Ir],ei;(ei=Rr.pop())!=null;)for(var Hr=ei.children,qr,Kr=0,ri=Hr.length;Kr<ri;++Kr)Rr.push((Hr[Kr]=qr={_:Hr[Kr],parent:ei,children:(qr=Hr[Kr].children)&&qr.slice()||[],A:null,a:null,z:0,m:0,c:0,s:0,t:null,i:Kr}).a=qr);return Ir.children[0]}function Lt(_r){var Ir=_r.children,Rr=_r.parent.children,ei=_r.i?Rr[_r.i-1]:null;if(Ir.length){wc(_r);var Hr=(Ir[0].z+Ir[Ir.length-1].z)/2;ei?(_r.z=ei.z+Ae(_r._,ei._),_r.m=_r.z-Hr):_r.z=Hr}else ei&&(_r.z=ei.z+Ae(_r._,ei._));_r.parent.A=qt(_r,ei,_r.parent.A||Rr[0])}function vt(_r){_r._.x=_r.z+_r.parent.m,_r.m+=_r.parent.m}function qt(_r,Ir,Rr){if(Ir){for(var ei=_r,Hr=_r,qr=Ir,Kr=ei.parent.children[0],ri=ei.m,ui=Hr.m,si=qr.m,ti=Kr.m,ji;qr=Nc(qr),ei=Oc(ei),qr&&ei;)Kr=Oc(Kr),Hr=Nc(Hr),Hr.a=_r,ji=qr.z+si-ei.z-ri+Ae(qr._,ei._),ji>0&&(tf(Wl(qr,_r,Rr),_r,ji),ri+=ji,ui+=ji),si+=qr.m,ri+=ei.m,ti+=Kr.m,ui+=Hr.m;qr&&!Nc(Hr)&&(Hr.t=qr,Hr.m+=si-ui),ei&&!Oc(Kr)&&(Kr.t=ei,Kr.m+=ri-ti,Rr=_r)}return Rr}function dr(_r){_r.x*=Be[0],_r.y=_r.depth*Be[1]}return tt.separation=function(_r){return arguments.length?(Ae=_r,tt):Ae},tt.size=function(_r){return arguments.length?(Ze=(Be=_r)==null?dr:null,tt):Ze?null:Be},tt.nodeSize=function(_r){return arguments.length?(Ze=(Be=_r)==null?null:dr,tt):Ze?Be:null},Eu(tt,he)};function Bc(he,Ae){return he.parent==Ae.parent?1:2}function Oc(he){var Ae=he.children;return Ae.length?Ae[0]:he.t}function Nc(he){var Ae=he.children,Be;return(Be=Ae.length)?Ae[Be-1]:he.t}function tf(he,Ae,Be){var Ze=Be/(Ae.i-he.i);Ae.c-=Ze,Ae.s+=Be,he.c+=Ze,Ae.z+=Be,Ae.m+=Be}function wc(he){for(var Ae=0,Be=0,Ze=he.children,tt=Ze.length,at;--tt>=0;)at=Ze[tt],at.z+=Ae,at.m+=Ae,Ae+=at.s+(Be+=at.c)}function Wl(he,Ae,Be){return he.a.parent===Ae.parent?he.a:Be}i.layout.cluster=function(){var he=i.layout.hierarchy().sort(null).value(null),Ae=Bc,Be=[1,1],Ze=!1;function tt(at,Lt){var vt=he.call(this,at,Lt),qt=vt[0],dr,_r=0;cu(qt,function(qr){var Kr=qr.children;Kr&&Kr.length?(qr.x=nf(Kr),qr.y=rf(Kr)):(qr.x=dr?_r+=Ae(qr,dr):0,qr.y=0,dr=qr)});var Ir=ld(qt),Rr=mv(qt),ei=Ir.x-Ae(Ir,Rr)/2,Hr=Rr.x+Ae(Rr,Ir)/2;return cu(qt,Ze?function(qr){qr.x=(qr.x-qt.x)*Be[0],qr.y=(qt.y-qr.y)*Be[1]}:function(qr){qr.x=(qr.x-ei)/(Hr-ei)*Be[0],qr.y=(1-(qt.y?qr.y/qt.y:1))*Be[1]}),vt}return tt.separation=function(at){return arguments.length?(Ae=at,tt):Ae},tt.size=function(at){return arguments.length?(Ze=(Be=at)==null,tt):Ze?null:Be},tt.nodeSize=function(at){return arguments.length?(Ze=(Be=at)!=null,tt):Ze?Be:null},Eu(tt,he)};function rf(he){return 1+i.max(he,function(Ae){return Ae.y})}function nf(he){return he.reduce(function(Ae,Be){return Ae+Be.x},0)/he.length}function ld(he){var Ae=he.children;return Ae&&Ae.length?ld(Ae[0]):he}function mv(he){var Ae=he.children,Be;return Ae&&(Be=Ae.length)?mv(Ae[Be-1]):he}i.layout.treemap=function(){var he=i.layout.hierarchy(),Ae=Math.round,Be=[1,1],Ze=null,tt=_v,at=!1,Lt,vt="squarify",qt=.5*(1+Math.sqrt(5));function dr(qr,Kr){for(var ri=-1,ui=qr.length,si,ti;++ri<ui;)ti=(si=qr[ri]).value*(Kr<0?0:Kr),si.area=isNaN(ti)||ti<=0?0:ti}function _r(qr){var Kr=qr.children;if(Kr&&Kr.length){var ri=tt(qr),ui=[],si=Kr.slice(),ti,ji=1/0,vn,Ln=vt==="slice"?ri.dx:vt==="dice"?ri.dy:vt==="slice-dice"?qr.depth&1?ri.dy:ri.dx:Math.min(ri.dx,ri.dy),gn;for(dr(si,ri.dx*ri.dy/qr.value),ui.area=0;(gn=si.length)>0;)ui.push(ti=si[gn-1]),ui.area+=ti.area,vt!=="squarify"||(vn=Rr(ui,Ln))<=ji?(si.pop(),ji=vn):(ui.area-=ui.pop().area,ei(ui,Ln,ri,!1),Ln=Math.min(ri.dx,ri.dy),ui.length=ui.area=0,ji=1/0);ui.length&&(ei(ui,Ln,ri,!0),ui.length=ui.area=0),Kr.forEach(_r)}}function Ir(qr){var Kr=qr.children;if(Kr&&Kr.length){var ri=tt(qr),ui=Kr.slice(),si,ti=[];for(dr(ui,ri.dx*ri.dy/qr.value),ti.area=0;si=ui.pop();)ti.push(si),ti.area+=si.area,si.z!=null&&(ei(ti,si.z?ri.dx:ri.dy,ri,!ui.length),ti.length=ti.area=0);Kr.forEach(Ir)}}function Rr(qr,Kr){for(var ri=qr.area,ui,si=0,ti=1/0,ji=-1,vn=qr.length;++ji<vn;)(ui=qr[ji].area)&&(ui<ti&&(ti=ui),ui>si&&(si=ui));return ri*=ri,Kr*=Kr,ri?Math.max(Kr*si*qt/ri,ri/(Kr*ti*qt)):1/0}function ei(qr,Kr,ri,ui){var si=-1,ti=qr.length,ji=ri.x,vn=ri.y,Ln=Kr?Ae(qr.area/Kr):0,gn;if(Kr==ri.dx){for((ui||Ln>ri.dy)&&(Ln=ri.dy);++si<ti;)gn=qr[si],gn.x=ji,gn.y=vn,gn.dy=Ln,ji+=gn.dx=Math.min(ri.x+ri.dx-ji,Ln?Ae(gn.area/Ln):0);gn.z=!0,gn.dx+=ri.x+ri.dx-ji,ri.y+=Ln,ri.dy-=Ln}else{for((ui||Ln>ri.dx)&&(Ln=ri.dx);++si<ti;)gn=qr[si],gn.x=ji,gn.y=vn,gn.dx=Ln,vn+=gn.dy=Math.min(ri.y+ri.dy-vn,Ln?Ae(gn.area/Ln):0);gn.z=!1,gn.dy+=ri.y+ri.dy-vn,ri.x+=Ln,ri.dx-=Ln}}function Hr(qr){var Kr=Lt||he(qr),ri=Kr[0];return ri.x=ri.y=0,ri.value?(ri.dx=Be[0],ri.dy=Be[1]):ri.dx=ri.dy=0,Lt&&he.revalue(ri),dr([ri],ri.dx*ri.dy/ri.value),(Lt?Ir:_r)(ri),at&&(Lt=Kr),Kr}return Hr.size=function(qr){return arguments.length?(Be=qr,Hr):Be},Hr.padding=function(qr){if(!arguments.length)return Ze;function Kr(si){var ti=qr.call(Hr,si,si.depth);return ti==null?_v(si):Mf(si,typeof ti=="number"?[ti,ti,ti,ti]:ti)}function ri(si){return Mf(si,qr)}var ui;return tt=(Ze=qr)==null?_v:(ui=typeof qr)=="function"?Kr:(ui==="number"&&(qr=[qr,qr,qr,qr]),ri),Hr},Hr.round=function(qr){return arguments.length?(Ae=qr?Math.round:Number,Hr):Ae!=Number},Hr.sticky=function(qr){return arguments.length?(at=qr,Lt=null,Hr):at},Hr.ratio=function(qr){return arguments.length?(qt=qr,Hr):qt},Hr.mode=function(qr){return arguments.length?(vt=qr+"",Hr):vt},Eu(Hr,he)};function _v(he){return{x:he.x,y:he.y,dx:he.dx,dy:he.dy}}function Mf(he,Ae){var Be=he.x+Ae[3],Ze=he.y+Ae[0],tt=he.dx-Ae[1]-Ae[3],at=he.dy-Ae[0]-Ae[2];return tt<0&&(Be+=tt/2,tt=0),at<0&&(Ze+=at/2,at=0),{x:Be,y:Ze,dx:tt,dy:at}}i.random={normal:function(he,Ae){var Be=arguments.length;return Be<2&&(Ae=1),Be<1&&(he=0),function(){var Ze,tt,at;do Ze=Math.random()*2-1,tt=Math.random()*2-1,at=Ze*Ze+tt*tt;while(!at||at>1);return he+Ae*Ze*Math.sqrt(-2*Math.log(at)/at)}},logNormal:function(){var he=i.random.normal.apply(i,arguments);return function(){return Math.exp(he())}},bates:function(he){var Ae=i.random.irwinHall(he);return function(){return Ae()/he}},irwinHall:function(he){return function(){for(var Ae=0,Be=0;Be<he;Be++)Ae+=Math.random();return Ae}}},i.scale={};function ud(he){var Ae=he[0],Be=he[he.length-1];return Ae<Be?[Ae,Be]:[Be,Ae]}function Gd(he){return he.rangeExtent?he.rangeExtent():ud(he.range())}function Gv(he,Ae,Be,Ze){var tt=Be(he[0],he[1]),at=Ze(Ae[0],Ae[1]);return function(Lt){return at(tt(Lt))}}function Js(he,Ae){var Be=0,Ze=he.length-1,tt=he[Be],at=he[Ze],Lt;return at<tt&&(Lt=Be,Be=Ze,Ze=Lt,Lt=tt,tt=at,at=Lt),he[Be]=Ae.floor(tt),he[Ze]=Ae.ceil(at),he}function kf(he){return he?{floor:function(Ae){return Math.floor(Ae/he)*he},ceil:function(Ae){return Math.ceil(Ae/he)*he}}:af}var af={floor:O,ceil:O};function xv(he,Ae,Be,Ze){var tt=[],at=[],Lt=0,vt=Math.min(he.length,Ae.length)-1;for(he[vt]<he[0]&&(he=he.slice().reverse(),Ae=Ae.slice().reverse());++Lt<=vt;)tt.push(Be(he[Lt-1],he[Lt])),at.push(Ze(Ae[Lt-1],Ae[Lt]));return function(qt){var dr=i.bisect(he,qt,1,vt)-1;return at[dr](tt[dr](qt))}}i.scale.linear=function(){return Cf([0,1],[0,1],ls,!1)};function Cf(he,Ae,Be,Ze){var tt,at;function Lt(){var qt=Math.min(he.length,Ae.length)>2?xv:Gv,dr=Ze?Yf:Bd;return tt=qt(he,Ae,dr,Be),at=qt(Ae,he,dr,ls),vt}function vt(qt){return tt(qt)}return vt.invert=function(qt){return at(qt)},vt.domain=function(qt){return arguments.length?(he=qt.map(Number),Lt()):he},vt.range=function(qt){return arguments.length?(Ae=qt,Lt()):Ae},vt.rangeRound=function(qt){return vt.range(qt).interpolate(Fd)},vt.clamp=function(qt){return arguments.length?(Ze=qt,Lt()):Ze},vt.interpolate=function(qt){return arguments.length?(Be=qt,Lt()):Be},vt.ticks=function(qt){return Sh(he,qt)},vt.tickFormat=function(qt,dr){return d3_scale_linearTickFormat(he,qt,dr)},vt.nice=function(qt){return Ou(he,qt),Lt()},vt.copy=function(){return Cf(he,Ae,Be,Ze)},Lt()}function bv(he,Ae){return i.rebind(he,Ae,"range","rangeRound","interpolate","clamp")}function Ou(he,Ae){return Js(he,kf(Th(he,Ae)[2])),Js(he,kf(Th(he,Ae)[2])),he}function Th(he,Ae){Ae==null&&(Ae=10);var Be=ud(he),Ze=Be[1]-Be[0],tt=Math.pow(10,Math.floor(Math.log(Ze/Ae)/Math.LN10)),at=Ae/Ze*tt;return at<=.15?tt*=10:at<=.35?tt*=5:at<=.75&&(tt*=2),Be[0]=Math.ceil(Be[0]/tt)*tt,Be[1]=Math.floor(Be[1]/tt)*tt+tt*.5,Be[2]=tt,Be}function Sh(he,Ae){return i.range.apply(i,Th(he,Ae))}i.scale.log=function(){return Ah(i.scale.linear().domain([0,1]),10,!0,[1,10])};function Ah(he,Ae,Be,Ze){function tt(vt){return(Be?Math.log(vt<0?0:vt):-Math.log(vt>0?0:-vt))/Math.log(Ae)}function at(vt){return Be?Math.pow(Ae,vt):-Math.pow(Ae,-vt)}function Lt(vt){return he(tt(vt))}return Lt.invert=function(vt){return at(he.invert(vt))},Lt.domain=function(vt){return arguments.length?(Be=vt[0]>=0,he.domain((Ze=vt.map(Number)).map(tt)),Lt):Ze},Lt.base=function(vt){return arguments.length?(Ae=+vt,he.domain(Ze.map(tt)),Lt):Ae},Lt.nice=function(){var vt=Js(Ze.map(tt),Be?Math:cd);return he.domain(vt),Ze=vt.map(at),Lt},Lt.ticks=function(){var vt=ud(Ze),qt=[],dr=vt[0],_r=vt[1],Ir=Math.floor(tt(dr)),Rr=Math.ceil(tt(_r)),ei=Ae%1?2:Ae;if(isFinite(Rr-Ir)){if(Be){for(;Ir<Rr;Ir++)for(var Hr=1;Hr<ei;Hr++)qt.push(at(Ir)*Hr);qt.push(at(Ir))}else for(qt.push(at(Ir));Ir++<Rr;)for(var Hr=ei-1;Hr>0;Hr--)qt.push(at(Ir)*Hr);for(Ir=0;qt[Ir]<dr;Ir++);for(Rr=qt.length;qt[Rr-1]>_r;Rr--);qt=qt.slice(Ir,Rr)}return qt},Lt.copy=function(){return Ah(he.copy(),Ae,Be,Ze)},bv(Lt,he)}var cd={floor:function(he){return-Math.ceil(-he)},ceil:function(he){return-Math.floor(-he)}};i.scale.pow=function(){return Mh(i.scale.linear(),1,[0,1])};function Mh(he,Ae,Be){var Ze=Ef(Ae),tt=Ef(1/Ae);function at(Lt){return he(Ze(Lt))}return at.invert=function(Lt){return tt(he.invert(Lt))},at.domain=function(Lt){return arguments.length?(he.domain((Be=Lt.map(Number)).map(Ze)),at):Be},at.ticks=function(Lt){return Sh(Be,Lt)},at.tickFormat=function(Lt,vt){return d3_scale_linearTickFormat(Be,Lt,vt)},at.nice=function(Lt){return at.domain(Ou(Be,Lt))},at.exponent=function(Lt){return arguments.length?(Ze=Ef(Ae=Lt),tt=Ef(1/Ae),he.domain(Be.map(Ze)),at):Ae},at.copy=function(){return Mh(he.copy(),Ae,Be)},bv(at,he)}function Ef(he){return function(Ae){return Ae<0?-Math.pow(-Ae,he):Math.pow(Ae,he)}}i.scale.sqrt=function(){return i.scale.pow().exponent(.5)},i.scale.ordinal=function(){return ic([],{t:"range",a:[[]]})};function ic(he,Ae){var Be,Ze,tt;function at(vt){return Ze[((Be.get(vt)||(Ae.t==="range"?Be.set(vt,he.push(vt)):NaN))-1)%Ze.length]}function Lt(vt,qt){return i.range(he.length).map(function(dr){return vt+qt*dr})}return at.domain=function(vt){if(!arguments.length)return he;he=[],Be=new M;for(var qt=-1,dr=vt.length,_r;++qt<dr;)Be.has(_r=vt[qt])||Be.set(_r,he.push(_r));return at[Ae.t].apply(at,Ae.a)},at.range=function(vt){return arguments.length?(Ze=vt,tt=0,Ae={t:"range",a:arguments},at):Ze},at.rangePoints=function(vt,qt){arguments.length<2&&(qt=0);var dr=vt[0],_r=vt[1],Ir=he.length<2?(dr=(dr+_r)/2,0):(_r-dr)/(he.length-1+qt);return Ze=Lt(dr+Ir*qt/2,Ir),tt=0,Ae={t:"rangePoints",a:arguments},at},at.rangeRoundPoints=function(vt,qt){arguments.length<2&&(qt=0);var dr=vt[0],_r=vt[1],Ir=he.length<2?(dr=_r=Math.round((dr+_r)/2),0):(_r-dr)/(he.length-1+qt)|0;return Ze=Lt(dr+Math.round(Ir*qt/2+(_r-dr-(he.length-1+qt)*Ir)/2),Ir),tt=0,Ae={t:"rangeRoundPoints",a:arguments},at},at.rangeBands=function(vt,qt,dr){arguments.length<2&&(qt=0),arguments.length<3&&(dr=qt);var _r=vt[1]<vt[0],Ir=vt[_r-0],Rr=vt[1-_r],ei=(Rr-Ir)/(he.length-qt+2*dr);return Ze=Lt(Ir+ei*dr,ei),_r&&Ze.reverse(),tt=ei*(1-qt),Ae={t:"rangeBands",a:arguments},at},at.rangeRoundBands=function(vt,qt,dr){arguments.length<2&&(qt=0),arguments.length<3&&(dr=qt);var _r=vt[1]<vt[0],Ir=vt[_r-0],Rr=vt[1-_r],ei=Math.floor((Rr-Ir)/(he.length-qt+2*dr));return Ze=Lt(Ir+Math.round((Rr-Ir-(he.length-qt)*ei)/2),ei),_r&&Ze.reverse(),tt=Math.round(ei*(1-qt)),Ae={t:"rangeRoundBands",a:arguments},at},at.rangeBand=function(){return tt},at.rangeExtent=function(){return ud(Ae.a[0])},at.copy=function(){return ic(he,Ae)},at.domain(he)}i.scale.category10=function(){return i.scale.ordinal().range(fu)},i.scale.category20=function(){return i.scale.ordinal().range(of)},i.scale.category20b=function(){return i.scale.ordinal().range(Jf)},i.scale.category20c=function(){return i.scale.ordinal().range(qc)};var fu=[2062260,16744206,2924588,14034728,9725885,9197131,14907330,8355711,12369186,1556175].map(jt),of=[2062260,11454440,16744206,16759672,2924588,10018698,14034728,16750742,9725885,12955861,9197131,12885140,14907330,16234194,8355711,13092807,12369186,14408589,1556175,10410725].map(jt),Jf=[3750777,5395619,7040719,10264286,6519097,9216594,11915115,13556636,9202993,12426809,15186514,15190932,8666169,11356490,14049643,15177372,8077683,10834324,13528509,14589654].map(jt),qc=[3244733,7057110,10406625,13032431,15095053,16616764,16625259,16634018,3253076,7652470,10607003,13101504,7695281,10394312,12369372,14342891,6513507,9868950,12434877,14277081].map(jt);i.scale.quantile=function(){return Vo([],[])};function Vo(he,Ae){var Be;function Ze(){var at=0,Lt=Ae.length;for(Be=[];++at<Lt;)Be[at-1]=i.quantile(he,at/Lt);return tt}function tt(at){if(!isNaN(at=+at))return Ae[i.bisect(Be,at)]}return tt.domain=function(at){return arguments.length?(he=at.map(d).filter(v).sort(f),Ze()):he},tt.range=function(at){return arguments.length?(Ae=at,Ze()):Ae},tt.quantiles=function(){return Be},tt.invertExtent=function(at){return at=Ae.indexOf(at),at<0?[NaN,NaN]:[at>0?Be[at-1]:he[0],at<Be.length?Be[at]:he[he.length-1]]},tt.copy=function(){return Vo(he,Ae)},Ze()}i.scale.quantize=function(){return kh(0,1,[0,1])};function kh(he,Ae,Be){var Ze,tt;function at(vt){return Be[Math.max(0,Math.min(tt,Math.floor(Ze*(vt-he))))]}function Lt(){return Ze=Be.length/(Ae-he),tt=Be.length-1,at}return at.domain=function(vt){return arguments.length?(he=+vt[0],Ae=+vt[vt.length-1],Lt()):[he,Ae]},at.range=function(vt){return arguments.length?(Be=vt,Lt()):Be},at.invertExtent=function(vt){return vt=Be.indexOf(vt),vt=vt<0?NaN:vt/Ze+he,[vt,vt+1/Ze]},at.copy=function(){return kh(he,Ae,Be)},Lt()}i.scale.threshold=function(){return mu([.5],[0,1])};function mu(he,Ae){function Be(Ze){if(Ze<=Ze)return Ae[i.bisect(he,Ze)]}return Be.domain=function(Ze){return arguments.length?(he=Ze,Be):he},Be.range=function(Ze){return arguments.length?(Ae=Ze,Be):Ae},Be.invertExtent=function(Ze){return Ze=Ae.indexOf(Ze),[he[Ze-1],he[Ze]]},Be.copy=function(){return mu(he,Ae)},Be}i.scale.identity=function(){return Lf([0,1])};function Lf(he){function Ae(Be){return+Be}return Ae.invert=Ae,Ae.domain=Ae.range=function(Be){return arguments.length?(he=Be.map(Ae),Ae):he},Ae.ticks=function(Be){return Sh(he,Be)},Ae.tickFormat=function(Be,Ze){return d3_scale_linearTickFormat(he,Be,Ze)},Ae.copy=function(){return Lf(he)},Ae}i.svg={};function If(){return 0}i.svg.arc=function(){var he=Wd,Ae=Zd,Be=If,Ze=Uc,tt=ds,at=Qf,Lt=Xd;function vt(){var dr=Math.max(0,+he.apply(this,arguments)),_r=Math.max(0,+Ae.apply(this,arguments)),Ir=tt.apply(this,arguments)-et,Rr=at.apply(this,arguments)-et,ei=Math.abs(Rr-Ir),Hr=Ir>Rr?0:1;if(_r<dr&&(qr=_r,_r=dr,dr=qr),ei>=Re)return qt(_r,Hr)+(dr?qt(dr,1-Hr):"")+"Z";var qr,Kr,ri,ui,si=0,ti=0,ji,vn,Ln,gn,Nn,qn,Sa,aa,fa=[];if((ui=(+Lt.apply(this,arguments)||0)/2)&&(ri=Ze===Uc?Math.sqrt(dr*dr+_r*_r):+Ze.apply(this,arguments),Hr||(ti*=-1),_r&&(ti=tr(ri/_r*Math.sin(ui))),dr&&(si=tr(ri/dr*Math.sin(ui)))),_r){ji=_r*Math.cos(Ir+ti),vn=_r*Math.sin(Ir+ti),Ln=_r*Math.cos(Rr-ti),gn=_r*Math.sin(Rr-ti);var Wa=Math.abs(Rr-Ir-2*ti)<=De?0:1;if(ti&&sf(ji,vn,Ln,gn)===Hr^Wa){var Oo=(Ir+Rr)/2;ji=_r*Math.cos(Oo),vn=_r*Math.sin(Oo),Ln=gn=null}}else ji=vn=0;if(dr){Nn=dr*Math.cos(Rr-si),qn=dr*Math.sin(Rr-si),Sa=dr*Math.cos(Ir+si),aa=dr*Math.sin(Ir+si);var No=Math.abs(Ir-Rr+2*si)<=De?0:1;if(si&&sf(Nn,qn,Sa,aa)===1-Hr^No){var Mn=(Ir+Rr)/2;Nn=dr*Math.cos(Mn),qn=dr*Math.sin(Mn),Sa=aa=null}}else Nn=qn=0;if(ei>Dt&&(qr=Math.min(Math.abs(_r-dr)/2,+Be.apply(this,arguments)))>.001){Kr=dr<_r^Hr?0:1;var Ca=qr,Xa=qr;if(ei<De){var io=Sa==null?[Nn,qn]:Ln==null?[ji,vn]:Zo([ji,vn],[Sa,aa],[Ln,gn],[Nn,qn]),qo=ji-io[0],$o=vn-io[1],_s=Ln-io[0],qa=gn-io[1],Rl=1/Math.sin(Math.acos((qo*_s+$o*qa)/(Math.sqrt(qo*qo+$o*$o)*Math.sqrt(_s*_s+qa*qa)))/2),Sl=Math.sqrt(io[0]*io[0]+io[1]*io[1]);Xa=Math.min(qr,(dr-Sl)/(Rl-1)),Ca=Math.min(qr,(_r-Sl)/(Rl+1))}if(Ln!=null){var Ms=Nu(Sa==null?[Nn,qn]:[Sa,aa],[ji,vn],_r,Ca,Hr),Wt=Nu([Ln,gn],[Nn,qn],_r,Ca,Hr);qr===Ca?fa.push("M",Ms[0],"A",Ca,",",Ca," 0 0,",Kr," ",Ms[1],"A",_r,",",_r," 0 ",1-Hr^sf(Ms[1][0],Ms[1][1],Wt[1][0],Wt[1][1]),",",Hr," ",Wt[1],"A",Ca,",",Ca," 0 0,",Kr," ",Wt[0]):fa.push("M",Ms[0],"A",Ca,",",Ca," 0 1,",Kr," ",Wt[0])}else fa.push("M",ji,",",vn);if(Sa!=null){var jr=Nu([ji,vn],[Sa,aa],dr,-Xa,Hr),$r=Nu([Nn,qn],Ln==null?[ji,vn]:[Ln,gn],dr,-Xa,Hr);qr===Xa?fa.push("L",$r[0],"A",Xa,",",Xa," 0 0,",Kr," ",$r[1],"A",dr,",",dr," 0 ",Hr^sf($r[1][0],$r[1][1],jr[1][0],jr[1][1]),",",1-Hr," ",jr[1],"A",Xa,",",Xa," 0 0,",Kr," ",jr[0]):fa.push("L",$r[0],"A",Xa,",",Xa," 0 0,",Kr," ",jr[0])}else fa.push("L",Nn,",",qn)}else fa.push("M",ji,",",vn),Ln!=null&&fa.push("A",_r,",",_r," 0 ",Wa,",",Hr," ",Ln,",",gn),fa.push("L",Nn,",",qn),Sa!=null&&fa.push("A",dr,",",dr," 0 ",No,",",1-Hr," ",Sa,",",aa);return fa.push("Z"),fa.join("")}function qt(dr,_r){return"M0,"+dr+"A"+dr+","+dr+" 0 1,"+_r+" 0,"+-dr+"A"+dr+","+dr+" 0 1,"+_r+" 0,"+dr}return vt.innerRadius=function(dr){return arguments.length?(he=vi(dr),vt):he},vt.outerRadius=function(dr){return arguments.length?(Ae=vi(dr),vt):Ae},vt.cornerRadius=function(dr){return arguments.length?(Be=vi(dr),vt):Be},vt.padRadius=function(dr){return arguments.length?(Ze=dr==Uc?Uc:vi(dr),vt):Ze},vt.startAngle=function(dr){return arguments.length?(tt=vi(dr),vt):tt},vt.endAngle=function(dr){return arguments.length?(at=vi(dr),vt):at},vt.padAngle=function(dr){return arguments.length?(Lt=vi(dr),vt):Lt},vt.centroid=function(){var dr=(+he.apply(this,arguments)+ +Ae.apply(this,arguments))/2,_r=(+tt.apply(this,arguments)+ +at.apply(this,arguments))/2-et;return[Math.cos(_r)*dr,Math.sin(_r)*dr]},vt};var Uc="auto";function Wd(he){return he.innerRadius}function Zd(he){return he.outerRadius}function ds(he){return he.startAngle}function Qf(he){return he.endAngle}function Xd(he){return he&&he.padAngle}function sf(he,Ae,Be,Ze){return(he-Be)*Ae-(Ae-Ze)*he>0?0:1}function Nu(he,Ae,Be,Ze,tt){var at=he[0]-Ae[0],Lt=he[1]-Ae[1],vt=(tt?Ze:-Ze)/Math.sqrt(at*at+Lt*Lt),qt=vt*Lt,dr=-vt*at,_r=he[0]+qt,Ir=he[1]+dr,Rr=Ae[0]+qt,ei=Ae[1]+dr,Hr=(_r+Rr)/2,qr=(Ir+ei)/2,Kr=Rr-_r,ri=ei-Ir,ui=Kr*Kr+ri*ri,si=Be-Ze,ti=_r*ei-Rr*Ir,ji=(ri<0?-1:1)*Math.sqrt(Math.max(0,si*si*ui-ti*ti)),vn=(ti*ri-Kr*ji)/ui,Ln=(-ti*Kr-ri*ji)/ui,gn=(ti*ri+Kr*ji)/ui,Nn=(-ti*Kr+ri*ji)/ui,qn=vn-Hr,Sa=Ln-qr,aa=gn-Hr,fa=Nn-qr;return qn*qn+Sa*Sa>aa*aa+fa*fa&&(vn=gn,Ln=Nn),[[vn-qt,Ln-dr],[vn*Be/si,Ln*Be/si]]}function eh(){return!0}function Yd(he){var Ae=Wo,Be=ja,Ze=eh,tt=nc,at=tt.key,Lt=.7;function vt(qt){var dr=[],_r=[],Ir=-1,Rr=qt.length,ei,Hr=vi(Ae),qr=vi(Be);function Kr(){dr.push("M",tt(he(_r),Lt))}for(;++Ir<Rr;)Ze.call(this,ei=qt[Ir],Ir)?_r.push([+Hr.call(this,ei,Ir),+qr.call(this,ei,Ir)]):_r.length&&(Kr(),_r=[]);return _r.length&&Kr(),dr.length?dr.join(""):null}return vt.x=function(qt){return arguments.length?(Ae=qt,vt):Ae},vt.y=function(qt){return arguments.length?(Be=qt,vt):Be},vt.defined=function(qt){return arguments.length?(Ze=qt,vt):Ze},vt.interpolate=function(qt){return arguments.length?(typeof qt=="function"?at=tt=qt:at=(tt=Ch.get(qt)||nc).key,vt):at},vt.tension=function(qt){return arguments.length?(Lt=qt,vt):Lt},vt}i.svg.line=function(){return Yd(O)};var Ch=i.map({linear:nc,"linear-closed":fd,step:qu,"step-before":Uu,"step-after":wl,basis:Pf,"basis-open":th,"basis-closed":lf,bundle:Pl,cardinal:oc,"cardinal-open":Tc,"cardinal-closed":ac,monotone:Wv});Ch.forEach(function(he,Ae){Ae.key=he,Ae.closed=/-closed$/.test(he)});function nc(he){return he.length>1?he.join("L"):he+"Z"}function fd(he){return he.join("L")+"Z"}function qu(he){for(var Ae=0,Be=he.length,Ze=he[0],tt=[Ze[0],",",Ze[1]];++Ae<Be;)tt.push("H",(Ze[0]+(Ze=he[Ae])[0])/2,"V",Ze[1]);return Be>1&&tt.push("H",Ze[0]),tt.join("")}function Uu(he){for(var Ae=0,Be=he.length,Ze=he[0],tt=[Ze[0],",",Ze[1]];++Ae<Be;)tt.push("V",(Ze=he[Ae])[1],"H",Ze[0]);return tt.join("")}function wl(he){for(var Ae=0,Be=he.length,Ze=he[0],tt=[Ze[0],",",Ze[1]];++Ae<Be;)tt.push("H",(Ze=he[Ae])[0],"V",Ze[1]);return tt.join("")}function Tc(he,Ae){return he.length<4?nc(he):he[1]+Sc(he.slice(1,-1),Iu(he,Ae))}function ac(he,Ae){return he.length<3?fd(he):he[0]+Sc((he.push(he[0]),he),Iu([he[he.length-2]].concat(he,[he[1]]),Ae))}function oc(he,Ae){return he.length<3?nc(he):he[0]+Sc(he,Iu(he,Ae))}function Sc(he,Ae){if(Ae.length<1||he.length!=Ae.length&&he.length!=Ae.length+2)return nc(he);var Be=he.length!=Ae.length,Ze="",tt=he[0],at=he[1],Lt=Ae[0],vt=Lt,qt=1;if(Be&&(Ze+="Q"+(at[0]-Lt[0]*2/3)+","+(at[1]-Lt[1]*2/3)+","+at[0]+","+at[1],tt=he[1],qt=2),Ae.length>1){vt=Ae[1],at=he[qt],qt++,Ze+="C"+(tt[0]+Lt[0])+","+(tt[1]+Lt[1])+","+(at[0]-vt[0])+","+(at[1]-vt[1])+","+at[0]+","+at[1];for(var dr=2;dr<Ae.length;dr++,qt++)at=he[qt],vt=Ae[dr],Ze+="S"+(at[0]-vt[0])+","+(at[1]-vt[1])+","+at[0]+","+at[1]}if(Be){var _r=he[qt];Ze+="Q"+(at[0]+vt[0]*2/3)+","+(at[1]+vt[1]*2/3)+","+_r[0]+","+_r[1]}return Ze}function Iu(he,Ae){for(var Be=[],Ze=(1-Ae)/2,tt,at=he[0],Lt=he[1],vt=1,qt=he.length;++vt<qt;)tt=at,at=Lt,Lt=he[vt],Be.push([Ze*(Lt[0]-tt[0]),Ze*(Lt[1]-tt[1])]);return Be}function Pf(he){if(he.length<3)return nc(he);var Ae=1,Be=he.length,Ze=he[0],tt=Ze[0],at=Ze[1],Lt=[tt,tt,tt,(Ze=he[1])[0]],vt=[at,at,at,Ze[1]],qt=[tt,",",at,"L",vl(Tl,Lt),",",vl(Tl,vt)];for(he.push(he[Be-1]);++Ae<=Be;)Ze=he[Ae],Lt.shift(),Lt.push(Ze[0]),vt.shift(),vt.push(Ze[1]),Eh(qt,Lt,vt);return he.pop(),qt.push("L",Ze),qt.join("")}function th(he){if(he.length<4)return nc(he);for(var Ae=[],Be=-1,Ze=he.length,tt,at=[0],Lt=[0];++Be<3;)tt=he[Be],at.push(tt[0]),Lt.push(tt[1]);for(Ae.push(vl(Tl,at)+","+vl(Tl,Lt)),--Be;++Be<Ze;)tt=he[Be],at.shift(),at.push(tt[0]),Lt.shift(),Lt.push(tt[1]),Eh(Ae,at,Lt);return Ae.join("")}function lf(he){for(var Ae,Be=-1,Ze=he.length,tt=Ze+4,at,Lt=[],vt=[];++Be<4;)at=he[Be%Ze],Lt.push(at[0]),vt.push(at[1]);for(Ae=[vl(Tl,Lt),",",vl(Tl,vt)],--Be;++Be<tt;)at=he[Be%Ze],Lt.shift(),Lt.push(at[0]),vt.shift(),vt.push(at[1]),Eh(Ae,Lt,vt);return Ae.join("")}function Pl(he,Ae){var Be=he.length-1;if(Be)for(var Ze=he[0][0],tt=he[0][1],at=he[Be][0]-Ze,Lt=he[Be][1]-tt,vt=-1,qt,dr;++vt<=Be;)qt=he[vt],dr=vt/Be,qt[0]=Ae*qt[0]+(1-Ae)*(Ze+dr*at),qt[1]=Ae*qt[1]+(1-Ae)*(tt+dr*Lt);return Pf(he)}function vl(he,Ae){return he[0]*Ae[0]+he[1]*Ae[1]+he[2]*Ae[2]+he[3]*Ae[3]}var Rf=[0,2/3,1/3,0],sc=[0,1/3,2/3,0],Tl=[0,1/6,2/3,1/6];function Eh(he,Ae,Be){he.push("C",vl(Rf,Ae),",",vl(Rf,Be),",",vl(sc,Ae),",",vl(sc,Be),",",vl(Tl,Ae),",",vl(Tl,Be))}function rh(he,Ae){return(Ae[1]-he[1])/(Ae[0]-he[0])}function Eo(he){for(var Ae=0,Be=he.length-1,Ze=[],tt=he[0],at=he[1],Lt=Ze[0]=rh(tt,at);++Ae<Be;)Ze[Ae]=(Lt+(Lt=rh(tt=at,at=he[Ae+1])))/2;return Ze[Ae]=Lt,Ze}function Ac(he){for(var Ae=[],Be,Ze,tt,at,Lt=Eo(he),vt=-1,qt=he.length-1;++vt<qt;)Be=rh(he[vt],he[vt+1]),y(Be)<Dt?Lt[vt]=Lt[vt+1]=0:(Ze=Lt[vt]/Be,tt=Lt[vt+1]/Be,at=Ze*Ze+tt*tt,at>9&&(at=Be*3/Math.sqrt(at),Lt[vt]=at*Ze,Lt[vt+1]=at*tt));for(vt=-1;++vt<=qt;)at=(he[Math.min(qt,vt+1)][0]-he[Math.max(0,vt-1)][0])/(6*(1+Lt[vt]*Lt[vt])),Ae.push([at||0,Lt[vt]*at||0]);return Ae}function Wv(he){return he.length<3?nc(he):he[0]+Sc(he,Ac(he))}i.svg.line.radial=function(){var he=Yd(ih);return he.radius=he.x,delete he.x,he.angle=he.y,delete he.y,he};function ih(he){for(var Ae,Be=-1,Ze=he.length,tt,at;++Be<Ze;)Ae=he[Be],tt=Ae[0],at=Ae[1]-et,Ae[0]=tt*Math.cos(at),Ae[1]=tt*Math.sin(at);return he}function Rs(he){var Ae=Wo,Be=Wo,Ze=0,tt=ja,at=eh,Lt=nc,vt=Lt.key,qt=Lt,dr="L",_r=.7;function Ir(Rr){var ei=[],Hr=[],qr=[],Kr=-1,ri=Rr.length,ui,si=vi(Ae),ti=vi(Ze),ji=Ae===Be?function(){return Ln}:vi(Be),vn=Ze===tt?function(){return gn}:vi(tt),Ln,gn;function Nn(){ei.push("M",Lt(he(qr),_r),dr,qt(he(Hr.reverse()),_r),"Z")}for(;++Kr<ri;)at.call(this,ui=Rr[Kr],Kr)?(Hr.push([Ln=+si.call(this,ui,Kr),gn=+ti.call(this,ui,Kr)]),qr.push([+ji.call(this,ui,Kr),+vn.call(this,ui,Kr)])):Hr.length&&(Nn(),Hr=[],qr=[]);return Hr.length&&Nn(),ei.length?ei.join(""):null}return Ir.x=function(Rr){return arguments.length?(Ae=Be=Rr,Ir):Be},Ir.x0=function(Rr){return arguments.length?(Ae=Rr,Ir):Ae},Ir.x1=function(Rr){return arguments.length?(Be=Rr,Ir):Be},Ir.y=function(Rr){return arguments.length?(Ze=tt=Rr,Ir):tt},Ir.y0=function(Rr){return arguments.length?(Ze=Rr,Ir):Ze},Ir.y1=function(Rr){return arguments.length?(tt=Rr,Ir):tt},Ir.defined=function(Rr){return arguments.length?(at=Rr,Ir):at},Ir.interpolate=function(Rr){return arguments.length?(typeof Rr=="function"?vt=Lt=Rr:vt=(Lt=Ch.get(Rr)||nc).key,qt=Lt.reverse||Lt,dr=Lt.closed?"M":"L",Ir):vt},Ir.tension=function(Rr){return arguments.length?(_r=Rr,Ir):_r},Ir}Uu.reverse=wl,wl.reverse=Uu,i.svg.area=function(){return Rs(O)},i.svg.area.radial=function(){var he=Rs(ih);return he.radius=he.x,delete he.x,he.innerRadius=he.x0,delete he.x0,he.outerRadius=he.x1,delete he.x1,he.angle=he.y,delete he.y,he.startAngle=he.y0,delete he.y0,he.endAngle=he.y1,delete he.y1,he};function Lh(he){return he.source}function Ih(he){return he.target}i.svg.chord=function(){var he=Lh,Ae=Ih,Be=To,Ze=ds,tt=Qf;function at(_r,Ir){var Rr=Lt(this,he,_r,Ir),ei=Lt(this,Ae,_r,Ir);return"M"+Rr.p0+qt(Rr.r,Rr.p1,Rr.a1-Rr.a0)+(vt(Rr,ei)?dr(Rr.r,Rr.p1,Rr.r,Rr.p0):dr(Rr.r,Rr.p1,ei.r,ei.p0)+qt(ei.r,ei.p1,ei.a1-ei.a0)+dr(ei.r,ei.p1,Rr.r,Rr.p0))+"Z"}function Lt(_r,Ir,Rr,ei){var Hr=Ir.call(_r,Rr,ei),qr=Be.call(_r,Hr,ei),Kr=Ze.call(_r,Hr,ei)-et,ri=tt.call(_r,Hr,ei)-et;return{r:qr,a0:Kr,a1:ri,p0:[qr*Math.cos(Kr),qr*Math.sin(Kr)],p1:[qr*Math.cos(ri),qr*Math.sin(ri)]}}function vt(_r,Ir){return _r.a0==Ir.a0&&_r.a1==Ir.a1}function qt(_r,Ir,Rr){return"A"+_r+","+_r+" 0 "+ +(Rr>De)+",1 "+Ir}function dr(_r,Ir,Rr,ei){return"Q 0,0 "+ei}return at.radius=function(_r){return arguments.length?(Be=vi(_r),at):Be},at.source=function(_r){return arguments.length?(he=vi(_r),at):he},at.target=function(_r){return arguments.length?(Ae=vi(_r),at):Ae},at.startAngle=function(_r){return arguments.length?(Ze=vi(_r),at):Ze},at.endAngle=function(_r){return arguments.length?(tt=vi(_r),at):tt},at};function To(he){return he.radius}i.svg.diagonal=function(){var he=Lh,Ae=Ih,Be=nh;function Ze(tt,at){var Lt=he.call(this,tt,at),vt=Ae.call(this,tt,at),qt=(Lt.y+vt.y)/2,dr=[Lt,{x:Lt.x,y:qt},{x:vt.x,y:qt},vt];return dr=dr.map(Be),"M"+dr[0]+"C"+dr[1]+" "+dr[2]+" "+dr[3]}return Ze.source=function(tt){return arguments.length?(he=vi(tt),Ze):he},Ze.target=function(tt){return arguments.length?(Ae=vi(tt),Ze):Ae},Ze.projection=function(tt){return arguments.length?(Be=tt,Ze):Be},Ze};function nh(he){return[he.x,he.y]}i.svg.diagonal.radial=function(){var he=i.svg.diagonal(),Ae=nh,Be=he.projection;return he.projection=function(Ze){return arguments.length?Be(Ph(Ae=Ze)):Ae},he};function Ph(he){return function(){var Ae=he.apply(this,arguments),Be=Ae[0],Ze=Ae[1]-et;return[Be*Math.cos(Ze),Be*Math.sin(Ze)]}}i.svg.symbol=function(){var he=Df,Ae=As;function Be(Ze,tt){return(us.get(he.call(this,Ze,tt))||zf)(Ae.call(this,Ze,tt))}return Be.type=function(Ze){return arguments.length?(he=vi(Ze),Be):he},Be.size=function(Ze){return arguments.length?(Ae=vi(Ze),Be):Ae},Be};function As(){return 64}function Df(){return"circle"}function zf(he){var Ae=Math.sqrt(he/De);return"M0,"+Ae+"A"+Ae+","+Ae+" 0 1,1 0,"+-Ae+"A"+Ae+","+Ae+" 0 1,1 0,"+Ae+"Z"}var us=i.map({circle:zf,cross:function(he){var Ae=Math.sqrt(he/5)/2;return"M"+-3*Ae+","+-Ae+"H"+-Ae+"V"+-3*Ae+"H"+Ae+"V"+-Ae+"H"+3*Ae+"V"+Ae+"H"+Ae+"V"+3*Ae+"H"+-Ae+"V"+Ae+"H"+-3*Ae+"Z"},diamond:function(he){var Ae=Math.sqrt(he/(2*$d)),Be=Ae*$d;return"M0,"+-Ae+"L"+Be+",0 0,"+Ae+" "+-Be+",0Z"},square:function(he){var Ae=Math.sqrt(he)/2;return"M"+-Ae+","+-Ae+"L"+Ae+","+-Ae+" "+Ae+","+Ae+" "+-Ae+","+Ae+"Z"},"triangle-down":function(he){var Ae=Math.sqrt(he/Mc),Be=Ae*Mc/2;return"M0,"+Be+"L"+Ae+","+-Be+" "+-Ae+","+-Be+"Z"},"triangle-up":function(he){var Ae=Math.sqrt(he/Mc),Be=Ae*Mc/2;return"M0,"+-Be+"L"+Ae+","+Be+" "+-Ae+","+Be+"Z"}});i.svg.symbolTypes=us.keys();var Mc=Math.sqrt(3),$d=Math.tan(30*ct);Q.transition=function(he){for(var Ae=lc||++Dh,Be=oh(he),Ze=[],tt,at,Lt=uf||{time:Date.now(),ease:lu,delay:0,duration:250},vt=-1,qt=this.length;++vt<qt;){Ze.push(tt=[]);for(var dr=this[vt],_r=-1,Ir=dr.length;++_r<Ir;)(at=dr[_r])&&Zl(at,_r,Be,Ae,Lt),tt.push(at)}return Vc(Ze,Be,Ae)},Q.interrupt=function(he){return this.each(he==null?Rh:ah(oh(he)))};var Rh=ah(oh());function ah(he){return function(){var Ae,Be,Ze;(Ae=this[he])&&(Ze=Ae[Be=Ae.active])&&(Ze.timer.c=null,Ze.timer.t=NaN,--Ae.count?delete Ae[Be]:delete this[he],Ae.active+=.5,Ze.event&&Ze.event.interrupt.call(this,this.__data__,Ze.index))}}function Vc(he,Ae,Be){return ue(he,qs),he.namespace=Ae,he.id=Be,he}var qs=[],Dh=0,lc,uf;qs.call=Q.call,qs.empty=Q.empty,qs.node=Q.node,qs.size=Q.size,i.transition=function(he,Ae){return he&&he.transition?lc?he.transition(Ae):he:i.selection().transition(he)},i.transition.prototype=qs,qs.select=function(he){var Ae=this.id,Be=this.namespace,Ze=[],tt,at,Lt;he=ee(he);for(var vt=-1,qt=this.length;++vt<qt;){Ze.push(tt=[]);for(var dr=this[vt],_r=-1,Ir=dr.length;++_r<Ir;)(Lt=dr[_r])&&(at=he.call(Lt,Lt.__data__,_r,vt))?("__data__"in Lt&&(at.__data__=Lt.__data__),Zl(at,_r,Be,Ae,Lt[Be][Ae]),tt.push(at)):tt.push(null)}return Vc(Ze,Be,Ae)},qs.selectAll=function(he){var Ae=this.id,Be=this.namespace,Ze=[],tt,at,Lt,vt,qt;he=se(he);for(var dr=-1,_r=this.length;++dr<_r;)for(var Ir=this[dr],Rr=-1,ei=Ir.length;++Rr<ei;)if(Lt=Ir[Rr]){qt=Lt[Be][Ae],at=he.call(Lt,Lt.__data__,Rr,dr),Ze.push(tt=[]);for(var Hr=-1,qr=at.length;++Hr<qr;)(vt=at[Hr])&&Zl(vt,Hr,Be,Ae,qt),tt.push(vt)}return Vc(Ze,Be,Ae)},qs.filter=function(he){var Ae=[],Be,Ze,tt;typeof he!="function"&&(he=Se(he));for(var at=0,Lt=this.length;at<Lt;at++){Ae.push(Be=[]);for(var Ze=this[at],vt=0,qt=Ze.length;vt<qt;vt++)(tt=Ze[vt])&&he.call(tt,tt.__data__,vt,at)&&Be.push(tt)}return Vc(Ae,this.namespace,this.id)},qs.tween=function(he,Ae){var Be=this.id,Ze=this.namespace;return arguments.length<2?this.node()[Ze][Be].tween.get(he):Ne(this,Ae==null?function(tt){tt[Ze][Be].tween.remove(he)}:function(tt){tt[Ze][Be].tween.set(he,Ae)})};function Kd(he,Ae,Be,Ze){var tt=he.id,at=he.namespace;return Ne(he,typeof Be=="function"?function(Lt,vt,qt){Lt[at][tt].tween.set(Ae,Ze(Be.call(Lt,Lt.__data__,vt,qt)))}:(Be=Ze(Be),function(Lt){Lt[at][tt].tween.set(Ae,Be)}))}qs.attr=function(he,Ae){if(arguments.length<2){for(Ae in he)this.attr(Ae,he[Ae]);return this}var Be=he=="transform"?_o:ls,Ze=i.ns.qualify(he);function tt(){this.removeAttribute(Ze)}function at(){this.removeAttributeNS(Ze.space,Ze.local)}function Lt(qt){return qt==null?tt:(qt+="",function(){var dr=this.getAttribute(Ze),_r;return dr!==qt&&(_r=Be(dr,qt),function(Ir){this.setAttribute(Ze,_r(Ir))})})}function vt(qt){return qt==null?at:(qt+="",function(){var dr=this.getAttributeNS(Ze.space,Ze.local),_r;return dr!==qt&&(_r=Be(dr,qt),function(Ir){this.setAttributeNS(Ze.space,Ze.local,_r(Ir))})})}return Kd(this,"attr."+he,Ae,Ze.local?vt:Lt)},qs.attrTween=function(he,Ae){var Be=i.ns.qualify(he);function Ze(at,Lt){var vt=Ae.call(this,at,Lt,this.getAttribute(Be));return vt&&function(qt){this.setAttribute(Be,vt(qt))}}function tt(at,Lt){var vt=Ae.call(this,at,Lt,this.getAttributeNS(Be.space,Be.local));return vt&&function(qt){this.setAttributeNS(Be.space,Be.local,vt(qt))}}return this.tween("attr."+he,Be.local?tt:Ze)},qs.style=function(he,Ae,Be){var Ze=arguments.length;if(Ze<3){if(typeof he!="string"){Ze<2&&(Ae="");for(Be in he)this.style(Be,he[Be],Ae);return this}Be=""}function tt(){this.style.removeProperty(he)}function at(Lt){return Lt==null?tt:(Lt+="",function(){var vt=e(this).getComputedStyle(this,null).getPropertyValue(he),qt;return vt!==Lt&&(qt=ls(vt,Lt),function(dr){this.style.setProperty(he,qt(dr),Be)})})}return Kd(this,"style."+he,Ae,at)},qs.styleTween=function(he,Ae,Be){arguments.length<3&&(Be="");function Ze(tt,at){var Lt=Ae.call(this,tt,at,e(this).getComputedStyle(this,null).getPropertyValue(he));return Lt&&function(vt){this.style.setProperty(he,Lt(vt),Be)}}return this.tween("style."+he,Ze)},qs.text=function(he){return Kd(this,"text",he,zh)};function zh(he){return he==null&&(he=""),function(){this.textContent=he}}qs.remove=function(){var he=this.namespace;return this.each("end.transition",function(){var Ae;this[he].count<2&&(Ae=this.parentNode)&&Ae.removeChild(this)})},qs.ease=function(he){var Ae=this.id,Be=this.namespace;return arguments.length<1?this.node()[Be][Ae].ease:(typeof he!="function"&&(he=i.ease.apply(i,arguments)),Ne(this,function(Ze){Ze[Be][Ae].ease=he}))},qs.delay=function(he){var Ae=this.id,Be=this.namespace;return arguments.length<1?this.node()[Be][Ae].delay:Ne(this,typeof he=="function"?function(Ze,tt,at){Ze[Be][Ae].delay=+he.call(Ze,Ze.__data__,tt,at)}:(he=+he,function(Ze){Ze[Be][Ae].delay=he}))},qs.duration=function(he){var Ae=this.id,Be=this.namespace;return arguments.length<1?this.node()[Be][Ae].duration:Ne(this,typeof he=="function"?function(Ze,tt,at){Ze[Be][Ae].duration=Math.max(1,he.call(Ze,Ze.__data__,tt,at))}:(he=Math.max(1,he),function(Ze){Ze[Be][Ae].duration=he}))},qs.each=function(he,Ae){var Be=this.id,Ze=this.namespace;if(arguments.length<2){var tt=uf,at=lc;try{lc=Be,Ne(this,function(Lt,vt,qt){uf=Lt[Ze][Be],he.call(Lt,Lt.__data__,vt,qt)})}finally{uf=tt,lc=at}}else Ne(this,function(Lt){var vt=Lt[Ze][Be];(vt.event||(vt.event=i.dispatch("start","end","interrupt"))).on(he,Ae)});return this},qs.transition=function(){for(var he=this.id,Ae=++Dh,Be=this.namespace,Ze=[],tt,at,Lt,vt,qt=0,dr=this.length;qt<dr;qt++){Ze.push(tt=[]);for(var at=this[qt],_r=0,Ir=at.length;_r<Ir;_r++)(Lt=at[_r])&&(vt=Lt[Be][he],Zl(Lt,_r,Be,Ae,{time:vt.time,ease:vt.ease,delay:vt.delay+vt.duration,duration:vt.duration})),tt.push(Lt)}return Vc(Ze,Be,Ae)};function oh(he){return he==null?"__transition__":"__transition_"+he+"__"}function Zl(he,Ae,Be,Ze,tt){var at=he[Be]||(he[Be]={active:0,count:0}),Lt=at[Ze],vt,qt,dr,_r,Ir;function Rr(qr){var Kr=Lt.delay;if(qt.t=Kr+vt,Kr<=qr)return ei(qr-Kr);qt.c=ei}function ei(qr){var Kr=at.active,ri=at[Kr];ri&&(ri.timer.c=null,ri.timer.t=NaN,--at.count,delete at[Kr],ri.event&&ri.event.interrupt.call(he,he.__data__,ri.index));for(var ui in at)if(+ui<Ze){var si=at[ui];si.timer.c=null,si.timer.t=NaN,--at.count,delete at[ui]}qt.c=Hr,Ra(function(){return qt.c&&Hr(qr||1)&&(qt.c=null,qt.t=NaN),1},0,vt),at.active=Ze,Lt.event&&Lt.event.start.call(he,he.__data__,Ae),Ir=[],Lt.tween.forEach(function(ti,ji){(ji=ji.call(he,he.__data__,Ae))&&Ir.push(ji)}),_r=Lt.ease,dr=Lt.duration}function Hr(qr){for(var Kr=qr/dr,ri=_r(Kr),ui=Ir.length;ui>0;)Ir[--ui].call(he,ri);if(Kr>=1)return Lt.event&&Lt.event.end.call(he,he.__data__,Ae),--at.count?delete at[Ze]:delete he[Be],1}Lt||(vt=tt.time,qt=Ra(Rr,0,vt),Lt=at[Ze]={tween:new M,time:vt,timer:qt,delay:tt.delay,duration:tt.duration,ease:tt.ease,index:Ae},tt=null,++at.count)}i.svg.axis=function(){var he=i.scale.linear(),Ae=ms,Be=6,Ze=6,tt=3,at=[10],Lt=null,vt;function qt(dr){dr.each(function(){var _r=i.select(this),Ir=this.__chart__||he,Rr=this.__chart__=he.copy(),ei=Lt??(Rr.ticks?Rr.ticks.apply(Rr,at):Rr.domain()),Hr=vt??(Rr.tickFormat?Rr.tickFormat.apply(Rr,at):O),qr=_r.selectAll(".tick").data(ei,Rr),Kr=qr.enter().insert("g",".domain").attr("class","tick").style("opacity",Dt),ri=i.transition(qr.exit()).style("opacity",Dt).remove(),ui=i.transition(qr.order()).style("opacity",1),si=Math.max(Be,0)+tt,ti,ji=Gd(Rr),vn=_r.selectAll(".domain").data([0]),Ln=(vn.enter().append("path").attr("class","domain"),i.transition(vn));Kr.append("line"),Kr.append("text");var gn=Kr.select("line"),Nn=ui.select("line"),qn=qr.select("text").text(Hr),Sa=Kr.select("text"),aa=ui.select("text"),fa=Ae==="top"||Ae==="left"?-1:1,Wa,Oo,No,Mn;if(Ae==="bottom"||Ae==="top"?(ti=cf,Wa="x",No="y",Oo="x2",Mn="y2",qn.attr("dy",fa<0?"0em":".71em").style("text-anchor","middle"),Ln.attr("d","M"+ji[0]+","+fa*Ze+"V0H"+ji[1]+"V"+fa*Ze)):(ti=_u,Wa="y",No="x",Oo="y2",Mn="x2",qn.attr("dy",".32em").style("text-anchor",fa<0?"end":"start"),Ln.attr("d","M"+fa*Ze+","+ji[0]+"H0V"+ji[1]+"H"+fa*Ze)),gn.attr(Mn,fa*Be),Sa.attr(No,fa*si),Nn.attr(Oo,0).attr(Mn,fa*Be),aa.attr(Wa,0).attr(No,fa*si),Rr.rangeBand){var Ca=Rr,Xa=Ca.rangeBand()/2;Ir=Rr=function(io){return Ca(io)+Xa}}else Ir.rangeBand?Ir=Rr:ri.call(ti,Rr,Ir);Kr.call(ti,Ir,Rr),ui.call(ti,Rr,Rr)})}return qt.scale=function(dr){return arguments.length?(he=dr,qt):he},qt.orient=function(dr){return arguments.length?(Ae=dr in Vu?dr+"":ms,qt):Ae},qt.ticks=function(){return arguments.length?(at=c(arguments),qt):at},qt.tickValues=function(dr){return arguments.length?(Lt=dr,qt):Lt},qt.tickFormat=function(dr){return arguments.length?(vt=dr,qt):vt},qt.tickSize=function(dr){var _r=arguments.length;return _r?(Be=+dr,Ze=+arguments[_r-1],qt):Be},qt.innerTickSize=function(dr){return arguments.length?(Be=+dr,qt):Be},qt.outerTickSize=function(dr){return arguments.length?(Ze=+dr,qt):Ze},qt.tickPadding=function(dr){return arguments.length?(tt=+dr,qt):tt},qt.tickSubdivide=function(){return arguments.length&&qt},qt};var ms="bottom",Vu={top:1,right:1,bottom:1,left:1};function cf(he,Ae,Be){he.attr("transform",function(Ze){var tt=Ae(Ze);return"translate("+(isFinite(tt)?tt:Be(Ze))+",0)"})}function _u(he,Ae,Be){he.attr("transform",function(Ze){var tt=Ae(Ze);return"translate(0,"+(isFinite(tt)?tt:Be(Ze))+")"})}i.svg.brush=function(){var he=oe(_r,"brushstart","brush","brushend"),Ae=null,Be=null,Ze=[0,0],tt=[0,0],at,Lt,vt=!0,qt=!0,dr=Yo[0];function _r(qr){qr.each(function(){var Kr=i.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",Hr).on("touchstart.brush",Hr),ri=Kr.selectAll(".background").data([0]);ri.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),Kr.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var ui=Kr.selectAll(".resize").data(dr,O);ui.exit().remove(),ui.enter().append("g").attr("class",function(vn){return"resize "+vn}).style("cursor",function(vn){return Ho[vn]}).append("rect").attr("x",function(vn){return/[ew]$/.test(vn)?-3:null}).attr("y",function(vn){return/^[ns]/.test(vn)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),ui.style("display",_r.empty()?"none":null);var si=i.transition(Kr),ti=i.transition(ri),ji;Ae&&(ji=Gd(Ae),ti.attr("x",ji[0]).attr("width",ji[1]-ji[0]),Rr(si)),Be&&(ji=Gd(Be),ti.attr("y",ji[0]).attr("height",ji[1]-ji[0]),ei(si)),Ir(si)})}_r.event=function(qr){qr.each(function(){var Kr=he.of(this,arguments),ri={x:Ze,y:tt,i:at,j:Lt},ui=this.__chart__||ri;this.__chart__=ri,lc?i.select(this).transition().each("start.brush",function(){at=ui.i,Lt=ui.j,Ze=ui.x,tt=ui.y,Kr({type:"brushstart"})}).tween("brush:brush",function(){var si=Ps(Ze,ri.x),ti=Ps(tt,ri.y);return at=Lt=null,function(ji){Ze=ri.x=si(ji),tt=ri.y=ti(ji),Kr({type:"brush",mode:"resize"})}}).each("end.brush",function(){at=ri.i,Lt=ri.j,Kr({type:"brush",mode:"resize"}),Kr({type:"brushend"})}):(Kr({type:"brushstart"}),Kr({type:"brush",mode:"resize"}),Kr({type:"brushend"}))})};function Ir(qr){qr.selectAll(".resize").attr("transform",function(Kr){return"translate("+Ze[+/e$/.test(Kr)]+","+tt[+/^s/.test(Kr)]+")"})}function Rr(qr){qr.select(".extent").attr("x",Ze[0]),qr.selectAll(".extent,.n>rect,.s>rect").attr("width",Ze[1]-Ze[0])}function ei(qr){qr.select(".extent").attr("y",tt[0]),qr.selectAll(".extent,.e>rect,.w>rect").attr("height",tt[1]-tt[0])}function Hr(){var qr=this,Kr=i.select(i.event.target),ri=he.of(qr,arguments),ui=i.select(qr),si=Kr.datum(),ti=!/^(n|s)$/.test(si)&&Ae,ji=!/^(e|w)$/.test(si)&&Be,vn=Kr.classed("extent"),Ln=hr(qr),gn,Nn=i.mouse(qr),qn,Sa=i.select(e(qr)).on("keydown.brush",Wa).on("keyup.brush",Oo);if(i.event.changedTouches?Sa.on("touchmove.brush",No).on("touchend.brush",Ca):Sa.on("mousemove.brush",No).on("mouseup.brush",Ca),ui.interrupt().selectAll("*").interrupt(),vn)Nn[0]=Ze[0]-Nn[0],Nn[1]=tt[0]-Nn[1];else if(si){var aa=+/w$/.test(si),fa=+/^n/.test(si);qn=[Ze[1-aa]-Nn[0],tt[1-fa]-Nn[1]],Nn[0]=Ze[aa],Nn[1]=tt[fa]}else i.event.altKey&&(gn=Nn.slice());ui.style("pointer-events","none").selectAll(".resize").style("display",null),i.select("body").style("cursor",Kr.style("cursor")),ri({type:"brushstart"}),No();function Wa(){i.event.keyCode==32&&(vn||(gn=null,Nn[0]-=Ze[1],Nn[1]-=tt[1],vn=2),ae())}function Oo(){i.event.keyCode==32&&vn==2&&(Nn[0]+=Ze[1],Nn[1]+=tt[1],vn=0,ae())}function No(){var Xa=i.mouse(qr),io=!1;qn&&(Xa[0]+=qn[0],Xa[1]+=qn[1]),vn||(i.event.altKey?(gn||(gn=[(Ze[0]+Ze[1])/2,(tt[0]+tt[1])/2]),Nn[0]=Ze[+(Xa[0]<gn[0])],Nn[1]=tt[+(Xa[1]<gn[1])]):gn=null),ti&&Mn(Xa,Ae,0)&&(Rr(ui),io=!0),ji&&Mn(Xa,Be,1)&&(ei(ui),io=!0),io&&(Ir(ui),ri({type:"brush",mode:vn?"move":"resize"}))}function Mn(Xa,io,qo){var $o=Gd(io),_s=$o[0],qa=$o[1],Rl=Nn[qo],Sl=qo?tt:Ze,Ms=Sl[1]-Sl[0],Wt,jr;if(vn&&(_s-=Rl,qa-=Ms+Rl),Wt=(qo?qt:vt)?Math.max(_s,Math.min(qa,Xa[qo])):Xa[qo],vn?jr=(Wt+=Rl)+Ms:(gn&&(Rl=Math.max(_s,Math.min(qa,2*gn[qo]-Wt))),Rl<Wt?(jr=Wt,Wt=Rl):jr=Rl),Sl[0]!=Wt||Sl[1]!=jr)return qo?Lt=null:at=null,Sl[0]=Wt,Sl[1]=jr,!0}function Ca(){No(),ui.style("pointer-events","all").selectAll(".resize").style("display",_r.empty()?"none":null),i.select("body").style("cursor",null),Sa.on("mousemove.brush",null).on("mouseup.brush",null).on("touchmove.brush",null).on("touchend.brush",null).on("keydown.brush",null).on("keyup.brush",null),Ln(),ri({type:"brushend"})}}return _r.x=function(qr){return arguments.length?(Ae=qr,dr=Yo[!Ae<<1|!Be],_r):Ae},_r.y=function(qr){return arguments.length?(Be=qr,dr=Yo[!Ae<<1|!Be],_r):Be},_r.clamp=function(qr){return arguments.length?(Ae&&Be?(vt=!!qr[0],qt=!!qr[1]):Ae?vt=!!qr:Be&&(qt=!!qr),_r):Ae&&Be?[vt,qt]:Ae?vt:Be?qt:null},_r.extent=function(qr){var Kr,ri,ui,si,ti;return arguments.length?(Ae&&(Kr=qr[0],ri=qr[1],Be&&(Kr=Kr[0],ri=ri[0]),at=[Kr,ri],Ae.invert&&(Kr=Ae(Kr),ri=Ae(ri)),ri<Kr&&(ti=Kr,Kr=ri,ri=ti),(Kr!=Ze[0]||ri!=Ze[1])&&(Ze=[Kr,ri])),Be&&(ui=qr[0],si=qr[1],Ae&&(ui=ui[1],si=si[1]),Lt=[ui,si],Be.invert&&(ui=Be(ui),si=Be(si)),si<ui&&(ti=ui,ui=si,si=ti),(ui!=tt[0]||si!=tt[1])&&(tt=[ui,si])),_r):(Ae&&(at?(Kr=at[0],ri=at[1]):(Kr=Ze[0],ri=Ze[1],Ae.invert&&(Kr=Ae.invert(Kr),ri=Ae.invert(ri)),ri<Kr&&(ti=Kr,Kr=ri,ri=ti))),Be&&(Lt?(ui=Lt[0],si=Lt[1]):(ui=tt[0],si=tt[1],Be.invert&&(ui=Be.invert(ui),si=Be.invert(si)),si<ui&&(ti=ui,ui=si,si=ti))),Ae&&Be?[[Kr,ui],[ri,si]]:Ae?[Kr,ri]:Be&&[ui,si])},_r.clear=function(){return _r.empty()||(Ze=[0,0],tt=[0,0],at=Lt=null),_r},_r.empty=function(){return!!Ae&&Ze[0]==Ze[1]||!!Be&&tt[0]==tt[1]},i.rebind(_r,he,"on")};var Ho={n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Yo=[["n","e","s","w","nw","ne","se","sw"],["e","w"],["n","s"],[]];i.text=mi(function(he){return he.responseText}),i.json=function(he,Ae){return cn(he,"application/json",Fh,Ae)};function Fh(he){return JSON.parse(he.responseText)}i.html=function(he,Ae){return cn(he,"text/html",Hc,Ae)};function Hc(he){var Ae=a.createRange();return Ae.selectNode(a.body),Ae.createContextualFragment(he.responseText)}i.xml=mi(function(he){return he.responseXML}),r.exports?r.exports=i:this.d3=i}).apply(self)})(sS)),sS.exports}var lS=new Date,uS=new Date;function xf(r,i,h,c){function a(o){return r(o=arguments.length===0?new Date:new Date(+o)),o}return a.floor=function(o){return r(o=new Date(+o)),o},a.ceil=function(o){return r(o=new Date(o-1)),i(o,1),r(o),o},a.round=function(o){var e=a(o),t=a.ceil(o);return o-e<t-o?e:t},a.offset=function(o,e){return i(o=new Date(+o),e==null?1:Math.floor(e)),o},a.range=function(o,e,t){var n=[],s;if(o=a.ceil(o),t=t==null?1:Math.floor(t),!(o<e)||!(t>0))return n;do n.push(s=new Date(+o)),i(o,t),r(o);while(s<o&&o<e);return n},a.filter=function(o){return xf(function(e){if(e>=e)for(;r(e),!o(e);)e.setTime(e-1)},function(e,t){if(e>=e)if(t<0)for(;++t<=0;)for(;i(e,-1),!o(e););else for(;--t>=0;)for(;i(e,1),!o(e););})},h&&(a.count=function(o,e){return lS.setTime(+o),uS.setTime(+e),r(lS),r(uS),Math.floor(h(lS,uS))},a.every=function(o){return o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?a.filter(c?function(e){return c(e)%o===0}:function(e){return a.count(0,e)%o===0}):a}),a}var F_=xf(function(){},function(r,i){r.setTime(+r+i)},function(r,i){return i-r});F_.every=function(r){return r=Math.floor(r),!isFinite(r)||!(r>0)?null:r>1?xf(function(i){i.setTime(Math.floor(i/r)*r)},function(i,h){i.setTime(+i+h*r)},function(i,h){return(h-i)/r}):F_};var FV=F_.range,vw=1e3,ay=6e4,pw=36e5,nhe=864e5,ahe=6048e5,J7=xf(function(r){r.setTime(r-r.getMilliseconds())},function(r,i){r.setTime(+r+i*vw)},function(r,i){return(i-r)/vw},function(r){return r.getUTCSeconds()}),BV=J7.range,ohe=xf(function(r){r.setTime(r-r.getMilliseconds()-r.getSeconds()*vw)},function(r,i){r.setTime(+r+i*ay)},function(r,i){return(i-r)/ay},function(r){return r.getMinutes()}),Nme=ohe.range,she=xf(function(r){r.setTime(r-r.getMilliseconds()-r.getSeconds()*vw-r.getMinutes()*ay)},function(r,i){r.setTime(+r+i*pw)},function(r,i){return(i-r)/pw},function(r){return r.getHours()}),qme=she.range,C2=xf(function(r){r.setHours(0,0,0,0)},function(r,i){r.setDate(r.getDate()+i)},function(r,i){return(i-r-(i.getTimezoneOffset()-r.getTimezoneOffset())*ay)/nhe},function(r){return r.getDate()-1}),Ume=C2.range;function hy(r){return xf(function(i){i.setDate(i.getDate()-(i.getDay()+7-r)%7),i.setHours(0,0,0,0)},function(i,h){i.setDate(i.getDate()+h*7)},function(i,h){return(h-i-(h.getTimezoneOffset()-i.getTimezoneOffset())*ay)/ahe})}var gw=hy(0),B_=hy(1),lhe=hy(2),uhe=hy(3),oy=hy(4),che=hy(5),fhe=hy(6),OV=gw.range,Vme=B_.range,Hme=lhe.range,jme=uhe.range,Gme=oy.range,Wme=che.range,Zme=fhe.range,hhe=xf(function(r){r.setDate(1),r.setHours(0,0,0,0)},function(r,i){r.setMonth(r.getMonth()+i)},function(r,i){return i.getMonth()-r.getMonth()+(i.getFullYear()-r.getFullYear())*12},function(r){return r.getMonth()}),Xme=hhe.range,h0=xf(function(r){r.setMonth(0,1),r.setHours(0,0,0,0)},function(r,i){r.setFullYear(r.getFullYear()+i)},function(r,i){return i.getFullYear()-r.getFullYear()},function(r){return r.getFullYear()});h0.every=function(r){return!isFinite(r=Math.floor(r))||!(r>0)?null:xf(function(i){i.setFullYear(Math.floor(i.getFullYear()/r)*r),i.setMonth(0,1),i.setHours(0,0,0,0)},function(i,h){i.setFullYear(i.getFullYear()+h*r)})};var Yme=h0.range,dhe=xf(function(r){r.setUTCSeconds(0,0)},function(r,i){r.setTime(+r+i*ay)},function(r,i){return(i-r)/ay},function(r){return r.getUTCMinutes()}),$me=dhe.range,vhe=xf(function(r){r.setUTCMinutes(0,0,0)},function(r,i){r.setTime(+r+i*pw)},function(r,i){return(i-r)/pw},function(r){return r.getUTCHours()}),Kme=vhe.range,E2=xf(function(r){r.setUTCHours(0,0,0,0)},function(r,i){r.setUTCDate(r.getUTCDate()+i)},function(r,i){return(i-r)/nhe},function(r){return r.getUTCDate()-1}),Jme=E2.range;function dy(r){return xf(function(i){i.setUTCDate(i.getUTCDate()-(i.getUTCDay()+7-r)%7),i.setUTCHours(0,0,0,0)},function(i,h){i.setUTCDate(i.getUTCDate()+h*7)},function(i,h){return(h-i)/ahe})}var yw=dy(0),O_=dy(1),phe=dy(2),ghe=dy(3),sy=dy(4),yhe=dy(5),mhe=dy(6),NV=yw.range,Qme=O_.range,e1e=phe.range,t1e=ghe.range,r1e=sy.range,i1e=yhe.range,n1e=mhe.range,_he=xf(function(r){r.setUTCDate(1),r.setUTCHours(0,0,0,0)},function(r,i){r.setUTCMonth(r.getUTCMonth()+i)},function(r,i){return i.getUTCMonth()-r.getUTCMonth()+(i.getUTCFullYear()-r.getUTCFullYear())*12},function(r){return r.getUTCMonth()}),a1e=_he.range,d0=xf(function(r){r.setUTCMonth(0,1),r.setUTCHours(0,0,0,0)},function(r,i){r.setUTCFullYear(r.getUTCFullYear()+i)},function(r,i){return i.getUTCFullYear()-r.getUTCFullYear()},function(r){return r.getUTCFullYear()});d0.every=function(r){return!isFinite(r=Math.floor(r))||!(r>0)?null:xf(function(i){i.setUTCFullYear(Math.floor(i.getUTCFullYear()/r)*r),i.setUTCMonth(0,1),i.setUTCHours(0,0,0,0)},function(i,h){i.setUTCFullYear(i.getUTCFullYear()+h*r)})};var o1e=d0.range;const s1e=Object.freeze(Object.defineProperty({__proto__:null,timeDay:C2,timeDays:Ume,timeFriday:che,timeFridays:Wme,timeHour:she,timeHours:qme,timeInterval:xf,timeMillisecond:F_,timeMilliseconds:FV,timeMinute:ohe,timeMinutes:Nme,timeMonday:B_,timeMondays:Vme,timeMonth:hhe,timeMonths:Xme,timeSaturday:fhe,timeSaturdays:Zme,timeSecond:J7,timeSeconds:BV,timeSunday:gw,timeSundays:OV,timeThursday:oy,timeThursdays:Gme,timeTuesday:lhe,timeTuesdays:Hme,timeWednesday:uhe,timeWednesdays:jme,timeWeek:gw,timeWeeks:OV,timeYear:h0,timeYears:Yme,utcDay:E2,utcDays:Jme,utcFriday:yhe,utcFridays:i1e,utcHour:vhe,utcHours:Kme,utcMillisecond:F_,utcMilliseconds:FV,utcMinute:dhe,utcMinutes:$me,utcMonday:O_,utcMondays:Qme,utcMonth:_he,utcMonths:a1e,utcSaturday:mhe,utcSaturdays:n1e,utcSecond:J7,utcSeconds:BV,utcSunday:yw,utcSundays:NV,utcThursday:sy,utcThursdays:r1e,utcTuesday:phe,utcTuesdays:e1e,utcWednesday:ghe,utcWednesdays:t1e,utcWeek:yw,utcWeeks:NV,utcYear:d0,utcYears:o1e},Symbol.toStringTag,{value:"Module"}));function cS(r){if(0<=r.y&&r.y<100){var i=new Date(-1,r.m,r.d,r.H,r.M,r.S,r.L);return i.setFullYear(r.y),i}return new Date(r.y,r.m,r.d,r.H,r.M,r.S,r.L)}function fS(r){if(0<=r.y&&r.y<100){var i=new Date(Date.UTC(-1,r.m,r.d,r.H,r.M,r.S,r.L));return i.setUTCFullYear(r.y),i}return new Date(Date.UTC(r.y,r.m,r.d,r.H,r.M,r.S,r.L))}function J1(r,i,h){return{y:r,m:i,d:h,H:0,M:0,S:0,L:0}}function xhe(r){var i=r.dateTime,h=r.date,c=r.time,a=r.periods,o=r.days,e=r.shortDays,t=r.months,n=r.shortMonths,s=Q1(a),l=e_(a),u=Q1(o),f=e_(o),d=Q1(e),v=e_(e),g=Q1(t),T=e_(t),p=Q1(n),y=e_(n),A={a:B,A:R,b:q,B:G,c:null,d:GV,e:GV,f:L1e,g:q1e,G:V1e,H:k1e,I:C1e,j:E1e,L:bhe,m:I1e,M:P1e,p:Z,q:$,Q:XV,s:YV,S:R1e,u:D1e,U:z1e,V:F1e,w:B1e,W:O1e,x:null,X:null,y:N1e,Y:U1e,Z:H1e,"%":ZV},w={a:ae,A:ne,b:oe,B:K,c:null,d:WV,e:WV,f:Z1e,g:i_e,G:a_e,H:j1e,I:G1e,j:W1e,L:The,m:X1e,M:Y1e,p:ue,q:re,Q:XV,s:YV,S:$1e,u:K1e,U:J1e,V:Q1e,w:e_e,W:t_e,x:null,X:null,y:r_e,Y:n_e,Z:o_e,"%":ZV},M={a:x,A:S,b:P,B:D,c:F,d:HV,e:HV,f:T1e,g:VV,G:UV,H:jV,I:jV,j:_1e,L:w1e,m:m1e,M:x1e,p:_,q:y1e,Q:A1e,s:M1e,S:b1e,u:h1e,U:d1e,V:v1e,w:f1e,W:p1e,x:N,X:O,y:VV,Y:UV,Z:g1e,"%":S1e};A.x=m(h,A),A.X=m(c,A),A.c=m(i,A),w.x=m(h,w),w.X=m(c,w),w.c=m(i,w);function m(V,Y){return function(te){var Q=[],ee=-1,se=0,le=V.length,me,we,Pe;for(te instanceof Date||(te=new Date(+te));++ee<le;)V.charCodeAt(ee)===37&&(Q.push(V.slice(se,ee)),(we=qV[me=V.charAt(++ee)])!=null?me=V.charAt(++ee):we=me==="e"?" ":"0",(Pe=Y[me])&&(me=Pe(te,we)),Q.push(me),se=ee+1);return Q.push(V.slice(se,ee)),Q.join("")}}function k(V,Y){return function(te){var Q=J1(1900,void 0,1),ee=b(Q,V,te+="",0),se,le;if(ee!=te.length)return null;if("Q"in Q)return new Date(Q.Q);if("s"in Q)return new Date(Q.s*1e3+("L"in Q?Q.L:0));if(Y&&!("Z"in Q)&&(Q.Z=0),"p"in Q&&(Q.H=Q.H%12+Q.p*12),Q.m===void 0&&(Q.m="q"in Q?Q.q:0),"V"in Q){if(Q.V<1||Q.V>53)return null;"w"in Q||(Q.w=1),"Z"in Q?(se=fS(J1(Q.y,0,1)),le=se.getUTCDay(),se=le>4||le===0?O_.ceil(se):O_(se),se=E2.offset(se,(Q.V-1)*7),Q.y=se.getUTCFullYear(),Q.m=se.getUTCMonth(),Q.d=se.getUTCDate()+(Q.w+6)%7):(se=cS(J1(Q.y,0,1)),le=se.getDay(),se=le>4||le===0?B_.ceil(se):B_(se),se=C2.offset(se,(Q.V-1)*7),Q.y=se.getFullYear(),Q.m=se.getMonth(),Q.d=se.getDate()+(Q.w+6)%7)}else("W"in Q||"U"in Q)&&("w"in Q||(Q.w="u"in Q?Q.u%7:"W"in Q?1:0),le="Z"in Q?fS(J1(Q.y,0,1)).getUTCDay():cS(J1(Q.y,0,1)).getDay(),Q.m=0,Q.d="W"in Q?(Q.w+6)%7+Q.W*7-(le+5)%7:Q.w+Q.U*7-(le+6)%7);return"Z"in Q?(Q.H+=Q.Z/100|0,Q.M+=Q.Z%100,fS(Q)):cS(Q)}}function b(V,Y,te,Q){for(var ee=0,se=Y.length,le=te.length,me,we;ee<se;){if(Q>=le)return-1;if(me=Y.charCodeAt(ee++),me===37){if(me=Y.charAt(ee++),we=M[me in qV?Y.charAt(ee++):me],!we||(Q=we(V,te,Q))<0)return-1}else if(me!=te.charCodeAt(Q++))return-1}return Q}function _(V,Y,te){var Q=s.exec(Y.slice(te));return Q?(V.p=l[Q[0].toLowerCase()],te+Q[0].length):-1}function x(V,Y,te){var Q=d.exec(Y.slice(te));return Q?(V.w=v[Q[0].toLowerCase()],te+Q[0].length):-1}function S(V,Y,te){var Q=u.exec(Y.slice(te));return Q?(V.w=f[Q[0].toLowerCase()],te+Q[0].length):-1}function P(V,Y,te){var Q=p.exec(Y.slice(te));return Q?(V.m=y[Q[0].toLowerCase()],te+Q[0].length):-1}function D(V,Y,te){var Q=g.exec(Y.slice(te));return Q?(V.m=T[Q[0].toLowerCase()],te+Q[0].length):-1}function F(V,Y,te){return b(V,i,Y,te)}function N(V,Y,te){return b(V,h,Y,te)}function O(V,Y,te){return b(V,c,Y,te)}function B(V){return e[V.getDay()]}function R(V){return o[V.getDay()]}function q(V){return n[V.getMonth()]}function G(V){return t[V.getMonth()]}function Z(V){return a[+(V.getHours()>=12)]}function $(V){return 1+~~(V.getMonth()/3)}function ae(V){return e[V.getUTCDay()]}function ne(V){return o[V.getUTCDay()]}function oe(V){return n[V.getUTCMonth()]}function K(V){return t[V.getUTCMonth()]}function ue(V){return a[+(V.getUTCHours()>=12)]}function re(V){return 1+~~(V.getUTCMonth()/3)}return{format:function(V){var Y=m(V+="",A);return Y.toString=function(){return V},Y},parse:function(V){var Y=k(V+="",!1);return Y.toString=function(){return V},Y},utcFormat:function(V){var Y=m(V+="",w);return Y.toString=function(){return V},Y},utcParse:function(V){var Y=k(V+="",!0);return Y.toString=function(){return V},Y}}}var qV={"-":"",_:" ",0:"0"},jf=/^\s*\d+/,l1e=/^%/,u1e=/[\\^$*+?|[\]().{}]/g;function _l(r,i,h){var c=r<0?"-":"",a=(c?-r:r)+"",o=a.length;return c+(o<h?new Array(h-o+1).join(i)+a:a)}function c1e(r){return r.replace(u1e,"\\$&")}function Q1(r){return new RegExp("^(?:"+r.map(c1e).join("|")+")","i")}function e_(r){for(var i={},h=-1,c=r.length;++h<c;)i[r[h].toLowerCase()]=h;return i}function f1e(r,i,h){var c=jf.exec(i.slice(h,h+1));return c?(r.w=+c[0],h+c[0].length):-1}function h1e(r,i,h){var c=jf.exec(i.slice(h,h+1));return c?(r.u=+c[0],h+c[0].length):-1}function d1e(r,i,h){var c=jf.exec(i.slice(h,h+2));return c?(r.U=+c[0],h+c[0].length):-1}function v1e(r,i,h){var c=jf.exec(i.slice(h,h+2));return c?(r.V=+c[0],h+c[0].length):-1}function p1e(r,i,h){var c=jf.exec(i.slice(h,h+2));return c?(r.W=+c[0],h+c[0].length):-1}function UV(r,i,h){var c=jf.exec(i.slice(h,h+4));return c?(r.y=+c[0],h+c[0].length):-1}function VV(r,i,h){var c=jf.exec(i.slice(h,h+2));return c?(r.y=+c[0]+(+c[0]>68?1900:2e3),h+c[0].length):-1}function g1e(r,i,h){var c=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(i.slice(h,h+6));return c?(r.Z=c[1]?0:-(c[2]+(c[3]||"00")),h+c[0].length):-1}function y1e(r,i,h){var c=jf.exec(i.slice(h,h+1));return c?(r.q=c[0]*3-3,h+c[0].length):-1}function m1e(r,i,h){var c=jf.exec(i.slice(h,h+2));return c?(r.m=c[0]-1,h+c[0].length):-1}function HV(r,i,h){var c=jf.exec(i.slice(h,h+2));return c?(r.d=+c[0],h+c[0].length):-1}function _1e(r,i,h){var c=jf.exec(i.slice(h,h+3));return c?(r.m=0,r.d=+c[0],h+c[0].length):-1}function jV(r,i,h){var c=jf.exec(i.slice(h,h+2));return c?(r.H=+c[0],h+c[0].length):-1}function x1e(r,i,h){var c=jf.exec(i.slice(h,h+2));return c?(r.M=+c[0],h+c[0].length):-1}function b1e(r,i,h){var c=jf.exec(i.slice(h,h+2));return c?(r.S=+c[0],h+c[0].length):-1}function w1e(r,i,h){var c=jf.exec(i.slice(h,h+3));return c?(r.L=+c[0],h+c[0].length):-1}function T1e(r,i,h){var c=jf.exec(i.slice(h,h+6));return c?(r.L=Math.floor(c[0]/1e3),h+c[0].length):-1}function S1e(r,i,h){var c=l1e.exec(i.slice(h,h+1));return c?h+c[0].length:-1}function A1e(r,i,h){var c=jf.exec(i.slice(h));return c?(r.Q=+c[0],h+c[0].length):-1}function M1e(r,i,h){var c=jf.exec(i.slice(h));return c?(r.s=+c[0],h+c[0].length):-1}function GV(r,i){return _l(r.getDate(),i,2)}function k1e(r,i){return _l(r.getHours(),i,2)}function C1e(r,i){return _l(r.getHours()%12||12,i,2)}function E1e(r,i){return _l(1+C2.count(h0(r),r),i,3)}function bhe(r,i){return _l(r.getMilliseconds(),i,3)}function L1e(r,i){return bhe(r,i)+"000"}function I1e(r,i){return _l(r.getMonth()+1,i,2)}function P1e(r,i){return _l(r.getMinutes(),i,2)}function R1e(r,i){return _l(r.getSeconds(),i,2)}function D1e(r){var i=r.getDay();return i===0?7:i}function z1e(r,i){return _l(gw.count(h0(r)-1,r),i,2)}function whe(r){var i=r.getDay();return i>=4||i===0?oy(r):oy.ceil(r)}function F1e(r,i){return r=whe(r),_l(oy.count(h0(r),r)+(h0(r).getDay()===4),i,2)}function B1e(r){return r.getDay()}function O1e(r,i){return _l(B_.count(h0(r)-1,r),i,2)}function N1e(r,i){return _l(r.getFullYear()%100,i,2)}function q1e(r,i){return r=whe(r),_l(r.getFullYear()%100,i,2)}function U1e(r,i){return _l(r.getFullYear()%1e4,i,4)}function V1e(r,i){var h=r.getDay();return r=h>=4||h===0?oy(r):oy.ceil(r),_l(r.getFullYear()%1e4,i,4)}function H1e(r){var i=r.getTimezoneOffset();return(i>0?"-":(i*=-1,"+"))+_l(i/60|0,"0",2)+_l(i%60,"0",2)}function WV(r,i){return _l(r.getUTCDate(),i,2)}function j1e(r,i){return _l(r.getUTCHours(),i,2)}function G1e(r,i){return _l(r.getUTCHours()%12||12,i,2)}function W1e(r,i){return _l(1+E2.count(d0(r),r),i,3)}function The(r,i){return _l(r.getUTCMilliseconds(),i,3)}function Z1e(r,i){return The(r,i)+"000"}function X1e(r,i){return _l(r.getUTCMonth()+1,i,2)}function Y1e(r,i){return _l(r.getUTCMinutes(),i,2)}function $1e(r,i){return _l(r.getUTCSeconds(),i,2)}function K1e(r){var i=r.getUTCDay();return i===0?7:i}function J1e(r,i){return _l(yw.count(d0(r)-1,r),i,2)}function She(r){var i=r.getUTCDay();return i>=4||i===0?sy(r):sy.ceil(r)}function Q1e(r,i){return r=She(r),_l(sy.count(d0(r),r)+(d0(r).getUTCDay()===4),i,2)}function e_e(r){return r.getUTCDay()}function t_e(r,i){return _l(O_.count(d0(r)-1,r),i,2)}function r_e(r,i){return _l(r.getUTCFullYear()%100,i,2)}function i_e(r,i){return r=She(r),_l(r.getUTCFullYear()%100,i,2)}function n_e(r,i){return _l(r.getUTCFullYear()%1e4,i,4)}function a_e(r,i){var h=r.getUTCDay();return r=h>=4||h===0?sy(r):sy.ceil(r),_l(r.getUTCFullYear()%1e4,i,4)}function o_e(){return"+0000"}function ZV(){return"%"}function XV(r){return+r}function YV(r){return Math.floor(+r/1e3)}var sm,Ahe,Mhe,u9,c9;khe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function khe(r){return sm=xhe(r),Ahe=sm.format,Mhe=sm.parse,u9=sm.utcFormat,c9=sm.utcParse,sm}var Che="%Y-%m-%dT%H:%M:%S.%LZ";function s_e(r){return r.toISOString()}var l_e=Date.prototype.toISOString?s_e:u9(Che);function u_e(r){var i=new Date(r);return isNaN(i)?null:i}var c_e=+new Date("2000-01-01T00:00:00.000Z")?u_e:c9(Che);const f_e=Object.freeze(Object.defineProperty({__proto__:null,isoFormat:l_e,isoParse:c_e,get timeFormat(){return Ahe},timeFormatDefaultLocale:khe,timeFormatLocale:xhe,get timeParse(){return Mhe},get utcFormat(){return u9},get utcParse(){return c9}},Symbol.toStringTag,{value:"Module"})),N_=Ov(f_e);function h_e(r){return Math.abs(r=Math.round(r))>=1e21?r.toLocaleString("en").replace(/,/g,""):r.toString(10)}function mw(r,i){if((h=(r=i?r.toExponential(i-1):r.toExponential()).indexOf("e"))<0)return null;var h,c=r.slice(0,h);return[c.length>1?c[0]+c.slice(2):c,+r.slice(h+1)]}function Tm(r){return r=mw(Math.abs(r)),r?r[1]:NaN}function d_e(r,i){return function(h,c){for(var a=h.length,o=[],e=0,t=r[0],n=0;a>0&&t>0&&(n+t+1>c&&(t=Math.max(1,c-n)),o.push(h.substring(a-=t,a+t)),!((n+=t+1)>c));)t=r[e=(e+1)%r.length];return o.reverse().join(i)}}function v_e(r){return function(i){return i.replace(/[0-9]/g,function(h){return r[+h]})}}var p_e=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _w(r){if(!(i=p_e.exec(r)))throw new Error("invalid format: "+r);var i;return new L2({fill:i[1],align:i[2],sign:i[3],symbol:i[4],zero:i[5],width:i[6],comma:i[7],precision:i[8]&&i[8].slice(1),trim:i[9],type:i[10]})}_w.prototype=L2.prototype;function L2(r){this.fill=r.fill===void 0?" ":r.fill+"",this.align=r.align===void 0?">":r.align+"",this.sign=r.sign===void 0?"-":r.sign+"",this.symbol=r.symbol===void 0?"":r.symbol+"",this.zero=!!r.zero,this.width=r.width===void 0?void 0:+r.width,this.comma=!!r.comma,this.precision=r.precision===void 0?void 0:+r.precision,this.trim=!!r.trim,this.type=r.type===void 0?"":r.type+""}L2.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function g_e(r){e:for(var i=r.length,h=1,c=-1,a;h<i;++h)switch(r[h]){case".":c=a=h;break;case"0":c===0&&(c=h),a=h;break;default:if(!+r[h])break e;c>0&&(c=0);break}return c>0?r.slice(0,c)+r.slice(a+1):r}var Ehe;function y_e(r,i){var h=mw(r,i);if(!h)return r+"";var c=h[0],a=h[1],o=a-(Ehe=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,e=c.length;return o===e?c:o>e?c+new Array(o-e+1).join("0"):o>0?c.slice(0,o)+"."+c.slice(o):"0."+new Array(1-o).join("0")+mw(r,Math.max(0,i+o-1))[0]}function $V(r,i){var h=mw(r,i);if(!h)return r+"";var c=h[0],a=h[1];return a<0?"0."+new Array(-a).join("0")+c:c.length>a+1?c.slice(0,a+1)+"."+c.slice(a+1):c+new Array(a-c.length+2).join("0")}const KV={"%":function(r,i){return(r*100).toFixed(i)},b:function(r){return Math.round(r).toString(2)},c:function(r){return r+""},d:h_e,e:function(r,i){return r.toExponential(i)},f:function(r,i){return r.toFixed(i)},g:function(r,i){return r.toPrecision(i)},o:function(r){return Math.round(r).toString(8)},p:function(r,i){return $V(r*100,i)},r:$V,s:y_e,X:function(r){return Math.round(r).toString(16).toUpperCase()},x:function(r){return Math.round(r).toString(16)}};function JV(r){return r}var QV=Array.prototype.map,eH=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Lhe(r){var i=r.grouping===void 0||r.thousands===void 0?JV:d_e(QV.call(r.grouping,Number),r.thousands+""),h=r.currency===void 0?"":r.currency[0]+"",c=r.currency===void 0?"":r.currency[1]+"",a=r.decimal===void 0?".":r.decimal+"",o=r.numerals===void 0?JV:v_e(QV.call(r.numerals,String)),e=r.percent===void 0?"%":r.percent+"",t=r.minus===void 0?"-":r.minus+"",n=r.nan===void 0?"NaN":r.nan+"";function s(u){u=_w(u);var f=u.fill,d=u.align,v=u.sign,g=u.symbol,T=u.zero,p=u.width,y=u.comma,A=u.precision,w=u.trim,M=u.type;M==="n"?(y=!0,M="g"):KV[M]||(A===void 0&&(A=12),w=!0,M="g"),(T||f==="0"&&d==="=")&&(T=!0,f="0",d="=");var m=g==="$"?h:g==="#"&&/[boxX]/.test(M)?"0"+M.toLowerCase():"",k=g==="$"?c:/[%p]/.test(M)?e:"",b=KV[M],_=/[defgprs%]/.test(M);A=A===void 0?6:/[gprs]/.test(M)?Math.max(1,Math.min(21,A)):Math.max(0,Math.min(20,A));function x(S){var P=m,D=k,F,N,O;if(M==="c")D=b(S)+D,S="";else{S=+S;var B=S<0||1/S<0;if(S=isNaN(S)?n:b(Math.abs(S),A),w&&(S=g_e(S)),B&&+S==0&&v!=="+"&&(B=!1),P=(B?v==="("?v:t:v==="-"||v==="("?"":v)+P,D=(M==="s"?eH[8+Ehe/3]:"")+D+(B&&v==="("?")":""),_){for(F=-1,N=S.length;++F<N;)if(O=S.charCodeAt(F),48>O||O>57){D=(O===46?a+S.slice(F+1):S.slice(F))+D,S=S.slice(0,F);break}}}y&&!T&&(S=i(S,1/0));var R=P.length+S.length+D.length,q=R<p?new Array(p-R+1).join(f):"";switch(y&&T&&(S=i(q+S,q.length?p-D.length:1/0),q=""),d){case"<":S=P+S+D+q;break;case"=":S=P+q+S+D;break;case"^":S=q.slice(0,R=q.length>>1)+P+S+D+q.slice(R);break;default:S=q+P+S+D;break}return o(S)}return x.toString=function(){return u+""},x}function l(u,f){var d=s((u=_w(u),u.type="f",u)),v=Math.max(-8,Math.min(8,Math.floor(Tm(f)/3)))*3,g=Math.pow(10,-v),T=eH[8+v/3];return function(p){return d(g*p)+T}}return{format:s,formatPrefix:l}}var _b,Ihe,Phe;Rhe({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function Rhe(r){return _b=Lhe(r),Ihe=_b.format,Phe=_b.formatPrefix,_b}function m_e(r){return Math.max(0,-Tm(Math.abs(r)))}function __e(r,i){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Tm(i)/3)))*3-Tm(Math.abs(r)))}function x_e(r,i){return r=Math.abs(r),i=Math.abs(i)-r,Math.max(0,Tm(i)-Tm(r))+1}const b_e=Object.freeze(Object.defineProperty({__proto__:null,FormatSpecifier:L2,get format(){return Ihe},formatDefaultLocale:Rhe,formatLocale:Lhe,get formatPrefix(){return Phe},formatSpecifier:_w,precisionFixed:m_e,precisionPrefix:__e,precisionRound:x_e},Symbol.toStringTag,{value:"Module"})),Dhe=Ov(b_e);var hS,tH;function w_e(){return tH||(tH=1,hS=function(r){for(var i=r.length,h,c=0;c<i;c++)if(h=r.charCodeAt(c),(h<9||h>13)&&h!==32&&h!==133&&h!==160&&h!==5760&&h!==6158&&(h<8192||h>8205)&&h!==8232&&h!==8233&&h!==8239&&h!==8287&&h!==8288&&h!==12288&&h!==65279)return!1;return!0}),hS}var dS,rH;function La(){if(rH)return dS;rH=1;var r=w_e();return dS=function(i){var h=typeof i;if(h==="string"){var c=i;if(i=+i,i===0&&r(c))return!1}else if(h!=="number")return!1;return i-i<1},dS}var vS,iH;function mo(){return iH||(iH=1,vS={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,ONEMILLI:1,ONEMICROSEC:.001,EPOCHJD:24405875e-1,ALMOST_EQUAL:1-1e-6,LOG_CLIP:10,MINUS_SIGN:"−"}),vS}var ep={},mm="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p_=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var xb=0;xb<mm.length;xb++)p_[mm.charCodeAt(xb)]=xb;var T_e=function(r){var i=new Uint8Array(r),h,c=i.length,a="";for(h=0;h<c;h+=3)a+=mm[i[h]>>2],a+=mm[(i[h]&3)<<4|i[h+1]>>4],a+=mm[(i[h+1]&15)<<2|i[h+2]>>6],a+=mm[i[h+2]&63];return c%3===2?a=a.substring(0,a.length-1)+"=":c%3===1&&(a=a.substring(0,a.length-2)+"=="),a},S_e=function(r){var i=r.length*.75,h=r.length,c,a=0,o,e,t,n;r[r.length-1]==="="&&(i--,r[r.length-2]==="="&&i--);var s=new ArrayBuffer(i),l=new Uint8Array(s);for(c=0;c<h;c+=4)o=p_[r.charCodeAt(c)],e=p_[r.charCodeAt(c+1)],t=p_[r.charCodeAt(c+2)],n=p_[r.charCodeAt(c+3)],l[a++]=o<<2|e>>4,l[a++]=(e&15)<<4|t>>2,l[a++]=(t&3)<<6|n&63;return s};const A_e=Object.freeze(Object.defineProperty({__proto__:null,decode:S_e,encode:T_e},Symbol.toStringTag,{value:"Module"})),zhe=Ov(A_e);var pS,nH;function v0(){return nH||(nH=1,pS=function(i){return window&&window.process&&window.process.versions?Object.prototype.toString.call(i)==="[object Object]":Object.prototype.toString.call(i)==="[object Object]"&&Object.getPrototypeOf(i).hasOwnProperty("hasOwnProperty")}),pS}var aH;function Wh(){if(aH)return ep;aH=1;var r=zhe.decode,i=v0(),h=Array.isArray,c=ArrayBuffer,a=DataView;function o(f){return c.isView(f)&&!(f instanceof a)}ep.isTypedArray=o;function e(f){return h(f)||o(f)}ep.isArrayOrTypedArray=e;function t(f){return!e(f[0])}ep.isArray1D=t,ep.ensureArray=function(f,d){return h(f)||(f=[]),f.length=d,f};var n={u1c:typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,i1:typeof Int8Array>"u"?void 0:Int8Array,u1:typeof Uint8Array>"u"?void 0:Uint8Array,i2:typeof Int16Array>"u"?void 0:Int16Array,u2:typeof Uint16Array>"u"?void 0:Uint16Array,i4:typeof Int32Array>"u"?void 0:Int32Array,u4:typeof Uint32Array>"u"?void 0:Uint32Array,f4:typeof Float32Array>"u"?void 0:Float32Array,f8:typeof Float64Array>"u"?void 0:Float64Array};n.uint8c=n.u1c,n.uint8=n.u1,n.int8=n.i1,n.uint16=n.u2,n.int16=n.i2,n.uint32=n.u4,n.int32=n.i4,n.float32=n.f4,n.float64=n.f8;function s(f){return f.constructor===ArrayBuffer}ep.isArrayBuffer=s,ep.decodeTypedArraySpec=function(f){var d=[],v=l(f),g=v.dtype,T=n[g];if(!T)throw new Error('Error in dtype: "'+g+'"');var p=T.BYTES_PER_ELEMENT,y=v.bdata;s(y)||(y=r(y));var A=v.shape===void 0?[y.byteLength/p]:(""+v.shape).split(",");A.reverse();var w=A.length,M,m,k=+A[0],b=p*k,_=0;if(w===1)d=new T(y);else if(w===2)for(M=+A[1],m=0;m<M;m++)d[m]=new T(y,_,k),_+=b;else if(w===3){M=+A[1];for(var x=+A[2],S=0;S<x;S++)for(d[S]=[],m=0;m<M;m++)d[S][m]=new T(y,_,k),_+=b}else throw new Error("ndim: "+w+'is not supported with the shape:"'+v.shape+'"');return d.bdata=v.bdata,d.dtype=v.dtype,d.shape=A.reverse().join(","),f._inputArray=d,d},ep.isTypedArraySpec=function(f){return i(f)&&f.hasOwnProperty("dtype")&&typeof f.dtype=="string"&&f.hasOwnProperty("bdata")&&(typeof f.bdata=="string"||s(f.bdata))&&(f.shape===void 0||f.hasOwnProperty("shape")&&(typeof f.shape=="string"||typeof f.shape=="number"))};function l(f){return{bdata:f.bdata,dtype:f.dtype,shape:f.shape}}ep.concat=function(){var f=[],d=!0,v=0,g,T,p,y,A,w,M,m;for(p=0;p<arguments.length;p++)y=arguments[p],w=y.length,w&&(T?f.push(y):(T=y,A=w),h(y)?g=!1:(d=!1,v?g!==y.constructor&&(g=!1):g=y.constructor),v+=w);if(!v)return[];if(!f.length)return T;if(d)return T.concat.apply(T,f);if(g){for(M=new g(v),M.set(T),p=0;p<f.length;p++)y=f[p],M.set(y,A),A+=y.length;return M}for(M=new Array(v),m=0;m<T.length;m++)M[m]=T[m];for(p=0;p<f.length;p++){for(y=f[p],m=0;m<y.length;m++)M[A+m]=y[m];A+=m}return M},ep.maxRowLength=function(f){return u(f,Math.max,0)},ep.minRowLength=function(f){return u(f,Math.min,1/0)};function u(f,d,v){if(e(f))if(e(f[0])){for(var g=v,T=0;T<f.length;T++)g=d(g,f[T].length);return g}else return f.length;return 0}return ep}var gS,oH;function I2(){if(oH)return gS;oH=1;var r=La(),i=Wh().isArrayOrTypedArray;gS=function(u,f){if(r(f))f=String(f);else if(typeof f!="string"||f.substr(f.length-4)==="[-1]")throw"bad property string";var d=f.split("."),v,g,T,p;for(p=0;p<d.length;p++)if(String(d[p]).slice(0,2)==="__")throw"bad property string";for(p=0;p<d.length;){if(v=String(d[p]).match(/^([^\[\]]*)((\[\-?[0-9]*\])+)$/),v){if(v[1])d[p]=v[1];else if(p===0)d.splice(0,1);else throw"bad property string";for(g=v[2].substr(1,v[2].length-2).split("]["),T=0;T<g.length;T++)p++,d.splice(p,0,Number(g[T]))}p++}return typeof u!="object"?s(u,f,d):{set:o(u,d,f),get:h(u,d),astr:f,parts:d,obj:u}};function h(l,u){return function(){var f=l,d,v,g,T,p;for(T=0;T<u.length-1;T++){if(d=u[T],d===-1){for(v=!0,g=[],p=0;p<f.length;p++)g[p]=h(f[p],u.slice(T+1))(),g[p]!==g[0]&&(v=!1);return v?g[0]:g}if(typeof d=="number"&&!i(f)||(f=f[d],typeof f!="object"||f===null))return}if(!(typeof f!="object"||f===null)&&(g=f[u[T]],g!==null))return g}}var c=/(^|\.)args\[/;function a(l,u){return l===void 0||l===null&&!u.match(c)}function o(l,u,f){return function(d){var v=l,g="",T=a(d,f),p,y;for(y=0;y<u.length-1;y++){if(p=u[y],typeof p=="number"&&!i(v))throw"array index but container is not an array";if(p===-1){if(T=!t(v,u.slice(y+1),d,f),T)break;return}if(!n(v,p,u[y+1],T))break;if(v=v[p],typeof v!="object"||v===null)throw"container is not an object";g=e(g,p)}if(T){if(y===u.length-1&&(delete v[u[y]],Array.isArray(v)&&+u[y]===v.length-1))for(;v.length&&v[v.length-1]===void 0;)v.pop()}else v[u[y]]=d}}function e(l,u){var f=u;return r(u)?f="["+u+"]":l&&(f="."+u),l+f}function t(l,u,f,d){var v=i(f),g=!0,T=f,p=d.replace("-1",0),y=v?!1:a(f,p),A=u[0],w;for(w=0;w<l.length;w++)p=d.replace("-1",w),v&&(T=f[w%f.length],y=a(T,p)),y&&(g=!1),n(l,w,A,y)&&o(l[w],u,d.replace("-1",w))(T);return g}function n(l,u,f,d){if(l[u]===void 0){if(d)return!1;typeof f=="number"?l[u]=[]:l[u]={}}return!0}function s(l,u,f){return{set:function(){throw"bad container"},get:function(){},astr:u,parts:f,obj:l}}return gS}var yS,sH;function M_e(){if(sH)return yS;sH=1;var r=I2(),i=/^\w*$/,h=0,c=1,a=2,o=3,e=4;return yS=function(n,s,l,u){l=l||"name",u=u||"value";var f,d,v,g={};s&&s.length?(v=r(n,s),d=v.get()):d=n,s=s||"";var T={};if(d)for(f=0;f<d.length;f++)T[d[f][l]]=f;var p=i.test(u),y={set:function(A,w){var M=w===null?e:h;if(!d){if(!v||M===e)return;d=[],v.set(d)}var m=T[A];if(m===void 0){if(M===e)return;M=M|o,m=d.length,T[A]=m}else w!==(p?d[m][u]:r(d[m],u).get())&&(M=M|a);var k=d[m]=d[m]||{};return k[l]=A,p?k[u]=w:r(k,u).set(w),w!==null&&(M=M&~e),g[m]=g[m]|M,y},get:function(A){if(d){var w=T[A];if(w!==void 0)return p?d[w][u]:r(d[w],u).get()}},rename:function(A,w){var M=T[A];return M===void 0||(g[M]=g[M]|c,T[w]=M,delete T[A],d[M][l]=w),y},remove:function(A){var w=T[A];if(w===void 0)return y;var M=d[w];if(Object.keys(M).length>2)return g[w]=g[w]|a,y.set(A,null);if(p){for(f=w;f<d.length;f++)g[f]=g[f]|o;for(f=w;f<d.length;f++)T[d[f][l]]--;d.splice(w,1),delete T[A]}else r(M,u).set(null),g[w]=g[w]|a|e;return y},constructUpdate:function(){for(var A,w,M={},m=Object.keys(g),k=0;k<m.length;k++)w=m[k],A=s+"["+w+"]",d[w]?(g[w]&c&&(M[A+"."+l]=d[w][l]),g[w]&a&&(p?M[A+"."+u]=g[w]&e?null:d[w][u]:M[A+"."+u]=g[w]&e?null:r(d[w],u).get())):M[A]=null;return M}};return y},yS}var mS,lH;function k_e(){if(lH)return mS;lH=1;var r=/^(.*)(\.[^\.\[\]]+|\[\d\])$/,i=/^[^\.\[\]]+$/;return mS=function(h,c){for(;c;){var a=h.match(r);if(a)h=a[1];else if(h.match(i))h="";else throw new Error("bad relativeAttr call:"+[h,c]);if(c.charAt(0)==="^")c=c.slice(1);else break}return h&&c.charAt(0)!=="["?h+"."+c:h+c},mS}var _S,uH;function f9(){if(uH)return _S;uH=1;var r=La();return _S=function(h,c){if(h>0)return Math.log(h)/Math.LN10;var a=Math.log(Math.min(c[0],c[1]))/Math.LN10;return r(a)||(a=Math.log(Math.max(c[0],c[1]))/Math.LN10-6),a},_S}var xS,cH;function C_e(){if(cH)return xS;cH=1;var r=Wh().isArrayOrTypedArray,i=v0();return xS=function h(c,a){for(var o in a){var e=a[o],t=c[o];if(t!==e)if(o.charAt(0)==="_"||typeof e=="function"){if(o in c)continue;c[o]=e}else if(r(e)&&r(t)&&i(e[0])){if(o==="customdata"||o==="ids")continue;for(var n=Math.min(e.length,t.length),s=0;s<n;s++)t[s]!==e[s]&&i(e[s])&&i(t[s])&&h(t[s],e[s])}else i(e)&&i(t)&&(h(t,e),Object.keys(t).length||delete c[o])}},xS}var bS,fH;function Y_(){if(fH)return bS;fH=1;function r(h,c){var a=h%c;return a<0?a+c:a}function i(h,c){return Math.abs(h)>c/2?h-Math.round(h/c)*c:h}return bS={mod:r,modHalf:i},bS}var wS={},tw={exports:{}},E_e=tw.exports,hH;function bf(){return hH||(hH=1,(function(r,i){(function(h,c){r.exports=c()})(E_e,(function(){function h(re){"@babel/helpers - typeof";return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(V){return typeof V}:function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},h(re)}var c=/^\s+/,a=/\s+$/;function o(re,V){if(re=re||"",V=V||{},re instanceof o)return re;if(!(this instanceof o))return new o(re,V);var Y=e(re);this._originalInput=re,this._r=Y.r,this._g=Y.g,this._b=Y.b,this._a=Y.a,this._roundA=Math.round(100*this._a)/100,this._format=V.format||Y.format,this._gradientType=V.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=Y.ok}o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var V=this.toRgb();return(V.r*299+V.g*587+V.b*114)/1e3},getLuminance:function(){var V=this.toRgb(),Y,te,Q,ee,se,le;return Y=V.r/255,te=V.g/255,Q=V.b/255,Y<=.03928?ee=Y/12.92:ee=Math.pow((Y+.055)/1.055,2.4),te<=.03928?se=te/12.92:se=Math.pow((te+.055)/1.055,2.4),Q<=.03928?le=Q/12.92:le=Math.pow((Q+.055)/1.055,2.4),.2126*ee+.7152*se+.0722*le},setAlpha:function(V){return this._a=F(V),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var V=l(this._r,this._g,this._b);return{h:V.h*360,s:V.s,v:V.v,a:this._a}},toHsvString:function(){var V=l(this._r,this._g,this._b),Y=Math.round(V.h*360),te=Math.round(V.s*100),Q=Math.round(V.v*100);return this._a==1?"hsv("+Y+", "+te+"%, "+Q+"%)":"hsva("+Y+", "+te+"%, "+Q+"%, "+this._roundA+")"},toHsl:function(){var V=n(this._r,this._g,this._b);return{h:V.h*360,s:V.s,l:V.l,a:this._a}},toHslString:function(){var V=n(this._r,this._g,this._b),Y=Math.round(V.h*360),te=Math.round(V.s*100),Q=Math.round(V.l*100);return this._a==1?"hsl("+Y+", "+te+"%, "+Q+"%)":"hsla("+Y+", "+te+"%, "+Q+"%, "+this._roundA+")"},toHex:function(V){return f(this._r,this._g,this._b,V)},toHexString:function(V){return"#"+this.toHex(V)},toHex8:function(V){return d(this._r,this._g,this._b,this._a,V)},toHex8String:function(V){return"#"+this.toHex8(V)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(N(this._r,255)*100)+"%",g:Math.round(N(this._g,255)*100)+"%",b:Math.round(N(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(N(this._r,255)*100)+"%, "+Math.round(N(this._g,255)*100)+"%, "+Math.round(N(this._b,255)*100)+"%)":"rgba("+Math.round(N(this._r,255)*100)+"%, "+Math.round(N(this._g,255)*100)+"%, "+Math.round(N(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:P[f(this._r,this._g,this._b,!0)]||!1},toFilter:function(V){var Y="#"+v(this._r,this._g,this._b,this._a),te=Y,Q=this._gradientType?"GradientType = 1, ":"";if(V){var ee=o(V);te="#"+v(ee._r,ee._g,ee._b,ee._a)}return"progid:DXImageTransform.Microsoft.gradient("+Q+"startColorstr="+Y+",endColorstr="+te+")"},toString:function(V){var Y=!!V;V=V||this._format;var te=!1,Q=this._a<1&&this._a>=0,ee=!Y&&Q&&(V==="hex"||V==="hex6"||V==="hex3"||V==="hex4"||V==="hex8"||V==="name");return ee?V==="name"&&this._a===0?this.toName():this.toRgbString():(V==="rgb"&&(te=this.toRgbString()),V==="prgb"&&(te=this.toPercentageRgbString()),(V==="hex"||V==="hex6")&&(te=this.toHexString()),V==="hex3"&&(te=this.toHexString(!0)),V==="hex4"&&(te=this.toHex8String(!0)),V==="hex8"&&(te=this.toHex8String()),V==="name"&&(te=this.toName()),V==="hsl"&&(te=this.toHslString()),V==="hsv"&&(te=this.toHsvString()),te||this.toHexString())},clone:function(){return o(this.toString())},_applyModification:function(V,Y){var te=V.apply(null,[this].concat([].slice.call(Y)));return this._r=te._r,this._g=te._g,this._b=te._b,this.setAlpha(te._a),this},lighten:function(){return this._applyModification(y,arguments)},brighten:function(){return this._applyModification(A,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(T,arguments)},greyscale:function(){return this._applyModification(p,arguments)},spin:function(){return this._applyModification(M,arguments)},_applyCombination:function(V,Y){return V.apply(null,[this].concat([].slice.call(Y)))},analogous:function(){return this._applyCombination(_,arguments)},complement:function(){return this._applyCombination(m,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(b,arguments)},triad:function(){return this._applyCombination(k,[3])},tetrad:function(){return this._applyCombination(k,[4])}},o.fromRatio=function(re,V){if(h(re)=="object"){var Y={};for(var te in re)re.hasOwnProperty(te)&&(te==="a"?Y[te]=re[te]:Y[te]=Z(re[te]));re=Y}return o(re,V)};function e(re){var V={r:0,g:0,b:0},Y=1,te=null,Q=null,ee=null,se=!1,le=!1;return typeof re=="string"&&(re=K(re)),h(re)=="object"&&(oe(re.r)&&oe(re.g)&&oe(re.b)?(V=t(re.r,re.g,re.b),se=!0,le=String(re.r).substr(-1)==="%"?"prgb":"rgb"):oe(re.h)&&oe(re.s)&&oe(re.v)?(te=Z(re.s),Q=Z(re.v),V=u(re.h,te,Q),se=!0,le="hsv"):oe(re.h)&&oe(re.s)&&oe(re.l)&&(te=Z(re.s),ee=Z(re.l),V=s(re.h,te,ee),se=!0,le="hsl"),re.hasOwnProperty("a")&&(Y=re.a)),Y=F(Y),{ok:se,format:re.format||le,r:Math.min(255,Math.max(V.r,0)),g:Math.min(255,Math.max(V.g,0)),b:Math.min(255,Math.max(V.b,0)),a:Y}}function t(re,V,Y){return{r:N(re,255)*255,g:N(V,255)*255,b:N(Y,255)*255}}function n(re,V,Y){re=N(re,255),V=N(V,255),Y=N(Y,255);var te=Math.max(re,V,Y),Q=Math.min(re,V,Y),ee,se,le=(te+Q)/2;if(te==Q)ee=se=0;else{var me=te-Q;switch(se=le>.5?me/(2-te-Q):me/(te+Q),te){case re:ee=(V-Y)/me+(V<Y?6:0);break;case V:ee=(Y-re)/me+2;break;case Y:ee=(re-V)/me+4;break}ee/=6}return{h:ee,s:se,l:le}}function s(re,V,Y){var te,Q,ee;re=N(re,360),V=N(V,100),Y=N(Y,100);function se(we,Pe,Ie){return Ie<0&&(Ie+=1),Ie>1&&(Ie-=1),Ie<1/6?we+(Pe-we)*6*Ie:Ie<1/2?Pe:Ie<2/3?we+(Pe-we)*(2/3-Ie)*6:we}if(V===0)te=Q=ee=Y;else{var le=Y<.5?Y*(1+V):Y+V-Y*V,me=2*Y-le;te=se(me,le,re+1/3),Q=se(me,le,re),ee=se(me,le,re-1/3)}return{r:te*255,g:Q*255,b:ee*255}}function l(re,V,Y){re=N(re,255),V=N(V,255),Y=N(Y,255);var te=Math.max(re,V,Y),Q=Math.min(re,V,Y),ee,se,le=te,me=te-Q;if(se=te===0?0:me/te,te==Q)ee=0;else{switch(te){case re:ee=(V-Y)/me+(V<Y?6:0);break;case V:ee=(Y-re)/me+2;break;case Y:ee=(re-V)/me+4;break}ee/=6}return{h:ee,s:se,v:le}}function u(re,V,Y){re=N(re,360)*6,V=N(V,100),Y=N(Y,100);var te=Math.floor(re),Q=re-te,ee=Y*(1-V),se=Y*(1-Q*V),le=Y*(1-(1-Q)*V),me=te%6,we=[Y,se,ee,ee,le,Y][me],Pe=[le,Y,Y,se,ee,ee][me],Ie=[ee,ee,le,Y,Y,se][me];return{r:we*255,g:Pe*255,b:Ie*255}}function f(re,V,Y,te){var Q=[G(Math.round(re).toString(16)),G(Math.round(V).toString(16)),G(Math.round(Y).toString(16))];return te&&Q[0].charAt(0)==Q[0].charAt(1)&&Q[1].charAt(0)==Q[1].charAt(1)&&Q[2].charAt(0)==Q[2].charAt(1)?Q[0].charAt(0)+Q[1].charAt(0)+Q[2].charAt(0):Q.join("")}function d(re,V,Y,te,Q){var ee=[G(Math.round(re).toString(16)),G(Math.round(V).toString(16)),G(Math.round(Y).toString(16)),G($(te))];return Q&&ee[0].charAt(0)==ee[0].charAt(1)&&ee[1].charAt(0)==ee[1].charAt(1)&&ee[2].charAt(0)==ee[2].charAt(1)&&ee[3].charAt(0)==ee[3].charAt(1)?ee[0].charAt(0)+ee[1].charAt(0)+ee[2].charAt(0)+ee[3].charAt(0):ee.join("")}function v(re,V,Y,te){var Q=[G($(te)),G(Math.round(re).toString(16)),G(Math.round(V).toString(16)),G(Math.round(Y).toString(16))];return Q.join("")}o.equals=function(re,V){return!re||!V?!1:o(re).toRgbString()==o(V).toRgbString()},o.random=function(){return o.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function g(re,V){V=V===0?0:V||10;var Y=o(re).toHsl();return Y.s-=V/100,Y.s=O(Y.s),o(Y)}function T(re,V){V=V===0?0:V||10;var Y=o(re).toHsl();return Y.s+=V/100,Y.s=O(Y.s),o(Y)}function p(re){return o(re).desaturate(100)}function y(re,V){V=V===0?0:V||10;var Y=o(re).toHsl();return Y.l+=V/100,Y.l=O(Y.l),o(Y)}function A(re,V){V=V===0?0:V||10;var Y=o(re).toRgb();return Y.r=Math.max(0,Math.min(255,Y.r-Math.round(255*-(V/100)))),Y.g=Math.max(0,Math.min(255,Y.g-Math.round(255*-(V/100)))),Y.b=Math.max(0,Math.min(255,Y.b-Math.round(255*-(V/100)))),o(Y)}function w(re,V){V=V===0?0:V||10;var Y=o(re).toHsl();return Y.l-=V/100,Y.l=O(Y.l),o(Y)}function M(re,V){var Y=o(re).toHsl(),te=(Y.h+V)%360;return Y.h=te<0?360+te:te,o(Y)}function m(re){var V=o(re).toHsl();return V.h=(V.h+180)%360,o(V)}function k(re,V){if(isNaN(V)||V<=0)throw new Error("Argument to polyad must be a positive number");for(var Y=o(re).toHsl(),te=[o(re)],Q=360/V,ee=1;ee<V;ee++)te.push(o({h:(Y.h+ee*Q)%360,s:Y.s,l:Y.l}));return te}function b(re){var V=o(re).toHsl(),Y=V.h;return[o(re),o({h:(Y+72)%360,s:V.s,l:V.l}),o({h:(Y+216)%360,s:V.s,l:V.l})]}function _(re,V,Y){V=V||6,Y=Y||30;var te=o(re).toHsl(),Q=360/Y,ee=[o(re)];for(te.h=(te.h-(Q*V>>1)+720)%360;--V;)te.h=(te.h+Q)%360,ee.push(o(te));return ee}function x(re,V){V=V||6;for(var Y=o(re).toHsv(),te=Y.h,Q=Y.s,ee=Y.v,se=[],le=1/V;V--;)se.push(o({h:te,s:Q,v:ee})),ee=(ee+le)%1;return se}o.mix=function(re,V,Y){Y=Y===0?0:Y||50;var te=o(re).toRgb(),Q=o(V).toRgb(),ee=Y/100,se={r:(Q.r-te.r)*ee+te.r,g:(Q.g-te.g)*ee+te.g,b:(Q.b-te.b)*ee+te.b,a:(Q.a-te.a)*ee+te.a};return o(se)},o.readability=function(re,V){var Y=o(re),te=o(V);return(Math.max(Y.getLuminance(),te.getLuminance())+.05)/(Math.min(Y.getLuminance(),te.getLuminance())+.05)},o.isReadable=function(re,V,Y){var te=o.readability(re,V),Q,ee;switch(ee=!1,Q=ue(Y),Q.level+Q.size){case"AAsmall":case"AAAlarge":ee=te>=4.5;break;case"AAlarge":ee=te>=3;break;case"AAAsmall":ee=te>=7;break}return ee},o.mostReadable=function(re,V,Y){var te=null,Q=0,ee,se,le,me;Y=Y||{},se=Y.includeFallbackColors,le=Y.level,me=Y.size;for(var we=0;we<V.length;we++)ee=o.readability(re,V[we]),ee>Q&&(Q=ee,te=o(V[we]));return o.isReadable(re,te,{level:le,size:me})||!se?te:(Y.includeFallbackColors=!1,o.mostReadable(re,["#fff","#000"],Y))};var S=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},P=o.hexNames=D(S);function D(re){var V={};for(var Y in re)re.hasOwnProperty(Y)&&(V[re[Y]]=Y);return V}function F(re){return re=parseFloat(re),(isNaN(re)||re<0||re>1)&&(re=1),re}function N(re,V){R(re)&&(re="100%");var Y=q(re);return re=Math.min(V,Math.max(0,parseFloat(re))),Y&&(re=parseInt(re*V,10)/100),Math.abs(re-V)<1e-6?1:re%V/parseFloat(V)}function O(re){return Math.min(1,Math.max(0,re))}function B(re){return parseInt(re,16)}function R(re){return typeof re=="string"&&re.indexOf(".")!=-1&&parseFloat(re)===1}function q(re){return typeof re=="string"&&re.indexOf("%")!=-1}function G(re){return re.length==1?"0"+re:""+re}function Z(re){return re<=1&&(re=re*100+"%"),re}function $(re){return Math.round(parseFloat(re)*255).toString(16)}function ae(re){return B(re)/255}var ne=(function(){var re="[-\\+]?\\d+%?",V="[-\\+]?\\d*\\.\\d+%?",Y="(?:"+V+")|(?:"+re+")",te="[\\s|\\(]+("+Y+")[,|\\s]+("+Y+")[,|\\s]+("+Y+")\\s*\\)?",Q="[\\s|\\(]+("+Y+")[,|\\s]+("+Y+")[,|\\s]+("+Y+")[,|\\s]+("+Y+")\\s*\\)?";return{CSS_UNIT:new RegExp(Y),rgb:new RegExp("rgb"+te),rgba:new RegExp("rgba"+Q),hsl:new RegExp("hsl"+te),hsla:new RegExp("hsla"+Q),hsv:new RegExp("hsv"+te),hsva:new RegExp("hsva"+Q),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function oe(re){return!!ne.CSS_UNIT.exec(re)}function K(re){re=re.replace(c,"").replace(a,"").toLowerCase();var V=!1;if(S[re])re=S[re],V=!0;else if(re=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Y;return(Y=ne.rgb.exec(re))?{r:Y[1],g:Y[2],b:Y[3]}:(Y=ne.rgba.exec(re))?{r:Y[1],g:Y[2],b:Y[3],a:Y[4]}:(Y=ne.hsl.exec(re))?{h:Y[1],s:Y[2],l:Y[3]}:(Y=ne.hsla.exec(re))?{h:Y[1],s:Y[2],l:Y[3],a:Y[4]}:(Y=ne.hsv.exec(re))?{h:Y[1],s:Y[2],v:Y[3]}:(Y=ne.hsva.exec(re))?{h:Y[1],s:Y[2],v:Y[3],a:Y[4]}:(Y=ne.hex8.exec(re))?{r:B(Y[1]),g:B(Y[2]),b:B(Y[3]),a:ae(Y[4]),format:V?"name":"hex8"}:(Y=ne.hex6.exec(re))?{r:B(Y[1]),g:B(Y[2]),b:B(Y[3]),format:V?"name":"hex"}:(Y=ne.hex4.exec(re))?{r:B(Y[1]+""+Y[1]),g:B(Y[2]+""+Y[2]),b:B(Y[3]+""+Y[3]),a:ae(Y[4]+""+Y[4]),format:V?"name":"hex8"}:(Y=ne.hex3.exec(re))?{r:B(Y[1]+""+Y[1]),g:B(Y[2]+""+Y[2]),b:B(Y[3]+""+Y[3]),format:V?"name":"hex"}:!1}function ue(re){var V,Y;return re=re||{level:"AA",size:"small"},V=(re.level||"AA").toUpperCase(),Y=(re.size||"small").toLowerCase(),V!=="AA"&&V!=="AAA"&&(V="AA"),Y!=="small"&&Y!=="large"&&(Y="small"),{level:V,size:Y}}return o}))})(tw)),tw.exports}var lm={},dH;function ka(){if(dH)return lm;dH=1;var r=v0(),i=Array.isArray;function h(a,o){var e,t;for(e=0;e<a.length;e++){if(t=a[e],t!==null&&typeof t=="object")return!1;t!==void 0&&(o[e]=t)}return!0}lm.extendFlat=function(){return c(arguments,!1,!1,!1)},lm.extendDeep=function(){return c(arguments,!0,!1,!1)},lm.extendDeepAll=function(){return c(arguments,!0,!0,!1)},lm.extendDeepNoArrays=function(){return c(arguments,!0,!1,!0)};function c(a,o,e,t){var n=a[0],s=a.length,l,u,f,d,v,g,T;if(s===2&&i(n)&&i(a[1])&&n.length===0){if(T=h(a[1],n),T)return n;n.splice(0,n.length)}for(var p=1;p<s;p++){l=a[p];for(u in l)f=n[u],d=l[u],t&&i(d)?n[u]=d:o&&d&&(r(d)||(v=i(d)))?(v?(v=!1,g=f&&i(f)?f:[]):g=f&&r(f)?f:{},n[u]=c([g,d],o,e,t)):(typeof d<"u"||e)&&(n[u]=d)}return n}return lm}var TS,vH;function Cl(){return vH||(vH=1,TS=function(r){var i=r.variantValues,h=r.editType,c=r.colorEditType;c===void 0&&(c=h);var a={editType:h,valType:"integer",min:1,max:1e3,extras:["normal","bold"],dflt:"normal",description:["Sets the weight (or boldness) of the font."].join(" ")};r.noNumericWeightValues&&(a.valType="enumerated",a.values=a.extras,a.extras=void 0,a.min=void 0,a.max=void 0);var o={family:{valType:"string",noBlank:!0,strict:!0,editType:h,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",min:1,editType:h},color:{valType:"color",editType:c},weight:a,style:{editType:h,valType:"enumerated",values:["normal","italic"],dflt:"normal",description:["Sets whether a font should be styled with a normal or italic face from its family."].join(" ")},variant:r.noFontVariant?void 0:{editType:h,valType:"enumerated",values:i||["normal","small-caps","all-small-caps","all-petite-caps","petite-caps","unicase"],dflt:"normal",description:["Sets the variant of the font."].join(" ")},textcase:r.noFontTextcase?void 0:{editType:h,valType:"enumerated",values:["normal","word caps","upper","lower"],dflt:"normal",description:["Sets capitalization of text.","It can be used to make text appear in all-uppercase or all-lowercase,","or with each word capitalized."].join(" ")},lineposition:r.noFontLineposition?void 0:{editType:h,valType:"flaglist",flags:["under","over","through"],extras:["none"],dflt:"none",description:["Sets the kind of decoration line(s) with text,","such as an *under*, *over* or *through*","as well as combinations e.g. *under+over*, etc."].join(" ")},shadow:r.noFontShadow?void 0:{editType:h,valType:"string",dflt:r.autoShadowDflt?"auto":"none",description:["Sets the shape and color of the shadow behind text.","*auto* places minimal shadow and applies contrast text font color.","See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options."].join(" ")},editType:h,description:""+(r.description||"")};return r.autoSize&&(o.size.dflt="auto"),r.autoColor&&(o.color.dflt="auto"),r.arrayOk&&(o.family.arrayOk=!0,o.weight.arrayOk=!0,o.style.arrayOk=!0,r.noFontVariant||(o.variant.arrayOk=!0),r.noFontTextcase||(o.textcase.arrayOk=!0),r.noFontLineposition||(o.lineposition.arrayOk=!0),r.noFontShadow||(o.shadow.arrayOk=!0),o.size.arrayOk=!0,o.color.arrayOk=!0),o}),TS}var SS,pH;function P2(){return pH||(pH=1,SS={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}),SS}var AS,gH;function p0(){if(gH)return AS;gH=1;var r=P2(),i=Cl(),h=i({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});return h.family.dflt=r.HOVERFONT,h.size.dflt=r.HOVERFONTSIZE,AS={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar",description:["Determines the mode of hover interactions.","If *closest*, a single hoverlabel will appear","for the *closest* point within the `hoverdistance`.","If *x* (or *y*), multiple hoverlabels will appear for multiple points","at the *closest* x- (or y-) coordinate within the `hoverdistance`,","with the caveat that no more than one hoverlabel will appear per trace.","If *x unified* (or *y unified*), a single hoverlabel will appear","multiple points at the closest x- (or y-) coordinate within the `hoverdistance`","with the caveat that no more than one hoverlabel will appear per trace.","In this mode, spikelines are enabled by default perpendicular to the specified axis.","If false, hover interactions are disabled."].join(" ")},hoversubplots:{valType:"enumerated",values:["single","overlaying","axis"],dflt:"overlaying",editType:"none",description:["Determines expansion of hover effects to other subplots","If *single* just the axis pair of the primary point is included without overlaying subplots.","If *overlaying* all subplots using the main axis and occupying the same space are included.","If *axis*, also include stacked subplots using the same axis","when `hovermode` is set to *x*, *x unified*, *y* or *y unified*."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:h,grouptitlefont:i({editType:"none",description:["Sets the font for group titles in hover (unified modes).","Defaults to `hoverlabel.font`."].join(" ")}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}},AS}var MS,yH;function $_(){if(yH)return MS;yH=1;var r=Cl(),i=p0().hoverlabel,h=ka().extendFlat;return MS={hoverlabel:{bgcolor:h({},i.bgcolor,{arrayOk:!0,description:"Sets the background color of the hover labels for this trace"}),bordercolor:h({},i.bordercolor,{arrayOk:!0,description:"Sets the border color of the hover labels for this trace."}),font:r({arrayOk:!0,editType:"none",description:"Sets the font used in hover labels."}),align:h({},i.align,{arrayOk:!0}),namelength:h({},i.namelength,{arrayOk:!0}),editType:"none"}},MS}var kS,mH;function Is(){if(mH)return kS;mH=1;var r=Cl(),i=$_();return kS={type:{valType:"enumerated",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legend:{valType:"subplotid",dflt:"legend",editType:"style",description:["Sets the reference to a legend to show this trace in.","References to these legends are *legend*, *legend2*, *legend3*, etc.","Settings for these legends are set in the layout, under","`layout.legend`, `layout.legend2`, etc."].join(" ")},legendgroup:{valType:"string",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces and shapes part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},legendgrouptitle:{text:{valType:"string",dflt:"",editType:"style",description:["Sets the title of the legend group."].join(" ")},font:r({editType:"style",description:["Sets this legend group's title font."].join(" ")}),editType:"style"},legendrank:{valType:"number",dflt:1e3,editType:"style",description:["Sets the legend rank for this trace.","Items and groups with smaller ranks are presented on top/left side while","with *reversed* `legend.traceorder` they are on bottom/right side.","The default legendrank is 1000,","so that you can use ranks less than 1000 to place certain items before all unranked items,","and ranks greater than 1000 to go after all unranked items.","When having unranked or equal rank items shapes would be displayed after traces","i.e. according to their order in data and layout."].join(" ")},legendwidth:{valType:"number",min:0,editType:"style",description:"Sets the width (in px or fraction) of the legend for this trace."},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",editType:"style",description:["Sets the trace name.","The trace name appears as the legend item and on hover."].join(" ")},uid:{valType:"string",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:i.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["WARNING: All transforms are deprecated and may be removed from the API in next major version.","An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}},kS}var CS,_H;function Bm(){if(_H)return CS;_H=1;var r=bf(),i={Greys:[[0,"rgb(0,0,0)"],[1,"rgb(255,255,255)"]],YlGnBu:[[0,"rgb(8,29,88)"],[.125,"rgb(37,52,148)"],[.25,"rgb(34,94,168)"],[.375,"rgb(29,145,192)"],[.5,"rgb(65,182,196)"],[.625,"rgb(127,205,187)"],[.75,"rgb(199,233,180)"],[.875,"rgb(237,248,217)"],[1,"rgb(255,255,217)"]],Greens:[[0,"rgb(0,68,27)"],[.125,"rgb(0,109,44)"],[.25,"rgb(35,139,69)"],[.375,"rgb(65,171,93)"],[.5,"rgb(116,196,118)"],[.625,"rgb(161,217,155)"],[.75,"rgb(199,233,192)"],[.875,"rgb(229,245,224)"],[1,"rgb(247,252,245)"]],YlOrRd:[[0,"rgb(128,0,38)"],[.125,"rgb(189,0,38)"],[.25,"rgb(227,26,28)"],[.375,"rgb(252,78,42)"],[.5,"rgb(253,141,60)"],[.625,"rgb(254,178,76)"],[.75,"rgb(254,217,118)"],[.875,"rgb(255,237,160)"],[1,"rgb(255,255,204)"]],Bluered:[[0,"rgb(0,0,255)"],[1,"rgb(255,0,0)"]],RdBu:[[0,"rgb(5,10,172)"],[.35,"rgb(106,137,247)"],[.5,"rgb(190,190,190)"],[.6,"rgb(220,170,132)"],[.7,"rgb(230,145,90)"],[1,"rgb(178,10,28)"]],Reds:[[0,"rgb(220,220,220)"],[.2,"rgb(245,195,157)"],[.4,"rgb(245,160,105)"],[1,"rgb(178,10,28)"]],Blues:[[0,"rgb(5,10,172)"],[.35,"rgb(40,60,190)"],[.5,"rgb(70,100,245)"],[.6,"rgb(90,120,245)"],[.7,"rgb(106,137,247)"],[1,"rgb(220,220,220)"]],Picnic:[[0,"rgb(0,0,255)"],[.1,"rgb(51,153,255)"],[.2,"rgb(102,204,255)"],[.3,"rgb(153,204,255)"],[.4,"rgb(204,204,255)"],[.5,"rgb(255,255,255)"],[.6,"rgb(255,204,255)"],[.7,"rgb(255,153,255)"],[.8,"rgb(255,102,204)"],[.9,"rgb(255,102,102)"],[1,"rgb(255,0,0)"]],Rainbow:[[0,"rgb(150,0,90)"],[.125,"rgb(0,0,200)"],[.25,"rgb(0,25,255)"],[.375,"rgb(0,152,255)"],[.5,"rgb(44,255,150)"],[.625,"rgb(151,255,0)"],[.75,"rgb(255,234,0)"],[.875,"rgb(255,111,0)"],[1,"rgb(255,0,0)"]],Portland:[[0,"rgb(12,51,131)"],[.25,"rgb(10,136,186)"],[.5,"rgb(242,211,56)"],[.75,"rgb(242,143,56)"],[1,"rgb(217,30,30)"]],Jet:[[0,"rgb(0,0,131)"],[.125,"rgb(0,60,170)"],[.375,"rgb(5,255,255)"],[.625,"rgb(255,255,0)"],[.875,"rgb(250,0,0)"],[1,"rgb(128,0,0)"]],Hot:[[0,"rgb(0,0,0)"],[.3,"rgb(230,0,0)"],[.6,"rgb(255,210,0)"],[1,"rgb(255,255,255)"]],Blackbody:[[0,"rgb(0,0,0)"],[.2,"rgb(230,0,0)"],[.4,"rgb(230,210,0)"],[.7,"rgb(255,255,255)"],[1,"rgb(160,200,255)"]],Earth:[[0,"rgb(0,0,130)"],[.1,"rgb(0,180,180)"],[.2,"rgb(40,210,40)"],[.4,"rgb(230,230,50)"],[.6,"rgb(120,70,20)"],[1,"rgb(255,255,255)"]],Electric:[[0,"rgb(0,0,0)"],[.15,"rgb(30,0,100)"],[.4,"rgb(120,0,100)"],[.6,"rgb(160,90,0)"],[.8,"rgb(230,200,0)"],[1,"rgb(255,250,220)"]],Viridis:[[0,"#440154"],[.06274509803921569,"#48186a"],[.12549019607843137,"#472d7b"],[.18823529411764706,"#424086"],[.25098039215686274,"#3b528b"],[.3137254901960784,"#33638d"],[.3764705882352941,"#2c728e"],[.4392156862745098,"#26828e"],[.5019607843137255,"#21918c"],[.5647058823529412,"#1fa088"],[.6274509803921569,"#28ae80"],[.6901960784313725,"#3fbc73"],[.7529411764705882,"#5ec962"],[.8156862745098039,"#84d44b"],[.8784313725490196,"#addc30"],[.9411764705882353,"#d8e219"],[1,"#fde725"]],Cividis:[[0,"rgb(0,32,76)"],[.058824,"rgb(0,42,102)"],[.117647,"rgb(0,52,110)"],[.176471,"rgb(39,63,108)"],[.235294,"rgb(60,74,107)"],[.294118,"rgb(76,85,107)"],[.352941,"rgb(91,95,109)"],[.411765,"rgb(104,106,112)"],[.470588,"rgb(117,117,117)"],[.529412,"rgb(131,129,120)"],[.588235,"rgb(146,140,120)"],[.647059,"rgb(161,152,118)"],[.705882,"rgb(176,165,114)"],[.764706,"rgb(192,177,109)"],[.823529,"rgb(209,191,102)"],[.882353,"rgb(225,204,92)"],[.941176,"rgb(243,219,79)"],[1,"rgb(255,233,69)"]]},h=i.RdBu;function c(e,t){if(t||(t=h),!e)return t;function n(){try{e=i[e]||JSON.parse(e)}catch{e=t}}return typeof e=="string"&&(n(),typeof e=="string"&&n()),a(e)?e:t}function a(e){var t=0;if(!Array.isArray(e)||e.length<2||!e[0]||!e[e.length-1]||+e[0][0]!=0||+e[e.length-1][0]!=1)return!1;for(var n=0;n<e.length;n++){var s=e[n];if(s.length!==2||+s[0]<t||!r(s[1]).isValid())return!1;t=+s[0]}return!0}function o(e){return i[e]!==void 0?!0:a(e)}return CS={scales:i,defaultScale:h,get:c,isValid:o},CS}var ES={exports:{}},t0={},xH;function Pc(){return xH||(xH=1,t0.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],t0.defaultLine="#444",t0.lightLine="#eee",t0.background="#fff",t0.borderLine="#BEC8D9",t0.lightFraction=1e3/11),t0}var bH;function Wn(){if(bH)return ES.exports;bH=1;var r=bf(),i=La(),h=Wh().isTypedArray,c=ES.exports={},a=Pc();c.defaults=a.defaults;var o=c.defaultLine=a.defaultLine;c.lightLine=a.lightLine;var e=c.background=a.background;c.tinyRGB=function(n){var s=n.toRgb();return"rgb("+Math.round(s.r)+", "+Math.round(s.g)+", "+Math.round(s.b)+")"},c.rgb=function(n){return c.tinyRGB(r(n))},c.opacity=function(n){return n?r(n).getAlpha():0},c.addOpacity=function(n,s){var l=r(n).toRgb();return"rgba("+Math.round(l.r)+", "+Math.round(l.g)+", "+Math.round(l.b)+", "+s+")"},c.combine=function(n,s){var l=r(n).toRgb();if(l.a===1)return r(n).toRgbString();var u=r(s||e).toRgb(),f=u.a===1?u:{r:255*(1-u.a)+u.r*u.a,g:255*(1-u.a)+u.g*u.a,b:255*(1-u.a)+u.b*u.a},d={r:f.r*(1-l.a)+l.r*l.a,g:f.g*(1-l.a)+l.g*l.a,b:f.b*(1-l.a)+l.b*l.a};return r(d).toRgbString()},c.interpolate=function(n,s,l){var u=r(n).toRgb(),f=r(s).toRgb(),d={r:l*u.r+(1-l)*f.r,g:l*u.g+(1-l)*f.g,b:l*u.b+(1-l)*f.b};return r(d).toRgbString()},c.contrast=function(n,s,l){var u=r(n);u.getAlpha()!==1&&(u=r(c.combine(n,e)));var f=u.isDark()?s?u.lighten(s):e:l?u.darken(l):o;return f.toString()},c.stroke=function(n,s){var l=r(s);n.style({stroke:c.tinyRGB(l),"stroke-opacity":l.getAlpha()})},c.fill=function(n,s){var l=r(s);n.style({fill:c.tinyRGB(l),"fill-opacity":l.getAlpha()})},c.clean=function(n){if(!(!n||typeof n!="object")){var s=Object.keys(n),l,u,f,d;for(l=0;l<s.length;l++)if(f=s[l],d=n[f],f.substr(f.length-5)==="color")if(Array.isArray(d))for(u=0;u<d.length;u++)d[u]=t(d[u]);else n[f]=t(d);else if(f.substr(f.length-10)==="colorscale"&&Array.isArray(d))for(u=0;u<d.length;u++)Array.isArray(d[u])&&(d[u][1]=t(d[u][1]));else if(Array.isArray(d)){var v=d[0];if(!Array.isArray(v)&&v&&typeof v=="object")for(u=0;u<d.length;u++)c.clean(d[u])}else d&&typeof d=="object"&&!h(d)&&c.clean(d)}};function t(n){if(i(n)||typeof n!="string")return n;var s=n.trim();if(s.substr(0,3)!=="rgb")return n;var l=s.match(/^rgba?\s*\(([^()]*)\)$/);if(!l)return n;var u=l[1].trim().split(/\s*[\s,]\s*/),f=s.charAt(3)==="a"&&u.length===4;if(!f&&u.length!==3)return n;for(var d=0;d<u.length;d++){if(!u[d].length||(u[d]=Number(u[d]),!(u[d]>=0)))return n;if(d===3)u[d]>1&&(u[d]=1);else if(u[d]>=1)return n}var v=Math.round(u[0]*255)+", "+Math.round(u[1]*255)+", "+Math.round(u[2]*255);return f?"rgba("+v+", "+u[3]+")":"rgb("+v+")"}return ES.exports}var LS,wH;function vy(){return wH||(wH=1,LS={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}),LS}var IS={},TH;function K_(){return TH||(TH=1,IS.counter=function(r,i,h,c){var a=(i||"")+(h?"":"$"),o=c===!1?"":"^";return r==="xy"?new RegExp(o+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+a):new RegExp(o+r+"([2-9]|[1-9][0-9]+)?"+a)}),IS}var SH;function L_e(){return SH||(SH=1,(function(r){var i=La(),h=bf(),c=ka().extendFlat,a=Is(),o=Bm(),e=Wn(),t=vy().DESELECTDIM,n=I2(),s=K_().counter,l=Y_().modHalf,u=Wh().isArrayOrTypedArray,f=Wh().isTypedArraySpec,d=Wh().decodeTypedArraySpec;r.valObjectMeta={data_array:{description:["An {array} of data.","The value must represent an {array} or it will be ignored,","but this array can be provided in several forms:","(1) a regular {array} object","(2) a typed array (e.g. Float32Array)","(3) an object with keys dtype, bdata, and optionally shape.","In this 3rd form, dtype is one of","*f8*, *f4*.","*i4*, *u4*,","*i2*, *u2*,","*i1*, *u1* or *u1c* for Uint8ClampedArray.","In addition to shorthand `dtype` above one could also use the following forms:","*float64*, *float32*,","*int32*, *uint32*,","*int16*, *uint16*,","*int8*, *uint8* or *uint8c* for Uint8ClampedArray.","`bdata` is either a base64-encoded string or the ArrayBuffer of","an integer or float typed array.","For either multi-dimensional arrays you must also","provide its dimensions separated by comma via `shape`.","For example using `dtype`: *f4* and `shape`: *5,100* you can","declare a 2-D array that has 5 rows and 100 columns","containing float32 values i.e. 4 bits per value.","`shape` is optional for one dimensional arrays."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(g,T,p){T.set(u(g)?g:f(g)?d(g):p)}},enumerated:{description:["Enumerated value type. The available values are listed","in `values`."].join(" "),requiredOpts:["values"],otherOpts:["dflt","coerceNumber","arrayOk"],coerceFunction:function(g,T,p,y){y.coerceNumber&&(g=+g),y.values.indexOf(g)===-1?T.set(p):T.set(g)},validateFunction:function(g,T){T.coerceNumber&&(g=+g);for(var p=T.values,y=0;y<p.length;y++){var A=String(p[y]);if(A.charAt(0)==="/"&&A.charAt(A.length-1)==="/"){var w=new RegExp(A.substr(1,A.length-2));if(w.test(g))return!0}else if(g===p[y])return!0}return!1}},boolean:{description:"A boolean (true/false) value.",requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(g,T,p){g===!0||g===!1?T.set(g):T.set(p)}},number:{description:["A number or a numeric value","(e.g. a number inside a string).","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(g,T,p,y){f(g)&&(g=d(g)),!i(g)||y.min!==void 0&&g<y.min||y.max!==void 0&&g>y.max?T.set(p):T.set(+g)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk","extras"],coerceFunction:function(g,T,p,y){if((y.extras||[]).indexOf(g)!==-1){T.set(g);return}f(g)&&(g=d(g)),g%1||!i(g)||y.min!==void 0&&g<y.min||y.max!==void 0&&g>y.max?T.set(p):T.set(+g)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(g,T,p,y){if(typeof g!="string"){var A=typeof g=="number";y.strict===!0||!A?T.set(p):T.set(String(g))}else y.noBlank&&!g?T.set(p):T.set(g)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(g,T,p){f(g)&&(g=d(g)),h(g).isValid()?T.set(g):T.set(p)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(g,T,p){function y(A){return h(A).isValid()}!Array.isArray(g)||!g.length?T.set(p):g.every(y)?T.set(g):T.set(p)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(o.scales).join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(g,T,p){T.set(o.get(g,p))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(g,T,p){f(g)&&(g=d(g)),g==="auto"?T.set("auto"):i(g)?T.set(l(+g,360)):T.set(p)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:["regex"],coerceFunction:function(g,T,p,y){var A=y.regex||s(p);if(typeof g=="string"&&A.test(g)){T.set(g);return}T.set(p)},validateFunction:function(g,T){var p=T.dflt;return g===p?!0:typeof g!="string"?!1:!!s(p).test(g)}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(g,T,p,y){if((y.extras||[]).indexOf(g)!==-1){T.set(g);return}if(typeof g!="string"){T.set(p);return}for(var A=g.split("+"),w=0;w<A.length;){var M=A[w];y.flags.indexOf(M)===-1||A.indexOf(M)<w?A.splice(w,1):w++}A.length?T.set(A.join("+")):T.set(p)}},any:{description:"Any type.",requiredOpts:[],otherOpts:["dflt","values","arrayOk"],coerceFunction:function(g,T,p){g===void 0?T.set(p):T.set(f(g)?d(g):g)}},info_array:{description:["An {array} of plot information."].join(" "),requiredOpts:["items"],otherOpts:["dflt","freeLength","dimensions"],coerceFunction:function(g,T,p,y){function A(B,R,q){var G,Z={set:function($){G=$}};return q===void 0&&(q=R.dflt),r.valObjectMeta[R.valType].coerceFunction(B,Z,q,R),G}if(f(g)&&(g=d(g)),!u(g)){T.set(p);return}var w=y.dimensions===2||y.dimensions==="1-2"&&Array.isArray(g)&&u(g[0]),M=y.items,m=[],k=Array.isArray(M),b=k&&w&&u(M[0]),_=w&&k&&!b,x=k&&!_?M.length:g.length,S,P,D,F,N,O;if(p=Array.isArray(p)?p:[],w)for(S=0;S<x;S++)for(m[S]=[],D=u(g[S])?g[S]:[],_?N=M.length:k?N=M[S].length:N=D.length,P=0;P<N;P++)_?F=M[P]:k?F=M[S][P]:F=M,O=A(D[P],F,(p[S]||[])[P]),O!==void 0&&(m[S][P]=O);else for(S=0;S<x;S++)O=A(g[S],k?M[S]:M,p[S]),O!==void 0&&(m[S]=O);T.set(m)},validateFunction:function(g,T){if(!u(g))return!1;var p=T.items,y=Array.isArray(p),A=T.dimensions===2;if(!T.freeLength&&g.length!==p.length)return!1;for(var w=0;w<g.length;w++)if(A){if(!u(g[w])||!T.freeLength&&g[w].length!==p[w].length)return!1;for(var M=0;M<g[w].length;M++)if(!v(g[w][M],y?p[w][M]:p))return!1}else if(!v(g[w],y?p[w]:p))return!1;return!0}}},r.coerce=function(g,T,p,y,A){var w=n(p,y).get(),M=n(g,y),m=n(T,y),k=M.get(),b=T._template;if(k===void 0&&b&&(k=n(b,y).get(),b=0),A===void 0&&(A=w.dflt),w.arrayOk){if(u(k))return m.set(k),k;if(f(k))return k=d(k),m.set(k),k}var _=r.valObjectMeta[w.valType].coerceFunction;_(k,m,A,w);var x=m.get();return b&&x===A&&!v(k,w)&&(k=n(b,y).get(),_(k,m,A,w),x=m.get()),x},r.coerce2=function(g,T,p,y,A){var w=n(g,y),M=r.coerce(g,T,p,y,A),m=w.get();return m!=null?M:!1},r.coerceFont=function(g,T,p,y){y||(y={}),p=c({},p),p=c(p,y.overrideDflt||{});var A={family:g(T+".family",p.family),size:g(T+".size",p.size),color:g(T+".color",p.color),weight:g(T+".weight",p.weight),style:g(T+".style",p.style)};if(y.noFontVariant||(A.variant=g(T+".variant",p.variant)),y.noFontLineposition||(A.lineposition=g(T+".lineposition",p.lineposition)),y.noFontTextcase||(A.textcase=g(T+".textcase",p.textcase)),!y.noFontShadow){var w=p.shadow;w==="none"&&y.autoShadowDflt&&(w="auto"),A.shadow=g(T+".shadow",w)}return A},r.coercePattern=function(g,T,p,y){var A=g(T+".shape");if(A){g(T+".solidity"),g(T+".size");var w=g(T+".fillmode"),M=w==="overlay";if(!y){var m=g(T+".bgcolor",M?p:void 0);g(T+".fgcolor",M?e.contrast(m):p)}g(T+".fgopacity",M?.5:1)}},r.coerceHoverinfo=function(g,T,p){var y=T._module.attributes,A=y.hoverinfo?y:a,w=A.hoverinfo,M;if(p._dataLength===1){var m=w.dflt==="all"?w.flags.slice():w.dflt.split("+");m.splice(m.indexOf("name"),1),M=m.join("+")}return r.coerce(g,T,A,"hoverinfo",M)},r.coerceSelectionMarkerOpacity=function(g,T){if(g.marker){var p=g.marker.opacity;if(p!==void 0){var y,A;!u(p)&&!g.selected&&!g.unselected&&(y=p,A=t*p),T("selected.marker.opacity",y),T("unselected.marker.opacity",A)}}};function v(g,T){var p=r.valObjectMeta[T.valType];if(T.arrayOk&&u(g))return!0;if(p.validateFunction)return p.validateFunction(g,T);var y={},A=y,w={set:function(M){A=M}};return p.coerceFunction(g,w,y,T),A!==y}r.validate=v})(wS)),wS}var PS={},RS={exports:{}},DS,AH;function Om(){if(AH)return DS;AH=1;var r={staticPlot:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are interactive or not.","If *false*, no interactivity, for export or image generation."].join(" ")},typesetMath:{valType:"boolean",dflt:!0,description:["Determines whether math should be typeset or not,","when MathJax (either v2 or v3) is present on the page."].join(" ")},plotlyServerURL:{valType:"string",dflt:"",description:["When set it determines base URL for","the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button","and the showLink/sendData on-graph link.","To enable sending your data to Chart Studio Cloud, you need to","set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and","also set `showSendToCloud` to true."].join(" ")},editable:{valType:"boolean",dflt:!1,description:["Determines whether the graph is editable or not.","Sets all pieces of `edits`","unless a separate `edits` config item overrides individual parts."].join(" ")},edits:{annotationPosition:{valType:"boolean",dflt:!1,description:["Determines if the main anchor of the annotation is editable.","The main anchor corresponds to the","text (if no arrow) or the arrow (which drags the whole thing leaving","the arrow length & direction unchanged)."].join(" ")},annotationTail:{valType:"boolean",dflt:!1,description:["Has only an effect for annotations with arrows.","Enables changing the length and direction of the arrow."].join(" ")},annotationText:{valType:"boolean",dflt:!1,description:"Enables editing annotation text."},axisTitleText:{valType:"boolean",dflt:!1,description:"Enables editing axis title text."},colorbarPosition:{valType:"boolean",dflt:!1,description:"Enables moving colorbars."},colorbarTitleText:{valType:"boolean",dflt:!1,description:"Enables editing colorbar title text."},legendPosition:{valType:"boolean",dflt:!1,description:"Enables moving the legend."},legendText:{valType:"boolean",dflt:!1,description:"Enables editing the trace name fields from the legend"},shapePosition:{valType:"boolean",dflt:!1,description:"Enables moving shapes."},titleText:{valType:"boolean",dflt:!1,description:"Enables editing the global layout title."}},editSelection:{valType:"boolean",dflt:!0,description:"Enables moving selections."},autosizable:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are plotted with respect to","layout.autosize:true and infer its container size."].join(" ")},responsive:{valType:"boolean",dflt:!1,description:["Determines whether to change the layout size when window is resized.","In v3, this option will be removed and will always be true."].join(" ")},fillFrame:{valType:"boolean",dflt:!1,description:["When `layout.autosize` is turned on, determines whether the graph","fills the container (the default) or the screen (if set to *true*)."].join(" ")},frameMargins:{valType:"number",dflt:0,min:0,max:.5,description:["When `layout.autosize` is turned on, set the frame margins","in fraction of the graph size."].join(" ")},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox","map"],extras:[!0,!1],dflt:"gl3d+geo+map",description:["Determines whether mouse wheel or two-finger scroll zooms is enable.","Turned on by default for gl3d, geo, mapbox and map subplots","(as these subplot types do not have zoombox via pan),","but turned off by default for cartesian subplots.","Set `scrollZoom` to *false* to disable scrolling for all subplots."].join(" ")},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize",description:["Sets the double click interaction mode.","Has an effect only in cartesian plots.","If *false*, double click is disable.","If *reset*, double click resets the axis ranges to their initial values.","If *autosize*, double click set the axis ranges to their autorange values.","If *reset+autosize*, the odd double clicks resets the axis ranges","to their initial values and even double clicks set the axis ranges","to their autorange values."].join(" ")},doubleClickDelay:{valType:"number",dflt:300,min:0,description:["Sets the delay for registering a double-click in ms.","This is the time interval (in ms) between first mousedown and","2nd mouseup to constitute a double-click.","This setting propagates to all on-subplot double clicks","(except for geo, mapbox and map) and on-legend double clicks."].join(" ")},showAxisDragHandles:{valType:"boolean",dflt:!0,description:["Set to *false* to omit cartesian axis pan/zoom drag handles."].join(" ")},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0,description:["Set to *false* to omit direct range entry at the pan/zoom drag points,","note that `showAxisDragHandles` must be enabled to have an effect."].join(" ")},showTips:{valType:"boolean",dflt:!0,description:["Determines whether or not tips are shown while interacting","with the resulting graphs."].join(" ")},showLink:{valType:"boolean",dflt:!1,description:["Determines whether a link to Chart Studio Cloud is displayed","at the bottom right corner of resulting graphs.","Use with `sendData` and `linkText`."].join(" ")},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0,description:["Sets the text appearing in the `showLink` link."].join(" ")},sendData:{valType:"boolean",dflt:!0,description:["If *showLink* is true, does it contain data","just link to a Chart Studio Cloud file?"].join(" ")},showSources:{valType:"any",dflt:!1,description:["Adds a source-displaying function to show sources on","the resulting graphs."].join(" ")},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover",description:["Determines the mode bar display mode.","If *true*, the mode bar is always visible.","If *false*, the mode bar is always hidden.","If *hover*, the mode bar is visible while the mouse cursor","is on the graph container."].join(" ")},showSendToCloud:{valType:"boolean",dflt:!1,description:['Should we include a ModeBar button, labeled "Edit in Chart Studio",',"that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server","as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0","this button was included by default, now it is opt-in using this flag.","Note that this button can (depending on `plotlyServerURL` being set) send your data","to an external server. However that server does not persist your data",'until you arrive at the Chart Studio and explicitly click "Save".'].join(" ")},showEditInChartStudio:{valType:"boolean",dflt:!1,description:["Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk.","Note that if both `showSendToCloud` and `showEditInChartStudio` are turned,","only `showEditInChartStudio` will be honored."].join(" ")},modeBarButtonsToRemove:{valType:"any",dflt:[],description:["Remove mode bar buttons by name.","See ./components/modebar/buttons.js for the list of names."].join(" ")},modeBarButtonsToAdd:{valType:"any",dflt:[],description:["Add mode bar button using config objects","See ./components/modebar/buttons.js for list of arguments.","To enable predefined modebar buttons e.g. shape drawing, hover and spikelines,","simply provide their string name(s). This could include:","*v1hovermode*, *hoverclosest*, *hovercompare*, *togglehover*, *togglespikelines*,","*drawline*, *drawopenpath*, *drawclosedpath*, *drawcircle*, *drawrect* and *eraseshape*.","Please note that these predefined buttons will only be shown if they are compatible","with all trace types used in a graph."].join(" ")},modeBarButtons:{valType:"any",dflt:!1,description:["Define fully custom mode bar buttons as nested array,","where the outer arrays represents button groups, and","the inner arrays have buttons config objects or names of default buttons","See ./components/modebar/buttons.js for more info."].join(" ")},toImageButtonOptions:{valType:"any",dflt:{},description:["Statically override options for toImage modebar button","allowed keys are format, filename, width, height, scale","see ../components/modebar/buttons.js"].join(" ")},displaylogo:{valType:"boolean",dflt:!0,description:["Determines whether or not the plotly logo is displayed","on the end of the mode bar."].join(" ")},watermark:{valType:"boolean",dflt:!1,description:"watermark the images with the company's logo"},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4,description:["Set the pixel ratio during WebGL image export.","This config option was formerly named `plot3dPixelRatio`","which is now deprecated."].join(" ")},setBackground:{valType:"any",dflt:"transparent",description:["Set function to add the background color (i.e. `layout.paper_color`)","to a different container.","This function take the graph div as first argument and the current background","color as second argument.","Alternatively, set to string *opaque* to ensure there is white behind it."].join(" ")},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/",description:["Set the URL to topojson used in geo charts.","By default, the topojson files are fetched from cdn.plot.ly.","For example, set this option to:","<path-to-plotly.js>/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"integer",min:0,max:2,dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0,description:["Set on-graph logging (notifier) level","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no on-graph logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{"," da: {"," dictionary: {'Reset axes': 'Nulstil aksler', ...},"," format: {months: [...], shortMonths: [...]}"," },"," ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},i={};function h(c,a){for(var o in c){var e=c[o];e.valType?a[o]=e.dflt:(a[o]||(a[o]={}),h(e,a[o]))}}return h(r,i),DS={configAttributes:r,dfltConfig:i},DS}var zS,MH;function Fhe(){if(MH)return zS;MH=1;var r=Kn(),i=La(),h=[];return zS=function(c,a){if(h.indexOf(c)!==-1)return;h.push(c);var o=1e3;i(a)?o=a:a==="long"&&(o=3e3);var e=r.select("body").selectAll(".plotly-notifier").data([0]);e.enter().append("div").classed("plotly-notifier",!0);var t=e.selectAll(".notifier-note").data(h);function n(s){s.duration(700).style("opacity",0).each("end",function(l){var u=h.indexOf(l);u!==-1&&h.splice(u,1),r.select(this).remove()})}t.enter().append("div").classed("notifier-note",!0).style("opacity",0).each(function(s){var l=r.select(this);l.append("button").classed("notifier-close",!0).html("&times;").on("click",function(){l.transition().call(n)});for(var u=l.append("p"),f=s.split(/<br\s*\/?>/g),d=0;d<f.length;d++)d&&u.append("br"),u.append("span").text(f[d]);a==="stick"?l.transition().duration(350).style("opacity",1):l.transition().duration(700).style("opacity",1).transition().delay(o).call(n)})},zS}var kH;function py(){if(kH)return RS.exports;kH=1;var r=Om().dfltConfig,i=Fhe(),h=RS.exports={};return h.log=function(){var c;if(r.logging>1){var a=["LOG:"];for(c=0;c<arguments.length;c++)a.push(arguments[c]);console.trace.apply(console,a)}if(r.notifyOnLogging>1){var o=[];for(c=0;c<arguments.length;c++)o.push(arguments[c]);i(o.join("<br>"),"long")}},h.warn=function(){var c;if(r.logging>0){var a=["WARN:"];for(c=0;c<arguments.length;c++)a.push(arguments[c]);console.trace.apply(console,a)}if(r.notifyOnLogging>0){var o=[];for(c=0;c<arguments.length;c++)o.push(arguments[c]);i(o.join("<br>"),"stick")}},h.error=function(){var c;if(r.logging>0){var a=["ERROR:"];for(c=0;c<arguments.length;c++)a.push(arguments[c]);console.error.apply(console,a)}if(r.notifyOnLogging>0){var o=[];for(c=0;c<arguments.length;c++)o.push(arguments[c]);i(o.join("<br>"),"stick")}},RS.exports}var FS={},BS,CH;function h9(){return CH||(CH=1,BS=function(){}),BS}var OS,EH;function Bhe(){return EH||(EH=1,OS=function(i,h){if(h instanceof RegExp){for(var c=h.toString(),a=0;a<i.length;a++)if(i[a]instanceof RegExp&&i[a].toString()===c)return i;i.push(h)}else(h||h===0)&&i.indexOf(h)===-1&&i.push(h);return i}),OS}var NS={},qS,LH;function I_e(){if(LH)return qS;LH=1,qS=r;function r(){var i=new Float32Array(16);return i[0]=1,i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=1,i[6]=0,i[7]=0,i[8]=0,i[9]=0,i[10]=1,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,i}return qS}var US,IH;function P_e(){if(IH)return US;IH=1,US=r;function r(i){var h=new Float32Array(16);return h[0]=i[0],h[1]=i[1],h[2]=i[2],h[3]=i[3],h[4]=i[4],h[5]=i[5],h[6]=i[6],h[7]=i[7],h[8]=i[8],h[9]=i[9],h[10]=i[10],h[11]=i[11],h[12]=i[12],h[13]=i[13],h[14]=i[14],h[15]=i[15],h}return US}var VS,PH;function R_e(){if(PH)return VS;PH=1,VS=r;function r(i,h){return i[0]=h[0],i[1]=h[1],i[2]=h[2],i[3]=h[3],i[4]=h[4],i[5]=h[5],i[6]=h[6],i[7]=h[7],i[8]=h[8],i[9]=h[9],i[10]=h[10],i[11]=h[11],i[12]=h[12],i[13]=h[13],i[14]=h[14],i[15]=h[15],i}return VS}var HS,RH;function Ohe(){if(RH)return HS;RH=1,HS=r;function r(i){return i[0]=1,i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=1,i[6]=0,i[7]=0,i[8]=0,i[9]=0,i[10]=1,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,i}return HS}var jS,DH;function D_e(){if(DH)return jS;DH=1,jS=r;function r(i,h){if(i===h){var c=h[1],a=h[2],o=h[3],e=h[6],t=h[7],n=h[11];i[1]=h[4],i[2]=h[8],i[3]=h[12],i[4]=c,i[6]=h[9],i[7]=h[13],i[8]=a,i[9]=e,i[11]=h[14],i[12]=o,i[13]=t,i[14]=n}else i[0]=h[0],i[1]=h[4],i[2]=h[8],i[3]=h[12],i[4]=h[1],i[5]=h[5],i[6]=h[9],i[7]=h[13],i[8]=h[2],i[9]=h[6],i[10]=h[10],i[11]=h[14],i[12]=h[3],i[13]=h[7],i[14]=h[11],i[15]=h[15];return i}return jS}var GS,zH;function z_e(){if(zH)return GS;zH=1,GS=r;function r(i,h){var c=h[0],a=h[1],o=h[2],e=h[3],t=h[4],n=h[5],s=h[6],l=h[7],u=h[8],f=h[9],d=h[10],v=h[11],g=h[12],T=h[13],p=h[14],y=h[15],A=c*n-a*t,w=c*s-o*t,M=c*l-e*t,m=a*s-o*n,k=a*l-e*n,b=o*l-e*s,_=u*T-f*g,x=u*p-d*g,S=u*y-v*g,P=f*p-d*T,D=f*y-v*T,F=d*y-v*p,N=A*F-w*D+M*P+m*S-k*x+b*_;return N?(N=1/N,i[0]=(n*F-s*D+l*P)*N,i[1]=(o*D-a*F-e*P)*N,i[2]=(T*b-p*k+y*m)*N,i[3]=(d*k-f*b-v*m)*N,i[4]=(s*S-t*F-l*x)*N,i[5]=(c*F-o*S+e*x)*N,i[6]=(p*M-g*b-y*w)*N,i[7]=(u*b-d*M+v*w)*N,i[8]=(t*D-n*S+l*_)*N,i[9]=(a*S-c*D-e*_)*N,i[10]=(g*k-T*M+y*A)*N,i[11]=(f*M-u*k-v*A)*N,i[12]=(n*x-t*P-s*_)*N,i[13]=(c*P-a*x+o*_)*N,i[14]=(T*w-g*m-p*A)*N,i[15]=(u*m-f*w+d*A)*N,i):null}return GS}var WS,FH;function F_e(){if(FH)return WS;FH=1,WS=r;function r(i,h){var c=h[0],a=h[1],o=h[2],e=h[3],t=h[4],n=h[5],s=h[6],l=h[7],u=h[8],f=h[9],d=h[10],v=h[11],g=h[12],T=h[13],p=h[14],y=h[15];return i[0]=n*(d*y-v*p)-f*(s*y-l*p)+T*(s*v-l*d),i[1]=-(a*(d*y-v*p)-f*(o*y-e*p)+T*(o*v-e*d)),i[2]=a*(s*y-l*p)-n*(o*y-e*p)+T*(o*l-e*s),i[3]=-(a*(s*v-l*d)-n*(o*v-e*d)+f*(o*l-e*s)),i[4]=-(t*(d*y-v*p)-u*(s*y-l*p)+g*(s*v-l*d)),i[5]=c*(d*y-v*p)-u*(o*y-e*p)+g*(o*v-e*d),i[6]=-(c*(s*y-l*p)-t*(o*y-e*p)+g*(o*l-e*s)),i[7]=c*(s*v-l*d)-t*(o*v-e*d)+u*(o*l-e*s),i[8]=t*(f*y-v*T)-u*(n*y-l*T)+g*(n*v-l*f),i[9]=-(c*(f*y-v*T)-u*(a*y-e*T)+g*(a*v-e*f)),i[10]=c*(n*y-l*T)-t*(a*y-e*T)+g*(a*l-e*n),i[11]=-(c*(n*v-l*f)-t*(a*v-e*f)+u*(a*l-e*n)),i[12]=-(t*(f*p-d*T)-u*(n*p-s*T)+g*(n*d-s*f)),i[13]=c*(f*p-d*T)-u*(a*p-o*T)+g*(a*d-o*f),i[14]=-(c*(n*p-s*T)-t*(a*p-o*T)+g*(a*s-o*n)),i[15]=c*(n*d-s*f)-t*(a*d-o*f)+u*(a*s-o*n),i}return WS}var ZS,BH;function B_e(){if(BH)return ZS;BH=1,ZS=r;function r(i){var h=i[0],c=i[1],a=i[2],o=i[3],e=i[4],t=i[5],n=i[6],s=i[7],l=i[8],u=i[9],f=i[10],d=i[11],v=i[12],g=i[13],T=i[14],p=i[15],y=h*t-c*e,A=h*n-a*e,w=h*s-o*e,M=c*n-a*t,m=c*s-o*t,k=a*s-o*n,b=l*g-u*v,_=l*T-f*v,x=l*p-d*v,S=u*T-f*g,P=u*p-d*g,D=f*p-d*T;return y*D-A*P+w*S+M*x-m*_+k*b}return ZS}var XS,OH;function O_e(){if(OH)return XS;OH=1,XS=r;function r(i,h,c){var a=h[0],o=h[1],e=h[2],t=h[3],n=h[4],s=h[5],l=h[6],u=h[7],f=h[8],d=h[9],v=h[10],g=h[11],T=h[12],p=h[13],y=h[14],A=h[15],w=c[0],M=c[1],m=c[2],k=c[3];return i[0]=w*a+M*n+m*f+k*T,i[1]=w*o+M*s+m*d+k*p,i[2]=w*e+M*l+m*v+k*y,i[3]=w*t+M*u+m*g+k*A,w=c[4],M=c[5],m=c[6],k=c[7],i[4]=w*a+M*n+m*f+k*T,i[5]=w*o+M*s+m*d+k*p,i[6]=w*e+M*l+m*v+k*y,i[7]=w*t+M*u+m*g+k*A,w=c[8],M=c[9],m=c[10],k=c[11],i[8]=w*a+M*n+m*f+k*T,i[9]=w*o+M*s+m*d+k*p,i[10]=w*e+M*l+m*v+k*y,i[11]=w*t+M*u+m*g+k*A,w=c[12],M=c[13],m=c[14],k=c[15],i[12]=w*a+M*n+m*f+k*T,i[13]=w*o+M*s+m*d+k*p,i[14]=w*e+M*l+m*v+k*y,i[15]=w*t+M*u+m*g+k*A,i}return XS}var YS,NH;function N_e(){if(NH)return YS;NH=1,YS=r;function r(i,h,c){var a=c[0],o=c[1],e=c[2],t,n,s,l,u,f,d,v,g,T,p,y;return h===i?(i[12]=h[0]*a+h[4]*o+h[8]*e+h[12],i[13]=h[1]*a+h[5]*o+h[9]*e+h[13],i[14]=h[2]*a+h[6]*o+h[10]*e+h[14],i[15]=h[3]*a+h[7]*o+h[11]*e+h[15]):(t=h[0],n=h[1],s=h[2],l=h[3],u=h[4],f=h[5],d=h[6],v=h[7],g=h[8],T=h[9],p=h[10],y=h[11],i[0]=t,i[1]=n,i[2]=s,i[3]=l,i[4]=u,i[5]=f,i[6]=d,i[7]=v,i[8]=g,i[9]=T,i[10]=p,i[11]=y,i[12]=t*a+u*o+g*e+h[12],i[13]=n*a+f*o+T*e+h[13],i[14]=s*a+d*o+p*e+h[14],i[15]=l*a+v*o+y*e+h[15]),i}return YS}var $S,qH;function q_e(){if(qH)return $S;qH=1,$S=r;function r(i,h,c){var a=c[0],o=c[1],e=c[2];return i[0]=h[0]*a,i[1]=h[1]*a,i[2]=h[2]*a,i[3]=h[3]*a,i[4]=h[4]*o,i[5]=h[5]*o,i[6]=h[6]*o,i[7]=h[7]*o,i[8]=h[8]*e,i[9]=h[9]*e,i[10]=h[10]*e,i[11]=h[11]*e,i[12]=h[12],i[13]=h[13],i[14]=h[14],i[15]=h[15],i}return $S}var KS,UH;function U_e(){if(UH)return KS;UH=1,KS=r;function r(i,h,c,a){var o=a[0],e=a[1],t=a[2],n=Math.sqrt(o*o+e*e+t*t),s,l,u,f,d,v,g,T,p,y,A,w,M,m,k,b,_,x,S,P,D,F,N,O;return Math.abs(n)<1e-6?null:(n=1/n,o*=n,e*=n,t*=n,s=Math.sin(c),l=Math.cos(c),u=1-l,f=h[0],d=h[1],v=h[2],g=h[3],T=h[4],p=h[5],y=h[6],A=h[7],w=h[8],M=h[9],m=h[10],k=h[11],b=o*o*u+l,_=e*o*u+t*s,x=t*o*u-e*s,S=o*e*u-t*s,P=e*e*u+l,D=t*e*u+o*s,F=o*t*u+e*s,N=e*t*u-o*s,O=t*t*u+l,i[0]=f*b+T*_+w*x,i[1]=d*b+p*_+M*x,i[2]=v*b+y*_+m*x,i[3]=g*b+A*_+k*x,i[4]=f*S+T*P+w*D,i[5]=d*S+p*P+M*D,i[6]=v*S+y*P+m*D,i[7]=g*S+A*P+k*D,i[8]=f*F+T*N+w*O,i[9]=d*F+p*N+M*O,i[10]=v*F+y*N+m*O,i[11]=g*F+A*N+k*O,h!==i&&(i[12]=h[12],i[13]=h[13],i[14]=h[14],i[15]=h[15]),i)}return KS}var JS,VH;function V_e(){if(VH)return JS;VH=1,JS=r;function r(i,h,c){var a=Math.sin(c),o=Math.cos(c),e=h[4],t=h[5],n=h[6],s=h[7],l=h[8],u=h[9],f=h[10],d=h[11];return h!==i&&(i[0]=h[0],i[1]=h[1],i[2]=h[2],i[3]=h[3],i[12]=h[12],i[13]=h[13],i[14]=h[14],i[15]=h[15]),i[4]=e*o+l*a,i[5]=t*o+u*a,i[6]=n*o+f*a,i[7]=s*o+d*a,i[8]=l*o-e*a,i[9]=u*o-t*a,i[10]=f*o-n*a,i[11]=d*o-s*a,i}return JS}var QS,HH;function H_e(){if(HH)return QS;HH=1,QS=r;function r(i,h,c){var a=Math.sin(c),o=Math.cos(c),e=h[0],t=h[1],n=h[2],s=h[3],l=h[8],u=h[9],f=h[10],d=h[11];return h!==i&&(i[4]=h[4],i[5]=h[5],i[6]=h[6],i[7]=h[7],i[12]=h[12],i[13]=h[13],i[14]=h[14],i[15]=h[15]),i[0]=e*o-l*a,i[1]=t*o-u*a,i[2]=n*o-f*a,i[3]=s*o-d*a,i[8]=e*a+l*o,i[9]=t*a+u*o,i[10]=n*a+f*o,i[11]=s*a+d*o,i}return QS}var eA,jH;function j_e(){if(jH)return eA;jH=1,eA=r;function r(i,h,c){var a=Math.sin(c),o=Math.cos(c),e=h[0],t=h[1],n=h[2],s=h[3],l=h[4],u=h[5],f=h[6],d=h[7];return h!==i&&(i[8]=h[8],i[9]=h[9],i[10]=h[10],i[11]=h[11],i[12]=h[12],i[13]=h[13],i[14]=h[14],i[15]=h[15]),i[0]=e*o+l*a,i[1]=t*o+u*a,i[2]=n*o+f*a,i[3]=s*o+d*a,i[4]=l*o-e*a,i[5]=u*o-t*a,i[6]=f*o-n*a,i[7]=d*o-s*a,i}return eA}var tA,GH;function G_e(){if(GH)return tA;GH=1,tA=r;function r(i,h,c){var a,o,e,t=c[0],n=c[1],s=c[2],l=Math.sqrt(t*t+n*n+s*s);return Math.abs(l)<1e-6?null:(l=1/l,t*=l,n*=l,s*=l,a=Math.sin(h),o=Math.cos(h),e=1-o,i[0]=t*t*e+o,i[1]=n*t*e+s*a,i[2]=s*t*e-n*a,i[3]=0,i[4]=t*n*e-s*a,i[5]=n*n*e+o,i[6]=s*n*e+t*a,i[7]=0,i[8]=t*s*e+n*a,i[9]=n*s*e-t*a,i[10]=s*s*e+o,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,i)}return tA}var rA,WH;function W_e(){if(WH)return rA;WH=1,rA=r;function r(i,h,c){var a=h[0],o=h[1],e=h[2],t=h[3],n=a+a,s=o+o,l=e+e,u=a*n,f=a*s,d=a*l,v=o*s,g=o*l,T=e*l,p=t*n,y=t*s,A=t*l;return i[0]=1-(v+T),i[1]=f+A,i[2]=d-y,i[3]=0,i[4]=f-A,i[5]=1-(u+T),i[6]=g+p,i[7]=0,i[8]=d+y,i[9]=g-p,i[10]=1-(u+v),i[11]=0,i[12]=c[0],i[13]=c[1],i[14]=c[2],i[15]=1,i}return rA}var iA,ZH;function Z_e(){if(ZH)return iA;ZH=1,iA=r;function r(i,h){return i[0]=h[0],i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=h[1],i[6]=0,i[7]=0,i[8]=0,i[9]=0,i[10]=h[2],i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,i}return iA}var nA,XH;function X_e(){if(XH)return nA;XH=1,nA=r;function r(i,h){return i[0]=1,i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=1,i[6]=0,i[7]=0,i[8]=0,i[9]=0,i[10]=1,i[11]=0,i[12]=h[0],i[13]=h[1],i[14]=h[2],i[15]=1,i}return nA}var aA,YH;function Y_e(){if(YH)return aA;YH=1,aA=r;function r(i,h){var c=Math.sin(h),a=Math.cos(h);return i[0]=1,i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=a,i[6]=c,i[7]=0,i[8]=0,i[9]=-c,i[10]=a,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,i}return aA}var oA,$H;function $_e(){if($H)return oA;$H=1,oA=r;function r(i,h){var c=Math.sin(h),a=Math.cos(h);return i[0]=a,i[1]=0,i[2]=-c,i[3]=0,i[4]=0,i[5]=1,i[6]=0,i[7]=0,i[8]=c,i[9]=0,i[10]=a,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,i}return oA}var sA,KH;function K_e(){if(KH)return sA;KH=1,sA=r;function r(i,h){var c=Math.sin(h),a=Math.cos(h);return i[0]=a,i[1]=c,i[2]=0,i[3]=0,i[4]=-c,i[5]=a,i[6]=0,i[7]=0,i[8]=0,i[9]=0,i[10]=1,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,i}return sA}var lA,JH;function Nhe(){if(JH)return lA;JH=1,lA=r;function r(i,h){var c=h[0],a=h[1],o=h[2],e=h[3],t=c+c,n=a+a,s=o+o,l=c*t,u=a*t,f=a*n,d=o*t,v=o*n,g=o*s,T=e*t,p=e*n,y=e*s;return i[0]=1-f-g,i[1]=u+y,i[2]=d-p,i[3]=0,i[4]=u-y,i[5]=1-l-g,i[6]=v+T,i[7]=0,i[8]=d+p,i[9]=v-T,i[10]=1-l-f,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,i}return lA}var uA,QH;function J_e(){if(QH)return uA;QH=1,uA=r;function r(i,h,c,a,o,e,t){var n=1/(c-h),s=1/(o-a),l=1/(e-t);return i[0]=e*2*n,i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=e*2*s,i[6]=0,i[7]=0,i[8]=(c+h)*n,i[9]=(o+a)*s,i[10]=(t+e)*l,i[11]=-1,i[12]=0,i[13]=0,i[14]=t*e*2*l,i[15]=0,i}return uA}var cA,ej;function Q_e(){if(ej)return cA;ej=1,cA=r;function r(i,h,c,a,o){var e=1/Math.tan(h/2),t=1/(a-o);return i[0]=e/c,i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=e,i[6]=0,i[7]=0,i[8]=0,i[9]=0,i[10]=(o+a)*t,i[11]=-1,i[12]=0,i[13]=0,i[14]=2*o*a*t,i[15]=0,i}return cA}var fA,tj;function exe(){if(tj)return fA;tj=1,fA=r;function r(i,h,c,a){var o=Math.tan(h.upDegrees*Math.PI/180),e=Math.tan(h.downDegrees*Math.PI/180),t=Math.tan(h.leftDegrees*Math.PI/180),n=Math.tan(h.rightDegrees*Math.PI/180),s=2/(t+n),l=2/(o+e);return i[0]=s,i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=l,i[6]=0,i[7]=0,i[8]=-((t-n)*s*.5),i[9]=(o-e)*l*.5,i[10]=a/(c-a),i[11]=-1,i[12]=0,i[13]=0,i[14]=a*c/(c-a),i[15]=0,i}return fA}var hA,rj;function txe(){if(rj)return hA;rj=1,hA=r;function r(i,h,c,a,o,e,t){var n=1/(h-c),s=1/(a-o),l=1/(e-t);return i[0]=-2*n,i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=-2*s,i[6]=0,i[7]=0,i[8]=0,i[9]=0,i[10]=2*l,i[11]=0,i[12]=(h+c)*n,i[13]=(o+a)*s,i[14]=(t+e)*l,i[15]=1,i}return hA}var dA,ij;function rxe(){if(ij)return dA;ij=1;var r=Ohe();dA=i;function i(h,c,a,o){var e,t,n,s,l,u,f,d,v,g,T=c[0],p=c[1],y=c[2],A=o[0],w=o[1],M=o[2],m=a[0],k=a[1],b=a[2];return Math.abs(T-m)<1e-6&&Math.abs(p-k)<1e-6&&Math.abs(y-b)<1e-6?r(h):(f=T-m,d=p-k,v=y-b,g=1/Math.sqrt(f*f+d*d+v*v),f*=g,d*=g,v*=g,e=w*v-M*d,t=M*f-A*v,n=A*d-w*f,g=Math.sqrt(e*e+t*t+n*n),g?(g=1/g,e*=g,t*=g,n*=g):(e=0,t=0,n=0),s=d*n-v*t,l=v*e-f*n,u=f*t-d*e,g=Math.sqrt(s*s+l*l+u*u),g?(g=1/g,s*=g,l*=g,u*=g):(s=0,l=0,u=0),h[0]=e,h[1]=s,h[2]=f,h[3]=0,h[4]=t,h[5]=l,h[6]=d,h[7]=0,h[8]=n,h[9]=u,h[10]=v,h[11]=0,h[12]=-(e*T+t*p+n*y),h[13]=-(s*T+l*p+u*y),h[14]=-(f*T+d*p+v*y),h[15]=1,h)}return dA}var vA,nj;function ixe(){if(nj)return vA;nj=1,vA=r;function r(i){return"mat4("+i[0]+", "+i[1]+", "+i[2]+", "+i[3]+", "+i[4]+", "+i[5]+", "+i[6]+", "+i[7]+", "+i[8]+", "+i[9]+", "+i[10]+", "+i[11]+", "+i[12]+", "+i[13]+", "+i[14]+", "+i[15]+")"}return vA}var pA,aj;function qhe(){return aj||(aj=1,pA={create:I_e(),clone:P_e(),copy:R_e(),identity:Ohe(),transpose:D_e(),invert:z_e(),adjoint:F_e(),determinant:B_e(),multiply:O_e(),translate:N_e(),scale:q_e(),rotate:U_e(),rotateX:V_e(),rotateY:H_e(),rotateZ:j_e(),fromRotation:G_e(),fromRotationTranslation:W_e(),fromScaling:Z_e(),fromTranslation:X_e(),fromXRotation:Y_e(),fromYRotation:$_e(),fromZRotation:K_e(),fromQuat:Nhe(),frustum:J_e(),perspective:Q_e(),perspectiveFromFieldOfView:exe(),ortho:txe(),lookAt:rxe(),str:ixe()}),pA}var oj;function d9(){return oj||(oj=1,(function(r){var i=qhe();r.init2dArray=function(h,c){for(var a=new Array(h),o=0;o<h;o++)a[o]=new Array(c);return a},r.transposeRagged=function(h){var c=0,a=h.length,o,e;for(o=0;o<a;o++)c=Math.max(c,h[o].length);var t=new Array(c);for(o=0;o<c;o++)for(t[o]=new Array(a),e=0;e<a;e++)t[o][e]=h[e][o];return t},r.dot=function(h,c){if(!(h.length&&c.length)||h.length!==c.length)return null;var a=h.length,o,e;if(h[0].length)for(o=new Array(a),e=0;e<a;e++)o[e]=r.dot(h[e],c);else if(c[0].length){var t=r.transposeRagged(c);for(o=new Array(t.length),e=0;e<t.length;e++)o[e]=r.dot(h,t[e])}else for(o=0,e=0;e<a;e++)o+=h[e]*c[e];return o},r.translationMatrix=function(h,c){return[[1,0,h],[0,1,c],[0,0,1]]},r.rotationMatrix=function(h){var c=h*Math.PI/180;return[[Math.cos(c),-Math.sin(c),0],[Math.sin(c),Math.cos(c),0],[0,0,1]]},r.rotationXYMatrix=function(h,c,a){return r.dot(r.dot(r.translationMatrix(c,a),r.rotationMatrix(h)),r.translationMatrix(-c,-a))},r.apply3DTransform=function(h){return function(){var c=arguments,a=arguments.length===1?c[0]:[c[0],c[1],c[2]||0];return r.dot(h,[a[0],a[1],a[2],1]).slice(0,3)}},r.apply2DTransform=function(h){return function(){var c=arguments;c.length===3&&(c=c[0]);var a=arguments.length===1?c[0]:[c[0],c[1]];return r.dot(h,[a[0],a[1],1]).slice(0,2)}},r.apply2DTransform2=function(h){var c=r.apply2DTransform(h);return function(a){return c(a.slice(0,2)).concat(c(a.slice(2,4)))}},r.convertCssMatrix=function(h){if(h){var c=h.length;if(c===16)return h;if(c===6)return[h[0],h[1],0,0,h[2],h[3],0,0,0,0,1,0,h[4],h[5],0,1]}return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]},r.inverseTransformMatrix=function(h){var c=[];return i.invert(c,h),[[c[0],c[1],c[2],c[3]],[c[4],c[5],c[6],c[7]],[c[8],c[9],c[10],c[11]],[c[12],c[13],c[14],c[15]]]}})(NS)),NS}var gA,sj;function R2(){if(sj)return gA;sj=1;var r=Kn(),i=py(),h=d9(),c=qhe();function a(g){var T;if(typeof g=="string"){if(T=document.getElementById(g),T===null)throw new Error("No DOM element with id '"+g+"' exists on the page.");return T}else if(g==null)throw new Error("DOM element provided is null or undefined");return g}function o(g){var T=r.select(g);return T.node()instanceof HTMLElement&&T.size()&&T.classed("js-plotly-plot")}function e(g){var T=g&&g.parentNode;T&&T.removeChild(g)}function t(g,T){n("global",g,T)}function n(g,T,p){var y="plotly.js-style-"+g,A=document.getElementById(y);A||(A=document.createElement("style"),A.setAttribute("id",y),A.appendChild(document.createTextNode("")),document.head.appendChild(A));var w=A.sheet;w.insertRule?w.insertRule(T+"{"+p+"}",0):w.addRule?w.addRule(T,p,0):i.warn("addStyleRule failed")}function s(g){var T="plotly.js-style-"+g,p=document.getElementById(T);p&&e(p)}function l(g){var T=f(g),p=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return T.forEach(function(y){var A=u(y);if(A){var w=h.convertCssMatrix(A);p=c.multiply(p,p,w)}}),p}function u(g){var T=window.getComputedStyle(g,null),p=T.getPropertyValue("-webkit-transform")||T.getPropertyValue("-moz-transform")||T.getPropertyValue("-ms-transform")||T.getPropertyValue("-o-transform")||T.getPropertyValue("transform");return p==="none"?null:p.replace("matrix","").replace("3d","").slice(1,-1).split(",").map(function(y){return+y})}function f(g){for(var T=[];d(g);)T.push(g),g=g.parentNode,typeof ShadowRoot=="function"&&g instanceof ShadowRoot&&(g=g.host);return T}function d(g){return g&&(g instanceof Element||g instanceof HTMLElement)}function v(g,T){return g&&T&&g.top===T.top&&g.left===T.left&&g.right===T.right&&g.bottom===T.bottom}return gA={getGraphDiv:a,isPlotDiv:o,removeElement:e,addStyleRule:t,addRelatedStyleRule:n,deleteRelatedStyleRule:s,getFullTransformMatrix:l,getElementTransformMatrix:u,getElementAndAncestors:f,equalDomRects:v},gA}var yA,lj;function D2(){return lj||(lj=1,yA={mode:{valType:"enumerated",dflt:"afterall",values:["immediate","next","afterall"],description:["Describes how a new animate call interacts with currently-running","animations. If `immediate`, current animations are interrupted and","the new animation is started. If `next`, the current frame is allowed","to complete, after which the new animation is started. If `afterall`","all existing frames are animated to completion before the new animation","is started."].join(" ")},direction:{valType:"enumerated",values:["forward","reverse"],dflt:"forward",description:["The direction in which to play the frames triggered by the animation call"].join(" ")},fromcurrent:{valType:"boolean",dflt:!1,description:["Play frames starting at the current frame instead of the beginning."].join(" ")},frame:{duration:{valType:"number",min:0,dflt:500,description:["The duration in milliseconds of each frame. If greater than the frame","duration, it will be limited to the frame duration."].join(" ")},redraw:{valType:"boolean",dflt:!0,description:["Redraw the plot at completion of the transition. This is desirable","for transitions that include properties that cannot be transitioned,","but may significantly slow down updates that do not require a full","redraw of the plot"].join(" ")}},transition:{duration:{valType:"number",min:0,dflt:500,editType:"none",description:["The duration of the transition, in milliseconds. If equal to zero,","updates are synchronous."].join(" ")},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],editType:"none",description:"The easing function used for the transition"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",editType:"none",description:["Determines whether the figure's layout or traces smoothly transitions","during updates that make both traces and layout change."].join(" ")}}}),yA}var mA,uj;function xl(){if(uj)return mA;uj=1;var r=ka().extendFlat,i=v0(),h={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full (re)plot starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* (re)plots but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},c={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full (re)plot starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* (re)plots but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},a=h.flags.slice().concat(["fullReplot"]),o=c.flags.slice().concat("layoutReplot");mA={traces:h,layout:c,traceFlags:function(){return e(a)},layoutFlags:function(){return e(o)},update:function(s,l){var u=l.editType;if(u&&u!=="none")for(var f=u.split("+"),d=0;d<f.length;d++)s[f[d]]=!0},overrideAll:t};function e(s){for(var l={},u=0;u<s.length;u++)l[s[u]]=!1;return l}function t(s,l,u){var f=r({},s);for(var d in f){var v=f[d];i(v)&&(f[d]=n(v,l,u,d))}return u==="from-root"&&(f.editType=l),f}function n(s,l,u,f){if(s.valType){var d=r({},s);if(d.editType=l,Array.isArray(s.items)){d.items=new Array(s.items.length);for(var v=0;v<s.items.length;v++)d.items[v]=n(s.items[v],l)}return d}else return t(s,l,f.charAt(0)==="_"?"nested":"from-root")}return mA}var bb={},cj;function Hf(){return cj||(cj=1,bb.dash={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")},bb.pattern={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style",description:["Sets the shape of the pattern fill.","By default, no pattern is used for filling the area."].join(" ")},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style",description:["Determines whether `marker.color` should be used","as a default to `bgcolor` or a `fgcolor`."].join(" ")},bgcolor:{valType:"color",arrayOk:!0,editType:"style",description:["When there is no colorscale sets the color of background pattern fill.","Defaults to a `marker.color` background when `fillmode` is *overlay*.","Otherwise, defaults to a transparent background."].join(" ")},fgcolor:{valType:"color",arrayOk:!0,editType:"style",description:["When there is no colorscale sets the color of foreground pattern fill.","Defaults to a `marker.color` background when `fillmode` is *replace*.","Otherwise, defaults to dark grey or white","to increase contrast with the `bgcolor`."].join(" ")},fgopacity:{valType:"number",editType:"style",min:0,max:1,description:["Sets the opacity of the foreground pattern fill.","Defaults to a 0.5 when `fillmode` is *overlay*.","Otherwise, defaults to 1."].join(" ")},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style",description:["Sets the size of unit squares of the pattern fill in pixels,","which corresponds to the interval of repetition of the pattern."].join(" ")},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style",description:["Sets the solidity of the pattern fill.","Solidity is roughly the fraction of the area filled by the pattern.","Solidity of 0 shows only the background color without pattern","and solidty of 1 shows only the foreground color without pattern."].join(" ")},editType:"style",description:["Sets the pattern within the marker."].join(" ")}),bb}var t_={},_A,fj;function Uhe(){return fj||(fj=1,_A={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}),_A}var hj;function uo(){if(hj)return t_;hj=1;var r=Uhe(),i=r.FORMAT_LINK,h=r.DATE_FORMAT_LINK;function c(e){var t=e&&e.supportOther;return["Variables are inserted using %{variable},",'for example "y: %{y}"'+(t?" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown.":"."),`Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".`,i,"for details on the formatting syntax.",`Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".`,h,"for details on the date formatting syntax."].join(" ")}function a(){return["Variables are inserted using %{variable},",'for example "x0: %{x0}".',`Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{x0:$.2f}". See`,i,"for details on the formatting syntax.",`Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{x0|%m %b %Y}". See`,h,"for details on the date formatting syntax.","A single multiplication or division operation may be applied to numeric variables, and combined with",'d3 number formatting, for example "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per second."',"For log axes, variable values are given in log units.","For date axes, x/y coordinate variables and center variables use datetimes, while all other variable values use values in ms."].join(" ")}function o(e){var t=e.description?" "+e.description:"",n=e.keys||[];if(n.length>0){for(var s=[],l=0;l<n.length;l++)s[l]="`"+n[l]+"`";t=t+"Finally, the template string has access to ",n.length===1?t=t+"variable "+s[0]:t=t+"variables "+s.slice(0,-1).join(", ")+" and "+s.slice(-1)+"."}return t}return t_.hovertemplateAttrs=function(e,t){e=e||{},t=t||{};var n=o(t),s={valType:"string",dflt:"",editType:e.editType||"none",description:["Template string used for rendering the information that appear on hover box.","Note that this will override `hoverinfo`.",c({supportOther:!0}),"The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data.","Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",n,'Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>".',"To hide the secondary box completely, use an empty tag `<extra></extra>`."].join(" ")};return e.arrayOk!==!1&&(s.arrayOk=!0),s},t_.texttemplateAttrs=function(e,t){e=e||{},t=t||{};var n=o(t),s={valType:"string",dflt:"",editType:e.editType||"calc",description:["Template string used for rendering the information text that appear on points.","Note that this will override `textinfo`.",c(),"Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",n].join(" ")};return e.arrayOk!==!1&&(s.arrayOk=!0),s},t_.shapeTexttemplateAttrs=function(e,t){e=e||{},t=t||{};var n=e.newshape?"new ":"",s=o(t),l={valType:"string",dflt:"",editType:e.editType||"arraydraw",description:["Template string used for rendering the "+n+"shape's label.","Note that this will override `text`.",a(),s].join(" ")};return l},t_}var xA,dj;function v9(){if(dj)return xA;dj=1;function r(y,A){return A?A.d2l(y):y}function i(y,A){return A?A.l2d(y):y}function h(y){return y.x0}function c(y){return y.x1}function a(y){return y.y0}function o(y){return y.y1}function e(y){return y.x0shift||0}function t(y){return y.x1shift||0}function n(y){return y.y0shift||0}function s(y){return y.y1shift||0}function l(y,A){return r(y.x1,A)+t(y)-r(y.x0,A)-e(y)}function u(y,A,w){return r(y.y1,w)+s(y)-r(y.y0,w)-n(y)}function f(y,A){return Math.abs(l(y,A))}function d(y,A,w){return Math.abs(u(y,A,w))}function v(y,A,w){return y.type!=="line"?void 0:Math.sqrt(Math.pow(l(y,A),2)+Math.pow(u(y,A,w),2))}function g(y,A){return i((r(y.x1,A)+t(y)+r(y.x0,A)+e(y))/2,A)}function T(y,A,w){return i((r(y.y1,w)+s(y)+r(y.y0,w)+n(y))/2,w)}function p(y,A,w){return y.type!=="line"?void 0:u(y,A,w)/l(y,A)}return xA={x0:h,x1:c,y0:a,y1:o,slope:p,dx:l,dy:u,width:f,height:d,length:v,xcenter:g,ycenter:T},xA}var bA,vj;function nxe(){if(vj)return bA;vj=1;var r=xl().overrideAll,i=Is(),h=Cl(),c=Hf().dash,a=ka().extendFlat,o=uo().shapeTexttemplateAttrs,e=v9();return bA=r({newshape:{visible:a({},i.visible,{description:["Determines whether or not new shape is visible.","If *legendonly*, the shape is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")}),showlegend:{valType:"boolean",dflt:!1,description:["Determines whether or not new","shape is shown in the legend."].join(" ")},legend:a({},i.legend,{description:["Sets the reference to a legend to show new shape in.","References to these legends are *legend*, *legend2*, *legend3*, etc.","Settings for these legends are set in the layout, under","`layout.legend`, `layout.legend2`, etc."].join(" ")}),legendgroup:a({},i.legendgroup,{description:["Sets the legend group for new shape.","Traces and shapes part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")}),legendgrouptitle:{text:a({},i.legendgrouptitle.text,{}),font:h({description:["Sets this legend group's title font."].join(" ")})},legendrank:a({},i.legendrank,{description:["Sets the legend rank for new shape.","Items and groups with smaller ranks are presented on top/left side while","with *reversed* `legend.traceorder` they are on bottom/right side.","The default legendrank is 1000,","so that you can use ranks less than 1000 to place certain items before all unranked items,","and ranks greater than 1000 to go after all unranked items."].join(" ")}),legendwidth:a({},i.legendwidth,{description:"Sets the width (in px or fraction) of the legend for new shape."}),line:{color:{valType:"color",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:0,dflt:4,description:"Sets the line width (in px)."},dash:a({},c,{dflt:"solid"})},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",description:["Sets the color filling new shapes' interior.","Please note that if using a fillcolor with alpha greater than half,","drag inside the active shape starts moving the shape underneath,","otherwise a new shape could be started over."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",description:["Determines the path's interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,description:"Sets the opacity of new shapes."},layer:{valType:"enumerated",values:["below","above","between"],dflt:"above",description:["Specifies whether new shapes are drawn below gridlines (*below*),","between gridlines and traces (*between*) or above traces (*above*)."].join(" ")},drawdirection:{valType:"enumerated",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal",description:["When `dragmode` is set to *drawrect*, *drawline* or *drawcircle*","this limits the drag to be horizontal, vertical or diagonal.","Using *diagonal* there is no limit e.g. in drawing lines in any direction.","*ortho* limits the draw to be either horizontal or vertical.","*horizontal* allows horizontal extend.","*vertical* allows vertical extend."].join(" ")},name:a({},i.name,{description:["Sets new shape name.","The name appears as the legend item."].join(" ")}),label:{text:{valType:"string",dflt:"",description:["Sets the text to display with the new shape.","It is also used for legend item if `name` is not provided."].join(" ")},texttemplate:o({newshape:!0},{keys:Object.keys(e)}),font:h({description:"Sets the new shape label text font."}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],description:["Sets the position of the label text relative to the new shape.","Supported values for rectangles, circles and paths are","*top left*, *top center*, *top right*, *middle left*,","*middle center*, *middle right*, *bottom left*, *bottom center*,","and *bottom right*.","Supported values for lines are *start*, *middle*, and *end*.","Default: *middle center* for rectangles, circles, and paths; *middle* for lines."].join(" ")},textangle:{valType:"angle",dflt:"auto",description:["Sets the angle at which the label text is drawn","with respect to the horizontal. For lines, angle *auto*","is the same angle as the line. For all other shapes,","angle *auto* is horizontal."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",description:["Sets the label's horizontal position anchor","This anchor binds the specified `textposition` to the *left*, *center*","or *right* of the label text.","For example, if `textposition` is set to *top right* and","`xanchor` to *right* then the right-most portion of the","label text lines up with the right-most edge of the","new shape."].join(" ")},yanchor:{valType:"enumerated",values:["top","middle","bottom"],description:["Sets the label's vertical position anchor","This anchor binds the specified `textposition` to the *top*, *middle*","or *bottom* of the label text.","For example, if `textposition` is set to *top right* and","`yanchor` to *top* then the top-most portion of the","label text lines up with the top-most edge of the","new shape."].join(" ")},padding:{valType:"number",dflt:3,min:0,description:"Sets padding (in px) between edge of label and edge of new shape."}}},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,description:"Sets the opacity of the active shape."}}},"none","from-root"),bA}var wA,pj;function axe(){if(pj)return wA;pj=1;var r=Hf().dash,i=ka().extendFlat;return wA={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none",description:["Describes how a new selection is created.","If `immediate`, a new selection is created after first mouse up.","If `gradual`, a new selection is not created after first mouse.","By adding to and subtracting from the initial selection,","this option allows declaring extra outlines of the selection."].join(" ")},line:{color:{valType:"color",editType:"none",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:1,dflt:1,editType:"none",description:"Sets the line width (in px)."},dash:i({},r,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none",description:"Sets the color filling the active selection' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none",description:"Sets the opacity of the active selection."},editType:"none"}},wA}var TA,gj;function p9(){return gj||(gj=1,TA=function(r){var i=r.editType;return{t:{valType:"number",dflt:0,editType:i,description:"The amount of padding (in px) along the top of the component."},r:{valType:"number",dflt:0,editType:i,description:"The amount of padding (in px) on the right side of the component."},b:{valType:"number",dflt:0,editType:i,description:"The amount of padding (in px) along the bottom of the component."},l:{valType:"number",dflt:0,editType:i,description:"The amount of padding (in px) on the left side of the component."},editType:i}}),TA}var SA,yj;function Nm(){if(yj)return SA;yj=1;var r=Cl(),i=D2(),h=Pc(),c=nxe(),a=axe(),o=p9(),e=ka().extendFlat,t=r({editType:"calc",description:["Sets the global font.","Note that fonts used in traces and other","layout components inherit from the global font."].join(" ")});return t.family.dflt='"Open Sans", verdana, arial, sans-serif',t.size.dflt=12,t.color.dflt=h.defaultLine,SA={font:t,title:{text:{valType:"string",editType:"layoutstyle",description:["Sets the plot's title.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:r({editType:"layoutstyle",description:["Sets the title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),subtitle:{text:{valType:"string",editType:"layoutstyle",description:"Sets the plot's subtitle."},font:r({editType:"layoutstyle",description:"Sets the subtitle font."}),editType:"layoutstyle"},xref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle",description:["Sets the container `x` refers to.","*container* spans the entire `width` of the plot.","*paper* refers to the width of the plotting area only."].join(" ")},yref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle",description:["Sets the container `y` refers to.","*container* spans the entire `height` of the plot.","*paper* refers to the height of the plotting area only."].join(" ")},x:{valType:"number",min:0,max:1,dflt:.5,editType:"layoutstyle",description:["Sets the x position with respect to `xref` in normalized","coordinates from *0* (left) to *1* (right)."].join(" ")},y:{valType:"number",min:0,max:1,dflt:"auto",editType:"layoutstyle",description:["Sets the y position with respect to `yref` in normalized","coordinates from *0* (bottom) to *1* (top).","*auto* places the baseline of the title onto the","vertical center of the top margin."].join(" ")},xanchor:{valType:"enumerated",dflt:"auto",values:["auto","left","center","right"],editType:"layoutstyle",description:["Sets the title's horizontal alignment with respect to its x position.","*left* means that the title starts at x,","*right* means that the title ends at x","and *center* means that the title's center is at x.","*auto* divides `xref` by three and calculates the `xanchor`","value automatically based on the value of `x`."].join(" ")},yanchor:{valType:"enumerated",dflt:"auto",values:["auto","top","middle","bottom"],editType:"layoutstyle",description:["Sets the title's vertical alignment with respect to its y position.","*top* means that the title's cap line is at y,","*bottom* means that the title's baseline is at y","and *middle* means that the title's midline is at y.","*auto* divides `yref` by three and calculates the `yanchor`","value automatically based on the value of `y`."].join(" ")},pad:e(o({editType:"layoutstyle"}),{description:["Sets the padding of the title.","Each padding value only applies when the corresponding","`xanchor`/`yanchor` value is set accordingly. E.g. for left","padding to take effect, `xanchor` must be set to *left*.","The same rule applies if `xanchor`/`yanchor` is determined automatically.","Padding is muted if the respective anchor value is *middle*/*center*."].join(" ")}),automargin:{valType:"boolean",dflt:!1,editType:"plot",description:["Determines whether the title can automatically push the figure margins.","If `yref='paper'` then the margin will expand to ensure that the title doesn’t","overlap with the edges of the container. If `yref='container'` then the margins","will ensure that the title doesn’t overlap with the plot area, tick labels,","and axis titles. If `automargin=true` and the margins need to be expanded,","then y will be set to a default 1 and yanchor will be set to an appropriate","default to ensure that minimal margin space is needed. Note that when `yref='paper'`,","only 1 or 0 are allowed y values. Invalid values will be reset to the default 1."].join(" ")},editType:"layoutstyle"},uniformtext:{mode:{valType:"enumerated",values:[!1,"hide","show"],dflt:!1,editType:"plot",description:["Determines how the font size for various text","elements are uniformed between each trace type.","If the computed text sizes were smaller than","the minimum size defined by `uniformtext.minsize`","using *hide* option hides the text; and","using *show* option shows the text without further downscaling.","Please note that if the size defined by `minsize` is greater than","the font size defined by trace, then the `minsize` is used."].join(" ")},minsize:{valType:"number",min:0,dflt:0,editType:"plot",description:["Sets the minimum text size between traces of the same type."].join(" ")},editType:"plot"},autosize:{valType:"boolean",dflt:!1,editType:"none",description:["Determines whether or not a layout width or height","that has been left undefined by the user","is initialized on each relayout.","Note that, regardless of this attribute,","an undefined layout width or height","is always initialized on the first call to plot."].join(" ")},width:{valType:"number",min:10,dflt:700,editType:"plot",description:["Sets the plot's width (in px)."].join(" ")},height:{valType:"number",min:10,dflt:450,editType:"plot",description:["Sets the plot's height (in px)."].join(" ")},minreducedwidth:{valType:"number",min:2,dflt:64,editType:"plot",description:"Minimum width of the plot with margin.automargin applied (in px)"},minreducedheight:{valType:"number",min:2,dflt:64,editType:"plot",description:"Minimum height of the plot with margin.automargin applied (in px)"},margin:{l:{valType:"number",min:0,dflt:80,editType:"plot",description:"Sets the left margin (in px)."},r:{valType:"number",min:0,dflt:80,editType:"plot",description:"Sets the right margin (in px)."},t:{valType:"number",min:0,dflt:100,editType:"plot",description:"Sets the top margin (in px)."},b:{valType:"number",min:0,dflt:80,editType:"plot",description:"Sets the bottom margin (in px)."},pad:{valType:"number",min:0,dflt:0,editType:"plot",description:["Sets the amount of padding (in px)","between the plotting area and the axis lines"].join(" ")},autoexpand:{valType:"boolean",dflt:!0,editType:"plot",description:["Turns on/off margin expansion computations.","Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider","are allowed to push the margins by defaults."].join(" ")},editType:"plot"},computed:{valType:"any",editType:"none",description:["Placeholder for exporting automargin-impacting values namely","`margin.t`, `margin.b`, `margin.l` and `margin.r` in *full-json* mode."].join(" ")},paper_bgcolor:{valType:"color",dflt:h.background,editType:"plot",description:"Sets the background color of the paper where the graph is drawn."},plot_bgcolor:{valType:"color",dflt:h.background,editType:"layoutstyle",description:["Sets the background color of the plotting area in-between x and y axes."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","This is the default value; however it could be overridden for individual axes."].join(" ")},separators:{valType:"string",editType:"plot",description:["Sets the decimal and thousand separators.","For example, *. * puts a '.' before decimals and a space","between thousands. In English locales, dflt is *.,* but","other locales may alter this default."].join(" ")},hidesources:{valType:"boolean",dflt:!1,editType:"plot",description:["Determines whether or not a text link citing the data source is","placed at the bottom-right cored of the figure.","Has only an effect only on graphs that have been generated via","forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise)."].join(" ")},showlegend:{valType:"boolean",editType:"legend",description:["Determines whether or not a legend is drawn.","Default is `true` if there is a trace to show and any of these:","a) Two or more traces would by default be shown in the legend.","b) One pie trace is shown in the legend.","c) One trace is explicitly given with `showlegend: true`."].join(" ")},colorway:{valType:"colorlist",dflt:h.defaults,editType:"calc",description:"Sets the default trace colors."},datarevision:{valType:"any",editType:"calc",description:["If provided, a changed value tells `Plotly.react` that","one or more data arrays has changed. This way you can modify","arrays in-place rather than making a complete new copy for an","incremental change.","If NOT provided, `Plotly.react` assumes that data arrays are","being treated as immutable, thus any data array with a","different identity from its predecessor contains new data."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Used to allow user interactions with the plot to persist after","`Plotly.react` calls that are unaware of these interactions.","If `uirevision` is omitted, or if it is given and it changed from","the previous `Plotly.react` call, the exact new figure is used.","If `uirevision` is truthy and did NOT change, any attribute","that has been affected by user interactions and did not receive a","different value in the new figure will keep the interaction value.","`layout.uirevision` attribute serves as the default for","`uirevision` attributes in various sub-containers. For finer","control you can set these sub-attributes directly. For example,","if your app separately controls the data on the x and y axes you","might set `xaxis.uirevision=*time*` and `yaxis.uirevision=*cost*`.","Then if only the y data is changed, you can update","`yaxis.uirevision=*quantity*` and the y axis range will reset but","the x axis range will retain any user-driven zoom."].join(" ")},editrevision:{valType:"any",editType:"none",description:["Controls persistence of user-driven changes in `editable: true`","configuration, other than trace names and axis titles.","Defaults to `layout.uirevision`."].join(" ")},selectionrevision:{valType:"any",editType:"none",description:["Controls persistence of user-driven changes in selected points","from all traces."].join(" ")},template:{valType:"any",editType:"calc",description:["Default attributes to be applied to the plot. Templates can be","created from existing plots using `Plotly.makeTemplate`, or","created manually. They should be objects with format:","`{layout: layoutTemplate, data: {[type]: [traceTemplate, ...]}, ...}`","`layoutTemplate` and `traceTemplate` are objects matching the","attribute structure of `layout` and a data trace. ","Trace templates are applied cyclically to traces of each type.","Container arrays (eg `annotations`) have special handling:","An object ending in `defaults` (eg `annotationdefaults`) is applied","to each array item. But if an item has a `templateitemname` key","we look in the template array for an item with matching `name` and","apply that instead. If no matching `name` is found we mark the item","invisible. Any named template item not referenced is appended to","the end of the array, so you can use this for a watermark annotation","or a logo image, for example. To omit one of these items on the plot,","make an item with matching `templateitemname` and `visible: false`."].join(" ")},newshape:c.newshape,activeshape:c.activeshape,newselection:a.newselection,activeselection:a.activeselection,meta:{valType:"any",arrayOk:!0,editType:"plot",description:["Assigns extra meta information that can be used in various `text` attributes.","Attributes such as the graph, axis and colorbar `title.text`, annotation `text`","`trace.name` in legend items, `rangeselector`, `updatemenus` and `sliders` `label` text","all support `meta`. One can access `meta` fields using template strings:","`%{meta[i]}` where `i` is the index of the `meta`","item in question.","`meta` can also be an object for example `{key: value}` which can be accessed","%{meta[key]}."].join(" ")},transition:e({},i.transition,{description:["Sets transition options used during Plotly.react updates."].join(" "),editType:"none"}),_deprecated:{title:{valType:"string",editType:"layoutstyle",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the contents of the title, please use `title.text` now."].join(" ")},titlefont:r({editType:"layoutstyle",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}},SA}var mj;function $n(){return mj||(mj=1,(function(r){var i=py(),h=h9(),c=Bhe(),a=v0(),o=R2().addStyleRule,e=ka(),t=Is(),n=Nm(),s=e.extendFlat,l=e.extendDeepAll;r.modules={},r.allCategories={},r.allTypes=[],r.subplotsRegistry={},r.transformsRegistry={},r.componentsRegistry={},r.layoutArrayContainers=[],r.layoutArrayRegexes=[],r.traceLayoutAttributes={},r.localeRegistry={},r.apiMethodRegistry={},r.collectableSubplotTypes=null,r.register=function(m){if(r.collectableSubplotTypes=null,m)m&&!Array.isArray(m)&&(m=[m]);else throw new Error("No argument passed to Plotly.register.");for(var k=0;k<m.length;k++){var b=m[k];if(!b)throw new Error("Invalid module was attempted to be registered!");switch(b.moduleType){case"trace":u(b);break;case"transform":v(b);break;case"component":d(b);break;case"locale":g(b);break;case"apiMethod":var _=b.name;r.apiMethodRegistry[_]=b.fn;break;default:throw new Error("Invalid module was attempted to be registered!")}}},r.getModule=function(M){var m=r.modules[w(M)];return m?m._module:!1},r.traceIs=function(M,m){if(M=w(M),M==="various")return!1;var k=r.modules[M];return k||(M&&i.log("Unrecognized trace type "+M+"."),k=r.modules[t.type.dflt]),!!k.categories[m]},r.getTransformIndices=function(M,m){for(var k=[],b=M.transforms||[],_=0;_<b.length;_++)b[_].type===m&&k.push(_);return k},r.hasTransform=function(M,m){for(var k=M.transforms||[],b=0;b<k.length;b++)if(k[b].type===m)return!0;return!1},r.getComponentMethod=function(M,m){var k=r.componentsRegistry[M];return k&&k[m]||h},r.call=function(){var M=arguments[0],m=[].slice.call(arguments,1);return r.apiMethodRegistry[M].apply(null,m)};function u(M){var m=M.name,k=M.categories,b=M.meta;if(r.modules[m]){i.log("Type "+m+" already registered");return}r.subplotsRegistry[M.basePlotModule.name]||f(M.basePlotModule);for(var _={},x=0;x<k.length;x++)_[k[x]]=!0,r.allCategories[k[x]]=!0;r.modules[m]={_module:M,categories:_},b&&Object.keys(b).length&&(r.modules[m].meta=b),r.allTypes.push(m);for(var S in r.componentsRegistry)p(S,m);M.layoutAttributes&&s(r.traceLayoutAttributes,M.layoutAttributes);var P=M.basePlotModule,D=P.name;if(D==="mapbox"){var F=P.constants.styleRules;for(var N in F)o(".js-plotly-plot .plotly .mapboxgl-"+N,F[N])}(D==="geo"||D==="mapbox"||D==="map")&&window.PlotlyGeoAssets===void 0&&(window.PlotlyGeoAssets={topojson:{}})}function f(M){var m=M.name;if(r.subplotsRegistry[m]){i.log("Plot type "+m+" already registered.");return}T(M),r.subplotsRegistry[m]=M;for(var k in r.componentsRegistry)A(k,M.name)}function d(M){if(typeof M.name!="string")throw new Error("Component module *name* must be a string.");var m=M.name;r.componentsRegistry[m]=M,M.layoutAttributes&&(M.layoutAttributes._isLinkedToArray&&c(r.layoutArrayContainers,m),T(M));for(var k in r.modules)p(m,k);for(var b in r.subplotsRegistry)A(m,b);for(var _ in r.transformsRegistry)y(m,_);M.schema&&M.schema.layout&&l(n,M.schema.layout)}function v(M){if(typeof M.name!="string")throw new Error("Transform module *name* must be a string.");var m="Transform module "+M.name,k=typeof M.transform=="function",b=typeof M.calcTransform=="function";if(!k&&!b)throw new Error(m+" is missing a *transform* or *calcTransform* method.");k&&b&&i.log([m+" has both a *transform* and *calcTransform* methods.","Please note that all *transform* methods are executed","before all *calcTransform* methods."].join(" ")),a(M.attributes)||i.log(m+" registered without an *attributes* object."),typeof M.supplyDefaults!="function"&&i.log(m+" registered without a *supplyDefaults* method."),r.transformsRegistry[M.name]=M;for(var _ in r.componentsRegistry)y(_,M.name)}function g(M){var m=M.name,k=m.split("-")[0],b=M.dictionary,_=M.format,x=b&&Object.keys(b).length,S=_&&Object.keys(_).length,P=r.localeRegistry,D=P[m];if(D||(P[m]=D={}),k!==m){var F=P[k];F||(P[k]=F={}),x&&F.dictionary===D.dictionary&&(F.dictionary=b),S&&F.format===D.format&&(F.format=_)}x&&(D.dictionary=b),S&&(D.format=_)}function T(M){if(M.layoutAttributes){var m=M.layoutAttributes._arrayAttrRegexps;if(m)for(var k=0;k<m.length;k++)c(r.layoutArrayRegexes,m[k])}}function p(M,m){var k=r.componentsRegistry[M].schema;if(!(!k||!k.traces)){var b=k.traces[m];b&&l(r.modules[m]._module.attributes,b)}}function y(M,m){var k=r.componentsRegistry[M].schema;if(!(!k||!k.transforms)){var b=k.transforms[m];b&&l(r.transformsRegistry[m].attributes,b)}}function A(M,m){var k=r.componentsRegistry[M].schema;if(!(!k||!k.subplots)){var b=r.subplotsRegistry[m],_=b.layoutAttributes,x=b.attr==="subplot"?b.name:b.attr;Array.isArray(x)&&(x=x[0]);var S=k.subplots[x];_&&S&&l(_,S)}}function w(M){return typeof M=="object"&&(M=M.type),M}})(FS)),FS}var _j;function oxe(){return _j||(_j=1,(function(r){var i=N_.timeFormat,h=La(),c=py(),a=Y_().mod,o=mo(),e=o.BADNUM,t=o.ONEDAY,n=o.ONEHOUR,s=o.ONEMIN,l=o.ONESEC,u=o.EPOCHJD,f=$n(),d=N_.utcFormat,v=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,g=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,T=new Date().getFullYear()-70;function p(B){return B&&f.componentsRegistry.calendars&&typeof B=="string"&&B!=="gregorian"}r.dateTick0=function(B,R){var q=y(B,!!R);if(R<2)return q;var G=r.dateTime2ms(q,B);return G+=t*(R-1),r.ms2DateTime(G,0,B)};function y(B,R){return p(B)?R?f.getComponentMethod("calendars","CANONICAL_SUNDAY")[B]:f.getComponentMethod("calendars","CANONICAL_TICK")[B]:R?"2000-01-02":"2000-01-01"}r.dfltRange=function(B){return p(B)?f.getComponentMethod("calendars","DFLTRANGE")[B]:["2000-01-01","2001-01-01"]},r.isJSDate=function(B){return typeof B=="object"&&B!==null&&typeof B.getTime=="function"};var A,w;r.dateTime2ms=function(B,R){if(r.isJSDate(B)){var q=B.getTimezoneOffset()*s,G=(B.getUTCMinutes()-B.getMinutes())*s+(B.getUTCSeconds()-B.getSeconds())*l+(B.getUTCMilliseconds()-B.getMilliseconds());if(G){var Z=3*s;q=q-Z/2+a(G-q+Z/2,Z)}return B=Number(B)-q,B>=A&&B<=w?B:e}if(typeof B!="string"&&typeof B!="number")return e;B=String(B);var $=p(R),ae=B.charAt(0);$&&(ae==="G"||ae==="g")&&(B=B.substr(1),R="");var ne=$&&R.substr(0,7)==="chinese",oe=B.match(ne?g:v);if(!oe)return e;var K=oe[1],ue=oe[3]||"1",re=Number(oe[5]||1),V=Number(oe[7]||0),Y=Number(oe[9]||0),te=Number(oe[11]||0);if($){if(K.length===2)return e;K=Number(K);var Q;try{var ee=f.getComponentMethod("calendars","getCal")(R);if(ne){var se=ue.charAt(ue.length-1)==="i";ue=parseInt(ue,10),Q=ee.newDate(K,ee.toMonthIndex(K,ue,se),re)}else Q=ee.newDate(K,Number(ue),re)}catch{return e}return Q?(Q.toJD()-u)*t+V*n+Y*s+te*l:e}K.length===2?K=(Number(K)+2e3-T)%100+T:K=Number(K),ue-=1;var le=new Date(Date.UTC(2e3,ue,re,V,Y));return le.setUTCFullYear(K),le.getUTCMonth()!==ue||le.getUTCDate()!==re?e:le.getTime()+te*l},A=r.MIN_MS=r.dateTime2ms("-9999"),w=r.MAX_MS=r.dateTime2ms("9999-12-31 23:59:59.9999"),r.isDateTime=function(B,R){return r.dateTime2ms(B,R)!==e};function M(B,R){return String(B+Math.pow(10,R)).substr(1)}var m=90*t,k=3*n,b=5*s;r.ms2DateTime=function(B,R,q){if(typeof B!="number"||!(B>=A&&B<=w))return e;R||(R=0);var G=Math.floor(a(B+.05,1)*10),Z=Math.round(B-G/10),$,ae,ne,oe,K,ue;if(p(q)){var re=Math.floor(Z/t)+u,V=Math.floor(a(B,t));try{$=f.getComponentMethod("calendars","getCal")(q).fromJD(re).formatDate("yyyy-mm-dd")}catch{$=d("G%Y-%m-%d")(new Date(Z))}if($.charAt(0)==="-")for(;$.length<11;)$="-0"+$.substr(1);else for(;$.length<10;)$="0"+$;ae=R<m?Math.floor(V/n):0,ne=R<m?Math.floor(V%n/s):0,oe=R<k?Math.floor(V%s/l):0,K=R<b?V%l*10+G:0}else ue=new Date(Z),$=d("%Y-%m-%d")(ue),ae=R<m?ue.getUTCHours():0,ne=R<m?ue.getUTCMinutes():0,oe=R<k?ue.getUTCSeconds():0,K=R<b?ue.getUTCMilliseconds()*10+G:0;return _($,ae,ne,oe,K)},r.ms2DateTimeLocal=function(B){if(!(B>=A+t&&B<=w-t))return e;var R=Math.floor(a(B+.05,1)*10),q=new Date(Math.round(B-R/10)),G=i("%Y-%m-%d")(q),Z=q.getHours(),$=q.getMinutes(),ae=q.getSeconds(),ne=q.getUTCMilliseconds()*10+R;return _(G,Z,$,ae,ne)};function _(B,R,q,G,Z){if((R||q||G||Z)&&(B+=" "+M(R,2)+":"+M(q,2),(G||Z)&&(B+=":"+M(G,2),Z))){for(var $=4;Z%10===0;)$-=1,Z/=10;B+="."+M(Z,$)}return B}r.cleanDate=function(B,R,q){if(B===e)return R;if(r.isJSDate(B)||typeof B=="number"&&isFinite(B)){if(p(q))return c.error("JS Dates and milliseconds are incompatible with world calendars",B),R;if(B=r.ms2DateTimeLocal(+B),!B&&R!==void 0)return R}else if(!r.isDateTime(B,q))return c.error("unrecognized date",B),R;return B};var x=/%\d?f/g,S=/%h/g,P={1:"1",2:"1",3:"2",4:"2"};function D(B,R,q,G){B=B.replace(x,function($){var ae=Math.min(+$.charAt(1)||6,6),ne=(R/1e3%1+2).toFixed(ae).substr(2).replace(/0+$/,"")||"0";return ne});var Z=new Date(Math.floor(R+.05));if(B=B.replace(S,function(){return P[q("%q")(Z)]}),p(G))try{B=f.getComponentMethod("calendars","worldCalFmt")(B,R,G)}catch{return"Invalid"}return q(B)(Z)}var F=[59,59.9,59.99,59.999,59.9999];function N(B,R){var q=a(B+.05,t),G=M(Math.floor(q/n),2)+":"+M(a(Math.floor(q/s),60),2);if(R!=="M"){h(R)||(R=0);var Z=Math.min(a(B/l,60),F[R]),$=(100+Z).toFixed(R).substr(1);R>0&&($=$.replace(/0+$/,"").replace(/[\.]$/,"")),G+=":"+$}return G}r.formatDate=function(B,R,q,G,Z,$){if(Z=p(Z)&&Z,!R)if(q==="y")R=$.year;else if(q==="m")R=$.month;else if(q==="d")R=$.dayMonth+`