dorkos 0.131.0 → 0.133.0

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 (344) hide show
  1. package/dist/bin/cli.js +499 -314
  2. package/dist/browser/fresh-verifier.mjs +13 -13
  3. package/dist/browser/native/darwin-supervisor-worker.mjs +3 -3
  4. package/dist/browser/native/package-manifest.json +1 -1
  5. package/dist/browser/source-manifest.json +1 -1
  6. package/dist/client/assets/{AboutPage-BZ2LLJ0k.js → AboutPage-D-EHHVPa.js} +1 -1
  7. package/dist/client/assets/{ActivityErrorState-BnqAwUiy.js → ActivityErrorState-BTHnE1vP.js} +1 -1
  8. package/dist/client/assets/{ActivityPage-BlZKrSVo.js → ActivityPage-BfSLPIdR.js} +1 -1
  9. package/dist/client/assets/{ActivityRow-Ch8HxQ2m.js → ActivityRow-PwUBjQw8.js} +1 -1
  10. package/dist/client/assets/{AdapterIcon-CfocFMw-.js → AdapterIcon-DgkNN6bi.js} +1 -1
  11. package/dist/client/assets/{AdapterSetupWizard-Dtjx1Oad.js → AdapterSetupWizard-DX0dzp7q.js} +2 -2
  12. package/dist/client/assets/{AgentOptionRow-BGRvUeF7.js → AgentOptionRow-ApuDEKqq.js} +1 -1
  13. package/dist/client/assets/{AgentPicker-BcURPZQp.js → AgentPicker-BDci-9aL.js} +1 -1
  14. package/dist/client/assets/{AgentRequestCard-kNq5A_IN.js → AgentRequestCard-B2gxCMGi.js} +3 -3
  15. package/dist/client/assets/{AppearancePage-Cd-k7dcc.js → AppearancePage-8SVnFe0k.js} +1 -1
  16. package/dist/client/assets/ApplyToOverridesDialog-CnL1ubxL.js +1 -0
  17. package/dist/client/assets/{AttentionSignalRow-QY8AIjf9.js → AttentionSignalRow-CCKhUtil.js} +1 -1
  18. package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-Cgkvajbw.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-B7wFPzG4.js} +3 -3
  19. package/dist/client/assets/BindingDialog-C4BHVXno.js +1 -0
  20. package/dist/client/assets/{BlintzCanvas-CMzZnmWK.js → BlintzCanvas-7E5uwVms.js} +3 -3
  21. package/dist/client/assets/{CanvasCsvContent-uxMaHePf.js → CanvasCsvContent-l7lfyDGn.js} +4 -4
  22. package/dist/client/assets/CanvasFileContent-Bqd0IEfK.js +2 -0
  23. package/dist/client/assets/CanvasModel3dContent-DqL0Sy4r.js +2 -0
  24. package/dist/client/assets/{ChannelComposer-BAg0a29Q.js → ChannelComposer-CAYvz_ZB.js} +12 -17
  25. package/dist/client/assets/{ChatAppsOff-DD28V0vX.js → ChatAppsOff-CNeKBVNz.js} +2 -2
  26. package/dist/client/assets/{CodeMirrorDiff-CyoduBgM.js → CodeMirrorDiff-BZRcNFsS.js} +1 -1
  27. package/dist/client/assets/{CodeMirrorEditor-DGccoZ8Q.js → CodeMirrorEditor-DD5tArRn.js} +1 -1
  28. package/dist/client/assets/{ComputerResourceView-Dk98shko.js → ComputerResourceView-BUmsVssG.js} +1 -1
  29. package/dist/client/assets/{ComputerViewer-Broprz4q.js → ComputerViewer-BKMR5LkF.js} +1 -1
  30. package/dist/client/assets/{ConnectionAccessLists-C_qLz8GJ.js → ConnectionAccessLists-DYUiFmPY.js} +1 -1
  31. package/dist/client/assets/{ConnectionsPage-CmGgGmDO.js → ConnectionsPage-DR2Kfm9Q.js} +2 -2
  32. package/dist/client/assets/{ConventionPage-BxWLIUUC.js → ConventionPage-Do6q8873.js} +2 -2
  33. package/dist/client/assets/{ExtensionPageRoute-CyfIRaGs.js → ExtensionPageRoute-CP7NM7fw.js} +2 -2
  34. package/dist/client/assets/{FeatureDisabledState-By2dhVpu.js → FeatureDisabledState-Bi23k3rg.js} +1 -1
  35. package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-B6wKQpLR.js → FloatingTanStackRouterDevtools-CqogiFob-lRlmDXYz.js} +1 -1
  36. package/dist/client/assets/{ForwardConsentHost-kDdpyBgA.js → ForwardConsentHost-DSR1pEEK.js} +1 -1
  37. package/dist/client/assets/HandlePage-aHId3bYX.js +1 -0
  38. package/dist/client/assets/HeartbeatPage-BTNVcHOI.js +1 -0
  39. package/dist/client/assets/{KeyEntry-Ctc1zp2J.js → KeyEntry-67acsEG2.js} +1 -1
  40. package/dist/client/assets/{LexicalField-7zd4B8f1.js → LexicalField-Cb68LIar.js} +2 -2
  41. package/dist/client/assets/{ManagesPage-BG1TIMP3.js → ManagesPage-ChPlBF42.js} +1 -1
  42. package/dist/client/assets/{Marketplace-C9r4jRJf.js → Marketplace-CzPhJEE1.js} +4 -4
  43. package/dist/client/assets/{MarketplaceSourcesView-C01Cdrge.js → MarketplaceSourcesView-CmQgxQmU.js} +1 -1
  44. package/dist/client/assets/{McpAppFrame-Dm7MqOhc.js → McpAppFrame-z5JUaCSA.js} +2 -2
  45. package/dist/client/assets/{McpSigninBody-CsXP_7lE.js → McpSigninBody-ZrnzwrOH.js} +1 -1
  46. package/dist/client/assets/{Model3dViewer-DOl8ZkrU.js → Model3dViewer-HJpWK-JI.js} +1 -1
  47. package/dist/client/assets/NamePage-C7F-SotG.js +1 -0
  48. package/dist/client/assets/{NewDirectMessageMenu-Dj-Qw8zA.js → NewDirectMessageMenu-CjBjzsDe.js} +1 -1
  49. package/dist/client/assets/{NotificationsPage-UExs4YE2.js → NotificationsPage-DwNUI0Z3.js} +1 -1
  50. package/dist/client/assets/{OpenMeshSwitch-Dx3M3wwS.js → OpenMeshSwitch-RNAZY1vn.js} +2 -2
  51. package/dist/client/assets/{OperatorIdentityForm-Bz5570RF.js → OperatorIdentityForm-B7S2C_eT.js} +1 -1
  52. package/dist/client/assets/PermissionHistory-D0chstxf.js +1 -0
  53. package/dist/client/assets/PermissionsPage-ToK0DZVV.js +1 -0
  54. package/dist/client/assets/{PersonalityPopover-Do-k_Hhw.js → PersonalityPopover-BvMtUQRM.js} +1 -1
  55. package/dist/client/assets/PhotoPage-Cqo3PNO_.js +1 -0
  56. package/dist/client/assets/{PreviewRefusedNotice-B-yyzQZP.js → PreviewRefusedNotice-DzbkMrUo.js} +1 -1
  57. package/dist/client/assets/{ProfileFields-DiarOK2y.js → ProfileFields-DU8dTGHT.js} +1 -1
  58. package/dist/client/assets/{ProfilePanelContainer-33Xkwoc3.js → ProfilePanelContainer-BfT-ufV7.js} +1 -1
  59. package/dist/client/assets/{ProfileRolePicker-BI6T4hj8.js → ProfileRolePicker-DrOtV-0N.js} +1 -1
  60. package/dist/client/assets/{PromptSuggestionChips-v5MScpZF.js → PromptSuggestionChips-CEnhme_V.js} +1 -1
  61. package/dist/client/assets/{ReportsToPopover-BALADuTO.js → ReportsToPopover-CwjpR1Tw.js} +1 -1
  62. package/dist/client/assets/{RoomSurface-BatV7gf5.js → RoomSurface-CChzNJKw.js} +1 -1
  63. package/dist/client/assets/{RoomsPage-DCCC3Dst.js → RoomsPage-Dbf6ijKr.js} +1 -1
  64. package/dist/client/assets/{RunsOnPopover-C7hMPyrb.js → RunsOnPopover-Bh5sSsSC.js} +1 -1
  65. package/dist/client/assets/{RuntimeConnectFlow-Dc5a8dlJ.js → RuntimeConnectFlow-BYQnY5vv.js} +1 -1
  66. package/dist/client/assets/{RuntimeSetupDialog-w90VGjJ4.js → RuntimeSetupDialog-DTO5v0dP.js} +1 -1
  67. package/dist/client/assets/{SeenDevices-BIMmbMWC.js → SeenDevices-cuY7ASEy.js} +3 -3
  68. package/dist/client/assets/{SessionsPage-0lwvSYHB.js → SessionsPage-BrqpVx-t.js} +1 -1
  69. package/dist/client/assets/{SettingsDialog-CrP6JzPg.js → SettingsDialog-DCAZX_1d.js} +4 -4
  70. package/dist/client/assets/{SkillsPage-BDgKWTfe.js → SkillsPage-D5who_ZH.js} +1 -1
  71. package/dist/client/assets/TaskDialogWrapper-BJ6XtOC5.js +1 -0
  72. package/dist/client/assets/TasksEmptyState-B3SjsxQa.js +3 -0
  73. package/dist/client/assets/{TasksPage-DjGbMGvn.js → TasksPage-B72w7J87.js} +1 -1
  74. package/dist/client/assets/{TeamComputerEntry-B_sM9Fik.js → TeamComputerEntry-B9ma5j-X.js} +1 -1
  75. package/dist/client/assets/TodoPromiseList-DDKWAfmv.js +1 -0
  76. package/dist/client/assets/TodoPromisesPage-BNXpvXzS.js +1 -0
  77. package/dist/client/assets/{ToolsPage-CeETRCd8.js → ToolsPage-DbJykCG3.js} +2 -2
  78. package/dist/client/assets/{TopologyGraph-CnpH2NjE.js → TopologyGraph-DKZS3nlr.js} +3 -3
  79. package/dist/client/assets/{TourHost-BQHrS47S.js → TourHost-Bw3Uoea5.js} +1 -1
  80. package/dist/client/assets/{UnlinkDialog-DOQLeNx4.js → UnlinkDialog-B-XCFNSd.js} +1 -1
  81. package/dist/client/assets/{UnreadDivider-DhyK6uGG.js → UnreadDivider-1aPVzwd7.js} +1 -1
  82. package/dist/client/assets/{WidgetErrorCard-Bwlfu514.js → WidgetErrorCard-C5ieVv_9.js} +6 -6
  83. package/dist/client/assets/{WithheldExtensionsNotice-BDc-CM2t.js → WithheldExtensionsNotice-CCO4ClRZ.js} +1 -1
  84. package/dist/client/assets/{WorkQueuePage-iO_DO1YK.js → WorkQueuePage-BbPKNwDg.js} +1 -1
  85. package/dist/client/assets/WorkView-BRcytACJ.js +51 -0
  86. package/dist/client/assets/_shell-EwFeSIGp.js +80 -0
  87. package/dist/client/assets/{_shell._home-BWi5YPaR.js → _shell._home-DD2mg-iK.js} +1 -1
  88. package/dist/client/assets/{_shell._home.activity-BU1NIGb7.js → _shell._home.activity-Z1QuU2M4.js} +1 -1
  89. package/dist/client/assets/_shell._home.index-BzTYr8Bw.js +3 -0
  90. package/dist/client/assets/_shell._home.tasks-BtC85Iut.js +1 -0
  91. package/dist/client/assets/{_shell._home.workspaces-wbnqJ58w.js → _shell._home.workspaces-qMG5OJYR.js} +1 -1
  92. package/dist/client/assets/{_shell.channels-D1KdvWZF.js → _shell.channels-BE4EK-iM.js} +2 -2
  93. package/dist/client/assets/_shell.connections-CBx0ogzx.js +1 -0
  94. package/dist/client/assets/{_shell.feedback-requests-DzHWC1fJ.js → _shell.feedback-requests-CwKSkkuD.js} +2 -2
  95. package/dist/client/assets/_shell.marketplace-CgWBUKSA.js +1 -0
  96. package/dist/client/assets/_shell.marketplace_.sources-8HZpKFDI.js +1 -0
  97. package/dist/client/assets/_shell.session-D6HcVbnm.js +1 -0
  98. package/dist/client/assets/{_shell.team-BMNSUpQQ.js → _shell.team-Dm5a4f8_.js} +4 -4
  99. package/dist/client/assets/_shell.threads-BavVtQOE.js +1 -0
  100. package/dist/client/assets/_shell.todos-B6uWr0zA.js +6 -0
  101. package/dist/client/assets/_shell.x._extensionId-DaELdkCH.js +1 -0
  102. package/dist/client/assets/_shell.x._extensionId_._-DaELdkCH.js +1 -0
  103. package/dist/client/assets/{abnfDiagram-WEYOIA3C-Co2k29JX.js → abnfDiagram-WEYOIA3C-Bu2T3jVw.js} +1 -1
  104. package/dist/client/assets/{access-copy-D6BUySpp.js → access-copy-tkiFMhRf.js} +1 -1
  105. package/dist/client/assets/{arc-DLZZpkuJ.js → arc-5q4SfXO9.js} +1 -1
  106. package/dist/client/assets/{architectureDiagram-ZHVYKT53-ClS9xqK5.js → architectureDiagram-ZHVYKT53-BnDMOBhV.js} +1 -1
  107. package/dist/client/assets/{banner-B8iMuXCP.js → banner-CSKUrrI0.js} +2 -2
  108. package/dist/client/assets/{blockDiagram-RJAE7QA3-DheoOELu.js → blockDiagram-RJAE7QA3-CtushlEs.js} +1 -1
  109. package/dist/client/assets/{c4Diagram-XDPPPE54-VWWZJ5x4.js → c4Diagram-XDPPPE54-7L-qYwKH.js} +1 -1
  110. package/dist/client/assets/channel-A3XT7_2L.js +1 -0
  111. package/dist/client/assets/{chunk-2E7WHVMD-BqPLJVkv.js → chunk-2E7WHVMD-ksBVyqQ3.js} +1 -1
  112. package/dist/client/assets/{chunk-2Q5K7J3B-DZn6OnKe.js → chunk-2Q5K7J3B-Bfqdkihb.js} +1 -1
  113. package/dist/client/assets/{chunk-4EMNKR2T-Dl9Poajp.js → chunk-4EMNKR2T-Brf2dH9x.js} +1 -1
  114. package/dist/client/assets/{chunk-55XCU76K-RoKuZPUc.js → chunk-55XCU76K-BlE7Cq40.js} +1 -1
  115. package/dist/client/assets/{chunk-5VM5RSS4-DV_1XHtU.js → chunk-5VM5RSS4-Bkgg3j7L.js} +1 -1
  116. package/dist/client/assets/{chunk-JWPE2WC7-B_IuS45y.js → chunk-JWPE2WC7-B9TRpN4O.js} +1 -1
  117. package/dist/client/assets/{chunk-VQ5W62QI-DkLNi45x.js → chunk-VQ5W62QI-ZoILnIYi.js} +1 -1
  118. package/dist/client/assets/{chunk-XXDRQBXY-ISM-1Dpw.js → chunk-XXDRQBXY-r2xNhaKz.js} +1 -1
  119. package/dist/client/assets/{chunk-ZCHMQSOR-MKaLMW8o.js → chunk-ZCHMQSOR-DfV3cF7d.js} +2 -2
  120. package/dist/client/assets/{classDiagram-v2-4MYWR3UA-CIWuu4ht.js → classDiagram-v2-4MYWR3UA-VOVqMNNP.js} +1 -1
  121. package/dist/client/assets/{command-CxGYZKco.js → command-CaUEAy3b.js} +1 -1
  122. package/dist/client/assets/{copy-button-DjAoGwds.js → copy-button-BOznikwM.js} +1 -1
  123. package/dist/client/assets/{cose-bilkent-JH36ORCC-HiCifRyi.js → cose-bilkent-JH36ORCC-CAdBvyLz.js} +1 -1
  124. package/dist/client/assets/{cpu-DHHTTvp_.js → cpu-j9vX9Wfk.js} +1 -1
  125. package/dist/client/assets/{cynefin-EF2NZ3EQ-DjJGZrPz.js → cynefin-EF2NZ3EQ-DcH1A9Oo.js} +1 -1
  126. package/dist/client/assets/{cynefinDiagram-WF24UDRP-DE2NdiJ2.js → cynefinDiagram-WF24UDRP-DJuKBXHi.js} +1 -1
  127. package/dist/client/assets/{dagre-NK4GIZVX-C6gDOD26.js → dagre-NK4GIZVX-D099H_0S.js} +1 -1
  128. package/dist/client/assets/{detail-row-CjwI1iuc.js → detail-row-Crl89jnh.js} +1 -1
  129. package/dist/client/assets/{diagram-CBK3MWTC-38LckcsL.js → diagram-CBK3MWTC-Cd_4W9XO.js} +1 -1
  130. package/dist/client/assets/{diagram-I5XIIV2D--8L6D9Ra.js → diagram-I5XIIV2D-Bc7aQKt3.js} +1 -1
  131. package/dist/client/assets/{diagram-ODIL2UCW-DGC2Inhd.js → diagram-ODIL2UCW-awVJZ4Bg.js} +1 -1
  132. package/dist/client/assets/{diagram-PFBEJUXE-BDHp0AyR.js → diagram-PFBEJUXE-dhsj9aeU.js} +1 -1
  133. package/dist/client/assets/{diagram-RJA3I4VV-uBatJYPi.js → diagram-RJA3I4VV-Dm59CbiV.js} +1 -1
  134. package/dist/client/assets/{diagram-TYUNFSNR-C8e1EH9X.js → diagram-TYUNFSNR-BhvcIjA9.js} +1 -1
  135. package/dist/client/assets/{ebnfDiagram-V4P3TTPT-DimRzU5B.js → ebnfDiagram-V4P3TTPT-C4wT_MTC.js} +1 -1
  136. package/dist/client/assets/{elk-QONTBCTQ-Dz6_Y2-G.js → elk-QONTBCTQ-CPI0zjmW.js} +1 -1
  137. package/dist/client/assets/{empty-state-saV209Il.js → empty-state-BHcmkSzu.js} +1 -1
  138. package/dist/client/assets/{erDiagram-KYQIGQAA-JeuTF8w6.js → erDiagram-KYQIGQAA-C_vGcbOB.js} +1 -1
  139. package/dist/client/assets/{execution-config-ClQZyDs9.js → execution-config-BS5rtvTZ.js} +1 -1
  140. package/dist/client/assets/{file-BIF-4ARS.js → file-CQGljfDT.js} +1 -1
  141. package/dist/client/assets/{file-exclamation-point-DxadH2b-.js → file-exclamation-point-B0a55VME.js} +1 -1
  142. package/dist/client/assets/{file-text-C_NPIQr4.js → file-text-Cycq_S0e.js} +1 -1
  143. package/dist/client/assets/{find-latest-widget-fence-CXai_zs0.js → find-latest-widget-fence-B6sJdG3Q.js} +4 -4
  144. package/dist/client/assets/{flowDiagram-IUGLLWBU-9FHDdK4j.js → flowDiagram-IUGLLWBU-_VNfmnxx.js} +1 -1
  145. package/dist/client/assets/{form-D3VdAYl4.js → form-BL14vwyB.js} +1 -1
  146. package/dist/client/assets/{format-cron-BqRDcFZM.js → format-cron-meJMgYNe.js} +1 -1
  147. package/dist/client/assets/{ganttDiagram-R7GPNTJY-CLMuXlHt.js → ganttDiagram-R7GPNTJY-o0gGU7X_.js} +1 -1
  148. package/dist/client/assets/{git-branch-Df7a5_fb.js → git-branch-CsLE6G0Y.js} +1 -1
  149. package/dist/client/assets/{gitGraphDiagram-PDYL7XHY-sE7Rlpr6.js → gitGraphDiagram-PDYL7XHY-DjXjUpJo.js} +1 -1
  150. package/dist/client/assets/{graph-iNVyFhBQ.js → graph-BMYee_VK.js} +1 -1
  151. package/dist/client/assets/{heart-BHMhDZ0K.js → heart-Cn3a-UQI.js} +1 -1
  152. package/dist/client/assets/{highlighted-body-KPVGNVTW-VvvsrJbu.js → highlighted-body-KPVGNVTW-DsX5yCC0.js} +1 -1
  153. package/dist/client/assets/{image-lightbox-CGEIRguA.js → image-lightbox-BZ_eBZgA.js} +1 -1
  154. package/dist/client/assets/{image-off-C5-TmSq8.js → image-off-DjR7LI5G.js} +1 -1
  155. package/dist/client/assets/{index-C3zS0ghJ.js → index-1MwES_vb.js} +1 -1
  156. package/dist/client/assets/{index-ClyRhxV_.js → index-47--OGKJ.js} +1 -1
  157. package/dist/client/assets/{index-CTgUh4p3.js → index-4rSR8lau.js} +1 -1
  158. package/dist/client/assets/{index-D9bEy8X-.js → index-B4TxpTKD.js} +1 -1
  159. package/dist/client/assets/{index-Dw-4S640.js → index-B8LqLhq7.js} +1 -1
  160. package/dist/client/assets/index-BJRgbiEd.js +1 -0
  161. package/dist/client/assets/{index-DWZ5M321.js → index-BOCclWF3.js} +1 -1
  162. package/dist/client/assets/index-BR1m9FON.js +1066 -0
  163. package/dist/client/assets/index-BcFn_S6b.js +1 -0
  164. package/dist/client/assets/{index-DRtg_sGG.js → index-BcnwvTnt.js} +1 -1
  165. package/dist/client/assets/index-BdVQOlVQ.css +1 -0
  166. package/dist/client/assets/{index-DEvpdTo6.js → index-BmKHO-FD.js} +1 -1
  167. package/dist/client/assets/{index-Bd0PAkxf.js → index-BsZkXHsH.js} +1 -1
  168. package/dist/client/assets/{index-Cudi8rs6.js → index-BxWr8Mrf.js} +1 -1
  169. package/dist/client/assets/index-C5EvpXcq.js +1 -0
  170. package/dist/client/assets/{index-CExh9cKN.js → index-Cb_p_ynP.js} +1 -1
  171. package/dist/client/assets/{index-YZbu9tke.js → index-CczLBUKI.js} +1 -1
  172. package/dist/client/assets/{index-264YDu-W.js → index-Cf4Gtxf9.js} +1 -1
  173. package/dist/client/assets/{index-Dpu2CORc.js → index-CfKSlYjb.js} +1 -1
  174. package/dist/client/assets/{index-Bzm9YMbr.js → index-Cgjq7a-8.js} +1 -1
  175. package/dist/client/assets/{index-Ci_J5Q-6.js → index-CpWxcN5D.js} +1 -1
  176. package/dist/client/assets/{index-BK5QrGfQ.js → index-Cv67OXfk.js} +1 -1
  177. package/dist/client/assets/{index-Di-MIFQG.js → index-D5Qmx1JR.js} +3 -3
  178. package/dist/client/assets/{index-LPrq0pOA.js → index-DARchye_.js} +1 -1
  179. package/dist/client/assets/{index-DMwivStD.js → index-DFb4kOjm.js} +2 -2
  180. package/dist/client/assets/{index-WeLoaNzW.js → index-DLN0kcME.js} +1 -1
  181. package/dist/client/assets/{index-BMLCfTba.js → index-DMSSN08i.js} +1 -1
  182. package/dist/client/assets/{index-Y6BDhuGt.js → index-DQ8uADJF.js} +1 -1
  183. package/dist/client/assets/index-DZhMvc9m.js +1 -0
  184. package/dist/client/assets/{index-CLsoFUml.js → index-Dfko0tSp.js} +1 -1
  185. package/dist/client/assets/{index-BgdYXP8E.js → index-DiM3QX-4.js} +3 -3
  186. package/dist/client/assets/{index-BxFLHNLg.js → index-DlvUENo4.js} +1 -1
  187. package/dist/client/assets/{index-BLUUshO9.js → index-DqZmnJED.js} +1 -1
  188. package/dist/client/assets/{index-D_bAtIJZ.js → index-DrlB9RSk.js} +1 -1
  189. package/dist/client/assets/{index-CgWzzIbx.js → index-H4e5Wpmi.js} +1 -1
  190. package/dist/client/assets/{index-k67dvyau.js → index-Joav7LQU.js} +1 -1
  191. package/dist/client/assets/{index-B0FHRkHM.js → index-KganLhU1.js} +2 -2
  192. package/dist/client/assets/{index-DFkofTx1.js → index-Kt6r3DQg.js} +1 -1
  193. package/dist/client/assets/{index-B8I1k-z9.js → index-Z2ApBQt4.js} +1 -1
  194. package/dist/client/assets/index-dY7IFpet.js +1 -0
  195. package/dist/client/assets/{index-DYVNSRDk.js → index-faSyUc2q.js} +1 -1
  196. package/dist/client/assets/{index-BgRYuqWs.js → index-gmyiXkmr.js} +1 -1
  197. package/dist/client/assets/{index-BZTLFzJp.js → index-o6kGmVGx.js} +1 -1
  198. package/dist/client/assets/{index-C_0JoCV6.js → index-vHKVYcH7.js} +1 -1
  199. package/dist/client/assets/{index.esm-CYmalBux.js → index.esm-CJIDYBqd.js} +1 -1
  200. package/dist/client/assets/{infoDiagram-MVDRKAX5-0aR9wjgO.js → infoDiagram-MVDRKAX5-B1mMyUlp.js} +1 -1
  201. package/dist/client/assets/{inline-code-DyTKSC5b.js → inline-code-mh48Uhbi.js} +1 -1
  202. package/dist/client/assets/{ishikawaDiagram-HPEHV2GE-D1lN8x2t.js → ishikawaDiagram-HPEHV2GE-efEMQ0_X.js} +1 -1
  203. package/dist/client/assets/{journeyDiagram-BOSHW7O7-CkXITXiJ.js → journeyDiagram-BOSHW7O7-DSAywiVk.js} +1 -1
  204. package/dist/client/assets/{kanban-definition-FNSA4HC5-ge33IiSq.js → kanban-definition-FNSA4HC5-B9pbU4zK.js} +1 -1
  205. package/dist/client/assets/{layers-Bx3K7OUm.js → layers-B0Z5Od3N.js} +1 -1
  206. package/dist/client/assets/{lightbulb-C5LvXkvM.js → lightbulb-Cfb5ecEd.js} +1 -1
  207. package/dist/client/assets/{link-2-Bj0_Zkvr.js → link-2-Dzy5BUL3.js} +1 -1
  208. package/dist/client/assets/{list-runtime-types-VNj1C8TB.js → list-runtime-types-DLmjtBMq.js} +1 -1
  209. package/dist/client/assets/{markdown-content-BRaPEOC7.js → markdown-content-DhAtZOfj.js} +1 -1
  210. package/dist/client/assets/{mention-pill-B_MiJWfo.js → mention-pill-DmA8FxL4.js} +1 -1
  211. package/dist/client/assets/{mermaid.core-B2hil_4a.js → mermaid.core-DUIkdbeL.js} +4 -4
  212. package/dist/client/assets/{message-square-off-T33FHpr7.js → message-square-off-BowIzJUV.js} +1 -1
  213. package/dist/client/assets/{mindmap-definition-6OY57UG3-Bu_Ia4Xz.js → mindmap-definition-6OY57UG3-Dz7ZOR4C.js} +1 -1
  214. package/dist/client/assets/{more-details-oDazWBxm.js → more-details-DV7LmY0E.js} +1 -1
  215. package/dist/client/assets/{owner-notice-VepbAQhj.js → owner-notice-DdFc2P8z.js} +1 -1
  216. package/dist/client/assets/{package-DBsl3ao5.js → package-BhKXbvU_.js} +1 -1
  217. package/dist/client/assets/{page-container-Bkarym6m.js → page-container-0sWZ3xh9.js} +1 -1
  218. package/dist/client/assets/{pane-resize-handle-gBlb5k1v.js → pane-resize-handle-Bjy4udre.js} +1 -1
  219. package/dist/client/assets/{paperclip-BeFttiUK.js → paperclip-C-7LhBfl.js} +1 -1
  220. package/dist/client/assets/{path-input-NY_yCBHb.js → path-input-BPVyI72G.js} +1 -1
  221. package/dist/client/assets/{pegDiagram-ECIUJNBX-0KmJlW0E.js → pegDiagram-ECIUJNBX-C4EOP-Fa.js} +1 -1
  222. package/dist/client/assets/{pieDiagram-GNMPY74T-IjeZXicv.js → pieDiagram-GNMPY74T-CQ1OxRkv.js} +1 -1
  223. package/dist/client/assets/{plug-CTqOZ7cA.js → plug-CIZ-wWL8.js} +1 -1
  224. package/dist/client/assets/{primer-trigger-CjaGrT2u.js → primer-trigger-XA5fLzR5.js} +2 -2
  225. package/dist/client/assets/{profile-errors-B8XkL2Rp.js → profile-errors-C1XACbc9.js} +1 -1
  226. package/dist/client/assets/{progress-Cr-4myw6.js → progress-BA2JPtb6.js} +1 -1
  227. package/dist/client/assets/{quadrantDiagram-D57K4MC3-CP6kLJKa.js → quadrantDiagram-D57K4MC3-Cw4BdkpS.js} +1 -1
  228. package/dist/client/assets/{query-error-state-DvhY-YKM.js → query-error-state-Cm-Lozlb.js} +1 -1
  229. package/dist/client/assets/{radio-CmDmmJy6.js → radio-DQ29H26H.js} +1 -1
  230. package/dist/client/assets/{railroadDiagram-Y72NRBL7-Bcto__oE.js → railroadDiagram-Y72NRBL7-CSKtYLmm.js} +1 -1
  231. package/dist/client/assets/registry-Tbt9pcZl.js +39 -0
  232. package/dist/client/assets/registry-jD9zw538.js +1 -0
  233. package/dist/client/assets/{relay-trace-schemas-ZLR1S8ft.js → relay-trace-schemas-4AAUf-Zl.js} +2 -2
  234. package/dist/client/assets/{repeat-DVTM8et8.js → repeat-B8g-x-Sc.js} +1 -1
  235. package/dist/client/assets/{requirementDiagram-EQYSW5RA-DNJrds3m.js → requirementDiagram-EQYSW5RA-BPSBZr7X.js} +1 -1
  236. package/dist/client/assets/{room-files-source-9Wdtc-bG.js → room-files-source-BkiK4-ZI.js} +2 -2
  237. package/dist/client/assets/{rotate-ccw-clock-qJSWqifh.js → rotate-ccw-clock-DRtL-2nr.js} +1 -1
  238. package/dist/client/assets/{rotate-cw-uoeBxIeM.js → rotate-cw-BbHkWN-J.js} +1 -1
  239. package/dist/client/assets/{sankeyDiagram-SY24JHO5-DNlU7xGI.js → sankeyDiagram-SY24JHO5-DVlHablQ.js} +1 -1
  240. package/dist/client/assets/{scroll-area-B1d3NfEn.js → scroll-area-DAC7NrVU.js} +1 -1
  241. package/dist/client/assets/{sequenceDiagram-BLEHNHQU-CRk71coF.js → sequenceDiagram-BLEHNHQU--wZkN8xk.js} +1 -1
  242. package/dist/client/assets/{shield-x-BpQmg1qz.js → shield-x-CEWfkzDN.js} +1 -1
  243. package/dist/client/assets/{signed-in-CTmJ3OqM.js → signed-in-CMhCR-m8.js} +1 -1
  244. package/dist/client/assets/{sizeCapture-INFHLROL-cihX3QNq.js → sizeCapture-INFHLROL-CLXc7d3S.js} +1 -1
  245. package/dist/client/assets/{soul-file-BwiyiI5v.js → soul-file-CbX7rNqz.js} +1 -1
  246. package/dist/client/assets/{stateDiagram-v2-A6IESKWZ-BAwwRsnH.js → stateDiagram-v2-A6IESKWZ-5xa1FM_X.js} +1 -1
  247. package/dist/client/assets/{swimlanes-B3ENRKFQ-CpDB6CUC.js → swimlanes-B3ENRKFQ-DKgxJxjE.js} +1 -1
  248. package/dist/client/assets/swimlanesDiagram-AYQRV4AK-f6MOc3pl.js +8 -0
  249. package/dist/client/assets/{table-dWrfPeX-.js → table-D0EJT0uP.js} +1 -1
  250. package/dist/client/assets/{tabs-D4txthOi.js → tabs-Ctjzrm8t.js} +1 -1
  251. package/dist/client/assets/{timeline-definition-JXYKGLGB-RDrKgCoU.js → timeline-definition-JXYKGLGB-B9P7ituI.js} +1 -1
  252. package/dist/client/assets/trust-dial-D__tIhzt.js +11 -0
  253. package/dist/client/assets/{trust-posture-atZIh8tf.js → trust-posture-DaHHtOZn.js} +1 -1
  254. package/dist/client/assets/{unplug-CnevV4yX.js → unplug-B-ipHefz.js} +1 -1
  255. package/dist/client/assets/{unverified-catalog-notice-BQwT36FA.js → unverified-catalog-notice-C8swqaTn.js} +1 -1
  256. package/dist/client/assets/{use-bindings-CltfjAWW.js → use-bindings-gLHRNAFU.js} +1 -1
  257. package/dist/client/assets/{use-composer-prefs-D-Zlt6z2.js → use-composer-prefs-CjpxcBIe.js} +1 -1
  258. package/dist/client/assets/{use-connector-management-C3CLnOOt.js → use-connector-management-BLiCJMgU.js} +1 -1
  259. package/dist/client/assets/{use-deep-link-scroll-DQlz-scx.js → use-deep-link-scroll-r2nKjzA-.js} +1 -1
  260. package/dist/client/assets/{use-delete-binding-D73CLm_7.js → use-delete-binding-BSiOik_K.js} +1 -1
  261. package/dist/client/assets/{use-dev-links-BqVFsMKU.js → use-dev-links-DXcIlMf-.js} +1 -1
  262. package/dist/client/assets/use-direct-message-panel-BbH8N4mE.js +1 -0
  263. package/dist/client/assets/{use-external-adapter-catalog-DrnksH0t.js → use-external-adapter-catalog-mmKni5ui.js} +1 -1
  264. package/dist/client/assets/{use-filter-state-D4i-hDOk.js → use-filter-state-CiPZ0AIH.js} +2 -2
  265. package/dist/client/assets/{use-full-activity-feed-DdDsRg8s.js → use-full-activity-feed-DXroUzfN.js} +1 -1
  266. package/dist/client/assets/use-is-below-desktop-LUZL5z5t.js +1 -0
  267. package/dist/client/assets/{use-mesh-topology-B7aLtPkZ.js → use-mesh-topology-upehQ5Cv.js} +1 -1
  268. package/dist/client/assets/{use-mounted-ref-DSSTCJfY.js → use-mounted-ref-IHwyriaF.js} +1 -1
  269. package/dist/client/assets/{use-notification-prefs-DaF3kwmq.js → use-notification-prefs-BHOK2P2l.js} +1 -1
  270. package/dist/client/assets/use-pending-read-mVsOBTzn.js +1 -0
  271. package/dist/client/assets/{use-personality-commit-D5b90JPX.js → use-personality-commit-Chf3UX8P.js} +1 -1
  272. package/dist/client/assets/{use-promo-activation-CPAOQpfe.js → use-promo-activation-Dlw6bg7G.js} +2 -2
  273. package/dist/client/assets/{use-promo-dismissals-Bx1gz1R1.js → use-promo-dismissals-Dx_fli7I.js} +1 -1
  274. package/dist/client/assets/{use-pulse-freshness-DeulB37O.js → use-pulse-freshness-CG_I6a-O.js} +1 -1
  275. package/dist/client/assets/{use-room-follow-claim-Dwke6RFQ.js → use-room-follow-claim-Bgrpr3bO.js} +1 -1
  276. package/dist/client/assets/{use-room-sessions-iepVrIMm.js → use-room-sessions-DecGrP3E.js} +1 -1
  277. package/dist/client/assets/{use-roving-tab-list-pCPKNQKv.js → use-roving-tab-list-CDkh-Ujm.js} +1 -1
  278. package/dist/client/assets/{use-session-canvas-BvvO-_V1.js → use-session-canvas-tvLLPQcm.js} +6 -6
  279. package/dist/client/assets/{use-status-budget-Bs7MMriS.js → use-status-budget-BBl2yxLR.js} +2 -2
  280. package/dist/client/assets/{use-todos-C-eREuDS.js → use-todos-BzRauzdQ.js} +1 -1
  281. package/dist/client/assets/{use-transform-lj3TkjYO.js → use-transform-DzJeHpxm.js} +1 -1
  282. package/dist/client/assets/{use-unclaimed-chats-BF3-0jHC.js → use-unclaimed-chats--HZdmq4F.js} +1 -1
  283. package/dist/client/assets/use-update-config-DjL7-nUR.js +1 -0
  284. package/dist/client/assets/{useMutationState-B_x_4f2K.js → useMutationState-DIywUTDG.js} +1 -1
  285. package/dist/client/assets/{usecaseDiagram-WPOLBNNX-DBsRYa4J.js → usecaseDiagram-WPOLBNNX-C9aLJ03F.js} +1 -1
  286. package/dist/client/assets/{vennDiagram-Q3Y3IDCW-rFAXvcQI.js → vennDiagram-Q3Y3IDCW-ChBIWbL0.js} +1 -1
  287. package/dist/client/assets/{wardleyDiagram-IVAIDKWA-bI0JZkO3.js → wardleyDiagram-IVAIDKWA-DvQDOaTm.js} +1 -1
  288. package/dist/client/assets/{xychartDiagram-4URNHDU4-DZUd8iln.js → xychartDiagram-4URNHDU4-8FxLPP2c.js} +1 -1
  289. package/dist/client/assets/zap-DSllMMHe.js +6 -0
  290. package/dist/client/index.html +2 -2
  291. package/dist/drizzle/20261104060919_package_approval_request.sql +1 -0
  292. package/dist/drizzle/20261104081935_hook_decline_review.sql +3 -0
  293. package/dist/drizzle/20261107183323_dor3933_todos_rename.sql +64 -0
  294. package/dist/drizzle/20261108014418_dor3938_cross_agent_writer.sql +4 -0
  295. package/dist/drizzle/meta/20261104060919_snapshot.json +14889 -0
  296. package/dist/drizzle/meta/20261104081935_snapshot.json +14910 -0
  297. package/dist/drizzle/meta/20261107183323_snapshot.json +14910 -0
  298. package/dist/drizzle/meta/20261108014418_snapshot.json +14938 -0
  299. package/dist/drizzle/meta/_journal.json +28 -0
  300. package/dist/server/index.js +24875 -21931
  301. package/dist/server/index.js.map +2 -2
  302. package/package.json +5 -5
  303. package/dist/client/assets/ApplyToOverridesDialog-DE9VVQCA.js +0 -1
  304. package/dist/client/assets/BindingDialog-C_yflKOE.js +0 -1
  305. package/dist/client/assets/CanvasFileContent-C3ZKszxn.js +0 -2
  306. package/dist/client/assets/CanvasModel3dContent-CsNUuaj6.js +0 -2
  307. package/dist/client/assets/CommitmentList-DOvfnyDA.js +0 -1
  308. package/dist/client/assets/CommitmentsPage-D81vxHUk.js +0 -1
  309. package/dist/client/assets/HandlePage-vsG04kBg.js +0 -1
  310. package/dist/client/assets/HeartbeatPage-CMj1SS30.js +0 -1
  311. package/dist/client/assets/NamePage-DdX2yQ5f.js +0 -1
  312. package/dist/client/assets/PermissionHistory-Bhl2kr1R.js +0 -1
  313. package/dist/client/assets/PermissionsPage-DUbenFkt.js +0 -1
  314. package/dist/client/assets/PhotoPage-CExABoHA.js +0 -1
  315. package/dist/client/assets/TaskDialogWrapper-BVb8gAr0.js +0 -1
  316. package/dist/client/assets/TasksEmptyState-RkUEEU2r.js +0 -3
  317. package/dist/client/assets/WorkView-BDk_vwu3.js +0 -51
  318. package/dist/client/assets/_shell-CMNFxZKJ.js +0 -80
  319. package/dist/client/assets/_shell._home.index-BjR-d3_s.js +0 -3
  320. package/dist/client/assets/_shell._home.tasks-CqURPMQD.js +0 -1
  321. package/dist/client/assets/_shell.connections-D3gJrBTQ.js +0 -1
  322. package/dist/client/assets/_shell.marketplace-HdefWdN_.js +0 -1
  323. package/dist/client/assets/_shell.marketplace_.sources-wAZKfDQF.js +0 -1
  324. package/dist/client/assets/_shell.session-C0utZeSI.js +0 -1
  325. package/dist/client/assets/_shell.threads-TvzYRNMt.js +0 -1
  326. package/dist/client/assets/_shell.todos-sOFmsIPE.js +0 -6
  327. package/dist/client/assets/_shell.x._extensionId-DiEQZIvl.js +0 -1
  328. package/dist/client/assets/_shell.x._extensionId_._-DiEQZIvl.js +0 -1
  329. package/dist/client/assets/channel-B0WiEIVe.js +0 -1
  330. package/dist/client/assets/index-BwTGkJbK.js +0 -1071
  331. package/dist/client/assets/index-CCHGVclj.js +0 -1
  332. package/dist/client/assets/index-CiUmx-i3.js +0 -1
  333. package/dist/client/assets/index-Dd4JoHFP.js +0 -1
  334. package/dist/client/assets/index-DlmGvYpy.js +0 -1
  335. package/dist/client/assets/index-EXJsA5kw.js +0 -1
  336. package/dist/client/assets/index-MpS13vhQ.css +0 -1
  337. package/dist/client/assets/registry-BQTcAm5U.js +0 -39
  338. package/dist/client/assets/registry-HencHRXy.js +0 -1
  339. package/dist/client/assets/swimlanesDiagram-AYQRV4AK-nJfOIWYW.js +0 -8
  340. package/dist/client/assets/use-direct-message-panel-B3qfpDjY.js +0 -1
  341. package/dist/client/assets/use-is-below-desktop-BXHT3oPL.js +0 -1
  342. package/dist/client/assets/use-local-browser-DDWknHZE.js +0 -1
  343. package/dist/client/assets/use-pending-read-uvmEJ7H9.js +0 -1
  344. package/dist/client/assets/use-update-config-D-OGlXGR.js +0 -1
@@ -1,10 +1,10 @@
1
- import{ny as HFn,R as qFn,r as cn,j as le,eJ as Nhn,Y as zFn,kT as UFn,$ as XFn,nz as KFn,_ as fN,Z as Tge,B as Sge,al as Dhn,G as i2,aU as Ige,bb as Pge,ba as WFn,a2 as oN,f as VFn,jx as QFn,X as YFn,by as ZFn,nA as eBn,fn as $ln,fm as nBn,ak as tBn,fc as Fln,ar as iBn,nB as rBn,af as cBn,au as uBn,gj as oBn,iT as sBn,cc as AX,fS as fBn,x as Bln,iR as lBn,i2 as hBn,bP as aBn,bQ as dBn,bR as bBn,bS as wBn,bT as gBn,bU as pBn,bV as mBn,bX as vBn,ha as yBn}from"./index-BwTGkJbK.js";import{s as B0,g as Lhn,j as Oge,T as fge,k as lge,t as kBn}from"./transform-BqqRT-Iy.js";import{i as hge}from"./value-wA6veExk.js";import{H as $X}from"./_shell.team-BMNSUpQQ.js";import{H as jBn}from"./heart-BHMhDZ0K.js";import{a as age,A as EBn}from"./AdapterIcon-CfocFMw-.js";import"./relay-trace-schemas-ZLR1S8ft.js";import{d as ABn,c as MBn,a as xBn,B as CBn}from"./BindingDialog-C_yflKOE.js";import{s as TBn}from"./session-strategy-labels-C7Wduch3.js";import{c as MX}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{u as SBn}from"./use-mesh-topology-B7aLtPkZ.js";import{E as IBn}from"./empty-state-saV209Il.js";import{Q as Rln}from"./query-error-state-DvhY-YKM.js";import{u as PBn}from"./use-bindings-CltfjAWW.js";import{u as OBn}from"./use-delete-binding-D73CLm_7.js";import"./use-pending-read-uvmEJ7H9.js";import"./use-filter-state-D4i-hDOk.js";import"./scroll-area-B1d3NfEn.js";import"./OpenMeshSwitch-Dx3M3wwS.js";import"./table-dWrfPeX-.js";import"./page-container-Bkarym6m.js";import"./profile-errors-B8XkL2Rp.js";import"./CommitmentList-DOvfnyDA.js";import"./TeamComputerEntry-B_sM9Fik.js";import"./ComputerViewer-Broprz4q.js";import"./form-D3VdAYl4.js";import"./trust-posture-atZIh8tf.js";function Xf(p){if(typeof p=="string"||typeof p=="number")return""+p;let E="";if(Array.isArray(p))for(let P=0,N;P<p.length;P++)(N=Xf(p[P]))!==""&&(E+=(E&&" ")+N);else for(let P in p)p[P]&&(E+=(E&&" ")+P);return E}function NBn(p){let E;for(;E=p.sourceEvent;)p=E;return p}function e2(p,E){if(p=NBn(p),E===void 0&&(E=p.currentTarget),E){var P=E.ownerSVGElement||E;if(P.createSVGPoint){var N=P.createSVGPoint();return N.x=p.clientX,N.y=p.clientY,N=N.matrixTransform(E.getScreenCTM().inverse()),[N.x,N.y]}if(E.getBoundingClientRect){var D=E.getBoundingClientRect();return[p.clientX-D.left-E.clientLeft,p.clientY-D.top-E.clientTop]}}return[p.pageX,p.pageY]}const DBn={passive:!1},lN={capture:!0,passive:!1};function dge(p){p.stopImmediatePropagation()}function IA(p){p.preventDefault(),p.stopImmediatePropagation()}function $hn(p){var E=p.document.documentElement,P=B0(p).on("dragstart.drag",IA,lN);"onselectstart"in E?P.on("selectstart.drag",IA,lN):(E.__noselect=E.style.MozUserSelect,E.style.MozUserSelect="none")}function Fhn(p,E){var P=p.document.documentElement,N=B0(p).on("dragstart.drag",null);E&&(N.on("click.drag",IA,lN),setTimeout(function(){N.on("click.drag",null)},0)),"onselectstart"in P?N.on("selectstart.drag",null):(P.style.MozUserSelect=P.__noselect,delete P.__noselect)}const xX=p=>()=>p;function kge(p,{sourceEvent:E,subject:P,target:N,identifier:D,active:$,x:v,y:q,dx:te,dy:ie,dispatch:pe}){Object.defineProperties(this,{type:{value:p,enumerable:!0,configurable:!0},sourceEvent:{value:E,enumerable:!0,configurable:!0},subject:{value:P,enumerable:!0,configurable:!0},target:{value:N,enumerable:!0,configurable:!0},identifier:{value:D,enumerable:!0,configurable:!0},active:{value:$,enumerable:!0,configurable:!0},x:{value:v,enumerable:!0,configurable:!0},y:{value:q,enumerable:!0,configurable:!0},dx:{value:te,enumerable:!0,configurable:!0},dy:{value:ie,enumerable:!0,configurable:!0},_:{value:pe}})}kge.prototype.on=function(){var p=this._.on.apply(this._,arguments);return p===this._?this:p};function LBn(p){return!p.ctrlKey&&!p.button}function $Bn(){return this.parentNode}function FBn(p,E){return E??{x:p.x,y:p.y}}function BBn(){return navigator.maxTouchPoints||"ontouchstart"in this}function Bhn(){var p=LBn,E=$Bn,P=FBn,N=BBn,D={},$=Lhn("start","drag","end"),v=0,q,te,ie,pe,oe=0;function z(xe){xe.on("mousedown.drag",ne).filter(N).on("touchstart.drag",Ee).on("touchmove.drag",re,DBn).on("touchend.drag touchcancel.drag",we).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function ne(xe,Qe){if(!(pe||!p.call(this,xe,Qe))){var Xe=ee(this,E.call(this,xe,Qe),xe,Qe,"mouse");Xe&&(B0(xe.view).on("mousemove.drag",Z,lN).on("mouseup.drag",U,lN),$hn(xe.view),dge(xe),ie=!1,q=xe.clientX,te=xe.clientY,Xe("start",xe))}}function Z(xe){if(IA(xe),!ie){var Qe=xe.clientX-q,Xe=xe.clientY-te;ie=Qe*Qe+Xe*Xe>oe}D.mouse("drag",xe)}function U(xe){B0(xe.view).on("mousemove.drag mouseup.drag",null),Fhn(xe.view,ie),IA(xe),D.mouse("end",xe)}function Ee(xe,Qe){if(p.call(this,xe,Qe)){var Xe=xe.changedTouches,Ze=E.call(this,xe,Qe),vn=Xe.length,jn,et;for(jn=0;jn<vn;++jn)(et=ee(this,Ze,xe,Qe,Xe[jn].identifier,Xe[jn]))&&(dge(xe),et("start",xe,Xe[jn]))}}function re(xe){var Qe=xe.changedTouches,Xe=Qe.length,Ze,vn;for(Ze=0;Ze<Xe;++Ze)(vn=D[Qe[Ze].identifier])&&(IA(xe),vn("drag",xe,Qe[Ze]))}function we(xe){var Qe=xe.changedTouches,Xe=Qe.length,Ze,vn;for(pe&&clearTimeout(pe),pe=setTimeout(function(){pe=null},500),Ze=0;Ze<Xe;++Ze)(vn=D[Qe[Ze].identifier])&&(dge(xe),vn("end",xe,Qe[Ze]))}function ee(xe,Qe,Xe,Ze,vn,jn){var et=$.copy(),Dn=e2(jn||Xe,Qe),Kn,_,je;if((je=P.call(xe,new kge("beforestart",{sourceEvent:Xe,target:z,identifier:vn,active:v,x:Dn[0],y:Dn[1],dx:0,dy:0,dispatch:et}),Ze))!=null)return Kn=je.x-Dn[0]||0,_=je.y-Dn[1]||0,function rn(sn,Sn,Bn){var dn=Dn,Jn;switch(sn){case"start":D[vn]=rn,Jn=v++;break;case"end":delete D[vn],--v;case"drag":Dn=e2(Bn||Sn,Qe),Jn=v;break}et.call(sn,xe,new kge(sn,{sourceEvent:Sn,subject:je,target:z,identifier:vn,active:Jn,x:Dn[0]+Kn,y:Dn[1]+_,dx:Dn[0]-dn[0],dy:Dn[1]-dn[1],dispatch:et}),Ze)}}return z.filter=function(xe){return arguments.length?(p=typeof xe=="function"?xe:xX(!!xe),z):p},z.container=function(xe){return arguments.length?(E=typeof xe=="function"?xe:xX(xe),z):E},z.subject=function(xe){return arguments.length?(P=typeof xe=="function"?xe:xX(xe),z):P},z.touchable=function(xe){return arguments.length?(N=typeof xe=="function"?xe:xX(!!xe),z):N},z.on=function(){var xe=$.on.apply($,arguments);return xe===$?z:xe},z.clickDistance=function(xe){return arguments.length?(oe=(xe=+xe)*xe,z):Math.sqrt(oe)},z}var RBn=1e-12;function _ln(p){return((p=Math.exp(p))+1/p)/2}function _Bn(p){return((p=Math.exp(p))-1/p)/2}function JBn(p){return((p=Math.exp(2*p))-1)/(p+1)}const NX=(function p(E,P,N){function D($,v){var q=$[0],te=$[1],ie=$[2],pe=v[0],oe=v[1],z=v[2],ne=pe-q,Z=oe-te,U=ne*ne+Z*Z,Ee,re;if(U<RBn)re=Math.log(z/ie)/E,Ee=function(Ze){return[q+Ze*ne,te+Ze*Z,ie*Math.exp(E*Ze*re)]};else{var we=Math.sqrt(U),ee=(z*z-ie*ie+N*U)/(2*ie*P*we),xe=(z*z-ie*ie-N*U)/(2*z*P*we),Qe=Math.log(Math.sqrt(ee*ee+1)-ee),Xe=Math.log(Math.sqrt(xe*xe+1)-xe);re=(Xe-Qe)/E,Ee=function(Ze){var vn=Ze*re,jn=_ln(Qe),et=ie/(P*we)*(jn*JBn(E*vn+Qe)-_Bn(Qe));return[q+et*ne,te+et*Z,ie*jn/_ln(E*vn+Qe)]}}return Ee.duration=re*1e3*E/Math.SQRT2,Ee}return D.rho=function($){var v=Math.max(.001,+$),q=v*v,te=q*q;return p(v,q,te)},D})(Math.SQRT2,2,4),CX=p=>()=>p;function GBn(p,{sourceEvent:E,target:P,transform:N,dispatch:D}){Object.defineProperties(this,{type:{value:p,enumerable:!0,configurable:!0},sourceEvent:{value:E,enumerable:!0,configurable:!0},target:{value:P,enumerable:!0,configurable:!0},transform:{value:N,enumerable:!0,configurable:!0},_:{value:D}})}function bge(p){p.stopImmediatePropagation()}function uN(p){p.preventDefault(),p.stopImmediatePropagation()}function HBn(p){return(!p.ctrlKey||p.type==="wheel")&&!p.button}function qBn(){var p=this;return p instanceof SVGElement?(p=p.ownerSVGElement||p,p.hasAttribute("viewBox")?(p=p.viewBox.baseVal,[[p.x,p.y],[p.x+p.width,p.y+p.height]]):[[0,0],[p.width.baseVal.value,p.height.baseVal.value]]):[[0,0],[p.clientWidth,p.clientHeight]]}function Jln(){return this.__zoom||Oge}function zBn(p){return-p.deltaY*(p.deltaMode===1?.05:p.deltaMode?1:.002)*(p.ctrlKey?10:1)}function UBn(){return navigator.maxTouchPoints||"ontouchstart"in this}function XBn(p,E,P){var N=p.invertX(E[0][0])-P[0][0],D=p.invertX(E[1][0])-P[1][0],$=p.invertY(E[0][1])-P[0][1],v=p.invertY(E[1][1])-P[1][1];return p.translate(D>N?(N+D)/2:Math.min(0,N)||Math.max(0,D),v>$?($+v)/2:Math.min(0,$)||Math.max(0,v))}function Rhn(){var p=HBn,E=qBn,P=XBn,N=zBn,D=UBn,$=[0,1/0],v=[[-1/0,-1/0],[1/0,1/0]],q=250,te=NX,ie=Lhn("start","zoom","end"),pe,oe,z,ne=500,Z=150,U=0,Ee=10;function re(je){je.property("__zoom",Jln).on("wheel.zoom",vn,{passive:!1}).on("mousedown.zoom",jn).on("dblclick.zoom",et).filter(D).on("touchstart.zoom",Dn).on("touchmove.zoom",Kn).on("touchend.zoom touchcancel.zoom",_).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}re.transform=function(je,rn,sn,Sn){var Bn=je.selection?je.selection():je;Bn.property("__zoom",Jln),je!==Bn?Qe(je,rn,sn,Sn):Bn.interrupt().each(function(){Xe(this,arguments).event(Sn).start().zoom(null,typeof rn=="function"?rn.apply(this,arguments):rn).end()})},re.scaleBy=function(je,rn,sn,Sn){re.scaleTo(je,function(){var Bn=this.__zoom.k,dn=typeof rn=="function"?rn.apply(this,arguments):rn;return Bn*dn},sn,Sn)},re.scaleTo=function(je,rn,sn,Sn){re.transform(je,function(){var Bn=E.apply(this,arguments),dn=this.__zoom,Jn=sn==null?xe(Bn):typeof sn=="function"?sn.apply(this,arguments):sn,Nn=dn.invert(Jn),qn=typeof rn=="function"?rn.apply(this,arguments):rn;return P(ee(we(dn,qn),Jn,Nn),Bn,v)},sn,Sn)},re.translateBy=function(je,rn,sn,Sn){re.transform(je,function(){return P(this.__zoom.translate(typeof rn=="function"?rn.apply(this,arguments):rn,typeof sn=="function"?sn.apply(this,arguments):sn),E.apply(this,arguments),v)},null,Sn)},re.translateTo=function(je,rn,sn,Sn,Bn){re.transform(je,function(){var dn=E.apply(this,arguments),Jn=this.__zoom,Nn=Sn==null?xe(dn):typeof Sn=="function"?Sn.apply(this,arguments):Sn;return P(Oge.translate(Nn[0],Nn[1]).scale(Jn.k).translate(typeof rn=="function"?-rn.apply(this,arguments):-rn,typeof sn=="function"?-sn.apply(this,arguments):-sn),dn,v)},Sn,Bn)};function we(je,rn){return rn=Math.max($[0],Math.min($[1],rn)),rn===je.k?je:new fge(rn,je.x,je.y)}function ee(je,rn,sn){var Sn=rn[0]-sn[0]*je.k,Bn=rn[1]-sn[1]*je.k;return Sn===je.x&&Bn===je.y?je:new fge(je.k,Sn,Bn)}function xe(je){return[(+je[0][0]+ +je[1][0])/2,(+je[0][1]+ +je[1][1])/2]}function Qe(je,rn,sn,Sn){je.on("start.zoom",function(){Xe(this,arguments).event(Sn).start()}).on("interrupt.zoom end.zoom",function(){Xe(this,arguments).event(Sn).end()}).tween("zoom",function(){var Bn=this,dn=arguments,Jn=Xe(Bn,dn).event(Sn),Nn=E.apply(Bn,dn),qn=sn==null?xe(Nn):typeof sn=="function"?sn.apply(Bn,dn):sn,Jt=Math.max(Nn[1][0]-Nn[0][0],Nn[1][1]-Nn[0][1]),Xt=Bn.__zoom,Oi=typeof rn=="function"?rn.apply(Bn,dn):rn,gr=te(Xt.invert(qn).concat(Jt/Xt.k),Oi.invert(qn).concat(Jt/Oi.k));return function(Ki){if(Ki===1)Ki=Oi;else{var Wn=gr(Ki),ei=Jt/Wn[2];Ki=new fge(ei,qn[0]-Wn[0]*ei,qn[1]-Wn[1]*ei)}Jn.zoom(null,Ki)}})}function Xe(je,rn,sn){return!sn&&je.__zooming||new Ze(je,rn)}function Ze(je,rn){this.that=je,this.args=rn,this.active=0,this.sourceEvent=null,this.extent=E.apply(je,rn),this.taps=0}Ze.prototype={event:function(je){return je&&(this.sourceEvent=je),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(je,rn){return this.mouse&&je!=="mouse"&&(this.mouse[1]=rn.invert(this.mouse[0])),this.touch0&&je!=="touch"&&(this.touch0[1]=rn.invert(this.touch0[0])),this.touch1&&je!=="touch"&&(this.touch1[1]=rn.invert(this.touch1[0])),this.that.__zoom=rn,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(je){var rn=B0(this.that).datum();ie.call(je,this.that,new GBn(je,{sourceEvent:this.sourceEvent,target:re,transform:this.that.__zoom,dispatch:ie}),rn)}};function vn(je,...rn){if(!p.apply(this,arguments))return;var sn=Xe(this,rn).event(je),Sn=this.__zoom,Bn=Math.max($[0],Math.min($[1],Sn.k*Math.pow(2,N.apply(this,arguments)))),dn=e2(je);if(sn.wheel)(sn.mouse[0][0]!==dn[0]||sn.mouse[0][1]!==dn[1])&&(sn.mouse[1]=Sn.invert(sn.mouse[0]=dn)),clearTimeout(sn.wheel);else{if(Sn.k===Bn)return;sn.mouse=[dn,Sn.invert(dn)],lge(this),sn.start()}uN(je),sn.wheel=setTimeout(Jn,Z),sn.zoom("mouse",P(ee(we(Sn,Bn),sn.mouse[0],sn.mouse[1]),sn.extent,v));function Jn(){sn.wheel=null,sn.end()}}function jn(je,...rn){if(z||!p.apply(this,arguments))return;var sn=je.currentTarget,Sn=Xe(this,rn,!0).event(je),Bn=B0(je.view).on("mousemove.zoom",qn,!0).on("mouseup.zoom",Jt,!0),dn=e2(je,sn),Jn=je.clientX,Nn=je.clientY;$hn(je.view),bge(je),Sn.mouse=[dn,this.__zoom.invert(dn)],lge(this),Sn.start();function qn(Xt){if(uN(Xt),!Sn.moved){var Oi=Xt.clientX-Jn,gr=Xt.clientY-Nn;Sn.moved=Oi*Oi+gr*gr>U}Sn.event(Xt).zoom("mouse",P(ee(Sn.that.__zoom,Sn.mouse[0]=e2(Xt,sn),Sn.mouse[1]),Sn.extent,v))}function Jt(Xt){Bn.on("mousemove.zoom mouseup.zoom",null),Fhn(Xt.view,Sn.moved),uN(Xt),Sn.event(Xt).end()}}function et(je,...rn){if(p.apply(this,arguments)){var sn=this.__zoom,Sn=e2(je.changedTouches?je.changedTouches[0]:je,this),Bn=sn.invert(Sn),dn=sn.k*(je.shiftKey?.5:2),Jn=P(ee(we(sn,dn),Sn,Bn),E.apply(this,rn),v);uN(je),q>0?B0(this).transition().duration(q).call(Qe,Jn,Sn,je):B0(this).call(re.transform,Jn,Sn,je)}}function Dn(je,...rn){if(p.apply(this,arguments)){var sn=je.touches,Sn=sn.length,Bn=Xe(this,rn,je.changedTouches.length===Sn).event(je),dn,Jn,Nn,qn;for(bge(je),Jn=0;Jn<Sn;++Jn)Nn=sn[Jn],qn=e2(Nn,this),qn=[qn,this.__zoom.invert(qn),Nn.identifier],Bn.touch0?!Bn.touch1&&Bn.touch0[2]!==qn[2]&&(Bn.touch1=qn,Bn.taps=0):(Bn.touch0=qn,dn=!0,Bn.taps=1+!!pe);pe&&(pe=clearTimeout(pe)),dn&&(Bn.taps<2&&(oe=qn[0],pe=setTimeout(function(){pe=null},ne)),lge(this),Bn.start())}}function Kn(je,...rn){if(this.__zooming){var sn=Xe(this,rn).event(je),Sn=je.changedTouches,Bn=Sn.length,dn,Jn,Nn,qn;for(uN(je),dn=0;dn<Bn;++dn)Jn=Sn[dn],Nn=e2(Jn,this),sn.touch0&&sn.touch0[2]===Jn.identifier?sn.touch0[0]=Nn:sn.touch1&&sn.touch1[2]===Jn.identifier&&(sn.touch1[0]=Nn);if(Jn=sn.that.__zoom,sn.touch1){var Jt=sn.touch0[0],Xt=sn.touch0[1],Oi=sn.touch1[0],gr=sn.touch1[1],Ki=(Ki=Oi[0]-Jt[0])*Ki+(Ki=Oi[1]-Jt[1])*Ki,Wn=(Wn=gr[0]-Xt[0])*Wn+(Wn=gr[1]-Xt[1])*Wn;Jn=we(Jn,Math.sqrt(Ki/Wn)),Nn=[(Jt[0]+Oi[0])/2,(Jt[1]+Oi[1])/2],qn=[(Xt[0]+gr[0])/2,(Xt[1]+gr[1])/2]}else if(sn.touch0)Nn=sn.touch0[0],qn=sn.touch0[1];else return;sn.zoom("touch",P(ee(Jn,Nn,qn),sn.extent,v))}}function _(je,...rn){if(this.__zooming){var sn=Xe(this,rn).event(je),Sn=je.changedTouches,Bn=Sn.length,dn,Jn;for(bge(je),z&&clearTimeout(z),z=setTimeout(function(){z=null},ne),dn=0;dn<Bn;++dn)Jn=Sn[dn],sn.touch0&&sn.touch0[2]===Jn.identifier?delete sn.touch0:sn.touch1&&sn.touch1[2]===Jn.identifier&&delete sn.touch1;if(sn.touch1&&!sn.touch0&&(sn.touch0=sn.touch1,delete sn.touch1),sn.touch0)sn.touch0[1]=this.__zoom.invert(sn.touch0[0]);else if(sn.end(),sn.taps===2&&(Jn=e2(Jn,this),Math.hypot(oe[0]-Jn[0],oe[1]-Jn[1])<Ee)){var Nn=B0(this).on("dblclick.zoom");Nn&&Nn.apply(this,arguments)}}}return re.wheelDelta=function(je){return arguments.length?(N=typeof je=="function"?je:CX(+je),re):N},re.filter=function(je){return arguments.length?(p=typeof je=="function"?je:CX(!!je),re):p},re.touchable=function(je){return arguments.length?(D=typeof je=="function"?je:CX(!!je),re):D},re.extent=function(je){return arguments.length?(E=typeof je=="function"?je:CX([[+je[0][0],+je[0][1]],[+je[1][0],+je[1][1]]]),re):E},re.scaleExtent=function(je){return arguments.length?($[0]=+je[0],$[1]=+je[1],re):[$[0],$[1]]},re.translateExtent=function(je){return arguments.length?(v[0][0]=+je[0][0],v[1][0]=+je[1][0],v[0][1]=+je[0][1],v[1][1]=+je[1][1],re):[[v[0][0],v[0][1]],[v[1][0],v[1][1]]]},re.constrain=function(je){return arguments.length?(P=je,re):P},re.duration=function(je){return arguments.length?(q=+je,re):q},re.interpolate=function(je){return arguments.length?(te=je,re):te},re.on=function(){var je=ie.on.apply(ie,arguments);return je===ie?re:je},re.clickDistance=function(je){return arguments.length?(U=(je=+je)*je,re):Math.sqrt(U)},re.tapDistance=function(je){return arguments.length?(Ee=+je,re):Ee},re}const r2={error001:(p="react")=>`Seems like you have not used ${p==="svelte"?"SvelteFlowProvider":"ReactFlowProvider"} as an ancestor. Help: https://${p}flow.dev/error#001`,error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:p=>`Node type "${p}" not found. Using fallback type "default".`,error004:()=>"The parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:p=>`The old edge with id=${p} does not exist.`,error009:p=>`Marker type "${p}" doesn't exist.`,error008:(p,{id:E,sourceHandle:P,targetHandle:N})=>`Couldn't create edge for ${p} handle id: "${p==="source"?P:N}", edge id: ${E}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:p=>`Edge type "${p}" not found. Using fallback type "default".`,error012:p=>`Node with id "${p}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(p="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${p}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs.",error016:p=>`Edge with id "${p}" does not exist, it may have been removed. This can happen when an edge is deleted before the "onEdgeClick" handler is called.`},hN=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],_hn=["Enter"," ","Escape"],Jhn={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:p,x:E,y:P})=>`Moved selected node ${p}. New position, x: ${E}, y: ${P}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var PA;(function(p){p.Strict="strict",p.Loose="loose"})(PA||(PA={}));var nk;(function(p){p.Free="free",p.Vertical="vertical",p.Horizontal="horizontal"})(nk||(nk={}));var aN;(function(p){p.Partial="partial",p.Full="full"})(aN||(aN={}));const Ghn={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var z5;(function(p){p.Bezier="default",p.Straight="straight",p.Step="step",p.SmoothStep="smoothstep",p.SimpleBezier="simplebezier"})(z5||(z5={}));var dN;(function(p){p.Arrow="arrow",p.ArrowClosed="arrowclosed"})(dN||(dN={}));var ji;(function(p){p.Left="left",p.Top="top",p.Right="right",p.Bottom="bottom"})(ji||(ji={}));const Gln={[ji.Left]:ji.Right,[ji.Right]:ji.Left,[ji.Top]:ji.Bottom,[ji.Bottom]:ji.Top},Hhn=p=>!!p&&typeof p=="object"&&"id"in p&&"source"in p&&"target"in p,KBn=p=>!!p&&typeof p=="object"&&"id"in p&&"position"in p&&!("source"in p)&&!("target"in p),Nge=p=>!!p&&typeof p=="object"&&"id"in p&&"internals"in p&&!("source"in p)&&!("target"in p),pN=(p,E=[0,0])=>{const{width:P,height:N}=c2(p),D=p.origin??E,$=P*D[0],v=N*D[1];return{x:p.position.x-$,y:p.position.y-v}},WBn=(p,E={nodeOrigin:[0,0]})=>{if(p.length===0)return{x:0,y:0,width:0,height:0};let P=!1;const N=p.reduce((D,$)=>{const v=typeof $=="string";let q=!E.nodeLookup&&!v?$:void 0;return E.nodeLookup&&(q=v?E.nodeLookup.get($):Nge($)?$:E.nodeLookup.get($.id)),q?(P=!0,JX(D,FX(q,E.nodeOrigin))):D},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return P?GX(N):{x:0,y:0,width:0,height:0}},LA=(p,E={})=>{let P={x:1/0,y:1/0,x2:-1/0,y2:-1/0},N=!1;return p.forEach(D=>{(E.filter===void 0||E.filter(D))&&(P=JX(P,FX(D)),N=!0)}),N?GX(P):{x:0,y:0,width:0,height:0}},Dge=(p,E,[P,N,D]=[0,0,1],$=!1,v=!1)=>{const q=(E.x-P)/D,te=(E.y-N)/D,ie=E.width/D,pe=E.height/D,oe=[];for(const z of p.values()){const{measured:ne,selectable:Z=!0,hidden:U=!1}=z;if(v&&!Z||U)continue;const Ee=ne.width??z.width??z.initialWidth??0,re=ne.height??z.height??z.initialHeight??0,{x:we,y:ee}=z.internals.positionAbsolute,xe=Xhn(q,te,ie,pe,we,ee,Ee,re),Qe=Ee*re,Xe=$&&xe>0;(!z.internals.handleBounds||Xe||xe>=Qe||z.dragging)&&oe.push(z)}return oe},VBn=(p,E)=>{const P=new Set;return p.forEach(N=>{P.add(N.id)}),E.filter(N=>P.has(N.source)||P.has(N.target))};function QBn(p,E){const P=new Map,N=E!=null&&E.nodes?new Set(E.nodes.map(D=>D.id)):null;return p.forEach(D=>{let $;if(E!=null&&E.includeHiddenNodes){const{width:v,height:q}=c2(D);$=v>0&&q>0}else $=!!(D.measured.width&&D.measured.height&&!D.hidden);$&&(!N||N.has(D.id))&&P.set(D.id,D)}),P}async function YBn({nodes:p,width:E,height:P,panZoom:N,minZoom:D,maxZoom:$},v){if(p.size===0)return!0;const q=QBn(p,v),te=LA(q),ie=$ge(te,E,P,(v==null?void 0:v.minZoom)??D,(v==null?void 0:v.maxZoom)??$,(v==null?void 0:v.padding)??.1);return await N.setViewport(ie,{duration:v==null?void 0:v.duration,ease:v==null?void 0:v.ease,interpolate:v==null?void 0:v.interpolate}),!0}function qhn({nodeId:p,nextPosition:E,nodeLookup:P,nodeOrigin:N=[0,0],nodeExtent:D,onError:$}){const v=P.get(p),q=v.parentId?P.get(v.parentId):void 0,{x:te,y:ie}=q?q.internals.positionAbsolute:{x:0,y:0},pe=v.origin??N;let oe=v.extent||D;if(v.extent==="parent"&&!v.expandParent)if(!q)$==null||$("005",r2.error005());else{const{width:ne,height:Z}=c2(q);ne&&Z&&(oe=[[te,ie],[te+ne,ie+Z]])}else q&&ik(v.extent)&&(oe=[[v.extent[0][0]+te,v.extent[0][1]+ie],[v.extent[1][0]+te,v.extent[1][1]+ie]]);const z=ik(oe)?tk(E,oe,v.measured):E;return(v.measured.width===void 0||v.measured.height===void 0)&&($==null||$("015",r2.error015())),{position:{x:z.x-te+(v.measured.width??0)*pe[0],y:z.y-ie+(v.measured.height??0)*pe[1]},positionAbsolute:z}}async function ZBn({nodesToRemove:p=[],edgesToRemove:E=[],nodes:P,edges:N,onBeforeDelete:D}){const $=new Set(p.map(z=>z.id)),v=[];for(const z of P){if(z.deletable===!1)continue;const ne=$.has(z.id),Z=!ne&&z.parentId&&v.find(U=>U.id===z.parentId);(ne||Z)&&v.push(z)}const q=new Set(E.map(z=>z.id)),te=N.filter(z=>z.deletable!==!1),pe=VBn(v,te);for(const z of te)q.has(z.id)&&!pe.find(Z=>Z.id===z.id)&&pe.push(z);if(!D)return{edges:pe,nodes:v};const oe=await D({nodes:v,edges:pe});return typeof oe=="boolean"?oe?{edges:pe,nodes:v}:{edges:[],nodes:[]}:oe}const OA=(p,E=0,P=1)=>Math.min(Math.max(p,E),P),tk=(p={x:0,y:0},E,P)=>({x:OA(p.x,E[0][0],E[1][0]-((P==null?void 0:P.width)??0)),y:OA(p.y,E[0][1],E[1][1]-((P==null?void 0:P.height)??0))});function zhn(p,E,P){const{width:N,height:D}=c2(P),{x:$,y:v}=P.internals.positionAbsolute;return tk(p,[[$,v],[$+N,v+D]],E)}const Hln=(p,E,P)=>p<E?OA(Math.abs(p-E),1,E)/E:p>P?-OA(Math.abs(p-P),1,E)/E:0,Lge=(p,E,P=15,N=40)=>{const D=Hln(p.x,N,E.width-N)*P,$=Hln(p.y,N,E.height-N)*P;return[D,$]},JX=(p,E)=>({x:Math.min(p.x,E.x),y:Math.min(p.y,E.y),x2:Math.max(p.x2,E.x2),y2:Math.max(p.y2,E.y2)}),jge=({x:p,y:E,width:P,height:N})=>({x:p,y:E,x2:p+P,y2:E+N}),GX=({x:p,y:E,x2:P,y2:N})=>({x:p,y:E,width:P-p,height:N-E}),bN=(p,E=[0,0])=>{var D,$;const{x:P,y:N}=Nge(p)?p.internals.positionAbsolute:pN(p,E);return{x:P,y:N,width:((D=p.measured)==null?void 0:D.width)??p.width??p.initialWidth??0,height:(($=p.measured)==null?void 0:$.height)??p.height??p.initialHeight??0}},FX=(p,E=[0,0])=>{var D,$;const{x:P,y:N}=Nge(p)?p.internals.positionAbsolute:pN(p,E);return{x:P,y:N,x2:P+(((D=p.measured)==null?void 0:D.width)??p.width??p.initialWidth??0),y2:N+((($=p.measured)==null?void 0:$.height)??p.height??p.initialHeight??0)}},Uhn=(p,E)=>GX(JX(jge(p),jge(E))),Xhn=(p,E,P,N,D,$,v,q)=>{const te=Math.max(0,Math.min(p+P,D+v)-Math.max(p,D)),ie=Math.max(0,Math.min(E+N,$+q)-Math.max(E,$));return Math.ceil(te*ie)},BX=(p,E)=>Xhn(p.x,p.y,p.width,p.height,E.x,E.y,E.width,E.height),qln=p=>n2(p.width)&&n2(p.height)&&n2(p.x)&&n2(p.y),n2=p=>!isNaN(p)&&isFinite(p),Khn=(p,E)=>(P,N)=>{},mN=(p,E=[1,1])=>({x:E[0]*Math.round(p.x/E[0]),y:E[1]*Math.round(p.y/E[1])}),vN=({x:p,y:E},[P,N,D],$=!1,v=[1,1])=>{const q={x:(p-P)/D,y:(E-N)/D};return $?mN(q,v):q},NA=({x:p,y:E},[P,N,D])=>({x:p*D+P,y:E*D+N});function TA(p,E){if(typeof p=="number")return Math.floor((E-E/(1+p))*.5);if(typeof p=="string"&&p.endsWith("px")){const P=parseFloat(p);if(!Number.isNaN(P))return Math.floor(P)}if(typeof p=="string"&&p.endsWith("%")){const P=parseFloat(p);if(!Number.isNaN(P))return Math.floor(E*P*.01)}return console.error(`The padding value "${p}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function eRn(p,E,P){if(typeof p=="string"||typeof p=="number"){const N=TA(p,P),D=TA(p,E);return{top:N,right:D,bottom:N,left:D,x:D*2,y:N*2}}if(typeof p=="object"){const N=TA(p.top??p.y??0,P),D=TA(p.bottom??p.y??0,P),$=TA(p.left??p.x??0,E),v=TA(p.right??p.x??0,E);return{top:N,right:v,bottom:D,left:$,x:$+v,y:N+D}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function nRn(p,E,P,N,D,$){const{x:v,y:q}=NA(p,[E,P,N]),{x:te,y:ie}=NA({x:p.x+p.width,y:p.y+p.height},[E,P,N]),pe=D-te,oe=$-ie;return{left:Math.floor(v),top:Math.floor(q),right:Math.floor(pe),bottom:Math.floor(oe)}}const $ge=(p,E,P,N,D,$)=>{const v=eRn($,E,P),q=(E-v.x)/p.width,te=(P-v.y)/p.height,ie=Math.min(q,te),pe=OA(ie,N,D),oe=p.x+p.width/2,z=p.y+p.height/2,ne=E/2-oe*pe,Z=P/2-z*pe,U=nRn(p,ne,Z,pe,E,P),Ee={left:Math.min(U.left-v.left,0),top:Math.min(U.top-v.top,0),right:Math.min(U.right-v.right,0),bottom:Math.min(U.bottom-v.bottom,0)};return{x:ne-Ee.left+Ee.right,y:Z-Ee.top+Ee.bottom,zoom:pe}},wN=()=>{var p;return typeof navigator<"u"&&((p=navigator==null?void 0:navigator.userAgent)==null?void 0:p.indexOf("Mac"))>=0};function ik(p){return p!=null&&p!=="parent"}function c2(p){var E,P;return{width:((E=p.measured)==null?void 0:E.width)??p.width??p.initialWidth??0,height:((P=p.measured)==null?void 0:P.height)??p.height??p.initialHeight??0}}function Whn(p){var E,P;return(((E=p.measured)==null?void 0:E.width)??p.width??p.initialWidth)!==void 0&&(((P=p.measured)==null?void 0:P.height)??p.height??p.initialHeight)!==void 0}function Vhn(p,E={width:0,height:0},P,N,D){const $={...p},v=N.get(P);if(v){const q=v.origin||D;$.x+=v.internals.positionAbsolute.x-(E.width??0)*q[0],$.y+=v.internals.positionAbsolute.y-(E.height??0)*q[1]}return $}function zln(p,E){if(p.size!==E.size)return!1;for(const P of p)if(!E.has(P))return!1;return!0}function tRn(){let p,E;return{promise:new Promise((N,D)=>{p=N,E=D}),resolve:p,reject:E}}function iRn(p){return{...Jhn,...p||{}}}function Qhn(p){return p===null?null:p?"valid":"invalid"}function sN(p,{snapGrid:E=[0,0],snapToGrid:P=!1,transform:N,containerBounds:D}){const{x:$,y:v}=t2(p),q=vN({x:$-((D==null?void 0:D.left)??0),y:v-((D==null?void 0:D.top)??0)},N),{x:te,y:ie}=P?mN(q,E):q;return{xSnapped:te,ySnapped:ie,...q}}const Fge=p=>({width:p.offsetWidth,height:p.offsetHeight}),Yhn=p=>{var E;return((E=p==null?void 0:p.getRootNode)==null?void 0:E.call(p))||(window==null?void 0:window.document)},rRn=["INPUT","SELECT","TEXTAREA"];function Zhn(p){var N,D;const E=((D=(N=p.composedPath)==null?void 0:N.call(p))==null?void 0:D[0])||p.target;return(E==null?void 0:E.nodeType)!==1?!1:rRn.includes(E.nodeName)||E.hasAttribute("contenteditable")||!!E.closest(".nokey")}const ean=p=>"clientX"in p,t2=(p,E)=>{var $,v;const P=ean(p),N=P?p.clientX:($=p.touches)==null?void 0:$[0].clientX,D=P?p.clientY:(v=p.touches)==null?void 0:v[0].clientY;return{x:N-((E==null?void 0:E.left)??0),y:D-((E==null?void 0:E.top)??0)}},Uln=(p,E,P,N,D)=>{const $=E.querySelectorAll(`.${p}`);return!$||!$.length?null:Array.from($).map(v=>{const q=v.getBoundingClientRect();return{id:v.getAttribute("data-handleid"),type:p,nodeId:D,position:v.getAttribute("data-handlepos"),x:(q.left-P.left)/N,y:(q.top-P.top)/N,...Fge(v)}})};function nan({sourceX:p,sourceY:E,targetX:P,targetY:N,sourceControlX:D,sourceControlY:$,targetControlX:v,targetControlY:q}){const te=p*.125+D*.375+v*.375+P*.125,ie=E*.125+$*.375+q*.375+N*.125,pe=Math.abs(te-p),oe=Math.abs(ie-E);return[te,ie,pe,oe]}function TX(p,E){return p>=0?.5*p:E*25*Math.sqrt(-p)}function Xln({pos:p,x1:E,y1:P,x2:N,y2:D,c:$}){switch(p){case ji.Left:return[E-TX(E-N,$),P];case ji.Right:return[E+TX(N-E,$),P];case ji.Top:return[E,P-TX(P-D,$)];case ji.Bottom:return[E,P+TX(D-P,$)]}}function yN({sourceX:p,sourceY:E,sourcePosition:P=ji.Bottom,targetX:N,targetY:D,targetPosition:$=ji.Top,curvature:v=.25}){const[q,te]=Xln({pos:P,x1:p,y1:E,x2:N,y2:D,c:v}),[ie,pe]=Xln({pos:$,x1:N,y1:D,x2:p,y2:E,c:v}),[oe,z,ne,Z]=nan({sourceX:p,sourceY:E,targetX:N,targetY:D,sourceControlX:q,sourceControlY:te,targetControlX:ie,targetControlY:pe});return[`M${p},${E} C${q},${te} ${ie},${pe} ${N},${D}`,oe,z,ne,Z]}function tan({sourceX:p,sourceY:E,targetX:P,targetY:N}){const D=Math.abs(P-p)/2,$=P<p?P+D:P-D,v=Math.abs(N-E)/2,q=N<E?N+v:N-v;return[$,q,D,v]}function cRn({sourceNode:p,targetNode:E,selected:P=!1,zIndex:N=0,elevateOnSelect:D=!1,zIndexMode:$="basic"}){if($==="manual")return N;const v=D&&P?N+1e3:N,q=Math.max(p.parentId||D&&p.selected?p.internals.z:0,E.parentId||D&&E.selected?E.internals.z:0);return v+q}function uRn({sourceNode:p,targetNode:E,width:P,height:N,transform:D}){const $=JX(FX(p),FX(E));$.x===$.x2&&($.x2+=1),$.y===$.y2&&($.y2+=1);const v={x:-D[0]/D[2],y:-D[1]/D[2],width:P/D[2],height:N/D[2]};return BX(v,GX($))>0}const oRn=({source:p,sourceHandle:E,target:P,targetHandle:N})=>`xy-edge__${p}${E||""}-${P}${N||""}`,sRn=(p,E)=>E.some(P=>P.source===p.source&&P.target===p.target&&(P.sourceHandle===p.sourceHandle||!P.sourceHandle&&!p.sourceHandle)&&(P.targetHandle===p.targetHandle||!P.targetHandle&&!p.targetHandle)),fRn=(p,E,P={})=>{var $;if(!p.source||!p.target)return($=P.onError)==null||$.call(P,"006",r2.error006()),E;const N=P.getEdgeId||oRn;let D;return Hhn(p)?D={...p}:D={...p,id:N(p)},sRn(D,E)?E:(D.sourceHandle===null&&delete D.sourceHandle,D.targetHandle===null&&delete D.targetHandle,E.concat(D))};function ian({sourceX:p,sourceY:E,targetX:P,targetY:N}){const[D,$,v,q]=tan({sourceX:p,sourceY:E,targetX:P,targetY:N});return[`M ${p},${E}L ${P},${N}`,D,$,v,q]}const Kln={[ji.Left]:{x:-1,y:0},[ji.Right]:{x:1,y:0},[ji.Top]:{x:0,y:-1},[ji.Bottom]:{x:0,y:1}},lRn=({source:p,sourcePosition:E=ji.Bottom,target:P})=>E===ji.Left||E===ji.Right?p.x<P.x?{x:1,y:0}:{x:-1,y:0}:p.y<P.y?{x:0,y:1}:{x:0,y:-1},Wln=(p,E)=>Math.sqrt(Math.pow(E.x-p.x,2)+Math.pow(E.y-p.y,2));function hRn({source:p,sourcePosition:E=ji.Bottom,target:P,targetPosition:N=ji.Top,center:D,offset:$,stepPosition:v}){const q=Kln[E],te=Kln[N],ie={x:p.x+q.x*$,y:p.y+q.y*$},pe={x:P.x+te.x*$,y:P.y+te.y*$},oe=lRn({source:ie,sourcePosition:E,target:pe}),z=oe.x!==0?"x":"y",ne=oe[z];let Z=[],U,Ee;const re={x:0,y:0},we={x:0,y:0},[,,ee,xe]=tan({sourceX:p.x,sourceY:p.y,targetX:P.x,targetY:P.y});if(q[z]*te[z]===-1){z==="x"?(U=D.x??ie.x+(pe.x-ie.x)*v,Ee=D.y??(ie.y+pe.y)/2):(U=D.x??(ie.x+pe.x)/2,Ee=D.y??ie.y+(pe.y-ie.y)*v);const vn=[{x:U,y:ie.y},{x:U,y:pe.y}],jn=[{x:ie.x,y:Ee},{x:pe.x,y:Ee}];q[z]===ne?Z=z==="x"?vn:jn:Z=z==="x"?jn:vn}else{const vn=[{x:ie.x,y:pe.y}],jn=[{x:pe.x,y:ie.y}];if(z==="x"?Z=q.x===ne?jn:vn:Z=q.y===ne?vn:jn,E===N){const je=Math.abs(p[z]-P[z]);if(je<=$){const rn=Math.min($-1,$-je);q[z]===ne?re[z]=(ie[z]>p[z]?-1:1)*rn:we[z]=(pe[z]>P[z]?-1:1)*rn}}if(E!==N){const je=z==="x"?"y":"x",rn=q[z]===te[je],sn=ie[je]>pe[je],Sn=ie[je]<pe[je];(q[z]===1&&(!rn&&sn||rn&&Sn)||q[z]!==1&&(!rn&&Sn||rn&&sn))&&(Z=z==="x"?vn:jn)}const et={x:ie.x+re.x,y:ie.y+re.y},Dn={x:pe.x+we.x,y:pe.y+we.y},Kn=Math.max(Math.abs(et.x-Z[0].x),Math.abs(Dn.x-Z[0].x)),_=Math.max(Math.abs(et.y-Z[0].y),Math.abs(Dn.y-Z[0].y));Kn>=_?(U=(et.x+Dn.x)/2,Ee=Z[0].y):(U=Z[0].x,Ee=(et.y+Dn.y)/2)}const Qe={x:ie.x+re.x,y:ie.y+re.y},Xe={x:pe.x+we.x,y:pe.y+we.y};return[[p,...Qe.x!==Z[0].x||Qe.y!==Z[0].y?[Qe]:[],...Z,...Xe.x!==Z[Z.length-1].x||Xe.y!==Z[Z.length-1].y?[Xe]:[],P],U,Ee,ee,xe]}function aRn(p,E,P,N){const D=Math.min(Wln(p,E)/2,Wln(E,P)/2,N),{x:$,y:v}=E;if(p.x===$&&$===P.x||p.y===v&&v===P.y)return`L${$} ${v}`;if(p.y===v){const ie=p.x<P.x?-1:1,pe=p.y<P.y?1:-1;return`L ${$+D*ie},${v}Q ${$},${v} ${$},${v+D*pe}`}const q=p.x<P.x?1:-1,te=p.y<P.y?-1:1;return`L ${$},${v+D*te}Q ${$},${v} ${$+D*q},${v}`}function Ege({sourceX:p,sourceY:E,sourcePosition:P=ji.Bottom,targetX:N,targetY:D,targetPosition:$=ji.Top,borderRadius:v=5,centerX:q,centerY:te,offset:ie=20,stepPosition:pe=.5}){const[oe,z,ne,Z,U]=hRn({source:{x:p,y:E},sourcePosition:P,target:{x:N,y:D},targetPosition:$,center:{x:q,y:te},offset:ie,stepPosition:pe});let Ee=`M${oe[0].x} ${oe[0].y}`;for(let re=1;re<oe.length-1;re++)Ee+=aRn(oe[re-1],oe[re],oe[re+1],v);return Ee+=`L${oe[oe.length-1].x} ${oe[oe.length-1].y}`,[Ee,z,ne,Z,U]}function Vln(p){var E;return p&&!!(p.internals.handleBounds||(E=p.handles)!=null&&E.length)&&!!(p.measured.width||p.width||p.initialWidth)}function dRn(p){var oe;const{sourceNode:E,targetNode:P}=p;if(!Vln(E)||!Vln(P))return null;const N=E.internals.handleBounds||Qln(E.handles),D=P.internals.handleBounds||Qln(P.handles),$=Yln((N==null?void 0:N.source)??[],p.sourceHandle),v=Yln(p.connectionMode===PA.Strict?(D==null?void 0:D.target)??[]:((D==null?void 0:D.target)??[]).concat((D==null?void 0:D.source)??[]),p.targetHandle);if(!$||!v)return(oe=p.onError)==null||oe.call(p,"008",r2.error008($?"target":"source",{id:p.id,sourceHandle:p.sourceHandle,targetHandle:p.targetHandle})),null;const q=($==null?void 0:$.position)||ji.Bottom,te=(v==null?void 0:v.position)||ji.Top,ie=rk(E,$,q),pe=rk(P,v,te);return{sourceX:ie.x,sourceY:ie.y,targetX:pe.x,targetY:pe.y,sourcePosition:q,targetPosition:te}}function Qln(p){if(!p)return null;const E=[],P=[];for(const N of p)N.width=N.width??1,N.height=N.height??1,N.type==="source"?E.push(N):N.type==="target"&&P.push(N);return{source:E,target:P}}function rk(p,E,P=ji.Left,N=!1){const D=((E==null?void 0:E.x)??0)+p.internals.positionAbsolute.x,$=((E==null?void 0:E.y)??0)+p.internals.positionAbsolute.y,{width:v,height:q}=E??c2(p);if(N)return{x:D+v/2,y:$+q/2};switch((E==null?void 0:E.position)??P){case ji.Top:return{x:D+v/2,y:$};case ji.Right:return{x:D+v,y:$+q/2};case ji.Bottom:return{x:D+v/2,y:$+q};case ji.Left:return{x:D,y:$+q/2}}}function Yln(p,E){return p&&(E?p.find(P=>P.id===E):p[0])||null}function Age(p,E){return p?typeof p=="string"?p:`${E?`${E}__`:""}${Object.keys(p).sort().map(N=>`${N}=${p[N]}`).join("&")}`:""}function bRn(p,{id:E,defaultColor:P,defaultMarkerStart:N,defaultMarkerEnd:D}){const $=new Set;return p.reduce((v,q)=>([q.markerStart||N,q.markerEnd||D].forEach(te=>{if(te&&typeof te=="object"){const ie=Age(te,E);$.has(ie)||(v.push({id:ie,color:te.color||P,...te}),$.add(ie))}}),v),[]).sort((v,q)=>v.id.localeCompare(q.id))}function wRn(p,E,P,N,D){let $=.5;D==="start"?$=0:D==="end"&&($=1);let v=[(p.x+p.width*$)*E.zoom+E.x,p.y*E.zoom+E.y-N],q=[-100*$,-100];switch(P){case ji.Right:v=[(p.x+p.width)*E.zoom+E.x+N,(p.y+p.height*$)*E.zoom+E.y],q=[0,-100*$];break;case ji.Bottom:v[1]=(p.y+p.height)*E.zoom+E.y+N,q[1]=0;break;case ji.Left:v=[p.x*E.zoom+E.x-N,(p.y+p.height*$)*E.zoom+E.y],q=[-100,-100*$];break}return`translate(${v[0]}px, ${v[1]}px) translate(${q[0]}%, ${q[1]}%)`}const ran=1e3,gRn=10,Bge={nodeOrigin:[0,0],nodeExtent:hN,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},pRn={...Bge,checkEquality:!0};function Rge(p,E){const P={...p};for(const N in E)E[N]!==void 0&&(P[N]=E[N]);return P}function mRn(p,E,P){const N=Rge(Bge,P);for(const D of p.values())if(D.parentId)Jge(D,p,E,N);else{const $=pN(D,N.nodeOrigin),v=ik(D.extent)?D.extent:N.nodeExtent,q=tk($,v,c2(D));D.internals.positionAbsolute=q}}function vRn(p,E){if(!p.handles)return p.measured?E==null?void 0:E.internals.handleBounds:void 0;const P=[],N=[];for(const D of p.handles){const $={id:D.id,width:D.width??1,height:D.height??1,nodeId:p.id,x:D.x,y:D.y,position:D.position,type:D.type};D.type==="source"?P.push($):D.type==="target"&&N.push($)}return{source:P,target:N}}function _ge(p){return p==="manual"}function Mge(p,E,P,N={}){var pe,oe;const D=Rge(pRn,N),$={i:0},v=new Map(E),q=D!=null&&D.elevateNodesOnSelect&&!_ge(D.zIndexMode)?ran:0;let te=p.length>0,ie=!1;E.clear(),P.clear();for(const z of p){let ne=v.get(z.id);if(D.checkEquality&&z===(ne==null?void 0:ne.internals.userNode))E.set(z.id,ne);else{const Z=pN(z,D.nodeOrigin),U=ik(z.extent)?z.extent:D.nodeExtent,Ee=tk(Z,U,c2(z));ne={...D.defaults,...z,measured:{width:(pe=z.measured)==null?void 0:pe.width,height:(oe=z.measured)==null?void 0:oe.height},internals:{positionAbsolute:Ee,handleBounds:vRn(z,ne),z:can(z,q,D.zIndexMode),userNode:z}},E.set(z.id,ne)}(ne.measured===void 0||ne.measured.width===void 0||ne.measured.height===void 0)&&!ne.hidden&&(te=!1),z.parentId&&Jge(ne,E,P,N,$),ie||(ie=z.selected??!1)}return{nodesInitialized:te,hasSelectedNodes:ie}}function yRn(p,E){if(!p.parentId)return;const P=E.get(p.parentId);P?P.set(p.id,p):E.set(p.parentId,new Map([[p.id,p]]))}function Jge(p,E,P,N,D){const{elevateNodesOnSelect:$,nodeOrigin:v,nodeExtent:q,zIndexMode:te}=Rge(Bge,N),ie=p.parentId,pe=E.get(ie);if(!pe){console.warn(`Parent node ${ie} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}yRn(p,P),D&&!pe.parentId&&pe.internals.rootParentIndex===void 0&&te==="auto"&&(pe.internals.rootParentIndex=++D.i,pe.internals.z=pe.internals.z+D.i*gRn),D&&pe.internals.rootParentIndex!==void 0&&(D.i=pe.internals.rootParentIndex);const oe=$&&!_ge(te)?ran:0,{x:z,y:ne,z:Z}=kRn(p,pe,v,q,oe,te),{positionAbsolute:U}=p.internals,Ee=z!==U.x||ne!==U.y;(Ee||Z!==p.internals.z)&&E.set(p.id,{...p,internals:{...p.internals,positionAbsolute:Ee?{x:z,y:ne}:U,z:Z}})}function can(p,E,P){const N=n2(p.zIndex)?p.zIndex:0;return _ge(P)?N:N+(p.selected?E:0)}function kRn(p,E,P,N,D,$){const{x:v,y:q}=E.internals.positionAbsolute,te=c2(p),ie=pN(p,P),pe=ik(p.extent)?tk(ie,p.extent,te):ie;let oe=tk({x:v+pe.x,y:q+pe.y},N,te);p.extent==="parent"&&(oe=zhn(oe,te,E));const z=can(p,D,$),ne=E.internals.z??0;return{x:oe.x,y:oe.y,z:ne>=z?ne+1:z}}function Gge(p,E,P,N=[0,0]){var v;const D=[],$=new Map;for(const q of p){const te=E.get(q.parentId);if(!te)continue;const ie=((v=$.get(q.parentId))==null?void 0:v.expandedRect)??bN(te),pe=Uhn(ie,q.rect);$.set(q.parentId,{expandedRect:pe,parent:te})}return $.size>0&&$.forEach(({expandedRect:q,parent:te},ie)=>{var ee;const pe=te.internals.positionAbsolute,oe=c2(te),z=te.origin??N,ne=q.x<pe.x?Math.round(Math.abs(pe.x-q.x)):0,Z=q.y<pe.y?Math.round(Math.abs(pe.y-q.y)):0,U=Math.max(oe.width,Math.round(q.width)),Ee=Math.max(oe.height,Math.round(q.height)),re=(U-oe.width)*z[0],we=(Ee-oe.height)*z[1];(ne>0||Z>0||re||we)&&(D.push({id:ie,type:"position",position:{x:te.position.x-ne+re,y:te.position.y-Z+we}}),(ee=P.get(ie))==null||ee.forEach(xe=>{p.some(Qe=>Qe.id===xe.id)||D.push({id:xe.id,type:"position",position:{x:xe.position.x+ne,y:xe.position.y+Z}})})),(oe.width<q.width||oe.height<q.height||ne||Z)&&D.push({id:ie,type:"dimensions",setAttributes:!0,dimensions:{width:U+(ne?z[0]*ne-re:0),height:Ee+(Z?z[1]*Z-we:0)}})}),D}function jRn(p,E,P,N,D,$,v){const q=N==null?void 0:N.querySelector(".xyflow__viewport");let te=!1;if(!q)return{changes:[],updatedInternals:te};const ie=[],pe=window.getComputedStyle(q),{m22:oe}=new window.DOMMatrixReadOnly(pe.transform),z=[];for(const ne of p.values()){const Z=E.get(ne.id);if(!Z)continue;if(Z.hidden){E.set(Z.id,{...Z,internals:{...Z.internals,handleBounds:void 0}}),te=!0;continue}const U=Fge(ne.nodeElement),Ee=Z.measured.width!==U.width||Z.measured.height!==U.height;if(!!(U.width&&U.height&&(Ee||!Z.internals.handleBounds||ne.force))){const we=ne.nodeElement.getBoundingClientRect(),ee=ik(Z.extent)?Z.extent:$;let{positionAbsolute:xe}=Z.internals;if(Z.parentId&&Z.extent==="parent"){const Xe=E.get(Z.parentId);Xe&&(xe=zhn(xe,U,Xe))}else ee&&(xe=tk(xe,ee,U));const Qe={...Z,measured:U,internals:{...Z.internals,positionAbsolute:xe,handleBounds:{source:Uln("source",ne.nodeElement,we,oe,Z.id),target:Uln("target",ne.nodeElement,we,oe,Z.id)}}};E.set(Z.id,Qe),Z.parentId&&Jge(Qe,E,P,{nodeOrigin:D,zIndexMode:v}),te=!0,Ee&&(ie.push({id:Z.id,type:"dimensions",dimensions:U}),Z.expandParent&&Z.parentId&&z.push({id:Z.id,parentId:Z.parentId,rect:bN(Qe,D)}))}}if(z.length>0){const ne=Gge(z,E,P,D);ie.push(...ne)}return{changes:ie,updatedInternals:te}}async function ERn({delta:p,panZoom:E,transform:P,translateExtent:N,width:D,height:$}){if(!E||!p.x&&!p.y)return!1;const v=await E.setViewportConstrained({x:P[0]+p.x,y:P[1]+p.y,zoom:P[2]},[[0,0],[D,$]],N);return!!v&&(v.x!==P[0]||v.y!==P[1]||v.k!==P[2])}function Zln(p,E,P,N,D,$){let v=D;const q=N.get(v)||new Map;N.set(v,q.set(P,E)),v=`${D}-${p}`;const te=N.get(v)||new Map;if(N.set(v,te.set(P,E)),$){v=`${D}-${p}-${$}`;const ie=N.get(v)||new Map;N.set(v,ie.set(P,E))}}function uan(p,E,P){p.clear(),E.clear();for(const N of P){const{source:D,target:$,sourceHandle:v=null,targetHandle:q=null}=N,te={edgeId:N.id,source:D,target:$,sourceHandle:v,targetHandle:q},ie=`${D}-${v}--${$}-${q}`,pe=`${$}-${q}--${D}-${v}`;Zln("source",te,pe,p,D,v),Zln("target",te,ie,p,$,q),E.set(N.id,N)}}function oan(p,E){if(!p.parentId)return!1;const P=E.get(p.parentId);return P?P.selected?!0:oan(P,E):!1}function ehn(p,E,P){var D;let N=p;do{if((D=N==null?void 0:N.matches)!=null&&D.call(N,E))return!0;if(N===P)return!1;N=N==null?void 0:N.parentElement}while(N);return!1}function ARn(p,E,P,N){const D=new Map;for(const[$,v]of p)if((v.selected||v.id===N)&&(!v.parentId||!oan(v,p))&&(v.draggable||E&&typeof v.draggable>"u")){const q=p.get($);q&&D.set($,{id:$,position:q.position||{x:0,y:0},distance:{x:P.x-q.internals.positionAbsolute.x,y:P.y-q.internals.positionAbsolute.y},extent:q.extent,parentId:q.parentId,origin:q.origin,expandParent:q.expandParent,internals:{positionAbsolute:q.internals.positionAbsolute||{x:0,y:0}},measured:{width:q.measured.width??0,height:q.measured.height??0}})}return D}function wge({nodeId:p,dragItems:E,nodeLookup:P,dragging:N=!0}){var v,q,te;const D=[];for(const[ie,pe]of E){const oe=(v=P.get(ie))==null?void 0:v.internals.userNode;oe&&D.push({...oe,position:pe.position,dragging:N})}if(!p)return[D[0],D];const $=(q=P.get(p))==null?void 0:q.internals.userNode;return[$?{...$,position:((te=E.get(p))==null?void 0:te.position)||$.position,dragging:N}:D[0],D]}function MRn({dragItems:p,snapGrid:E,x:P,y:N}){const D=p.values().next().value;if(!D)return null;const $={x:P-D.distance.x,y:N-D.distance.y},v=mN($,E);return{x:v.x-$.x,y:v.y-$.y}}function xRn({onNodeMouseDown:p,getStoreItems:E,onDragStart:P,onDrag:N,onDragStop:D}){let $={x:null,y:null},v=0,q=new Map,te=!1,ie={x:0,y:0},pe=null,oe=!1,z=null,ne=!1,Z=!1,U=null;function Ee({noDragClassName:we,handleSelector:ee,domNode:xe,isSelectable:Qe,nodeId:Xe,nodeClickDistance:Ze=0}){z=B0(xe);function vn({x:Kn,y:_}){const{nodeLookup:je,nodeExtent:rn,snapGrid:sn,snapToGrid:Sn,nodeOrigin:Bn,onNodeDrag:dn,onSelectionDrag:Jn,onError:Nn,updateNodePositions:qn}=E();$={x:Kn,y:_};let Jt=!1;const Xt=q.size>1,Oi=Xt&&rn?jge(LA(q)):null,gr=Xt&&Sn?MRn({dragItems:q,snapGrid:sn,x:Kn,y:_}):null;for(const[Ki,Wn]of q){if(!je.has(Ki))continue;let ei={x:Kn-Wn.distance.x,y:_-Wn.distance.y};Sn&&(ei=gr?{x:Math.round(ei.x+gr.x),y:Math.round(ei.y+gr.y)}:mN(ei,sn));let rr=null;if(Xt&&rn&&!Wn.extent&&Oi){const{positionAbsolute:sr}=Wn.internals,ri=sr.x-Oi.x+rn[0][0],ai=sr.x+Wn.measured.width-Oi.x2+rn[1][0],Mc=sr.y-Oi.y+rn[0][1],ku=sr.y+Wn.measured.height-Oi.y2+rn[1][1];rr=[[ri,Mc],[ai,ku]]}const{position:cr,positionAbsolute:_i}=qhn({nodeId:Ki,nextPosition:ei,nodeLookup:je,nodeExtent:rr||rn,nodeOrigin:Bn,onError:Nn});Jt=Jt||Wn.position.x!==cr.x||Wn.position.y!==cr.y,Wn.position=cr,Wn.internals.positionAbsolute=_i}if(Z=Z||Jt,!!Jt&&(qn(q,!0),U&&(N||dn||!Xe&&Jn))){const[Ki,Wn]=wge({nodeId:Xe,dragItems:q,nodeLookup:je});N==null||N(U,q,Ki,Wn),dn==null||dn(U,Ki,Wn),Xe||Jn==null||Jn(U,Wn)}}async function jn(){if(!pe)return;const{transform:Kn,panBy:_,autoPanSpeed:je,autoPanOnNodeDrag:rn}=E();if(!rn){te=!1,cancelAnimationFrame(v);return}const[sn,Sn]=Lge(ie,pe,je);(sn!==0||Sn!==0)&&($.x=($.x??0)-sn/Kn[2],$.y=($.y??0)-Sn/Kn[2],await _({x:sn,y:Sn})&&vn($)),v=requestAnimationFrame(jn)}function et(Kn){var Xt;const{nodeLookup:_,multiSelectionActive:je,nodesDraggable:rn,transform:sn,snapGrid:Sn,snapToGrid:Bn,selectNodesOnDrag:dn,onNodeDragStart:Jn,onSelectionDragStart:Nn,unselectNodesAndEdges:qn}=E();oe=!0,(!dn||!Qe)&&!je&&Xe&&((Xt=_.get(Xe))!=null&&Xt.selected||qn()),Qe&&dn&&Xe&&(p==null||p(Xe));const Jt=sN(Kn.sourceEvent,{transform:sn,snapGrid:Sn,snapToGrid:Bn,containerBounds:pe});if($=Jt,q=ARn(_,rn,Jt,Xe),q.size>0&&(P||Jn||!Xe&&Nn)){const[Oi,gr]=wge({nodeId:Xe,dragItems:q,nodeLookup:_});P==null||P(Kn.sourceEvent,q,Oi,gr),Jn==null||Jn(Kn.sourceEvent,Oi,gr),Xe||Nn==null||Nn(Kn.sourceEvent,gr)}}const Dn=Bhn().clickDistance(Ze).on("start",Kn=>{const{domNode:_,nodeDragThreshold:je,transform:rn,snapGrid:sn,snapToGrid:Sn}=E();pe=(_==null?void 0:_.getBoundingClientRect())||null,ne=!1,Z=!1,U=Kn.sourceEvent,je===0&&et(Kn),$=sN(Kn.sourceEvent,{transform:rn,snapGrid:sn,snapToGrid:Sn,containerBounds:pe}),ie=t2(Kn.sourceEvent,pe)}).on("drag",Kn=>{const{autoPanOnNodeDrag:_,transform:je,snapGrid:rn,snapToGrid:sn,nodeDragThreshold:Sn,nodeLookup:Bn}=E(),dn=sN(Kn.sourceEvent,{transform:je,snapGrid:rn,snapToGrid:sn,containerBounds:pe});if(U=Kn.sourceEvent,(Kn.sourceEvent.type==="touchmove"&&Kn.sourceEvent.touches.length>1||Xe&&!Bn.has(Xe))&&(ne=!0),!ne){if(!te&&_&&oe&&(te=!0,jn()),!oe){const Jn=t2(Kn.sourceEvent,pe),Nn=Jn.x-ie.x,qn=Jn.y-ie.y;Math.sqrt(Nn*Nn+qn*qn)>Sn&&et(Kn)}($.x!==dn.xSnapped||$.y!==dn.ySnapped)&&q&&oe&&(ie=t2(Kn.sourceEvent,pe),vn(dn))}}).on("end",Kn=>{if(!oe||ne){ne&&q.size>0&&E().updateNodePositions(q,!1);return}if(te=!1,oe=!1,cancelAnimationFrame(v),q.size>0){const{nodeLookup:_,updateNodePositions:je,onNodeDragStop:rn,onSelectionDragStop:sn}=E();if(Z&&(je(q,!1),Z=!1),D||rn||!Xe&&sn){const[Sn,Bn]=wge({nodeId:Xe,dragItems:q,nodeLookup:_,dragging:!1});D==null||D(Kn.sourceEvent,q,Sn,Bn),rn==null||rn(Kn.sourceEvent,Sn,Bn),Xe||sn==null||sn(Kn.sourceEvent,Bn)}}}).filter(Kn=>{const _=Kn.target;return!Kn.button&&(!we||!ehn(_,`.${we}`,xe))&&(!ee||ehn(_,ee,xe))});z.call(Dn)}function re(){z==null||z.on(".drag",null)}return{update:Ee,destroy:re}}function CRn(p,E,P){const N=[],D={x:p.x-P,y:p.y-P,width:P*2,height:P*2};for(const $ of E.values())BX(D,bN($))>0&&N.push($);return N}const TRn=250;function SRn(p,E,P,N){var q,te;let D=[],$=1/0;const v=CRn(p,P,E+TRn);for(const ie of v){const pe=[...((q=ie.internals.handleBounds)==null?void 0:q.source)??[],...((te=ie.internals.handleBounds)==null?void 0:te.target)??[]];for(const oe of pe){if(N.nodeId===oe.nodeId&&N.type===oe.type&&N.id===oe.id)continue;const{x:z,y:ne}=rk(ie,oe,oe.position,!0),Z=Math.sqrt(Math.pow(z-p.x,2)+Math.pow(ne-p.y,2));Z>E||(Z<$?(D=[{...oe,x:z,y:ne}],$=Z):Z===$&&D.push({...oe,x:z,y:ne}))}}if(!D.length)return null;if(D.length>1){const ie=N.type==="source"?"target":"source";return D.find(pe=>pe.type===ie)??D[0]}return D[0]}function san(p,E,P,N,D,$=!1){var ie,pe,oe;const v=N.get(p);if(!v)return null;const q=D==="strict"?(ie=v.internals.handleBounds)==null?void 0:ie[E]:[...((pe=v.internals.handleBounds)==null?void 0:pe.source)??[],...((oe=v.internals.handleBounds)==null?void 0:oe.target)??[]],te=(P?q==null?void 0:q.find(z=>z.id===P):q==null?void 0:q[0])??null;return te&&$?{...te,...rk(v,te,te.position,!0)}:te}function fan(p,E){return p||(E!=null&&E.classList.contains("target")?"target":E!=null&&E.classList.contains("source")?"source":null)}function IRn(p,E){let P=null;return E?P=!0:p&&!E&&(P=!1),P}const lan=()=>!0;function PRn(p,{connectionMode:E,connectionRadius:P,handleId:N,nodeId:D,edgeUpdaterType:$,isTarget:v,domNode:q,nodeLookup:te,lib:ie,autoPanOnConnect:pe,flowId:oe,panBy:z,cancelConnection:ne,onConnectStart:Z,onConnect:U,onConnectEnd:Ee,isValidConnection:re=lan,onReconnectEnd:we,updateConnection:ee,getTransform:xe,getFromHandle:Qe,autoPanSpeed:Xe,dragThreshold:Ze=1,handleDomNode:vn}){const jn=Yhn(p.target);let et=0,Dn;const{x:Kn,y:_}=t2(p),je=fan($,vn),rn=q==null?void 0:q.getBoundingClientRect();let sn=!1;if(!rn||!je)return;const Sn=san(D,je,N,te,E);if(!Sn)return;let Bn=t2(p,rn),dn=!1,Jn=null,Nn=!1,qn=null;function Jt(){if(!pe||!rn)return;const[cr,_i]=Lge(Bn,rn,Xe);z({x:cr,y:_i}),et=requestAnimationFrame(Jt)}const Xt={...Sn,nodeId:D,type:je,position:Sn.position},Oi=te.get(D);let Ki={inProgress:!0,isValid:null,from:rk(Oi,Xt,ji.Left,!0),fromHandle:Xt,fromPosition:Xt.position,fromNode:Oi,to:Bn,toHandle:null,toPosition:Gln[Xt.position],toNode:null,pointer:Bn};function Wn(){sn=!0,ee(Ki),Z==null||Z(p,{nodeId:D,handleId:N,handleType:je})}Ze===0&&Wn();function ei(cr){if(!sn){const{x:ku,y:ic}=t2(cr),Sa=ku-Kn,ph=ic-_;if(!(Sa*Sa+ph*ph>Ze*Ze))return;Wn()}if(!Qe()||!Xt){rr(cr);return}const _i=xe();Bn=t2(cr,rn),Dn=SRn(vN(Bn,_i,!1,[1,1]),P,te,Xt),dn||(Jt(),dn=!0);const sr=han(cr,{handle:Dn,connectionMode:E,fromNodeId:D,fromHandleId:N,fromType:v?"target":"source",isValidConnection:re,doc:jn,lib:ie,flowId:oe,nodeLookup:te});qn=sr.handleDomNode,Jn=sr.connection,Nn=IRn(!!Dn,sr.isValid);const ri=te.get(D),ai=ri?rk(ri,Xt,ji.Left,!0):Ki.from,Mc={...Ki,from:ai,isValid:Nn,to:sr.toHandle&&Nn?NA({x:sr.toHandle.x,y:sr.toHandle.y},_i):Bn,toHandle:sr.toHandle,toPosition:Nn&&sr.toHandle?sr.toHandle.position:Gln[Xt.position],toNode:sr.toHandle?te.get(sr.toHandle.nodeId):null,pointer:Bn};ee(Mc),Ki=Mc}function rr(cr){if(!("touches"in cr&&cr.touches.length>0)){if(sn){(Dn||qn)&&Jn&&Nn&&(U==null||U(Jn));const{inProgress:_i,...sr}=Ki,ri={...sr,toPosition:Ki.toHandle?Ki.toPosition:null};Ee==null||Ee(cr,ri),$&&(we==null||we(cr,ri))}ne(),cancelAnimationFrame(et),dn=!1,Nn=!1,Jn=null,qn=null,jn.removeEventListener("mousemove",ei),jn.removeEventListener("mouseup",rr),jn.removeEventListener("touchmove",ei),jn.removeEventListener("touchend",rr)}}jn.addEventListener("mousemove",ei),jn.addEventListener("mouseup",rr),jn.addEventListener("touchmove",ei),jn.addEventListener("touchend",rr)}function han(p,{handle:E,connectionMode:P,fromNodeId:N,fromHandleId:D,fromType:$,doc:v,lib:q,flowId:te,isValidConnection:ie=lan,nodeLookup:pe}){const oe=$==="target",z=E?v.querySelector(`.${q}-flow__handle[data-id="${te}-${E==null?void 0:E.nodeId}-${E==null?void 0:E.id}-${E==null?void 0:E.type}"]`):null,{x:ne,y:Z}=t2(p),U=v.elementFromPoint(ne,Z),Ee=U!=null&&U.classList.contains(`${q}-flow__handle`)?U:z,re={handleDomNode:Ee,isValid:!1,connection:null,toHandle:null};if(Ee){const we=fan(void 0,Ee),ee=Ee.getAttribute("data-nodeid"),xe=Ee.getAttribute("data-handleid"),Qe=Ee.classList.contains("connectable"),Xe=Ee.classList.contains("connectableend");if(!ee||!we)return re;const Ze={source:oe?ee:N,sourceHandle:oe?xe:D,target:oe?N:ee,targetHandle:oe?D:xe};re.connection=Ze;const jn=Qe&&Xe&&(P===PA.Strict?oe&&we==="source"||!oe&&we==="target":ee!==N||xe!==D);re.isValid=jn&&ie(Ze),re.toHandle=san(ee,we,xe,pe,P,!0)}return re}const xge={onPointerDown:PRn,isValid:han};function ORn({domNode:p,panZoom:E,getTransform:P,getViewScale:N}){const D=B0(p);function $({translateExtent:q,width:te,height:ie,zoomStep:pe=1,pannable:oe=!0,zoomable:z=!0,inversePan:ne=!1}){const Z=ee=>{if(ee.sourceEvent.type!=="wheel"||!E)return;const xe=P(),Qe=ee.sourceEvent.ctrlKey&&wN()?10:1,Xe=-ee.sourceEvent.deltaY*(ee.sourceEvent.deltaMode===1?.05:ee.sourceEvent.deltaMode?1:.002)*pe,Ze=xe[2]*Math.pow(2,Xe*Qe);E.scaleTo(Ze)};let U=[0,0];const Ee=ee=>{(ee.sourceEvent.type==="mousedown"||ee.sourceEvent.type==="touchstart")&&(U=[ee.sourceEvent.clientX??ee.sourceEvent.touches[0].clientX,ee.sourceEvent.clientY??ee.sourceEvent.touches[0].clientY])},re=ee=>{const xe=P();if(ee.sourceEvent.type!=="mousemove"&&ee.sourceEvent.type!=="touchmove"||!E)return;const Qe=[ee.sourceEvent.clientX??ee.sourceEvent.touches[0].clientX,ee.sourceEvent.clientY??ee.sourceEvent.touches[0].clientY],Xe=[Qe[0]-U[0],Qe[1]-U[1]];U=Qe;const Ze=N()*Math.max(xe[2],Math.log(xe[2]))*(ne?-1:1),vn={x:xe[0]-Xe[0]*Ze,y:xe[1]-Xe[1]*Ze},jn=[[0,0],[te,ie]];E.setViewportConstrained({x:vn.x,y:vn.y,zoom:xe[2]},jn,q)},we=Rhn().on("start",Ee).on("zoom",oe?re:null).on("zoom.wheel",z?Z:null);D.call(we,{})}function v(){D.on("zoom",null)}return{update:$,destroy:v,pointer:e2}}const HX=p=>({x:p.x,y:p.y,zoom:p.k}),gge=({x:p,y:E,zoom:P})=>Oge.translate(p,E).scale(P),q5=(p,E)=>p.target.closest(`.${E}`),aan=(p,E)=>E===2&&Array.isArray(p)&&p.includes(2),NRn=p=>((p*=2)<=1?p*p*p:(p-=2)*p*p+2)/2,pge=(p,E=0,P=NRn,N=()=>{})=>{const D=typeof E=="number"&&E>0;return D||N(),D?p.transition().duration(E).ease(P).on("end",N):p},dan=p=>{const E=p.ctrlKey&&wN()?10:1;return-p.deltaY*(p.deltaMode===1?.05:p.deltaMode?1:.002)*E};function DRn({zoomPanValues:p,noWheelClassName:E,d3Selection:P,d3Zoom:N,panOnScrollMode:D,panOnScrollSpeed:$,zoomOnPinch:v,onPanZoomStart:q,onPanZoom:te,onPanZoomEnd:ie}){return pe=>{if(q5(pe,E))return pe.ctrlKey&&pe.preventDefault(),!1;pe.preventDefault(),pe.stopImmediatePropagation();const oe=P.property("__zoom").k||1;if(pe.ctrlKey&&v){const Ee=e2(pe),re=dan(pe),we=oe*Math.pow(2,re);N.scaleTo(P,we,Ee,pe);return}const z=pe.deltaMode===1?20:1;let ne=D===nk.Vertical?0:pe.deltaX*z,Z=D===nk.Horizontal?0:pe.deltaY*z;!wN()&&pe.shiftKey&&D!==nk.Vertical&&(ne=pe.deltaY*z,Z=0),N.translateBy(P,-(ne/oe)*$,-(Z/oe)*$,{internal:!0});const U=HX(P.property("__zoom"));clearTimeout(p.panScrollTimeout),p.isPanScrolling?te==null||te(pe,U):(p.isPanScrolling=!0,q==null||q(pe,U)),p.panScrollTimeout=setTimeout(()=>{ie==null||ie(pe,U),p.isPanScrolling=!1},150)}}function LRn({noWheelClassName:p,preventScrolling:E,d3ZoomHandler:P}){return function(N,D){const $=N.type==="wheel",v=!E&&$&&!N.ctrlKey,q=q5(N,p);if(N.ctrlKey&&$&&q&&N.preventDefault(),v||q)return null;N.preventDefault(),P.call(this,N,D)}}function $Rn({zoomPanValues:p,onDraggingChange:E,onPanZoomStart:P}){return N=>{var $,v,q;if(($=N.sourceEvent)!=null&&$.internal)return;const D=HX(N.transform);p.mouseButton=((v=N.sourceEvent)==null?void 0:v.button)||0,p.isZoomingOrPanning=!0,p.prevViewport=D,((q=N.sourceEvent)==null?void 0:q.type)==="mousedown"&&E(!0),P&&(P==null||P(N.sourceEvent,D))}}function FRn({zoomPanValues:p,panOnDrag:E,onPaneContextMenu:P,onTransformChange:N,onPanZoom:D}){return $=>{var v,q;p.usedRightMouseButton=!!(P&&aan(E,p.mouseButton??0)),(v=$.sourceEvent)!=null&&v.sync||N([$.transform.x,$.transform.y,$.transform.k]),D&&!((q=$.sourceEvent)!=null&&q.internal)&&(D==null||D($.sourceEvent,HX($.transform)))}}function BRn({zoomPanValues:p,panOnDrag:E,panOnScroll:P,onDraggingChange:N,onPanZoomEnd:D,onPaneContextMenu:$}){return v=>{var q;if(!((q=v.sourceEvent)!=null&&q.internal)&&(p.isZoomingOrPanning=!1,$&&aan(E,p.mouseButton??0)&&!p.usedRightMouseButton&&v.sourceEvent&&$(v.sourceEvent),p.usedRightMouseButton=!1,N(!1),D)){const te=HX(v.transform);p.prevViewport=te,clearTimeout(p.timerId),p.timerId=setTimeout(()=>{D==null||D(v.sourceEvent,te)},P?150:0)}}}function RRn({panActivationKeyPressed:p,zoomActivationKeyPressed:E,zoomOnScroll:P,zoomOnPinch:N,panOnDrag:D,panOnScroll:$,zoomOnDoubleClick:v,userSelectionActive:q,noWheelClassName:te,noPanClassName:ie,lib:pe,connectionInProgress:oe}){return z=>{var re;const ne=E||P,Z=N&&z.ctrlKey,U=z.type==="wheel";if(z.button===1&&z.type==="mousedown"&&(q5(z,`${pe}-flow__node`)||q5(z,`${pe}-flow__edge`)||q5(z,`${pe}-flow__selection`)||q5(z,`${pe}-flow__nodesselection`)))return!0;if(!D&&!ne&&!$&&!v&&!N||q||oe&&!U||q5(z,te)&&U||q5(z,ie)&&(!U||$&&U&&!E)||!N&&z.ctrlKey&&U)return!1;if(!N&&z.type==="touchstart"&&((re=z.touches)==null?void 0:re.length)>1)return z.preventDefault(),!1;if(!ne&&!$&&!Z&&U||!D&&(z.type==="mousedown"||z.type==="touchstart")||Array.isArray(D)&&!D.includes(z.button)&&z.type==="mousedown")return!1;const Ee=Array.isArray(D)&&D.includes(z.button)||!z.button||z.button<=1;return(!z.ctrlKey||U||p)&&Ee}}function _Rn({domNode:p,minZoom:E,maxZoom:P,translateExtent:N,viewport:D,onPanZoom:$,onPanZoomStart:v,onPanZoomEnd:q,onDraggingChange:te}){const ie={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},pe=p.getBoundingClientRect();let oe=[[0,0],[pe.width,pe.height]];const z=typeof ResizeObserver<"u"?new ResizeObserver(_=>{const je=_[0];je&&(oe=[[0,0],[je.contentRect.width,je.contentRect.height]])}):null;z==null||z.observe(p);const ne=Rhn().extent(()=>oe).scaleExtent([E,P]).translateExtent(N),Z=B0(p).call(ne);xe({x:D.x,y:D.y,zoom:OA(D.zoom,E,P)},[[0,0],[pe.width,pe.height]],N);const U=Z.on("wheel.zoom"),Ee=Z.on("dblclick.zoom");ne.wheelDelta(dan);async function re(_,je){return Z?new Promise(rn=>{ne==null||ne.interpolate((je==null?void 0:je.interpolate)==="linear"?hge:NX).transform(pge(Z,je==null?void 0:je.duration,je==null?void 0:je.ease,()=>rn(!0)),_)}):!1}function we({noWheelClassName:_,noPanClassName:je,onPaneContextMenu:rn,userSelectionActive:sn,panOnScroll:Sn,panOnDrag:Bn,panOnScrollMode:dn,panOnScrollSpeed:Jn,preventScrolling:Nn,zoomOnPinch:qn,zoomOnScroll:Jt,zoomOnDoubleClick:Xt,panActivationKeyPressed:Oi=!1,zoomActivationKeyPressed:gr,lib:Ki,onTransformChange:Wn,connectionInProgress:ei,paneClickDistance:rr,selectionOnDrag:cr}){sn&&!ie.isZoomingOrPanning&&ee();const _i=Sn&&!gr&&!sn;ne.clickDistance(cr?1/0:!n2(rr)||rr<0?0:rr);const sr=_i?DRn({zoomPanValues:ie,noWheelClassName:_,d3Selection:Z,d3Zoom:ne,panOnScrollMode:dn,panOnScrollSpeed:Jn,zoomOnPinch:qn,onPanZoomStart:v,onPanZoom:$,onPanZoomEnd:q}):LRn({noWheelClassName:_,preventScrolling:Nn,d3ZoomHandler:U});Z.on("wheel.zoom",sr,{passive:!1});const ri=$Rn({zoomPanValues:ie,onDraggingChange:te,onPanZoomStart:v});ne.on("start",ri);const ai=FRn({zoomPanValues:ie,panOnDrag:Bn,onPaneContextMenu:!!rn,onPanZoom:$,onTransformChange:Wn});ne.on("zoom",ai);const Mc=BRn({zoomPanValues:ie,panOnDrag:Bn,panOnScroll:Sn,onPaneContextMenu:rn,onPanZoomEnd:q,onDraggingChange:te});ne.on("end",Mc);const ku=RRn({panActivationKeyPressed:Oi,zoomActivationKeyPressed:gr,panOnDrag:Bn,zoomOnScroll:Jt,panOnScroll:Sn,zoomOnDoubleClick:Xt,zoomOnPinch:qn,userSelectionActive:sn,noPanClassName:je,noWheelClassName:_,lib:Ki,connectionInProgress:ei});ne.filter(ku),Xt?Z.on("dblclick.zoom",Ee):Z.on("dblclick.zoom",null)}function ee(){ne.on("zoom",null)}async function xe(_,je,rn){const sn=gge(_),Sn=ne==null?void 0:ne.constrain()(sn,je,rn);return Sn&&await re(Sn),Sn}async function Qe(_,je){const rn=gge(_);return await re(rn,je),rn}function Xe(_){if(Z){const je=gge(_),rn=Z.property("__zoom");(rn.k!==_.zoom||rn.x!==_.x||rn.y!==_.y)&&(ne==null||ne.transform(Z,je,null,{sync:!0}))}}function Ze(){const _=Z?kBn(Z.node()):{x:0,y:0,k:1};return{x:_.x,y:_.y,zoom:_.k}}async function vn(_,je){return Z?new Promise(rn=>{ne==null||ne.interpolate((je==null?void 0:je.interpolate)==="linear"?hge:NX).scaleTo(pge(Z,je==null?void 0:je.duration,je==null?void 0:je.ease,()=>rn(!0)),_)}):!1}async function jn(_,je){return Z?new Promise(rn=>{ne==null||ne.interpolate((je==null?void 0:je.interpolate)==="linear"?hge:NX).scaleBy(pge(Z,je==null?void 0:je.duration,je==null?void 0:je.ease,()=>rn(!0)),_)}):!1}function et(_){ne==null||ne.scaleExtent(_)}function Dn(_){ne==null||ne.translateExtent(_)}function Kn(_){const je=!n2(_)||_<0?0:_;ne==null||ne.clickDistance(je)}return{update:we,destroy:ee,setViewport:Qe,setViewportConstrained:xe,getViewport:Ze,scaleTo:vn,scaleBy:jn,setScaleExtent:et,setTranslateExtent:Dn,syncViewport:Xe,setClickDistance:Kn}}var DA;(function(p){p.Line="line",p.Handle="handle"})(DA||(DA={}));function JRn({width:p,prevWidth:E,height:P,prevHeight:N,affectsX:D,affectsY:$}){const v=p-E,q=P-N,te=[v>0?1:v<0?-1:0,q>0?1:q<0?-1:0];return v&&D&&(te[0]=te[0]*-1),q&&$&&(te[1]=te[1]*-1),te}function nhn(p){const E=p.includes("right")||p.includes("left"),P=p.includes("bottom")||p.includes("top"),N=p.includes("left"),D=p.includes("top");return{isHorizontal:E,isVertical:P,affectsX:N,affectsY:D}}function G5(p,E){return Math.max(0,E-p)}function H5(p,E){return Math.max(0,p-E)}function SX(p,E,P){return Math.max(0,E-p,p-P)}function thn(p,E){return p?!E:E}function GRn(p,E,P,N,D,$,v,q){let{affectsX:te,affectsY:ie}=E;const{isHorizontal:pe,isVertical:oe}=E,z=pe&&oe,{xSnapped:ne,ySnapped:Z}=P,{minWidth:U,maxWidth:Ee,minHeight:re,maxHeight:we}=N,{x:ee,y:xe,width:Qe,height:Xe,aspectRatio:Ze}=p;let vn=Math.floor(pe?ne-p.pointerX:0),jn=Math.floor(oe?Z-p.pointerY:0);const et=Qe+(te?-vn:vn),Dn=Xe+(ie?-jn:jn),Kn=-$[0]*Qe,_=-$[1]*Xe;let je=SX(et,U,Ee),rn=SX(Dn,re,we);if(v){let Bn=0,dn=0;te&&vn<0?Bn=G5(ee+vn+Kn,v[0][0]):!te&&vn>0&&(Bn=H5(ee+et+Kn,v[1][0])),ie&&jn<0?dn=G5(xe+jn+_,v[0][1]):!ie&&jn>0&&(dn=H5(xe+Dn+_,v[1][1])),je=Math.max(je,Bn),rn=Math.max(rn,dn)}if(q){let Bn=0,dn=0;te&&vn>0?Bn=H5(ee+vn,q[0][0]):!te&&vn<0&&(Bn=G5(ee+et,q[1][0])),ie&&jn>0?dn=H5(xe+jn,q[0][1]):!ie&&jn<0&&(dn=G5(xe+Dn,q[1][1])),je=Math.max(je,Bn),rn=Math.max(rn,dn)}if(D){if(pe){const Bn=SX(et/Ze,re,we)*Ze;if(je=Math.max(je,Bn),v){let dn=0;!te&&!ie||te&&!ie&&z?dn=H5(xe+_+et/Ze,v[1][1])*Ze:dn=G5(xe+_+(te?vn:-vn)/Ze,v[0][1])*Ze,je=Math.max(je,dn)}if(q){let dn=0;!te&&!ie||te&&!ie&&z?dn=G5(xe+et/Ze,q[1][1])*Ze:dn=H5(xe+(te?vn:-vn)/Ze,q[0][1])*Ze,je=Math.max(je,dn)}}if(oe){const Bn=SX(Dn*Ze,U,Ee)/Ze;if(rn=Math.max(rn,Bn),v){let dn=0;!te&&!ie||ie&&!te&&z?dn=H5(ee+Dn*Ze+Kn,v[1][0])/Ze:dn=G5(ee+(ie?jn:-jn)*Ze+Kn,v[0][0])/Ze,rn=Math.max(rn,dn)}if(q){let dn=0;!te&&!ie||ie&&!te&&z?dn=G5(ee+Dn*Ze,q[1][0])/Ze:dn=H5(ee+(ie?jn:-jn)*Ze,q[0][0])/Ze,rn=Math.max(rn,dn)}}}jn=jn+(jn<0?rn:-rn),vn=vn+(vn<0?je:-je),D&&(z?et>Dn*Ze?jn=(thn(te,ie)?-vn:vn)/Ze:vn=(thn(te,ie)?-jn:jn)*Ze:pe?(jn=vn/Ze,ie=te):(vn=jn*Ze,te=ie));const sn=te?ee+vn:ee,Sn=ie?xe+jn:xe;return{width:Qe+(te?-vn:vn),height:Xe+(ie?-jn:jn),x:$[0]*vn*(te?-1:1)+sn,y:$[1]*jn*(ie?-1:1)+Sn}}const ban={width:0,height:0,x:0,y:0},HRn={...ban,pointerX:0,pointerY:0,aspectRatio:1};function qRn(p,E,P){const N=E.position.x+p.position.x,D=E.position.y+p.position.y,$=p.measured.width??0,v=p.measured.height??0,q=P[0]*$,te=P[1]*v;return[[N-q,D-te],[N+$-q,D+v-te]]}function zRn({domNode:p,nodeId:E,getStoreItems:P,onChange:N,onEnd:D}){const $=B0(p);let v={controlDirection:nhn("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function q({controlPosition:ie,boundaries:pe,keepAspectRatio:oe,resizeDirection:z,onResizeStart:ne,onResize:Z,onResizeEnd:U,shouldResize:Ee}){let re={...ban},we={...HRn};v={boundaries:pe,resizeDirection:z,keepAspectRatio:oe,controlDirection:nhn(ie)};let ee,xe=null,Qe=[],Xe,Ze,vn;const jn=Bhn().on("start",et=>{const{nodeLookup:Dn,transform:Kn,snapGrid:_,snapToGrid:je,nodeOrigin:rn,paneDomNode:sn}=P();if(ee=Dn.get(E),!ee)return;xe=(sn==null?void 0:sn.getBoundingClientRect())??null;const{xSnapped:Sn,ySnapped:Bn}=sN(et.sourceEvent,{transform:Kn,snapGrid:_,snapToGrid:je,containerBounds:xe});re={width:ee.measured.width??0,height:ee.measured.height??0,x:ee.position.x??0,y:ee.position.y??0},we={...re,pointerX:Sn,pointerY:Bn,aspectRatio:re.width/re.height},Xe=void 0,Ze=ik(ee.extent)?ee.extent:void 0,ee.parentId&&(ee.extent==="parent"||ee.expandParent)&&(Xe=Dn.get(ee.parentId)),Xe&&ee.extent==="parent"&&(Ze=[[0,0],[Xe.measured.width,Xe.measured.height]]),Qe=[],vn=void 0;for(const[dn,Jn]of Dn)if(Jn.parentId===E&&(Qe.push({id:dn,position:{...Jn.position},extent:Jn.extent}),Jn.extent==="parent"||Jn.expandParent)){const Nn=qRn(Jn,ee,Jn.origin??rn);vn?vn=[[Math.min(Nn[0][0],vn[0][0]),Math.min(Nn[0][1],vn[0][1])],[Math.max(Nn[1][0],vn[1][0]),Math.max(Nn[1][1],vn[1][1])]]:vn=Nn}ne==null||ne(et,{...re})}).on("drag",et=>{const{transform:Dn,snapGrid:Kn,snapToGrid:_,nodeOrigin:je}=P(),rn=sN(et.sourceEvent,{transform:Dn,snapGrid:Kn,snapToGrid:_,containerBounds:xe}),sn=[];if(!ee)return;const{x:Sn,y:Bn,width:dn,height:Jn}=re,Nn={},qn=ee.origin??je,{width:Jt,height:Xt,x:Oi,y:gr}=GRn(we,v.controlDirection,rn,v.boundaries,v.keepAspectRatio,qn,Ze,vn),Ki=Jt!==dn,Wn=Xt!==Jn,ei=Oi!==Sn&&Ki,rr=gr!==Bn&&Wn;if(!ei&&!rr&&!Ki&&!Wn)return;const cr={prevValues:{...re},startX:we.x,startY:we.y,childNodes:Qe.map(ai=>({...ai,position:{...ai.position}}))};if((ei||rr||qn[0]===1||qn[1]===1)&&(Nn.x=ei?Oi:re.x,Nn.y=rr?gr:re.y,re.x=Nn.x,re.y=Nn.y,Qe.length>0)){const ai=Oi-Sn,Mc=gr-Bn;for(const ku of Qe)ku.position={x:ku.position.x-ai+qn[0]*(Jt-dn),y:ku.position.y-Mc+qn[1]*(Xt-Jn)},sn.push(ku)}if((Ki||Wn)&&(Nn.width=Ki&&(!v.resizeDirection||v.resizeDirection==="horizontal")?Jt:re.width,Nn.height=Wn&&(!v.resizeDirection||v.resizeDirection==="vertical")?Xt:re.height,re.width=Nn.width,re.height=Nn.height),Xe&&ee.expandParent){const ai=qn[0]*(Nn.width??0);Nn.x&&Nn.x<ai&&(re.x=ai,we.x=we.x-(Nn.x-ai));const Mc=qn[1]*(Nn.height??0);Nn.y&&Nn.y<Mc&&(re.y=Mc,we.y=we.y-(Nn.y-Mc))}const _i=JRn({width:re.width,prevWidth:dn,height:re.height,prevHeight:Jn,affectsX:v.controlDirection.affectsX,affectsY:v.controlDirection.affectsY}),sr={...re,direction:_i};if((Ee==null?void 0:Ee(et,sr))===!1){re=cr.prevValues,we.x=cr.startX,we.y=cr.startY,Qe.forEach((ai,Mc)=>{ai.position=cr.childNodes[Mc].position});return}Z==null||Z(et,sr),N(Nn,sn)}).on("end",et=>{U==null||U(et,{...re}),D==null||D({...re})});$.call(jn)}function te(){$.on(".drag",null)}return{update:q,destroy:te}}const URn={},ihn=p=>{let E;const P=new Set,N=(pe,oe)=>{const z=typeof pe=="function"?pe(E):pe;if(!Object.is(z,E)){const ne=E;E=oe??(typeof z!="object"||z===null)?z:Object.assign({},E,z),P.forEach(Z=>Z(E,ne))}},D=()=>E,te={setState:N,getState:D,getInitialState:()=>ie,subscribe:pe=>(P.add(pe),()=>P.delete(pe)),destroy:()=>{(URn?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),P.clear()}},ie=E=p(N,D,te);return te},XRn=p=>p?ihn(p):ihn,{useDebugValue:KRn}=qFn,{useSyncExternalStoreWithSelector:WRn}=HFn,VRn=p=>p;function wan(p,E=VRn,P){const N=WRn(p.subscribe,p.getState,p.getServerState||p.getInitialState,E,P);return KRn(N),N}const rhn=(p,E)=>{const P=XRn(p),N=(D,$=E)=>wan(P,D,$);return Object.assign(N,P),N},QRn=(p,E)=>p?rhn(p,E):rhn;function xs(p,E){if(Object.is(p,E))return!0;if(typeof p!="object"||p===null||typeof E!="object"||E===null)return!1;if(p instanceof Map&&E instanceof Map){if(p.size!==E.size)return!1;for(const[N,D]of p)if(!Object.is(D,E.get(N)))return!1;return!0}if(p instanceof Set&&E instanceof Set){if(p.size!==E.size)return!1;for(const N of p)if(!E.has(N))return!1;return!0}const P=Object.keys(p);if(P.length!==Object.keys(E).length)return!1;for(const N of P)if(!Object.prototype.hasOwnProperty.call(E,N)||!Object.is(p[N],E[N]))return!1;return!0}const qX=cn.createContext(null),YRn=qX.Provider,gan=r2.error001("react");function Sc(p,E){const P=cn.useContext(qX);if(P===null)throw new Error(gan);return wan(P,p,E)}function cs(){const p=cn.useContext(qX);if(p===null)throw new Error(gan);return cn.useMemo(()=>({getState:p.getState,setState:p.setState,subscribe:p.subscribe}),[p])}const chn={display:"none"},ZRn={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},pan="react-flow__node-desc",man="react-flow__edge-desc",e_n="react-flow__aria-live",n_n=p=>p.ariaLiveMessage,t_n=p=>p.ariaLabelConfig;function i_n({rfId:p}){const E=Sc(n_n);return le.jsx("div",{id:`${e_n}-${p}`,"aria-live":"assertive","aria-atomic":"true",style:ZRn,children:E})}function r_n({rfId:p,disableKeyboardA11y:E}){const P=Sc(t_n);return le.jsxs(le.Fragment,{children:[le.jsx("div",{id:`${pan}-${p}`,style:chn,children:E?P["node.a11yDescription.default"]:P["node.a11yDescription.keyboardDisabled"]}),le.jsx("div",{id:`${man}-${p}`,style:chn,children:P["edge.a11yDescription.default"]}),!E&&le.jsx(i_n,{rfId:p})]})}const kN=cn.forwardRef(({position:p="top-left",children:E,className:P,style:N,...D},$)=>{const v=`${p}`.split("-");return le.jsx("div",{className:Xf(["react-flow__panel",P,...v]),style:N,ref:$,...D,children:E})});kN.displayName="Panel";const uhn="https://reactflow.dev?utm_source=attribution";function c_n({proOptions:p,position:E="bottom-right"}){return cn.useEffect(()=>{},[]),p!=null&&p.hideAttribution?null:le.jsx(kN,{position:E,className:"react-flow__attribution","data-message":`Please only hide this attribution when you are subscribed to React Flow Pro: ${uhn}`,children:le.jsx("a",{href:uhn,target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const u_n=p=>{const E=[],P=[];for(const[,N]of p.nodeLookup)N.selected&&E.push(N.internals.userNode);for(const[,N]of p.edgeLookup)N.selected&&P.push(N);return{selectedNodes:E,selectedEdges:P}},IX=p=>p.id;function o_n(p,E){return xs(p.selectedNodes.map(IX),E.selectedNodes.map(IX))&&xs(p.selectedEdges.map(IX),E.selectedEdges.map(IX))}function s_n({onSelectionChange:p}){const E=cs(),{selectedNodes:P,selectedEdges:N}=Sc(u_n,o_n);return cn.useEffect(()=>{const D={nodes:P,edges:N};p==null||p(D),E.getState().onSelectionChangeHandlers.forEach($=>$(D))},[P,N,p]),null}const f_n=p=>!!p.onSelectionChangeHandlers;function l_n({onSelectionChange:p}){const E=Sc(f_n);return p||E?le.jsx(s_n,{onSelectionChange:p}):null}const van=[0,0],h_n={x:0,y:0,zoom:1},a_n=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],ohn=[...a_n,"rfId"],d_n=p=>({setNodes:p.setNodes,setEdges:p.setEdges,setMinZoom:p.setMinZoom,setMaxZoom:p.setMaxZoom,setTranslateExtent:p.setTranslateExtent,setNodeExtent:p.setNodeExtent,reset:p.reset,setDefaultNodesAndEdges:p.setDefaultNodesAndEdges}),shn={translateExtent:hN,nodeOrigin:van,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function b_n(p){const{setNodes:E,setEdges:P,setMinZoom:N,setMaxZoom:D,setTranslateExtent:$,setNodeExtent:v,reset:q,setDefaultNodesAndEdges:te}=Sc(d_n,xs),ie=cs();cn.useEffect(()=>(te(p.defaultNodes,p.defaultEdges),()=>{pe.current=shn,q()}),[]);const pe=cn.useRef(shn);return cn.useEffect(()=>{for(const oe of ohn){const z=p[oe],ne=pe.current[oe];z!==ne&&(typeof p[oe]>"u"||(oe==="nodes"?E(z):oe==="edges"?P(z):oe==="minZoom"?N(z):oe==="maxZoom"?D(z):oe==="translateExtent"?$(z):oe==="nodeExtent"?v(z):oe==="ariaLabelConfig"?ie.setState({ariaLabelConfig:iRn(z)}):oe==="fitView"?ie.setState({fitViewQueued:z}):oe==="fitViewOptions"?ie.setState({fitViewOptions:z}):ie.setState({[oe]:z})))}pe.current=p},ohn.map(oe=>p[oe])),null}function fhn(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function w_n(p){var N;const[E,P]=cn.useState(p==="system"?null:p);return cn.useEffect(()=>{if(p!=="system"){P(p);return}const D=fhn(),$=()=>P(D!=null&&D.matches?"dark":"light");return $(),D==null||D.addEventListener("change",$),()=>{D==null||D.removeEventListener("change",$)}},[p]),E!==null?E:(N=fhn())!=null&&N.matches?"dark":"light"}const lhn=typeof document<"u"?document:null;function gN(p=null,E={target:lhn,actInsideInputWithModifier:!0}){const[P,N]=cn.useState(!1),D=cn.useRef(!1),$=cn.useRef(new Set([])),[v,q]=cn.useMemo(()=>{if(p!==null){const ie=(Array.isArray(p)?p:[p]).filter(oe=>typeof oe=="string").map(oe=>oe.replace(/\+/g,`
1
+ import{nw as HFn,R as qFn,r as cn,j as le,eQ as Nhn,Y as zFn,kW as UFn,$ as XFn,nx as KFn,_ as fN,Z as Tge,B as Sge,al as Dhn,G as i2,ba as Ige,b9 as WFn,a2 as oN,f as VFn,jA as QFn,X as YFn,bx as ZFn,ny as eBn,fu as $ln,ft as nBn,ak as tBn,fj as Fln,ar as iBn,nz as rBn,af as cBn,au as uBn,gq as oBn,it as sBn,cb as AX,fZ as fBn,x as Bln,ir as lBn,i2 as hBn,bO as aBn,bP as dBn,bQ as bBn,bR as wBn,bS as gBn,bT as pBn,bU as mBn,bW as vBn,h8 as yBn}from"./index-BR1m9FON.js";import{s as B0,g as Lhn,j as Pge,T as fge,k as lge,t as kBn}from"./transform-BqqRT-Iy.js";import{i as hge}from"./value-wA6veExk.js";import{H as $X}from"./_shell.team-Dm5a4f8_.js";import{H as jBn}from"./heart-Cn3a-UQI.js";import{Z as Oge}from"./zap-DSllMMHe.js";import{a as age,A as EBn}from"./AdapterIcon-DgkNN6bi.js";import"./relay-trace-schemas-4AAUf-Zl.js";import{d as ABn,c as MBn,a as xBn,B as CBn}from"./BindingDialog-C4BHVXno.js";import{s as TBn}from"./session-strategy-labels-C7Wduch3.js";import{c as MX}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{u as SBn}from"./use-mesh-topology-upehQ5Cv.js";import{E as IBn}from"./empty-state-BHcmkSzu.js";import{Q as Rln}from"./query-error-state-Cm-Lozlb.js";import{u as PBn}from"./use-bindings-gLHRNAFU.js";import{u as OBn}from"./use-delete-binding-BSiOik_K.js";import"./use-pending-read-mVsOBTzn.js";import"./use-filter-state-CiPZ0AIH.js";import"./scroll-area-DAC7NrVU.js";import"./OpenMeshSwitch-RNAZY1vn.js";import"./table-D0EJT0uP.js";import"./page-container-0sWZ3xh9.js";import"./profile-errors-C1XACbc9.js";import"./TodoPromiseList-DDKWAfmv.js";import"./TeamComputerEntry-B9ma5j-X.js";import"./ComputerViewer-BKMR5LkF.js";import"./form-BL14vwyB.js";import"./trust-posture-DaHHtOZn.js";import"./trust-dial-D__tIhzt.js";function Xf(p){if(typeof p=="string"||typeof p=="number")return""+p;let E="";if(Array.isArray(p))for(let P=0,N;P<p.length;P++)(N=Xf(p[P]))!==""&&(E+=(E&&" ")+N);else for(let P in p)p[P]&&(E+=(E&&" ")+P);return E}function NBn(p){let E;for(;E=p.sourceEvent;)p=E;return p}function e2(p,E){if(p=NBn(p),E===void 0&&(E=p.currentTarget),E){var P=E.ownerSVGElement||E;if(P.createSVGPoint){var N=P.createSVGPoint();return N.x=p.clientX,N.y=p.clientY,N=N.matrixTransform(E.getScreenCTM().inverse()),[N.x,N.y]}if(E.getBoundingClientRect){var D=E.getBoundingClientRect();return[p.clientX-D.left-E.clientLeft,p.clientY-D.top-E.clientTop]}}return[p.pageX,p.pageY]}const DBn={passive:!1},lN={capture:!0,passive:!1};function dge(p){p.stopImmediatePropagation()}function IA(p){p.preventDefault(),p.stopImmediatePropagation()}function $hn(p){var E=p.document.documentElement,P=B0(p).on("dragstart.drag",IA,lN);"onselectstart"in E?P.on("selectstart.drag",IA,lN):(E.__noselect=E.style.MozUserSelect,E.style.MozUserSelect="none")}function Fhn(p,E){var P=p.document.documentElement,N=B0(p).on("dragstart.drag",null);E&&(N.on("click.drag",IA,lN),setTimeout(function(){N.on("click.drag",null)},0)),"onselectstart"in P?N.on("selectstart.drag",null):(P.style.MozUserSelect=P.__noselect,delete P.__noselect)}const xX=p=>()=>p;function kge(p,{sourceEvent:E,subject:P,target:N,identifier:D,active:$,x:v,y:q,dx:te,dy:ie,dispatch:pe}){Object.defineProperties(this,{type:{value:p,enumerable:!0,configurable:!0},sourceEvent:{value:E,enumerable:!0,configurable:!0},subject:{value:P,enumerable:!0,configurable:!0},target:{value:N,enumerable:!0,configurable:!0},identifier:{value:D,enumerable:!0,configurable:!0},active:{value:$,enumerable:!0,configurable:!0},x:{value:v,enumerable:!0,configurable:!0},y:{value:q,enumerable:!0,configurable:!0},dx:{value:te,enumerable:!0,configurable:!0},dy:{value:ie,enumerable:!0,configurable:!0},_:{value:pe}})}kge.prototype.on=function(){var p=this._.on.apply(this._,arguments);return p===this._?this:p};function LBn(p){return!p.ctrlKey&&!p.button}function $Bn(){return this.parentNode}function FBn(p,E){return E??{x:p.x,y:p.y}}function BBn(){return navigator.maxTouchPoints||"ontouchstart"in this}function Bhn(){var p=LBn,E=$Bn,P=FBn,N=BBn,D={},$=Lhn("start","drag","end"),v=0,q,te,ie,pe,oe=0;function z(xe){xe.on("mousedown.drag",ne).filter(N).on("touchstart.drag",Ee).on("touchmove.drag",re,DBn).on("touchend.drag touchcancel.drag",we).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function ne(xe,Qe){if(!(pe||!p.call(this,xe,Qe))){var Xe=ee(this,E.call(this,xe,Qe),xe,Qe,"mouse");Xe&&(B0(xe.view).on("mousemove.drag",Z,lN).on("mouseup.drag",U,lN),$hn(xe.view),dge(xe),ie=!1,q=xe.clientX,te=xe.clientY,Xe("start",xe))}}function Z(xe){if(IA(xe),!ie){var Qe=xe.clientX-q,Xe=xe.clientY-te;ie=Qe*Qe+Xe*Xe>oe}D.mouse("drag",xe)}function U(xe){B0(xe.view).on("mousemove.drag mouseup.drag",null),Fhn(xe.view,ie),IA(xe),D.mouse("end",xe)}function Ee(xe,Qe){if(p.call(this,xe,Qe)){var Xe=xe.changedTouches,Ze=E.call(this,xe,Qe),vn=Xe.length,jn,et;for(jn=0;jn<vn;++jn)(et=ee(this,Ze,xe,Qe,Xe[jn].identifier,Xe[jn]))&&(dge(xe),et("start",xe,Xe[jn]))}}function re(xe){var Qe=xe.changedTouches,Xe=Qe.length,Ze,vn;for(Ze=0;Ze<Xe;++Ze)(vn=D[Qe[Ze].identifier])&&(IA(xe),vn("drag",xe,Qe[Ze]))}function we(xe){var Qe=xe.changedTouches,Xe=Qe.length,Ze,vn;for(pe&&clearTimeout(pe),pe=setTimeout(function(){pe=null},500),Ze=0;Ze<Xe;++Ze)(vn=D[Qe[Ze].identifier])&&(dge(xe),vn("end",xe,Qe[Ze]))}function ee(xe,Qe,Xe,Ze,vn,jn){var et=$.copy(),Dn=e2(jn||Xe,Qe),Kn,_,je;if((je=P.call(xe,new kge("beforestart",{sourceEvent:Xe,target:z,identifier:vn,active:v,x:Dn[0],y:Dn[1],dx:0,dy:0,dispatch:et}),Ze))!=null)return Kn=je.x-Dn[0]||0,_=je.y-Dn[1]||0,function rn(sn,Sn,Bn){var dn=Dn,Jn;switch(sn){case"start":D[vn]=rn,Jn=v++;break;case"end":delete D[vn],--v;case"drag":Dn=e2(Bn||Sn,Qe),Jn=v;break}et.call(sn,xe,new kge(sn,{sourceEvent:Sn,subject:je,target:z,identifier:vn,active:Jn,x:Dn[0]+Kn,y:Dn[1]+_,dx:Dn[0]-dn[0],dy:Dn[1]-dn[1],dispatch:et}),Ze)}}return z.filter=function(xe){return arguments.length?(p=typeof xe=="function"?xe:xX(!!xe),z):p},z.container=function(xe){return arguments.length?(E=typeof xe=="function"?xe:xX(xe),z):E},z.subject=function(xe){return arguments.length?(P=typeof xe=="function"?xe:xX(xe),z):P},z.touchable=function(xe){return arguments.length?(N=typeof xe=="function"?xe:xX(!!xe),z):N},z.on=function(){var xe=$.on.apply($,arguments);return xe===$?z:xe},z.clickDistance=function(xe){return arguments.length?(oe=(xe=+xe)*xe,z):Math.sqrt(oe)},z}var RBn=1e-12;function _ln(p){return((p=Math.exp(p))+1/p)/2}function _Bn(p){return((p=Math.exp(p))-1/p)/2}function JBn(p){return((p=Math.exp(2*p))-1)/(p+1)}const NX=(function p(E,P,N){function D($,v){var q=$[0],te=$[1],ie=$[2],pe=v[0],oe=v[1],z=v[2],ne=pe-q,Z=oe-te,U=ne*ne+Z*Z,Ee,re;if(U<RBn)re=Math.log(z/ie)/E,Ee=function(Ze){return[q+Ze*ne,te+Ze*Z,ie*Math.exp(E*Ze*re)]};else{var we=Math.sqrt(U),ee=(z*z-ie*ie+N*U)/(2*ie*P*we),xe=(z*z-ie*ie-N*U)/(2*z*P*we),Qe=Math.log(Math.sqrt(ee*ee+1)-ee),Xe=Math.log(Math.sqrt(xe*xe+1)-xe);re=(Xe-Qe)/E,Ee=function(Ze){var vn=Ze*re,jn=_ln(Qe),et=ie/(P*we)*(jn*JBn(E*vn+Qe)-_Bn(Qe));return[q+et*ne,te+et*Z,ie*jn/_ln(E*vn+Qe)]}}return Ee.duration=re*1e3*E/Math.SQRT2,Ee}return D.rho=function($){var v=Math.max(.001,+$),q=v*v,te=q*q;return p(v,q,te)},D})(Math.SQRT2,2,4),CX=p=>()=>p;function GBn(p,{sourceEvent:E,target:P,transform:N,dispatch:D}){Object.defineProperties(this,{type:{value:p,enumerable:!0,configurable:!0},sourceEvent:{value:E,enumerable:!0,configurable:!0},target:{value:P,enumerable:!0,configurable:!0},transform:{value:N,enumerable:!0,configurable:!0},_:{value:D}})}function bge(p){p.stopImmediatePropagation()}function uN(p){p.preventDefault(),p.stopImmediatePropagation()}function HBn(p){return(!p.ctrlKey||p.type==="wheel")&&!p.button}function qBn(){var p=this;return p instanceof SVGElement?(p=p.ownerSVGElement||p,p.hasAttribute("viewBox")?(p=p.viewBox.baseVal,[[p.x,p.y],[p.x+p.width,p.y+p.height]]):[[0,0],[p.width.baseVal.value,p.height.baseVal.value]]):[[0,0],[p.clientWidth,p.clientHeight]]}function Jln(){return this.__zoom||Pge}function zBn(p){return-p.deltaY*(p.deltaMode===1?.05:p.deltaMode?1:.002)*(p.ctrlKey?10:1)}function UBn(){return navigator.maxTouchPoints||"ontouchstart"in this}function XBn(p,E,P){var N=p.invertX(E[0][0])-P[0][0],D=p.invertX(E[1][0])-P[1][0],$=p.invertY(E[0][1])-P[0][1],v=p.invertY(E[1][1])-P[1][1];return p.translate(D>N?(N+D)/2:Math.min(0,N)||Math.max(0,D),v>$?($+v)/2:Math.min(0,$)||Math.max(0,v))}function Rhn(){var p=HBn,E=qBn,P=XBn,N=zBn,D=UBn,$=[0,1/0],v=[[-1/0,-1/0],[1/0,1/0]],q=250,te=NX,ie=Lhn("start","zoom","end"),pe,oe,z,ne=500,Z=150,U=0,Ee=10;function re(je){je.property("__zoom",Jln).on("wheel.zoom",vn,{passive:!1}).on("mousedown.zoom",jn).on("dblclick.zoom",et).filter(D).on("touchstart.zoom",Dn).on("touchmove.zoom",Kn).on("touchend.zoom touchcancel.zoom",_).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}re.transform=function(je,rn,sn,Sn){var Bn=je.selection?je.selection():je;Bn.property("__zoom",Jln),je!==Bn?Qe(je,rn,sn,Sn):Bn.interrupt().each(function(){Xe(this,arguments).event(Sn).start().zoom(null,typeof rn=="function"?rn.apply(this,arguments):rn).end()})},re.scaleBy=function(je,rn,sn,Sn){re.scaleTo(je,function(){var Bn=this.__zoom.k,dn=typeof rn=="function"?rn.apply(this,arguments):rn;return Bn*dn},sn,Sn)},re.scaleTo=function(je,rn,sn,Sn){re.transform(je,function(){var Bn=E.apply(this,arguments),dn=this.__zoom,Jn=sn==null?xe(Bn):typeof sn=="function"?sn.apply(this,arguments):sn,Nn=dn.invert(Jn),qn=typeof rn=="function"?rn.apply(this,arguments):rn;return P(ee(we(dn,qn),Jn,Nn),Bn,v)},sn,Sn)},re.translateBy=function(je,rn,sn,Sn){re.transform(je,function(){return P(this.__zoom.translate(typeof rn=="function"?rn.apply(this,arguments):rn,typeof sn=="function"?sn.apply(this,arguments):sn),E.apply(this,arguments),v)},null,Sn)},re.translateTo=function(je,rn,sn,Sn,Bn){re.transform(je,function(){var dn=E.apply(this,arguments),Jn=this.__zoom,Nn=Sn==null?xe(dn):typeof Sn=="function"?Sn.apply(this,arguments):Sn;return P(Pge.translate(Nn[0],Nn[1]).scale(Jn.k).translate(typeof rn=="function"?-rn.apply(this,arguments):-rn,typeof sn=="function"?-sn.apply(this,arguments):-sn),dn,v)},Sn,Bn)};function we(je,rn){return rn=Math.max($[0],Math.min($[1],rn)),rn===je.k?je:new fge(rn,je.x,je.y)}function ee(je,rn,sn){var Sn=rn[0]-sn[0]*je.k,Bn=rn[1]-sn[1]*je.k;return Sn===je.x&&Bn===je.y?je:new fge(je.k,Sn,Bn)}function xe(je){return[(+je[0][0]+ +je[1][0])/2,(+je[0][1]+ +je[1][1])/2]}function Qe(je,rn,sn,Sn){je.on("start.zoom",function(){Xe(this,arguments).event(Sn).start()}).on("interrupt.zoom end.zoom",function(){Xe(this,arguments).event(Sn).end()}).tween("zoom",function(){var Bn=this,dn=arguments,Jn=Xe(Bn,dn).event(Sn),Nn=E.apply(Bn,dn),qn=sn==null?xe(Nn):typeof sn=="function"?sn.apply(Bn,dn):sn,Jt=Math.max(Nn[1][0]-Nn[0][0],Nn[1][1]-Nn[0][1]),Xt=Bn.__zoom,Oi=typeof rn=="function"?rn.apply(Bn,dn):rn,gr=te(Xt.invert(qn).concat(Jt/Xt.k),Oi.invert(qn).concat(Jt/Oi.k));return function(Ki){if(Ki===1)Ki=Oi;else{var Wn=gr(Ki),ei=Jt/Wn[2];Ki=new fge(ei,qn[0]-Wn[0]*ei,qn[1]-Wn[1]*ei)}Jn.zoom(null,Ki)}})}function Xe(je,rn,sn){return!sn&&je.__zooming||new Ze(je,rn)}function Ze(je,rn){this.that=je,this.args=rn,this.active=0,this.sourceEvent=null,this.extent=E.apply(je,rn),this.taps=0}Ze.prototype={event:function(je){return je&&(this.sourceEvent=je),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(je,rn){return this.mouse&&je!=="mouse"&&(this.mouse[1]=rn.invert(this.mouse[0])),this.touch0&&je!=="touch"&&(this.touch0[1]=rn.invert(this.touch0[0])),this.touch1&&je!=="touch"&&(this.touch1[1]=rn.invert(this.touch1[0])),this.that.__zoom=rn,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(je){var rn=B0(this.that).datum();ie.call(je,this.that,new GBn(je,{sourceEvent:this.sourceEvent,target:re,transform:this.that.__zoom,dispatch:ie}),rn)}};function vn(je,...rn){if(!p.apply(this,arguments))return;var sn=Xe(this,rn).event(je),Sn=this.__zoom,Bn=Math.max($[0],Math.min($[1],Sn.k*Math.pow(2,N.apply(this,arguments)))),dn=e2(je);if(sn.wheel)(sn.mouse[0][0]!==dn[0]||sn.mouse[0][1]!==dn[1])&&(sn.mouse[1]=Sn.invert(sn.mouse[0]=dn)),clearTimeout(sn.wheel);else{if(Sn.k===Bn)return;sn.mouse=[dn,Sn.invert(dn)],lge(this),sn.start()}uN(je),sn.wheel=setTimeout(Jn,Z),sn.zoom("mouse",P(ee(we(Sn,Bn),sn.mouse[0],sn.mouse[1]),sn.extent,v));function Jn(){sn.wheel=null,sn.end()}}function jn(je,...rn){if(z||!p.apply(this,arguments))return;var sn=je.currentTarget,Sn=Xe(this,rn,!0).event(je),Bn=B0(je.view).on("mousemove.zoom",qn,!0).on("mouseup.zoom",Jt,!0),dn=e2(je,sn),Jn=je.clientX,Nn=je.clientY;$hn(je.view),bge(je),Sn.mouse=[dn,this.__zoom.invert(dn)],lge(this),Sn.start();function qn(Xt){if(uN(Xt),!Sn.moved){var Oi=Xt.clientX-Jn,gr=Xt.clientY-Nn;Sn.moved=Oi*Oi+gr*gr>U}Sn.event(Xt).zoom("mouse",P(ee(Sn.that.__zoom,Sn.mouse[0]=e2(Xt,sn),Sn.mouse[1]),Sn.extent,v))}function Jt(Xt){Bn.on("mousemove.zoom mouseup.zoom",null),Fhn(Xt.view,Sn.moved),uN(Xt),Sn.event(Xt).end()}}function et(je,...rn){if(p.apply(this,arguments)){var sn=this.__zoom,Sn=e2(je.changedTouches?je.changedTouches[0]:je,this),Bn=sn.invert(Sn),dn=sn.k*(je.shiftKey?.5:2),Jn=P(ee(we(sn,dn),Sn,Bn),E.apply(this,rn),v);uN(je),q>0?B0(this).transition().duration(q).call(Qe,Jn,Sn,je):B0(this).call(re.transform,Jn,Sn,je)}}function Dn(je,...rn){if(p.apply(this,arguments)){var sn=je.touches,Sn=sn.length,Bn=Xe(this,rn,je.changedTouches.length===Sn).event(je),dn,Jn,Nn,qn;for(bge(je),Jn=0;Jn<Sn;++Jn)Nn=sn[Jn],qn=e2(Nn,this),qn=[qn,this.__zoom.invert(qn),Nn.identifier],Bn.touch0?!Bn.touch1&&Bn.touch0[2]!==qn[2]&&(Bn.touch1=qn,Bn.taps=0):(Bn.touch0=qn,dn=!0,Bn.taps=1+!!pe);pe&&(pe=clearTimeout(pe)),dn&&(Bn.taps<2&&(oe=qn[0],pe=setTimeout(function(){pe=null},ne)),lge(this),Bn.start())}}function Kn(je,...rn){if(this.__zooming){var sn=Xe(this,rn).event(je),Sn=je.changedTouches,Bn=Sn.length,dn,Jn,Nn,qn;for(uN(je),dn=0;dn<Bn;++dn)Jn=Sn[dn],Nn=e2(Jn,this),sn.touch0&&sn.touch0[2]===Jn.identifier?sn.touch0[0]=Nn:sn.touch1&&sn.touch1[2]===Jn.identifier&&(sn.touch1[0]=Nn);if(Jn=sn.that.__zoom,sn.touch1){var Jt=sn.touch0[0],Xt=sn.touch0[1],Oi=sn.touch1[0],gr=sn.touch1[1],Ki=(Ki=Oi[0]-Jt[0])*Ki+(Ki=Oi[1]-Jt[1])*Ki,Wn=(Wn=gr[0]-Xt[0])*Wn+(Wn=gr[1]-Xt[1])*Wn;Jn=we(Jn,Math.sqrt(Ki/Wn)),Nn=[(Jt[0]+Oi[0])/2,(Jt[1]+Oi[1])/2],qn=[(Xt[0]+gr[0])/2,(Xt[1]+gr[1])/2]}else if(sn.touch0)Nn=sn.touch0[0],qn=sn.touch0[1];else return;sn.zoom("touch",P(ee(Jn,Nn,qn),sn.extent,v))}}function _(je,...rn){if(this.__zooming){var sn=Xe(this,rn).event(je),Sn=je.changedTouches,Bn=Sn.length,dn,Jn;for(bge(je),z&&clearTimeout(z),z=setTimeout(function(){z=null},ne),dn=0;dn<Bn;++dn)Jn=Sn[dn],sn.touch0&&sn.touch0[2]===Jn.identifier?delete sn.touch0:sn.touch1&&sn.touch1[2]===Jn.identifier&&delete sn.touch1;if(sn.touch1&&!sn.touch0&&(sn.touch0=sn.touch1,delete sn.touch1),sn.touch0)sn.touch0[1]=this.__zoom.invert(sn.touch0[0]);else if(sn.end(),sn.taps===2&&(Jn=e2(Jn,this),Math.hypot(oe[0]-Jn[0],oe[1]-Jn[1])<Ee)){var Nn=B0(this).on("dblclick.zoom");Nn&&Nn.apply(this,arguments)}}}return re.wheelDelta=function(je){return arguments.length?(N=typeof je=="function"?je:CX(+je),re):N},re.filter=function(je){return arguments.length?(p=typeof je=="function"?je:CX(!!je),re):p},re.touchable=function(je){return arguments.length?(D=typeof je=="function"?je:CX(!!je),re):D},re.extent=function(je){return arguments.length?(E=typeof je=="function"?je:CX([[+je[0][0],+je[0][1]],[+je[1][0],+je[1][1]]]),re):E},re.scaleExtent=function(je){return arguments.length?($[0]=+je[0],$[1]=+je[1],re):[$[0],$[1]]},re.translateExtent=function(je){return arguments.length?(v[0][0]=+je[0][0],v[1][0]=+je[1][0],v[0][1]=+je[0][1],v[1][1]=+je[1][1],re):[[v[0][0],v[0][1]],[v[1][0],v[1][1]]]},re.constrain=function(je){return arguments.length?(P=je,re):P},re.duration=function(je){return arguments.length?(q=+je,re):q},re.interpolate=function(je){return arguments.length?(te=je,re):te},re.on=function(){var je=ie.on.apply(ie,arguments);return je===ie?re:je},re.clickDistance=function(je){return arguments.length?(U=(je=+je)*je,re):Math.sqrt(U)},re.tapDistance=function(je){return arguments.length?(Ee=+je,re):Ee},re}const r2={error001:(p="react")=>`Seems like you have not used ${p==="svelte"?"SvelteFlowProvider":"ReactFlowProvider"} as an ancestor. Help: https://${p}flow.dev/error#001`,error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:p=>`Node type "${p}" not found. Using fallback type "default".`,error004:()=>"The parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:p=>`The old edge with id=${p} does not exist.`,error009:p=>`Marker type "${p}" doesn't exist.`,error008:(p,{id:E,sourceHandle:P,targetHandle:N})=>`Couldn't create edge for ${p} handle id: "${p==="source"?P:N}", edge id: ${E}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:p=>`Edge type "${p}" not found. Using fallback type "default".`,error012:p=>`Node with id "${p}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(p="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${p}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs.",error016:p=>`Edge with id "${p}" does not exist, it may have been removed. This can happen when an edge is deleted before the "onEdgeClick" handler is called.`},hN=[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],_hn=["Enter"," ","Escape"],Jhn={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:p,x:E,y:P})=>`Moved selected node ${p}. New position, x: ${E}, y: ${P}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};var PA;(function(p){p.Strict="strict",p.Loose="loose"})(PA||(PA={}));var nk;(function(p){p.Free="free",p.Vertical="vertical",p.Horizontal="horizontal"})(nk||(nk={}));var aN;(function(p){p.Partial="partial",p.Full="full"})(aN||(aN={}));const Ghn={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};var z5;(function(p){p.Bezier="default",p.Straight="straight",p.Step="step",p.SmoothStep="smoothstep",p.SimpleBezier="simplebezier"})(z5||(z5={}));var dN;(function(p){p.Arrow="arrow",p.ArrowClosed="arrowclosed"})(dN||(dN={}));var ji;(function(p){p.Left="left",p.Top="top",p.Right="right",p.Bottom="bottom"})(ji||(ji={}));const Gln={[ji.Left]:ji.Right,[ji.Right]:ji.Left,[ji.Top]:ji.Bottom,[ji.Bottom]:ji.Top},Hhn=p=>!!p&&typeof p=="object"&&"id"in p&&"source"in p&&"target"in p,KBn=p=>!!p&&typeof p=="object"&&"id"in p&&"position"in p&&!("source"in p)&&!("target"in p),Nge=p=>!!p&&typeof p=="object"&&"id"in p&&"internals"in p&&!("source"in p)&&!("target"in p),pN=(p,E=[0,0])=>{const{width:P,height:N}=c2(p),D=p.origin??E,$=P*D[0],v=N*D[1];return{x:p.position.x-$,y:p.position.y-v}},WBn=(p,E={nodeOrigin:[0,0]})=>{if(p.length===0)return{x:0,y:0,width:0,height:0};let P=!1;const N=p.reduce((D,$)=>{const v=typeof $=="string";let q=!E.nodeLookup&&!v?$:void 0;return E.nodeLookup&&(q=v?E.nodeLookup.get($):Nge($)?$:E.nodeLookup.get($.id)),q?(P=!0,JX(D,FX(q,E.nodeOrigin))):D},{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return P?GX(N):{x:0,y:0,width:0,height:0}},LA=(p,E={})=>{let P={x:1/0,y:1/0,x2:-1/0,y2:-1/0},N=!1;return p.forEach(D=>{(E.filter===void 0||E.filter(D))&&(P=JX(P,FX(D)),N=!0)}),N?GX(P):{x:0,y:0,width:0,height:0}},Dge=(p,E,[P,N,D]=[0,0,1],$=!1,v=!1)=>{const q=(E.x-P)/D,te=(E.y-N)/D,ie=E.width/D,pe=E.height/D,oe=[];for(const z of p.values()){const{measured:ne,selectable:Z=!0,hidden:U=!1}=z;if(v&&!Z||U)continue;const Ee=ne.width??z.width??z.initialWidth??0,re=ne.height??z.height??z.initialHeight??0,{x:we,y:ee}=z.internals.positionAbsolute,xe=Xhn(q,te,ie,pe,we,ee,Ee,re),Qe=Ee*re,Xe=$&&xe>0;(!z.internals.handleBounds||Xe||xe>=Qe||z.dragging)&&oe.push(z)}return oe},VBn=(p,E)=>{const P=new Set;return p.forEach(N=>{P.add(N.id)}),E.filter(N=>P.has(N.source)||P.has(N.target))};function QBn(p,E){const P=new Map,N=E!=null&&E.nodes?new Set(E.nodes.map(D=>D.id)):null;return p.forEach(D=>{let $;if(E!=null&&E.includeHiddenNodes){const{width:v,height:q}=c2(D);$=v>0&&q>0}else $=!!(D.measured.width&&D.measured.height&&!D.hidden);$&&(!N||N.has(D.id))&&P.set(D.id,D)}),P}async function YBn({nodes:p,width:E,height:P,panZoom:N,minZoom:D,maxZoom:$},v){if(p.size===0)return!0;const q=QBn(p,v),te=LA(q),ie=$ge(te,E,P,(v==null?void 0:v.minZoom)??D,(v==null?void 0:v.maxZoom)??$,(v==null?void 0:v.padding)??.1);return await N.setViewport(ie,{duration:v==null?void 0:v.duration,ease:v==null?void 0:v.ease,interpolate:v==null?void 0:v.interpolate}),!0}function qhn({nodeId:p,nextPosition:E,nodeLookup:P,nodeOrigin:N=[0,0],nodeExtent:D,onError:$}){const v=P.get(p),q=v.parentId?P.get(v.parentId):void 0,{x:te,y:ie}=q?q.internals.positionAbsolute:{x:0,y:0},pe=v.origin??N;let oe=v.extent||D;if(v.extent==="parent"&&!v.expandParent)if(!q)$==null||$("005",r2.error005());else{const{width:ne,height:Z}=c2(q);ne&&Z&&(oe=[[te,ie],[te+ne,ie+Z]])}else q&&ik(v.extent)&&(oe=[[v.extent[0][0]+te,v.extent[0][1]+ie],[v.extent[1][0]+te,v.extent[1][1]+ie]]);const z=ik(oe)?tk(E,oe,v.measured):E;return(v.measured.width===void 0||v.measured.height===void 0)&&($==null||$("015",r2.error015())),{position:{x:z.x-te+(v.measured.width??0)*pe[0],y:z.y-ie+(v.measured.height??0)*pe[1]},positionAbsolute:z}}async function ZBn({nodesToRemove:p=[],edgesToRemove:E=[],nodes:P,edges:N,onBeforeDelete:D}){const $=new Set(p.map(z=>z.id)),v=[];for(const z of P){if(z.deletable===!1)continue;const ne=$.has(z.id),Z=!ne&&z.parentId&&v.find(U=>U.id===z.parentId);(ne||Z)&&v.push(z)}const q=new Set(E.map(z=>z.id)),te=N.filter(z=>z.deletable!==!1),pe=VBn(v,te);for(const z of te)q.has(z.id)&&!pe.find(Z=>Z.id===z.id)&&pe.push(z);if(!D)return{edges:pe,nodes:v};const oe=await D({nodes:v,edges:pe});return typeof oe=="boolean"?oe?{edges:pe,nodes:v}:{edges:[],nodes:[]}:oe}const OA=(p,E=0,P=1)=>Math.min(Math.max(p,E),P),tk=(p={x:0,y:0},E,P)=>({x:OA(p.x,E[0][0],E[1][0]-((P==null?void 0:P.width)??0)),y:OA(p.y,E[0][1],E[1][1]-((P==null?void 0:P.height)??0))});function zhn(p,E,P){const{width:N,height:D}=c2(P),{x:$,y:v}=P.internals.positionAbsolute;return tk(p,[[$,v],[$+N,v+D]],E)}const Hln=(p,E,P)=>p<E?OA(Math.abs(p-E),1,E)/E:p>P?-OA(Math.abs(p-P),1,E)/E:0,Lge=(p,E,P=15,N=40)=>{const D=Hln(p.x,N,E.width-N)*P,$=Hln(p.y,N,E.height-N)*P;return[D,$]},JX=(p,E)=>({x:Math.min(p.x,E.x),y:Math.min(p.y,E.y),x2:Math.max(p.x2,E.x2),y2:Math.max(p.y2,E.y2)}),jge=({x:p,y:E,width:P,height:N})=>({x:p,y:E,x2:p+P,y2:E+N}),GX=({x:p,y:E,x2:P,y2:N})=>({x:p,y:E,width:P-p,height:N-E}),bN=(p,E=[0,0])=>{var D,$;const{x:P,y:N}=Nge(p)?p.internals.positionAbsolute:pN(p,E);return{x:P,y:N,width:((D=p.measured)==null?void 0:D.width)??p.width??p.initialWidth??0,height:(($=p.measured)==null?void 0:$.height)??p.height??p.initialHeight??0}},FX=(p,E=[0,0])=>{var D,$;const{x:P,y:N}=Nge(p)?p.internals.positionAbsolute:pN(p,E);return{x:P,y:N,x2:P+(((D=p.measured)==null?void 0:D.width)??p.width??p.initialWidth??0),y2:N+((($=p.measured)==null?void 0:$.height)??p.height??p.initialHeight??0)}},Uhn=(p,E)=>GX(JX(jge(p),jge(E))),Xhn=(p,E,P,N,D,$,v,q)=>{const te=Math.max(0,Math.min(p+P,D+v)-Math.max(p,D)),ie=Math.max(0,Math.min(E+N,$+q)-Math.max(E,$));return Math.ceil(te*ie)},BX=(p,E)=>Xhn(p.x,p.y,p.width,p.height,E.x,E.y,E.width,E.height),qln=p=>n2(p.width)&&n2(p.height)&&n2(p.x)&&n2(p.y),n2=p=>!isNaN(p)&&isFinite(p),Khn=(p,E)=>(P,N)=>{},mN=(p,E=[1,1])=>({x:E[0]*Math.round(p.x/E[0]),y:E[1]*Math.round(p.y/E[1])}),vN=({x:p,y:E},[P,N,D],$=!1,v=[1,1])=>{const q={x:(p-P)/D,y:(E-N)/D};return $?mN(q,v):q},NA=({x:p,y:E},[P,N,D])=>({x:p*D+P,y:E*D+N});function TA(p,E){if(typeof p=="number")return Math.floor((E-E/(1+p))*.5);if(typeof p=="string"&&p.endsWith("px")){const P=parseFloat(p);if(!Number.isNaN(P))return Math.floor(P)}if(typeof p=="string"&&p.endsWith("%")){const P=parseFloat(p);if(!Number.isNaN(P))return Math.floor(E*P*.01)}return console.error(`The padding value "${p}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}function eRn(p,E,P){if(typeof p=="string"||typeof p=="number"){const N=TA(p,P),D=TA(p,E);return{top:N,right:D,bottom:N,left:D,x:D*2,y:N*2}}if(typeof p=="object"){const N=TA(p.top??p.y??0,P),D=TA(p.bottom??p.y??0,P),$=TA(p.left??p.x??0,E),v=TA(p.right??p.x??0,E);return{top:N,right:v,bottom:D,left:$,x:$+v,y:N+D}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}function nRn(p,E,P,N,D,$){const{x:v,y:q}=NA(p,[E,P,N]),{x:te,y:ie}=NA({x:p.x+p.width,y:p.y+p.height},[E,P,N]),pe=D-te,oe=$-ie;return{left:Math.floor(v),top:Math.floor(q),right:Math.floor(pe),bottom:Math.floor(oe)}}const $ge=(p,E,P,N,D,$)=>{const v=eRn($,E,P),q=(E-v.x)/p.width,te=(P-v.y)/p.height,ie=Math.min(q,te),pe=OA(ie,N,D),oe=p.x+p.width/2,z=p.y+p.height/2,ne=E/2-oe*pe,Z=P/2-z*pe,U=nRn(p,ne,Z,pe,E,P),Ee={left:Math.min(U.left-v.left,0),top:Math.min(U.top-v.top,0),right:Math.min(U.right-v.right,0),bottom:Math.min(U.bottom-v.bottom,0)};return{x:ne-Ee.left+Ee.right,y:Z-Ee.top+Ee.bottom,zoom:pe}},wN=()=>{var p;return typeof navigator<"u"&&((p=navigator==null?void 0:navigator.userAgent)==null?void 0:p.indexOf("Mac"))>=0};function ik(p){return p!=null&&p!=="parent"}function c2(p){var E,P;return{width:((E=p.measured)==null?void 0:E.width)??p.width??p.initialWidth??0,height:((P=p.measured)==null?void 0:P.height)??p.height??p.initialHeight??0}}function Whn(p){var E,P;return(((E=p.measured)==null?void 0:E.width)??p.width??p.initialWidth)!==void 0&&(((P=p.measured)==null?void 0:P.height)??p.height??p.initialHeight)!==void 0}function Vhn(p,E={width:0,height:0},P,N,D){const $={...p},v=N.get(P);if(v){const q=v.origin||D;$.x+=v.internals.positionAbsolute.x-(E.width??0)*q[0],$.y+=v.internals.positionAbsolute.y-(E.height??0)*q[1]}return $}function zln(p,E){if(p.size!==E.size)return!1;for(const P of p)if(!E.has(P))return!1;return!0}function tRn(){let p,E;return{promise:new Promise((N,D)=>{p=N,E=D}),resolve:p,reject:E}}function iRn(p){return{...Jhn,...p||{}}}function Qhn(p){return p===null?null:p?"valid":"invalid"}function sN(p,{snapGrid:E=[0,0],snapToGrid:P=!1,transform:N,containerBounds:D}){const{x:$,y:v}=t2(p),q=vN({x:$-((D==null?void 0:D.left)??0),y:v-((D==null?void 0:D.top)??0)},N),{x:te,y:ie}=P?mN(q,E):q;return{xSnapped:te,ySnapped:ie,...q}}const Fge=p=>({width:p.offsetWidth,height:p.offsetHeight}),Yhn=p=>{var E;return((E=p==null?void 0:p.getRootNode)==null?void 0:E.call(p))||(window==null?void 0:window.document)},rRn=["INPUT","SELECT","TEXTAREA"];function Zhn(p){var N,D;const E=((D=(N=p.composedPath)==null?void 0:N.call(p))==null?void 0:D[0])||p.target;return(E==null?void 0:E.nodeType)!==1?!1:rRn.includes(E.nodeName)||E.hasAttribute("contenteditable")||!!E.closest(".nokey")}const ean=p=>"clientX"in p,t2=(p,E)=>{var $,v;const P=ean(p),N=P?p.clientX:($=p.touches)==null?void 0:$[0].clientX,D=P?p.clientY:(v=p.touches)==null?void 0:v[0].clientY;return{x:N-((E==null?void 0:E.left)??0),y:D-((E==null?void 0:E.top)??0)}},Uln=(p,E,P,N,D)=>{const $=E.querySelectorAll(`.${p}`);return!$||!$.length?null:Array.from($).map(v=>{const q=v.getBoundingClientRect();return{id:v.getAttribute("data-handleid"),type:p,nodeId:D,position:v.getAttribute("data-handlepos"),x:(q.left-P.left)/N,y:(q.top-P.top)/N,...Fge(v)}})};function nan({sourceX:p,sourceY:E,targetX:P,targetY:N,sourceControlX:D,sourceControlY:$,targetControlX:v,targetControlY:q}){const te=p*.125+D*.375+v*.375+P*.125,ie=E*.125+$*.375+q*.375+N*.125,pe=Math.abs(te-p),oe=Math.abs(ie-E);return[te,ie,pe,oe]}function TX(p,E){return p>=0?.5*p:E*25*Math.sqrt(-p)}function Xln({pos:p,x1:E,y1:P,x2:N,y2:D,c:$}){switch(p){case ji.Left:return[E-TX(E-N,$),P];case ji.Right:return[E+TX(N-E,$),P];case ji.Top:return[E,P-TX(P-D,$)];case ji.Bottom:return[E,P+TX(D-P,$)]}}function yN({sourceX:p,sourceY:E,sourcePosition:P=ji.Bottom,targetX:N,targetY:D,targetPosition:$=ji.Top,curvature:v=.25}){const[q,te]=Xln({pos:P,x1:p,y1:E,x2:N,y2:D,c:v}),[ie,pe]=Xln({pos:$,x1:N,y1:D,x2:p,y2:E,c:v}),[oe,z,ne,Z]=nan({sourceX:p,sourceY:E,targetX:N,targetY:D,sourceControlX:q,sourceControlY:te,targetControlX:ie,targetControlY:pe});return[`M${p},${E} C${q},${te} ${ie},${pe} ${N},${D}`,oe,z,ne,Z]}function tan({sourceX:p,sourceY:E,targetX:P,targetY:N}){const D=Math.abs(P-p)/2,$=P<p?P+D:P-D,v=Math.abs(N-E)/2,q=N<E?N+v:N-v;return[$,q,D,v]}function cRn({sourceNode:p,targetNode:E,selected:P=!1,zIndex:N=0,elevateOnSelect:D=!1,zIndexMode:$="basic"}){if($==="manual")return N;const v=D&&P?N+1e3:N,q=Math.max(p.parentId||D&&p.selected?p.internals.z:0,E.parentId||D&&E.selected?E.internals.z:0);return v+q}function uRn({sourceNode:p,targetNode:E,width:P,height:N,transform:D}){const $=JX(FX(p),FX(E));$.x===$.x2&&($.x2+=1),$.y===$.y2&&($.y2+=1);const v={x:-D[0]/D[2],y:-D[1]/D[2],width:P/D[2],height:N/D[2]};return BX(v,GX($))>0}const oRn=({source:p,sourceHandle:E,target:P,targetHandle:N})=>`xy-edge__${p}${E||""}-${P}${N||""}`,sRn=(p,E)=>E.some(P=>P.source===p.source&&P.target===p.target&&(P.sourceHandle===p.sourceHandle||!P.sourceHandle&&!p.sourceHandle)&&(P.targetHandle===p.targetHandle||!P.targetHandle&&!p.targetHandle)),fRn=(p,E,P={})=>{var $;if(!p.source||!p.target)return($=P.onError)==null||$.call(P,"006",r2.error006()),E;const N=P.getEdgeId||oRn;let D;return Hhn(p)?D={...p}:D={...p,id:N(p)},sRn(D,E)?E:(D.sourceHandle===null&&delete D.sourceHandle,D.targetHandle===null&&delete D.targetHandle,E.concat(D))};function ian({sourceX:p,sourceY:E,targetX:P,targetY:N}){const[D,$,v,q]=tan({sourceX:p,sourceY:E,targetX:P,targetY:N});return[`M ${p},${E}L ${P},${N}`,D,$,v,q]}const Kln={[ji.Left]:{x:-1,y:0},[ji.Right]:{x:1,y:0},[ji.Top]:{x:0,y:-1},[ji.Bottom]:{x:0,y:1}},lRn=({source:p,sourcePosition:E=ji.Bottom,target:P})=>E===ji.Left||E===ji.Right?p.x<P.x?{x:1,y:0}:{x:-1,y:0}:p.y<P.y?{x:0,y:1}:{x:0,y:-1},Wln=(p,E)=>Math.sqrt(Math.pow(E.x-p.x,2)+Math.pow(E.y-p.y,2));function hRn({source:p,sourcePosition:E=ji.Bottom,target:P,targetPosition:N=ji.Top,center:D,offset:$,stepPosition:v}){const q=Kln[E],te=Kln[N],ie={x:p.x+q.x*$,y:p.y+q.y*$},pe={x:P.x+te.x*$,y:P.y+te.y*$},oe=lRn({source:ie,sourcePosition:E,target:pe}),z=oe.x!==0?"x":"y",ne=oe[z];let Z=[],U,Ee;const re={x:0,y:0},we={x:0,y:0},[,,ee,xe]=tan({sourceX:p.x,sourceY:p.y,targetX:P.x,targetY:P.y});if(q[z]*te[z]===-1){z==="x"?(U=D.x??ie.x+(pe.x-ie.x)*v,Ee=D.y??(ie.y+pe.y)/2):(U=D.x??(ie.x+pe.x)/2,Ee=D.y??ie.y+(pe.y-ie.y)*v);const vn=[{x:U,y:ie.y},{x:U,y:pe.y}],jn=[{x:ie.x,y:Ee},{x:pe.x,y:Ee}];q[z]===ne?Z=z==="x"?vn:jn:Z=z==="x"?jn:vn}else{const vn=[{x:ie.x,y:pe.y}],jn=[{x:pe.x,y:ie.y}];if(z==="x"?Z=q.x===ne?jn:vn:Z=q.y===ne?vn:jn,E===N){const je=Math.abs(p[z]-P[z]);if(je<=$){const rn=Math.min($-1,$-je);q[z]===ne?re[z]=(ie[z]>p[z]?-1:1)*rn:we[z]=(pe[z]>P[z]?-1:1)*rn}}if(E!==N){const je=z==="x"?"y":"x",rn=q[z]===te[je],sn=ie[je]>pe[je],Sn=ie[je]<pe[je];(q[z]===1&&(!rn&&sn||rn&&Sn)||q[z]!==1&&(!rn&&Sn||rn&&sn))&&(Z=z==="x"?vn:jn)}const et={x:ie.x+re.x,y:ie.y+re.y},Dn={x:pe.x+we.x,y:pe.y+we.y},Kn=Math.max(Math.abs(et.x-Z[0].x),Math.abs(Dn.x-Z[0].x)),_=Math.max(Math.abs(et.y-Z[0].y),Math.abs(Dn.y-Z[0].y));Kn>=_?(U=(et.x+Dn.x)/2,Ee=Z[0].y):(U=Z[0].x,Ee=(et.y+Dn.y)/2)}const Qe={x:ie.x+re.x,y:ie.y+re.y},Xe={x:pe.x+we.x,y:pe.y+we.y};return[[p,...Qe.x!==Z[0].x||Qe.y!==Z[0].y?[Qe]:[],...Z,...Xe.x!==Z[Z.length-1].x||Xe.y!==Z[Z.length-1].y?[Xe]:[],P],U,Ee,ee,xe]}function aRn(p,E,P,N){const D=Math.min(Wln(p,E)/2,Wln(E,P)/2,N),{x:$,y:v}=E;if(p.x===$&&$===P.x||p.y===v&&v===P.y)return`L${$} ${v}`;if(p.y===v){const ie=p.x<P.x?-1:1,pe=p.y<P.y?1:-1;return`L ${$+D*ie},${v}Q ${$},${v} ${$},${v+D*pe}`}const q=p.x<P.x?1:-1,te=p.y<P.y?-1:1;return`L ${$},${v+D*te}Q ${$},${v} ${$+D*q},${v}`}function Ege({sourceX:p,sourceY:E,sourcePosition:P=ji.Bottom,targetX:N,targetY:D,targetPosition:$=ji.Top,borderRadius:v=5,centerX:q,centerY:te,offset:ie=20,stepPosition:pe=.5}){const[oe,z,ne,Z,U]=hRn({source:{x:p,y:E},sourcePosition:P,target:{x:N,y:D},targetPosition:$,center:{x:q,y:te},offset:ie,stepPosition:pe});let Ee=`M${oe[0].x} ${oe[0].y}`;for(let re=1;re<oe.length-1;re++)Ee+=aRn(oe[re-1],oe[re],oe[re+1],v);return Ee+=`L${oe[oe.length-1].x} ${oe[oe.length-1].y}`,[Ee,z,ne,Z,U]}function Vln(p){var E;return p&&!!(p.internals.handleBounds||(E=p.handles)!=null&&E.length)&&!!(p.measured.width||p.width||p.initialWidth)}function dRn(p){var oe;const{sourceNode:E,targetNode:P}=p;if(!Vln(E)||!Vln(P))return null;const N=E.internals.handleBounds||Qln(E.handles),D=P.internals.handleBounds||Qln(P.handles),$=Yln((N==null?void 0:N.source)??[],p.sourceHandle),v=Yln(p.connectionMode===PA.Strict?(D==null?void 0:D.target)??[]:((D==null?void 0:D.target)??[]).concat((D==null?void 0:D.source)??[]),p.targetHandle);if(!$||!v)return(oe=p.onError)==null||oe.call(p,"008",r2.error008($?"target":"source",{id:p.id,sourceHandle:p.sourceHandle,targetHandle:p.targetHandle})),null;const q=($==null?void 0:$.position)||ji.Bottom,te=(v==null?void 0:v.position)||ji.Top,ie=rk(E,$,q),pe=rk(P,v,te);return{sourceX:ie.x,sourceY:ie.y,targetX:pe.x,targetY:pe.y,sourcePosition:q,targetPosition:te}}function Qln(p){if(!p)return null;const E=[],P=[];for(const N of p)N.width=N.width??1,N.height=N.height??1,N.type==="source"?E.push(N):N.type==="target"&&P.push(N);return{source:E,target:P}}function rk(p,E,P=ji.Left,N=!1){const D=((E==null?void 0:E.x)??0)+p.internals.positionAbsolute.x,$=((E==null?void 0:E.y)??0)+p.internals.positionAbsolute.y,{width:v,height:q}=E??c2(p);if(N)return{x:D+v/2,y:$+q/2};switch((E==null?void 0:E.position)??P){case ji.Top:return{x:D+v/2,y:$};case ji.Right:return{x:D+v,y:$+q/2};case ji.Bottom:return{x:D+v/2,y:$+q};case ji.Left:return{x:D,y:$+q/2}}}function Yln(p,E){return p&&(E?p.find(P=>P.id===E):p[0])||null}function Age(p,E){return p?typeof p=="string"?p:`${E?`${E}__`:""}${Object.keys(p).sort().map(N=>`${N}=${p[N]}`).join("&")}`:""}function bRn(p,{id:E,defaultColor:P,defaultMarkerStart:N,defaultMarkerEnd:D}){const $=new Set;return p.reduce((v,q)=>([q.markerStart||N,q.markerEnd||D].forEach(te=>{if(te&&typeof te=="object"){const ie=Age(te,E);$.has(ie)||(v.push({id:ie,color:te.color||P,...te}),$.add(ie))}}),v),[]).sort((v,q)=>v.id.localeCompare(q.id))}function wRn(p,E,P,N,D){let $=.5;D==="start"?$=0:D==="end"&&($=1);let v=[(p.x+p.width*$)*E.zoom+E.x,p.y*E.zoom+E.y-N],q=[-100*$,-100];switch(P){case ji.Right:v=[(p.x+p.width)*E.zoom+E.x+N,(p.y+p.height*$)*E.zoom+E.y],q=[0,-100*$];break;case ji.Bottom:v[1]=(p.y+p.height)*E.zoom+E.y+N,q[1]=0;break;case ji.Left:v=[p.x*E.zoom+E.x-N,(p.y+p.height*$)*E.zoom+E.y],q=[-100,-100*$];break}return`translate(${v[0]}px, ${v[1]}px) translate(${q[0]}%, ${q[1]}%)`}const ran=1e3,gRn=10,Bge={nodeOrigin:[0,0],nodeExtent:hN,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},pRn={...Bge,checkEquality:!0};function Rge(p,E){const P={...p};for(const N in E)E[N]!==void 0&&(P[N]=E[N]);return P}function mRn(p,E,P){const N=Rge(Bge,P);for(const D of p.values())if(D.parentId)Jge(D,p,E,N);else{const $=pN(D,N.nodeOrigin),v=ik(D.extent)?D.extent:N.nodeExtent,q=tk($,v,c2(D));D.internals.positionAbsolute=q}}function vRn(p,E){if(!p.handles)return p.measured?E==null?void 0:E.internals.handleBounds:void 0;const P=[],N=[];for(const D of p.handles){const $={id:D.id,width:D.width??1,height:D.height??1,nodeId:p.id,x:D.x,y:D.y,position:D.position,type:D.type};D.type==="source"?P.push($):D.type==="target"&&N.push($)}return{source:P,target:N}}function _ge(p){return p==="manual"}function Mge(p,E,P,N={}){var pe,oe;const D=Rge(pRn,N),$={i:0},v=new Map(E),q=D!=null&&D.elevateNodesOnSelect&&!_ge(D.zIndexMode)?ran:0;let te=p.length>0,ie=!1;E.clear(),P.clear();for(const z of p){let ne=v.get(z.id);if(D.checkEquality&&z===(ne==null?void 0:ne.internals.userNode))E.set(z.id,ne);else{const Z=pN(z,D.nodeOrigin),U=ik(z.extent)?z.extent:D.nodeExtent,Ee=tk(Z,U,c2(z));ne={...D.defaults,...z,measured:{width:(pe=z.measured)==null?void 0:pe.width,height:(oe=z.measured)==null?void 0:oe.height},internals:{positionAbsolute:Ee,handleBounds:vRn(z,ne),z:can(z,q,D.zIndexMode),userNode:z}},E.set(z.id,ne)}(ne.measured===void 0||ne.measured.width===void 0||ne.measured.height===void 0)&&!ne.hidden&&(te=!1),z.parentId&&Jge(ne,E,P,N,$),ie||(ie=z.selected??!1)}return{nodesInitialized:te,hasSelectedNodes:ie}}function yRn(p,E){if(!p.parentId)return;const P=E.get(p.parentId);P?P.set(p.id,p):E.set(p.parentId,new Map([[p.id,p]]))}function Jge(p,E,P,N,D){const{elevateNodesOnSelect:$,nodeOrigin:v,nodeExtent:q,zIndexMode:te}=Rge(Bge,N),ie=p.parentId,pe=E.get(ie);if(!pe){console.warn(`Parent node ${ie} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);return}yRn(p,P),D&&!pe.parentId&&pe.internals.rootParentIndex===void 0&&te==="auto"&&(pe.internals.rootParentIndex=++D.i,pe.internals.z=pe.internals.z+D.i*gRn),D&&pe.internals.rootParentIndex!==void 0&&(D.i=pe.internals.rootParentIndex);const oe=$&&!_ge(te)?ran:0,{x:z,y:ne,z:Z}=kRn(p,pe,v,q,oe,te),{positionAbsolute:U}=p.internals,Ee=z!==U.x||ne!==U.y;(Ee||Z!==p.internals.z)&&E.set(p.id,{...p,internals:{...p.internals,positionAbsolute:Ee?{x:z,y:ne}:U,z:Z}})}function can(p,E,P){const N=n2(p.zIndex)?p.zIndex:0;return _ge(P)?N:N+(p.selected?E:0)}function kRn(p,E,P,N,D,$){const{x:v,y:q}=E.internals.positionAbsolute,te=c2(p),ie=pN(p,P),pe=ik(p.extent)?tk(ie,p.extent,te):ie;let oe=tk({x:v+pe.x,y:q+pe.y},N,te);p.extent==="parent"&&(oe=zhn(oe,te,E));const z=can(p,D,$),ne=E.internals.z??0;return{x:oe.x,y:oe.y,z:ne>=z?ne+1:z}}function Gge(p,E,P,N=[0,0]){var v;const D=[],$=new Map;for(const q of p){const te=E.get(q.parentId);if(!te)continue;const ie=((v=$.get(q.parentId))==null?void 0:v.expandedRect)??bN(te),pe=Uhn(ie,q.rect);$.set(q.parentId,{expandedRect:pe,parent:te})}return $.size>0&&$.forEach(({expandedRect:q,parent:te},ie)=>{var ee;const pe=te.internals.positionAbsolute,oe=c2(te),z=te.origin??N,ne=q.x<pe.x?Math.round(Math.abs(pe.x-q.x)):0,Z=q.y<pe.y?Math.round(Math.abs(pe.y-q.y)):0,U=Math.max(oe.width,Math.round(q.width)),Ee=Math.max(oe.height,Math.round(q.height)),re=(U-oe.width)*z[0],we=(Ee-oe.height)*z[1];(ne>0||Z>0||re||we)&&(D.push({id:ie,type:"position",position:{x:te.position.x-ne+re,y:te.position.y-Z+we}}),(ee=P.get(ie))==null||ee.forEach(xe=>{p.some(Qe=>Qe.id===xe.id)||D.push({id:xe.id,type:"position",position:{x:xe.position.x+ne,y:xe.position.y+Z}})})),(oe.width<q.width||oe.height<q.height||ne||Z)&&D.push({id:ie,type:"dimensions",setAttributes:!0,dimensions:{width:U+(ne?z[0]*ne-re:0),height:Ee+(Z?z[1]*Z-we:0)}})}),D}function jRn(p,E,P,N,D,$,v){const q=N==null?void 0:N.querySelector(".xyflow__viewport");let te=!1;if(!q)return{changes:[],updatedInternals:te};const ie=[],pe=window.getComputedStyle(q),{m22:oe}=new window.DOMMatrixReadOnly(pe.transform),z=[];for(const ne of p.values()){const Z=E.get(ne.id);if(!Z)continue;if(Z.hidden){E.set(Z.id,{...Z,internals:{...Z.internals,handleBounds:void 0}}),te=!0;continue}const U=Fge(ne.nodeElement),Ee=Z.measured.width!==U.width||Z.measured.height!==U.height;if(!!(U.width&&U.height&&(Ee||!Z.internals.handleBounds||ne.force))){const we=ne.nodeElement.getBoundingClientRect(),ee=ik(Z.extent)?Z.extent:$;let{positionAbsolute:xe}=Z.internals;if(Z.parentId&&Z.extent==="parent"){const Xe=E.get(Z.parentId);Xe&&(xe=zhn(xe,U,Xe))}else ee&&(xe=tk(xe,ee,U));const Qe={...Z,measured:U,internals:{...Z.internals,positionAbsolute:xe,handleBounds:{source:Uln("source",ne.nodeElement,we,oe,Z.id),target:Uln("target",ne.nodeElement,we,oe,Z.id)}}};E.set(Z.id,Qe),Z.parentId&&Jge(Qe,E,P,{nodeOrigin:D,zIndexMode:v}),te=!0,Ee&&(ie.push({id:Z.id,type:"dimensions",dimensions:U}),Z.expandParent&&Z.parentId&&z.push({id:Z.id,parentId:Z.parentId,rect:bN(Qe,D)}))}}if(z.length>0){const ne=Gge(z,E,P,D);ie.push(...ne)}return{changes:ie,updatedInternals:te}}async function ERn({delta:p,panZoom:E,transform:P,translateExtent:N,width:D,height:$}){if(!E||!p.x&&!p.y)return!1;const v=await E.setViewportConstrained({x:P[0]+p.x,y:P[1]+p.y,zoom:P[2]},[[0,0],[D,$]],N);return!!v&&(v.x!==P[0]||v.y!==P[1]||v.k!==P[2])}function Zln(p,E,P,N,D,$){let v=D;const q=N.get(v)||new Map;N.set(v,q.set(P,E)),v=`${D}-${p}`;const te=N.get(v)||new Map;if(N.set(v,te.set(P,E)),$){v=`${D}-${p}-${$}`;const ie=N.get(v)||new Map;N.set(v,ie.set(P,E))}}function uan(p,E,P){p.clear(),E.clear();for(const N of P){const{source:D,target:$,sourceHandle:v=null,targetHandle:q=null}=N,te={edgeId:N.id,source:D,target:$,sourceHandle:v,targetHandle:q},ie=`${D}-${v}--${$}-${q}`,pe=`${$}-${q}--${D}-${v}`;Zln("source",te,pe,p,D,v),Zln("target",te,ie,p,$,q),E.set(N.id,N)}}function oan(p,E){if(!p.parentId)return!1;const P=E.get(p.parentId);return P?P.selected?!0:oan(P,E):!1}function ehn(p,E,P){var D;let N=p;do{if((D=N==null?void 0:N.matches)!=null&&D.call(N,E))return!0;if(N===P)return!1;N=N==null?void 0:N.parentElement}while(N);return!1}function ARn(p,E,P,N){const D=new Map;for(const[$,v]of p)if((v.selected||v.id===N)&&(!v.parentId||!oan(v,p))&&(v.draggable||E&&typeof v.draggable>"u")){const q=p.get($);q&&D.set($,{id:$,position:q.position||{x:0,y:0},distance:{x:P.x-q.internals.positionAbsolute.x,y:P.y-q.internals.positionAbsolute.y},extent:q.extent,parentId:q.parentId,origin:q.origin,expandParent:q.expandParent,internals:{positionAbsolute:q.internals.positionAbsolute||{x:0,y:0}},measured:{width:q.measured.width??0,height:q.measured.height??0}})}return D}function wge({nodeId:p,dragItems:E,nodeLookup:P,dragging:N=!0}){var v,q,te;const D=[];for(const[ie,pe]of E){const oe=(v=P.get(ie))==null?void 0:v.internals.userNode;oe&&D.push({...oe,position:pe.position,dragging:N})}if(!p)return[D[0],D];const $=(q=P.get(p))==null?void 0:q.internals.userNode;return[$?{...$,position:((te=E.get(p))==null?void 0:te.position)||$.position,dragging:N}:D[0],D]}function MRn({dragItems:p,snapGrid:E,x:P,y:N}){const D=p.values().next().value;if(!D)return null;const $={x:P-D.distance.x,y:N-D.distance.y},v=mN($,E);return{x:v.x-$.x,y:v.y-$.y}}function xRn({onNodeMouseDown:p,getStoreItems:E,onDragStart:P,onDrag:N,onDragStop:D}){let $={x:null,y:null},v=0,q=new Map,te=!1,ie={x:0,y:0},pe=null,oe=!1,z=null,ne=!1,Z=!1,U=null;function Ee({noDragClassName:we,handleSelector:ee,domNode:xe,isSelectable:Qe,nodeId:Xe,nodeClickDistance:Ze=0}){z=B0(xe);function vn({x:Kn,y:_}){const{nodeLookup:je,nodeExtent:rn,snapGrid:sn,snapToGrid:Sn,nodeOrigin:Bn,onNodeDrag:dn,onSelectionDrag:Jn,onError:Nn,updateNodePositions:qn}=E();$={x:Kn,y:_};let Jt=!1;const Xt=q.size>1,Oi=Xt&&rn?jge(LA(q)):null,gr=Xt&&Sn?MRn({dragItems:q,snapGrid:sn,x:Kn,y:_}):null;for(const[Ki,Wn]of q){if(!je.has(Ki))continue;let ei={x:Kn-Wn.distance.x,y:_-Wn.distance.y};Sn&&(ei=gr?{x:Math.round(ei.x+gr.x),y:Math.round(ei.y+gr.y)}:mN(ei,sn));let rr=null;if(Xt&&rn&&!Wn.extent&&Oi){const{positionAbsolute:sr}=Wn.internals,ri=sr.x-Oi.x+rn[0][0],ai=sr.x+Wn.measured.width-Oi.x2+rn[1][0],Mc=sr.y-Oi.y+rn[0][1],ku=sr.y+Wn.measured.height-Oi.y2+rn[1][1];rr=[[ri,Mc],[ai,ku]]}const{position:cr,positionAbsolute:_i}=qhn({nodeId:Ki,nextPosition:ei,nodeLookup:je,nodeExtent:rr||rn,nodeOrigin:Bn,onError:Nn});Jt=Jt||Wn.position.x!==cr.x||Wn.position.y!==cr.y,Wn.position=cr,Wn.internals.positionAbsolute=_i}if(Z=Z||Jt,!!Jt&&(qn(q,!0),U&&(N||dn||!Xe&&Jn))){const[Ki,Wn]=wge({nodeId:Xe,dragItems:q,nodeLookup:je});N==null||N(U,q,Ki,Wn),dn==null||dn(U,Ki,Wn),Xe||Jn==null||Jn(U,Wn)}}async function jn(){if(!pe)return;const{transform:Kn,panBy:_,autoPanSpeed:je,autoPanOnNodeDrag:rn}=E();if(!rn){te=!1,cancelAnimationFrame(v);return}const[sn,Sn]=Lge(ie,pe,je);(sn!==0||Sn!==0)&&($.x=($.x??0)-sn/Kn[2],$.y=($.y??0)-Sn/Kn[2],await _({x:sn,y:Sn})&&vn($)),v=requestAnimationFrame(jn)}function et(Kn){var Xt;const{nodeLookup:_,multiSelectionActive:je,nodesDraggable:rn,transform:sn,snapGrid:Sn,snapToGrid:Bn,selectNodesOnDrag:dn,onNodeDragStart:Jn,onSelectionDragStart:Nn,unselectNodesAndEdges:qn}=E();oe=!0,(!dn||!Qe)&&!je&&Xe&&((Xt=_.get(Xe))!=null&&Xt.selected||qn()),Qe&&dn&&Xe&&(p==null||p(Xe));const Jt=sN(Kn.sourceEvent,{transform:sn,snapGrid:Sn,snapToGrid:Bn,containerBounds:pe});if($=Jt,q=ARn(_,rn,Jt,Xe),q.size>0&&(P||Jn||!Xe&&Nn)){const[Oi,gr]=wge({nodeId:Xe,dragItems:q,nodeLookup:_});P==null||P(Kn.sourceEvent,q,Oi,gr),Jn==null||Jn(Kn.sourceEvent,Oi,gr),Xe||Nn==null||Nn(Kn.sourceEvent,gr)}}const Dn=Bhn().clickDistance(Ze).on("start",Kn=>{const{domNode:_,nodeDragThreshold:je,transform:rn,snapGrid:sn,snapToGrid:Sn}=E();pe=(_==null?void 0:_.getBoundingClientRect())||null,ne=!1,Z=!1,U=Kn.sourceEvent,je===0&&et(Kn),$=sN(Kn.sourceEvent,{transform:rn,snapGrid:sn,snapToGrid:Sn,containerBounds:pe}),ie=t2(Kn.sourceEvent,pe)}).on("drag",Kn=>{const{autoPanOnNodeDrag:_,transform:je,snapGrid:rn,snapToGrid:sn,nodeDragThreshold:Sn,nodeLookup:Bn}=E(),dn=sN(Kn.sourceEvent,{transform:je,snapGrid:rn,snapToGrid:sn,containerBounds:pe});if(U=Kn.sourceEvent,(Kn.sourceEvent.type==="touchmove"&&Kn.sourceEvent.touches.length>1||Xe&&!Bn.has(Xe))&&(ne=!0),!ne){if(!te&&_&&oe&&(te=!0,jn()),!oe){const Jn=t2(Kn.sourceEvent,pe),Nn=Jn.x-ie.x,qn=Jn.y-ie.y;Math.sqrt(Nn*Nn+qn*qn)>Sn&&et(Kn)}($.x!==dn.xSnapped||$.y!==dn.ySnapped)&&q&&oe&&(ie=t2(Kn.sourceEvent,pe),vn(dn))}}).on("end",Kn=>{if(!oe||ne){ne&&q.size>0&&E().updateNodePositions(q,!1);return}if(te=!1,oe=!1,cancelAnimationFrame(v),q.size>0){const{nodeLookup:_,updateNodePositions:je,onNodeDragStop:rn,onSelectionDragStop:sn}=E();if(Z&&(je(q,!1),Z=!1),D||rn||!Xe&&sn){const[Sn,Bn]=wge({nodeId:Xe,dragItems:q,nodeLookup:_,dragging:!1});D==null||D(Kn.sourceEvent,q,Sn,Bn),rn==null||rn(Kn.sourceEvent,Sn,Bn),Xe||sn==null||sn(Kn.sourceEvent,Bn)}}}).filter(Kn=>{const _=Kn.target;return!Kn.button&&(!we||!ehn(_,`.${we}`,xe))&&(!ee||ehn(_,ee,xe))});z.call(Dn)}function re(){z==null||z.on(".drag",null)}return{update:Ee,destroy:re}}function CRn(p,E,P){const N=[],D={x:p.x-P,y:p.y-P,width:P*2,height:P*2};for(const $ of E.values())BX(D,bN($))>0&&N.push($);return N}const TRn=250;function SRn(p,E,P,N){var q,te;let D=[],$=1/0;const v=CRn(p,P,E+TRn);for(const ie of v){const pe=[...((q=ie.internals.handleBounds)==null?void 0:q.source)??[],...((te=ie.internals.handleBounds)==null?void 0:te.target)??[]];for(const oe of pe){if(N.nodeId===oe.nodeId&&N.type===oe.type&&N.id===oe.id)continue;const{x:z,y:ne}=rk(ie,oe,oe.position,!0),Z=Math.sqrt(Math.pow(z-p.x,2)+Math.pow(ne-p.y,2));Z>E||(Z<$?(D=[{...oe,x:z,y:ne}],$=Z):Z===$&&D.push({...oe,x:z,y:ne}))}}if(!D.length)return null;if(D.length>1){const ie=N.type==="source"?"target":"source";return D.find(pe=>pe.type===ie)??D[0]}return D[0]}function san(p,E,P,N,D,$=!1){var ie,pe,oe;const v=N.get(p);if(!v)return null;const q=D==="strict"?(ie=v.internals.handleBounds)==null?void 0:ie[E]:[...((pe=v.internals.handleBounds)==null?void 0:pe.source)??[],...((oe=v.internals.handleBounds)==null?void 0:oe.target)??[]],te=(P?q==null?void 0:q.find(z=>z.id===P):q==null?void 0:q[0])??null;return te&&$?{...te,...rk(v,te,te.position,!0)}:te}function fan(p,E){return p||(E!=null&&E.classList.contains("target")?"target":E!=null&&E.classList.contains("source")?"source":null)}function IRn(p,E){let P=null;return E?P=!0:p&&!E&&(P=!1),P}const lan=()=>!0;function PRn(p,{connectionMode:E,connectionRadius:P,handleId:N,nodeId:D,edgeUpdaterType:$,isTarget:v,domNode:q,nodeLookup:te,lib:ie,autoPanOnConnect:pe,flowId:oe,panBy:z,cancelConnection:ne,onConnectStart:Z,onConnect:U,onConnectEnd:Ee,isValidConnection:re=lan,onReconnectEnd:we,updateConnection:ee,getTransform:xe,getFromHandle:Qe,autoPanSpeed:Xe,dragThreshold:Ze=1,handleDomNode:vn}){const jn=Yhn(p.target);let et=0,Dn;const{x:Kn,y:_}=t2(p),je=fan($,vn),rn=q==null?void 0:q.getBoundingClientRect();let sn=!1;if(!rn||!je)return;const Sn=san(D,je,N,te,E);if(!Sn)return;let Bn=t2(p,rn),dn=!1,Jn=null,Nn=!1,qn=null;function Jt(){if(!pe||!rn)return;const[cr,_i]=Lge(Bn,rn,Xe);z({x:cr,y:_i}),et=requestAnimationFrame(Jt)}const Xt={...Sn,nodeId:D,type:je,position:Sn.position},Oi=te.get(D);let Ki={inProgress:!0,isValid:null,from:rk(Oi,Xt,ji.Left,!0),fromHandle:Xt,fromPosition:Xt.position,fromNode:Oi,to:Bn,toHandle:null,toPosition:Gln[Xt.position],toNode:null,pointer:Bn};function Wn(){sn=!0,ee(Ki),Z==null||Z(p,{nodeId:D,handleId:N,handleType:je})}Ze===0&&Wn();function ei(cr){if(!sn){const{x:ku,y:ic}=t2(cr),Sa=ku-Kn,ph=ic-_;if(!(Sa*Sa+ph*ph>Ze*Ze))return;Wn()}if(!Qe()||!Xt){rr(cr);return}const _i=xe();Bn=t2(cr,rn),Dn=SRn(vN(Bn,_i,!1,[1,1]),P,te,Xt),dn||(Jt(),dn=!0);const sr=han(cr,{handle:Dn,connectionMode:E,fromNodeId:D,fromHandleId:N,fromType:v?"target":"source",isValidConnection:re,doc:jn,lib:ie,flowId:oe,nodeLookup:te});qn=sr.handleDomNode,Jn=sr.connection,Nn=IRn(!!Dn,sr.isValid);const ri=te.get(D),ai=ri?rk(ri,Xt,ji.Left,!0):Ki.from,Mc={...Ki,from:ai,isValid:Nn,to:sr.toHandle&&Nn?NA({x:sr.toHandle.x,y:sr.toHandle.y},_i):Bn,toHandle:sr.toHandle,toPosition:Nn&&sr.toHandle?sr.toHandle.position:Gln[Xt.position],toNode:sr.toHandle?te.get(sr.toHandle.nodeId):null,pointer:Bn};ee(Mc),Ki=Mc}function rr(cr){if(!("touches"in cr&&cr.touches.length>0)){if(sn){(Dn||qn)&&Jn&&Nn&&(U==null||U(Jn));const{inProgress:_i,...sr}=Ki,ri={...sr,toPosition:Ki.toHandle?Ki.toPosition:null};Ee==null||Ee(cr,ri),$&&(we==null||we(cr,ri))}ne(),cancelAnimationFrame(et),dn=!1,Nn=!1,Jn=null,qn=null,jn.removeEventListener("mousemove",ei),jn.removeEventListener("mouseup",rr),jn.removeEventListener("touchmove",ei),jn.removeEventListener("touchend",rr)}}jn.addEventListener("mousemove",ei),jn.addEventListener("mouseup",rr),jn.addEventListener("touchmove",ei),jn.addEventListener("touchend",rr)}function han(p,{handle:E,connectionMode:P,fromNodeId:N,fromHandleId:D,fromType:$,doc:v,lib:q,flowId:te,isValidConnection:ie=lan,nodeLookup:pe}){const oe=$==="target",z=E?v.querySelector(`.${q}-flow__handle[data-id="${te}-${E==null?void 0:E.nodeId}-${E==null?void 0:E.id}-${E==null?void 0:E.type}"]`):null,{x:ne,y:Z}=t2(p),U=v.elementFromPoint(ne,Z),Ee=U!=null&&U.classList.contains(`${q}-flow__handle`)?U:z,re={handleDomNode:Ee,isValid:!1,connection:null,toHandle:null};if(Ee){const we=fan(void 0,Ee),ee=Ee.getAttribute("data-nodeid"),xe=Ee.getAttribute("data-handleid"),Qe=Ee.classList.contains("connectable"),Xe=Ee.classList.contains("connectableend");if(!ee||!we)return re;const Ze={source:oe?ee:N,sourceHandle:oe?xe:D,target:oe?N:ee,targetHandle:oe?D:xe};re.connection=Ze;const jn=Qe&&Xe&&(P===PA.Strict?oe&&we==="source"||!oe&&we==="target":ee!==N||xe!==D);re.isValid=jn&&ie(Ze),re.toHandle=san(ee,we,xe,pe,P,!0)}return re}const xge={onPointerDown:PRn,isValid:han};function ORn({domNode:p,panZoom:E,getTransform:P,getViewScale:N}){const D=B0(p);function $({translateExtent:q,width:te,height:ie,zoomStep:pe=1,pannable:oe=!0,zoomable:z=!0,inversePan:ne=!1}){const Z=ee=>{if(ee.sourceEvent.type!=="wheel"||!E)return;const xe=P(),Qe=ee.sourceEvent.ctrlKey&&wN()?10:1,Xe=-ee.sourceEvent.deltaY*(ee.sourceEvent.deltaMode===1?.05:ee.sourceEvent.deltaMode?1:.002)*pe,Ze=xe[2]*Math.pow(2,Xe*Qe);E.scaleTo(Ze)};let U=[0,0];const Ee=ee=>{(ee.sourceEvent.type==="mousedown"||ee.sourceEvent.type==="touchstart")&&(U=[ee.sourceEvent.clientX??ee.sourceEvent.touches[0].clientX,ee.sourceEvent.clientY??ee.sourceEvent.touches[0].clientY])},re=ee=>{const xe=P();if(ee.sourceEvent.type!=="mousemove"&&ee.sourceEvent.type!=="touchmove"||!E)return;const Qe=[ee.sourceEvent.clientX??ee.sourceEvent.touches[0].clientX,ee.sourceEvent.clientY??ee.sourceEvent.touches[0].clientY],Xe=[Qe[0]-U[0],Qe[1]-U[1]];U=Qe;const Ze=N()*Math.max(xe[2],Math.log(xe[2]))*(ne?-1:1),vn={x:xe[0]-Xe[0]*Ze,y:xe[1]-Xe[1]*Ze},jn=[[0,0],[te,ie]];E.setViewportConstrained({x:vn.x,y:vn.y,zoom:xe[2]},jn,q)},we=Rhn().on("start",Ee).on("zoom",oe?re:null).on("zoom.wheel",z?Z:null);D.call(we,{})}function v(){D.on("zoom",null)}return{update:$,destroy:v,pointer:e2}}const HX=p=>({x:p.x,y:p.y,zoom:p.k}),gge=({x:p,y:E,zoom:P})=>Pge.translate(p,E).scale(P),q5=(p,E)=>p.target.closest(`.${E}`),aan=(p,E)=>E===2&&Array.isArray(p)&&p.includes(2),NRn=p=>((p*=2)<=1?p*p*p:(p-=2)*p*p+2)/2,pge=(p,E=0,P=NRn,N=()=>{})=>{const D=typeof E=="number"&&E>0;return D||N(),D?p.transition().duration(E).ease(P).on("end",N):p},dan=p=>{const E=p.ctrlKey&&wN()?10:1;return-p.deltaY*(p.deltaMode===1?.05:p.deltaMode?1:.002)*E};function DRn({zoomPanValues:p,noWheelClassName:E,d3Selection:P,d3Zoom:N,panOnScrollMode:D,panOnScrollSpeed:$,zoomOnPinch:v,onPanZoomStart:q,onPanZoom:te,onPanZoomEnd:ie}){return pe=>{if(q5(pe,E))return pe.ctrlKey&&pe.preventDefault(),!1;pe.preventDefault(),pe.stopImmediatePropagation();const oe=P.property("__zoom").k||1;if(pe.ctrlKey&&v){const Ee=e2(pe),re=dan(pe),we=oe*Math.pow(2,re);N.scaleTo(P,we,Ee,pe);return}const z=pe.deltaMode===1?20:1;let ne=D===nk.Vertical?0:pe.deltaX*z,Z=D===nk.Horizontal?0:pe.deltaY*z;!wN()&&pe.shiftKey&&D!==nk.Vertical&&(ne=pe.deltaY*z,Z=0),N.translateBy(P,-(ne/oe)*$,-(Z/oe)*$,{internal:!0});const U=HX(P.property("__zoom"));clearTimeout(p.panScrollTimeout),p.isPanScrolling?te==null||te(pe,U):(p.isPanScrolling=!0,q==null||q(pe,U)),p.panScrollTimeout=setTimeout(()=>{ie==null||ie(pe,U),p.isPanScrolling=!1},150)}}function LRn({noWheelClassName:p,preventScrolling:E,d3ZoomHandler:P}){return function(N,D){const $=N.type==="wheel",v=!E&&$&&!N.ctrlKey,q=q5(N,p);if(N.ctrlKey&&$&&q&&N.preventDefault(),v||q)return null;N.preventDefault(),P.call(this,N,D)}}function $Rn({zoomPanValues:p,onDraggingChange:E,onPanZoomStart:P}){return N=>{var $,v,q;if(($=N.sourceEvent)!=null&&$.internal)return;const D=HX(N.transform);p.mouseButton=((v=N.sourceEvent)==null?void 0:v.button)||0,p.isZoomingOrPanning=!0,p.prevViewport=D,((q=N.sourceEvent)==null?void 0:q.type)==="mousedown"&&E(!0),P&&(P==null||P(N.sourceEvent,D))}}function FRn({zoomPanValues:p,panOnDrag:E,onPaneContextMenu:P,onTransformChange:N,onPanZoom:D}){return $=>{var v,q;p.usedRightMouseButton=!!(P&&aan(E,p.mouseButton??0)),(v=$.sourceEvent)!=null&&v.sync||N([$.transform.x,$.transform.y,$.transform.k]),D&&!((q=$.sourceEvent)!=null&&q.internal)&&(D==null||D($.sourceEvent,HX($.transform)))}}function BRn({zoomPanValues:p,panOnDrag:E,panOnScroll:P,onDraggingChange:N,onPanZoomEnd:D,onPaneContextMenu:$}){return v=>{var q;if(!((q=v.sourceEvent)!=null&&q.internal)&&(p.isZoomingOrPanning=!1,$&&aan(E,p.mouseButton??0)&&!p.usedRightMouseButton&&v.sourceEvent&&$(v.sourceEvent),p.usedRightMouseButton=!1,N(!1),D)){const te=HX(v.transform);p.prevViewport=te,clearTimeout(p.timerId),p.timerId=setTimeout(()=>{D==null||D(v.sourceEvent,te)},P?150:0)}}}function RRn({panActivationKeyPressed:p,zoomActivationKeyPressed:E,zoomOnScroll:P,zoomOnPinch:N,panOnDrag:D,panOnScroll:$,zoomOnDoubleClick:v,userSelectionActive:q,noWheelClassName:te,noPanClassName:ie,lib:pe,connectionInProgress:oe}){return z=>{var re;const ne=E||P,Z=N&&z.ctrlKey,U=z.type==="wheel";if(z.button===1&&z.type==="mousedown"&&(q5(z,`${pe}-flow__node`)||q5(z,`${pe}-flow__edge`)||q5(z,`${pe}-flow__selection`)||q5(z,`${pe}-flow__nodesselection`)))return!0;if(!D&&!ne&&!$&&!v&&!N||q||oe&&!U||q5(z,te)&&U||q5(z,ie)&&(!U||$&&U&&!E)||!N&&z.ctrlKey&&U)return!1;if(!N&&z.type==="touchstart"&&((re=z.touches)==null?void 0:re.length)>1)return z.preventDefault(),!1;if(!ne&&!$&&!Z&&U||!D&&(z.type==="mousedown"||z.type==="touchstart")||Array.isArray(D)&&!D.includes(z.button)&&z.type==="mousedown")return!1;const Ee=Array.isArray(D)&&D.includes(z.button)||!z.button||z.button<=1;return(!z.ctrlKey||U||p)&&Ee}}function _Rn({domNode:p,minZoom:E,maxZoom:P,translateExtent:N,viewport:D,onPanZoom:$,onPanZoomStart:v,onPanZoomEnd:q,onDraggingChange:te}){const ie={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},pe=p.getBoundingClientRect();let oe=[[0,0],[pe.width,pe.height]];const z=typeof ResizeObserver<"u"?new ResizeObserver(_=>{const je=_[0];je&&(oe=[[0,0],[je.contentRect.width,je.contentRect.height]])}):null;z==null||z.observe(p);const ne=Rhn().extent(()=>oe).scaleExtent([E,P]).translateExtent(N),Z=B0(p).call(ne);xe({x:D.x,y:D.y,zoom:OA(D.zoom,E,P)},[[0,0],[pe.width,pe.height]],N);const U=Z.on("wheel.zoom"),Ee=Z.on("dblclick.zoom");ne.wheelDelta(dan);async function re(_,je){return Z?new Promise(rn=>{ne==null||ne.interpolate((je==null?void 0:je.interpolate)==="linear"?hge:NX).transform(pge(Z,je==null?void 0:je.duration,je==null?void 0:je.ease,()=>rn(!0)),_)}):!1}function we({noWheelClassName:_,noPanClassName:je,onPaneContextMenu:rn,userSelectionActive:sn,panOnScroll:Sn,panOnDrag:Bn,panOnScrollMode:dn,panOnScrollSpeed:Jn,preventScrolling:Nn,zoomOnPinch:qn,zoomOnScroll:Jt,zoomOnDoubleClick:Xt,panActivationKeyPressed:Oi=!1,zoomActivationKeyPressed:gr,lib:Ki,onTransformChange:Wn,connectionInProgress:ei,paneClickDistance:rr,selectionOnDrag:cr}){sn&&!ie.isZoomingOrPanning&&ee();const _i=Sn&&!gr&&!sn;ne.clickDistance(cr?1/0:!n2(rr)||rr<0?0:rr);const sr=_i?DRn({zoomPanValues:ie,noWheelClassName:_,d3Selection:Z,d3Zoom:ne,panOnScrollMode:dn,panOnScrollSpeed:Jn,zoomOnPinch:qn,onPanZoomStart:v,onPanZoom:$,onPanZoomEnd:q}):LRn({noWheelClassName:_,preventScrolling:Nn,d3ZoomHandler:U});Z.on("wheel.zoom",sr,{passive:!1});const ri=$Rn({zoomPanValues:ie,onDraggingChange:te,onPanZoomStart:v});ne.on("start",ri);const ai=FRn({zoomPanValues:ie,panOnDrag:Bn,onPaneContextMenu:!!rn,onPanZoom:$,onTransformChange:Wn});ne.on("zoom",ai);const Mc=BRn({zoomPanValues:ie,panOnDrag:Bn,panOnScroll:Sn,onPaneContextMenu:rn,onPanZoomEnd:q,onDraggingChange:te});ne.on("end",Mc);const ku=RRn({panActivationKeyPressed:Oi,zoomActivationKeyPressed:gr,panOnDrag:Bn,zoomOnScroll:Jt,panOnScroll:Sn,zoomOnDoubleClick:Xt,zoomOnPinch:qn,userSelectionActive:sn,noPanClassName:je,noWheelClassName:_,lib:Ki,connectionInProgress:ei});ne.filter(ku),Xt?Z.on("dblclick.zoom",Ee):Z.on("dblclick.zoom",null)}function ee(){ne.on("zoom",null)}async function xe(_,je,rn){const sn=gge(_),Sn=ne==null?void 0:ne.constrain()(sn,je,rn);return Sn&&await re(Sn),Sn}async function Qe(_,je){const rn=gge(_);return await re(rn,je),rn}function Xe(_){if(Z){const je=gge(_),rn=Z.property("__zoom");(rn.k!==_.zoom||rn.x!==_.x||rn.y!==_.y)&&(ne==null||ne.transform(Z,je,null,{sync:!0}))}}function Ze(){const _=Z?kBn(Z.node()):{x:0,y:0,k:1};return{x:_.x,y:_.y,zoom:_.k}}async function vn(_,je){return Z?new Promise(rn=>{ne==null||ne.interpolate((je==null?void 0:je.interpolate)==="linear"?hge:NX).scaleTo(pge(Z,je==null?void 0:je.duration,je==null?void 0:je.ease,()=>rn(!0)),_)}):!1}async function jn(_,je){return Z?new Promise(rn=>{ne==null||ne.interpolate((je==null?void 0:je.interpolate)==="linear"?hge:NX).scaleBy(pge(Z,je==null?void 0:je.duration,je==null?void 0:je.ease,()=>rn(!0)),_)}):!1}function et(_){ne==null||ne.scaleExtent(_)}function Dn(_){ne==null||ne.translateExtent(_)}function Kn(_){const je=!n2(_)||_<0?0:_;ne==null||ne.clickDistance(je)}return{update:we,destroy:ee,setViewport:Qe,setViewportConstrained:xe,getViewport:Ze,scaleTo:vn,scaleBy:jn,setScaleExtent:et,setTranslateExtent:Dn,syncViewport:Xe,setClickDistance:Kn}}var DA;(function(p){p.Line="line",p.Handle="handle"})(DA||(DA={}));function JRn({width:p,prevWidth:E,height:P,prevHeight:N,affectsX:D,affectsY:$}){const v=p-E,q=P-N,te=[v>0?1:v<0?-1:0,q>0?1:q<0?-1:0];return v&&D&&(te[0]=te[0]*-1),q&&$&&(te[1]=te[1]*-1),te}function nhn(p){const E=p.includes("right")||p.includes("left"),P=p.includes("bottom")||p.includes("top"),N=p.includes("left"),D=p.includes("top");return{isHorizontal:E,isVertical:P,affectsX:N,affectsY:D}}function G5(p,E){return Math.max(0,E-p)}function H5(p,E){return Math.max(0,p-E)}function SX(p,E,P){return Math.max(0,E-p,p-P)}function thn(p,E){return p?!E:E}function GRn(p,E,P,N,D,$,v,q){let{affectsX:te,affectsY:ie}=E;const{isHorizontal:pe,isVertical:oe}=E,z=pe&&oe,{xSnapped:ne,ySnapped:Z}=P,{minWidth:U,maxWidth:Ee,minHeight:re,maxHeight:we}=N,{x:ee,y:xe,width:Qe,height:Xe,aspectRatio:Ze}=p;let vn=Math.floor(pe?ne-p.pointerX:0),jn=Math.floor(oe?Z-p.pointerY:0);const et=Qe+(te?-vn:vn),Dn=Xe+(ie?-jn:jn),Kn=-$[0]*Qe,_=-$[1]*Xe;let je=SX(et,U,Ee),rn=SX(Dn,re,we);if(v){let Bn=0,dn=0;te&&vn<0?Bn=G5(ee+vn+Kn,v[0][0]):!te&&vn>0&&(Bn=H5(ee+et+Kn,v[1][0])),ie&&jn<0?dn=G5(xe+jn+_,v[0][1]):!ie&&jn>0&&(dn=H5(xe+Dn+_,v[1][1])),je=Math.max(je,Bn),rn=Math.max(rn,dn)}if(q){let Bn=0,dn=0;te&&vn>0?Bn=H5(ee+vn,q[0][0]):!te&&vn<0&&(Bn=G5(ee+et,q[1][0])),ie&&jn>0?dn=H5(xe+jn,q[0][1]):!ie&&jn<0&&(dn=G5(xe+Dn,q[1][1])),je=Math.max(je,Bn),rn=Math.max(rn,dn)}if(D){if(pe){const Bn=SX(et/Ze,re,we)*Ze;if(je=Math.max(je,Bn),v){let dn=0;!te&&!ie||te&&!ie&&z?dn=H5(xe+_+et/Ze,v[1][1])*Ze:dn=G5(xe+_+(te?vn:-vn)/Ze,v[0][1])*Ze,je=Math.max(je,dn)}if(q){let dn=0;!te&&!ie||te&&!ie&&z?dn=G5(xe+et/Ze,q[1][1])*Ze:dn=H5(xe+(te?vn:-vn)/Ze,q[0][1])*Ze,je=Math.max(je,dn)}}if(oe){const Bn=SX(Dn*Ze,U,Ee)/Ze;if(rn=Math.max(rn,Bn),v){let dn=0;!te&&!ie||ie&&!te&&z?dn=H5(ee+Dn*Ze+Kn,v[1][0])/Ze:dn=G5(ee+(ie?jn:-jn)*Ze+Kn,v[0][0])/Ze,rn=Math.max(rn,dn)}if(q){let dn=0;!te&&!ie||ie&&!te&&z?dn=G5(ee+Dn*Ze,q[1][0])/Ze:dn=H5(ee+(ie?jn:-jn)*Ze,q[0][0])/Ze,rn=Math.max(rn,dn)}}}jn=jn+(jn<0?rn:-rn),vn=vn+(vn<0?je:-je),D&&(z?et>Dn*Ze?jn=(thn(te,ie)?-vn:vn)/Ze:vn=(thn(te,ie)?-jn:jn)*Ze:pe?(jn=vn/Ze,ie=te):(vn=jn*Ze,te=ie));const sn=te?ee+vn:ee,Sn=ie?xe+jn:xe;return{width:Qe+(te?-vn:vn),height:Xe+(ie?-jn:jn),x:$[0]*vn*(te?-1:1)+sn,y:$[1]*jn*(ie?-1:1)+Sn}}const ban={width:0,height:0,x:0,y:0},HRn={...ban,pointerX:0,pointerY:0,aspectRatio:1};function qRn(p,E,P){const N=E.position.x+p.position.x,D=E.position.y+p.position.y,$=p.measured.width??0,v=p.measured.height??0,q=P[0]*$,te=P[1]*v;return[[N-q,D-te],[N+$-q,D+v-te]]}function zRn({domNode:p,nodeId:E,getStoreItems:P,onChange:N,onEnd:D}){const $=B0(p);let v={controlDirection:nhn("bottom-right"),boundaries:{minWidth:0,minHeight:0,maxWidth:Number.MAX_VALUE,maxHeight:Number.MAX_VALUE},resizeDirection:void 0,keepAspectRatio:!1};function q({controlPosition:ie,boundaries:pe,keepAspectRatio:oe,resizeDirection:z,onResizeStart:ne,onResize:Z,onResizeEnd:U,shouldResize:Ee}){let re={...ban},we={...HRn};v={boundaries:pe,resizeDirection:z,keepAspectRatio:oe,controlDirection:nhn(ie)};let ee,xe=null,Qe=[],Xe,Ze,vn;const jn=Bhn().on("start",et=>{const{nodeLookup:Dn,transform:Kn,snapGrid:_,snapToGrid:je,nodeOrigin:rn,paneDomNode:sn}=P();if(ee=Dn.get(E),!ee)return;xe=(sn==null?void 0:sn.getBoundingClientRect())??null;const{xSnapped:Sn,ySnapped:Bn}=sN(et.sourceEvent,{transform:Kn,snapGrid:_,snapToGrid:je,containerBounds:xe});re={width:ee.measured.width??0,height:ee.measured.height??0,x:ee.position.x??0,y:ee.position.y??0},we={...re,pointerX:Sn,pointerY:Bn,aspectRatio:re.width/re.height},Xe=void 0,Ze=ik(ee.extent)?ee.extent:void 0,ee.parentId&&(ee.extent==="parent"||ee.expandParent)&&(Xe=Dn.get(ee.parentId)),Xe&&ee.extent==="parent"&&(Ze=[[0,0],[Xe.measured.width,Xe.measured.height]]),Qe=[],vn=void 0;for(const[dn,Jn]of Dn)if(Jn.parentId===E&&(Qe.push({id:dn,position:{...Jn.position},extent:Jn.extent}),Jn.extent==="parent"||Jn.expandParent)){const Nn=qRn(Jn,ee,Jn.origin??rn);vn?vn=[[Math.min(Nn[0][0],vn[0][0]),Math.min(Nn[0][1],vn[0][1])],[Math.max(Nn[1][0],vn[1][0]),Math.max(Nn[1][1],vn[1][1])]]:vn=Nn}ne==null||ne(et,{...re})}).on("drag",et=>{const{transform:Dn,snapGrid:Kn,snapToGrid:_,nodeOrigin:je}=P(),rn=sN(et.sourceEvent,{transform:Dn,snapGrid:Kn,snapToGrid:_,containerBounds:xe}),sn=[];if(!ee)return;const{x:Sn,y:Bn,width:dn,height:Jn}=re,Nn={},qn=ee.origin??je,{width:Jt,height:Xt,x:Oi,y:gr}=GRn(we,v.controlDirection,rn,v.boundaries,v.keepAspectRatio,qn,Ze,vn),Ki=Jt!==dn,Wn=Xt!==Jn,ei=Oi!==Sn&&Ki,rr=gr!==Bn&&Wn;if(!ei&&!rr&&!Ki&&!Wn)return;const cr={prevValues:{...re},startX:we.x,startY:we.y,childNodes:Qe.map(ai=>({...ai,position:{...ai.position}}))};if((ei||rr||qn[0]===1||qn[1]===1)&&(Nn.x=ei?Oi:re.x,Nn.y=rr?gr:re.y,re.x=Nn.x,re.y=Nn.y,Qe.length>0)){const ai=Oi-Sn,Mc=gr-Bn;for(const ku of Qe)ku.position={x:ku.position.x-ai+qn[0]*(Jt-dn),y:ku.position.y-Mc+qn[1]*(Xt-Jn)},sn.push(ku)}if((Ki||Wn)&&(Nn.width=Ki&&(!v.resizeDirection||v.resizeDirection==="horizontal")?Jt:re.width,Nn.height=Wn&&(!v.resizeDirection||v.resizeDirection==="vertical")?Xt:re.height,re.width=Nn.width,re.height=Nn.height),Xe&&ee.expandParent){const ai=qn[0]*(Nn.width??0);Nn.x&&Nn.x<ai&&(re.x=ai,we.x=we.x-(Nn.x-ai));const Mc=qn[1]*(Nn.height??0);Nn.y&&Nn.y<Mc&&(re.y=Mc,we.y=we.y-(Nn.y-Mc))}const _i=JRn({width:re.width,prevWidth:dn,height:re.height,prevHeight:Jn,affectsX:v.controlDirection.affectsX,affectsY:v.controlDirection.affectsY}),sr={...re,direction:_i};if((Ee==null?void 0:Ee(et,sr))===!1){re=cr.prevValues,we.x=cr.startX,we.y=cr.startY,Qe.forEach((ai,Mc)=>{ai.position=cr.childNodes[Mc].position});return}Z==null||Z(et,sr),N(Nn,sn)}).on("end",et=>{U==null||U(et,{...re}),D==null||D({...re})});$.call(jn)}function te(){$.on(".drag",null)}return{update:q,destroy:te}}const URn={},ihn=p=>{let E;const P=new Set,N=(pe,oe)=>{const z=typeof pe=="function"?pe(E):pe;if(!Object.is(z,E)){const ne=E;E=oe??(typeof z!="object"||z===null)?z:Object.assign({},E,z),P.forEach(Z=>Z(E,ne))}},D=()=>E,te={setState:N,getState:D,getInitialState:()=>ie,subscribe:pe=>(P.add(pe),()=>P.delete(pe)),destroy:()=>{(URn?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),P.clear()}},ie=E=p(N,D,te);return te},XRn=p=>p?ihn(p):ihn,{useDebugValue:KRn}=qFn,{useSyncExternalStoreWithSelector:WRn}=HFn,VRn=p=>p;function wan(p,E=VRn,P){const N=WRn(p.subscribe,p.getState,p.getServerState||p.getInitialState,E,P);return KRn(N),N}const rhn=(p,E)=>{const P=XRn(p),N=(D,$=E)=>wan(P,D,$);return Object.assign(N,P),N},QRn=(p,E)=>p?rhn(p,E):rhn;function xs(p,E){if(Object.is(p,E))return!0;if(typeof p!="object"||p===null||typeof E!="object"||E===null)return!1;if(p instanceof Map&&E instanceof Map){if(p.size!==E.size)return!1;for(const[N,D]of p)if(!Object.is(D,E.get(N)))return!1;return!0}if(p instanceof Set&&E instanceof Set){if(p.size!==E.size)return!1;for(const N of p)if(!E.has(N))return!1;return!0}const P=Object.keys(p);if(P.length!==Object.keys(E).length)return!1;for(const N of P)if(!Object.prototype.hasOwnProperty.call(E,N)||!Object.is(p[N],E[N]))return!1;return!0}const qX=cn.createContext(null),YRn=qX.Provider,gan=r2.error001("react");function Sc(p,E){const P=cn.useContext(qX);if(P===null)throw new Error(gan);return wan(P,p,E)}function cs(){const p=cn.useContext(qX);if(p===null)throw new Error(gan);return cn.useMemo(()=>({getState:p.getState,setState:p.setState,subscribe:p.subscribe}),[p])}const chn={display:"none"},ZRn={position:"absolute",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0px, 0px, 0px, 0px)",clipPath:"inset(100%)"},pan="react-flow__node-desc",man="react-flow__edge-desc",e_n="react-flow__aria-live",n_n=p=>p.ariaLiveMessage,t_n=p=>p.ariaLabelConfig;function i_n({rfId:p}){const E=Sc(n_n);return le.jsx("div",{id:`${e_n}-${p}`,"aria-live":"assertive","aria-atomic":"true",style:ZRn,children:E})}function r_n({rfId:p,disableKeyboardA11y:E}){const P=Sc(t_n);return le.jsxs(le.Fragment,{children:[le.jsx("div",{id:`${pan}-${p}`,style:chn,children:E?P["node.a11yDescription.default"]:P["node.a11yDescription.keyboardDisabled"]}),le.jsx("div",{id:`${man}-${p}`,style:chn,children:P["edge.a11yDescription.default"]}),!E&&le.jsx(i_n,{rfId:p})]})}const kN=cn.forwardRef(({position:p="top-left",children:E,className:P,style:N,...D},$)=>{const v=`${p}`.split("-");return le.jsx("div",{className:Xf(["react-flow__panel",P,...v]),style:N,ref:$,...D,children:E})});kN.displayName="Panel";const uhn="https://reactflow.dev?utm_source=attribution";function c_n({proOptions:p,position:E="bottom-right"}){return cn.useEffect(()=>{},[]),p!=null&&p.hideAttribution?null:le.jsx(kN,{position:E,className:"react-flow__attribution","data-message":`Please only hide this attribution when you are subscribed to React Flow Pro: ${uhn}`,children:le.jsx("a",{href:uhn,target:"_blank",rel:"noopener noreferrer","aria-label":"React Flow attribution",children:"React Flow"})})}const u_n=p=>{const E=[],P=[];for(const[,N]of p.nodeLookup)N.selected&&E.push(N.internals.userNode);for(const[,N]of p.edgeLookup)N.selected&&P.push(N);return{selectedNodes:E,selectedEdges:P}},IX=p=>p.id;function o_n(p,E){return xs(p.selectedNodes.map(IX),E.selectedNodes.map(IX))&&xs(p.selectedEdges.map(IX),E.selectedEdges.map(IX))}function s_n({onSelectionChange:p}){const E=cs(),{selectedNodes:P,selectedEdges:N}=Sc(u_n,o_n);return cn.useEffect(()=>{const D={nodes:P,edges:N};p==null||p(D),E.getState().onSelectionChangeHandlers.forEach($=>$(D))},[P,N,p]),null}const f_n=p=>!!p.onSelectionChangeHandlers;function l_n({onSelectionChange:p}){const E=Sc(f_n);return p||E?le.jsx(s_n,{onSelectionChange:p}):null}const van=[0,0],h_n={x:0,y:0,zoom:1},a_n=["nodes","edges","defaultNodes","defaultEdges","onConnect","onConnectStart","onConnectEnd","onClickConnectStart","onClickConnectEnd","nodesDraggable","autoPanOnNodeFocus","nodesConnectable","nodesFocusable","edgesFocusable","edgesReconnectable","elevateNodesOnSelect","elevateEdgesOnSelect","minZoom","maxZoom","nodeExtent","onNodesChange","onEdgesChange","elementsSelectable","connectionMode","snapGrid","snapToGrid","translateExtent","connectOnClick","defaultEdgeOptions","fitView","fitViewOptions","onNodesDelete","onEdgesDelete","onDelete","onNodeDrag","onNodeDragStart","onNodeDragStop","onSelectionDrag","onSelectionDragStart","onSelectionDragStop","onMoveStart","onMove","onMoveEnd","noPanClassName","nodeOrigin","autoPanOnConnect","autoPanOnNodeDrag","onError","connectionRadius","isValidConnection","selectNodesOnDrag","nodeDragThreshold","connectionDragThreshold","onBeforeDelete","debug","autoPanSpeed","ariaLabelConfig","zIndexMode"],ohn=[...a_n,"rfId"],d_n=p=>({setNodes:p.setNodes,setEdges:p.setEdges,setMinZoom:p.setMinZoom,setMaxZoom:p.setMaxZoom,setTranslateExtent:p.setTranslateExtent,setNodeExtent:p.setNodeExtent,reset:p.reset,setDefaultNodesAndEdges:p.setDefaultNodesAndEdges}),shn={translateExtent:hN,nodeOrigin:van,minZoom:.5,maxZoom:2,elementsSelectable:!0,noPanClassName:"nopan",rfId:"1"};function b_n(p){const{setNodes:E,setEdges:P,setMinZoom:N,setMaxZoom:D,setTranslateExtent:$,setNodeExtent:v,reset:q,setDefaultNodesAndEdges:te}=Sc(d_n,xs),ie=cs();cn.useEffect(()=>(te(p.defaultNodes,p.defaultEdges),()=>{pe.current=shn,q()}),[]);const pe=cn.useRef(shn);return cn.useEffect(()=>{for(const oe of ohn){const z=p[oe],ne=pe.current[oe];z!==ne&&(typeof p[oe]>"u"||(oe==="nodes"?E(z):oe==="edges"?P(z):oe==="minZoom"?N(z):oe==="maxZoom"?D(z):oe==="translateExtent"?$(z):oe==="nodeExtent"?v(z):oe==="ariaLabelConfig"?ie.setState({ariaLabelConfig:iRn(z)}):oe==="fitView"?ie.setState({fitViewQueued:z}):oe==="fitViewOptions"?ie.setState({fitViewOptions:z}):ie.setState({[oe]:z})))}pe.current=p},ohn.map(oe=>p[oe])),null}function fhn(){return typeof window>"u"||!window.matchMedia?null:window.matchMedia("(prefers-color-scheme: dark)")}function w_n(p){var N;const[E,P]=cn.useState(p==="system"?null:p);return cn.useEffect(()=>{if(p!=="system"){P(p);return}const D=fhn(),$=()=>P(D!=null&&D.matches?"dark":"light");return $(),D==null||D.addEventListener("change",$),()=>{D==null||D.removeEventListener("change",$)}},[p]),E!==null?E:(N=fhn())!=null&&N.matches?"dark":"light"}const lhn=typeof document<"u"?document:null;function gN(p=null,E={target:lhn,actInsideInputWithModifier:!0}){const[P,N]=cn.useState(!1),D=cn.useRef(!1),$=cn.useRef(new Set([])),[v,q]=cn.useMemo(()=>{if(p!==null){const ie=(Array.isArray(p)?p:[p]).filter(oe=>typeof oe=="string").map(oe=>oe.replace(/\+/g,`
2
2
  `).replace(`
3
3
 
4
4
  `,`
5
5
  +`).split(`
6
6
  `)),pe=ie.reduce((oe,z)=>oe.concat(...z),[]);return[ie,pe]}return[[],[]]},[p]);return cn.useEffect(()=>{const te=(E==null?void 0:E.target)??lhn,ie=(E==null?void 0:E.actInsideInputWithModifier)??!0;if(p!==null){const pe=ne=>{var Ee,re;if(D.current=ne.ctrlKey||ne.metaKey||ne.shiftKey||ne.altKey,(!D.current||D.current&&!ie)&&Zhn(ne))return!1;const U=ahn(ne.code,q);if($.current.add(ne[U]),hhn(v,$.current,!1)){const we=((re=(Ee=ne.composedPath)==null?void 0:Ee.call(ne))==null?void 0:re[0])||ne.target,ee=(we==null?void 0:we.nodeName)==="BUTTON"||(we==null?void 0:we.nodeName)==="A";E.preventDefault!==!1&&(D.current||!ee)&&ne.preventDefault(),N(!0)}},oe=ne=>{const Z=ahn(ne.code,q);hhn(v,$.current,!0)?(N(!1),$.current.clear()):$.current.delete(ne[Z]),ne.key==="Meta"&&$.current.clear(),D.current=!1},z=()=>{$.current.clear(),N(!1)};return te==null||te.addEventListener("keydown",pe),te==null||te.addEventListener("keyup",oe),window.addEventListener("blur",z),window.addEventListener("contextmenu",z),()=>{te==null||te.removeEventListener("keydown",pe),te==null||te.removeEventListener("keyup",oe),window.removeEventListener("blur",z),window.removeEventListener("contextmenu",z)}}},[p,N]),P}function hhn(p,E,P){return p.filter(N=>P||N.length===E.size).some(N=>N.every(D=>E.has(D)))}function ahn(p,E){return E.includes(p)?"code":"key"}const g_n=()=>{const p=cs();return cn.useMemo(()=>({zoomIn:async E=>{const{panZoom:P}=p.getState();return P?P.scaleBy(1.2,E):!1},zoomOut:async E=>{const{panZoom:P}=p.getState();return P?P.scaleBy(1/1.2,E):!1},zoomTo:async(E,P)=>{const{panZoom:N}=p.getState();return N?N.scaleTo(E,P):!1},getZoom:()=>p.getState().transform[2],setViewport:async(E,P)=>{const{transform:[N,D,$],panZoom:v}=p.getState();return v?(await v.setViewport({x:E.x??N,y:E.y??D,zoom:E.zoom??$},P),!0):!1},getViewport:()=>{const[E,P,N]=p.getState().transform;return{x:E,y:P,zoom:N}},setCenter:async(E,P,N)=>p.getState().setCenter(E,P,N),fitBounds:async(E,P)=>{const{width:N,height:D,minZoom:$,maxZoom:v,panZoom:q}=p.getState(),te=$ge(E,N,D,$,v,(P==null?void 0:P.padding)??.1);return q?(await q.setViewport(te,{duration:P==null?void 0:P.duration,ease:P==null?void 0:P.ease,interpolate:P==null?void 0:P.interpolate}),!0):!1},screenToFlowPosition:(E,P={})=>{const{transform:N,snapGrid:D,snapToGrid:$,domNode:v}=p.getState();if(!v)return E;const{x:q,y:te}=v.getBoundingClientRect(),ie={x:E.x-q,y:E.y-te},pe=P.snapGrid??D,oe=P.snapToGrid??$;return vN(ie,N,oe,pe)},flowToScreenPosition:E=>{const{transform:P,domNode:N}=p.getState();if(!N)return E;const{x:D,y:$}=N.getBoundingClientRect(),v=NA(E,P);return{x:v.x+D,y:v.y+$}}}),[])};function yan(p,E){const P=[],N=new Map,D=[];for(const $ of p)if($.type==="add"){D.push($);continue}else if($.type==="remove"||$.type==="replace")N.set($.id,[$]);else{const v=N.get($.id);v?v.push($):N.set($.id,[$])}for(const $ of E){const v=N.get($.id);if(!v){P.push($);continue}if(v[0].type==="remove")continue;if(v[0].type==="replace"){P.push({...v[0].item});continue}const q={...$};for(const te of v)p_n(te,q);P.push(q)}return D.length&&D.forEach($=>{$.index!==void 0?P.splice($.index,0,{...$.item}):P.push({...$.item})}),P}function p_n(p,E){switch(p.type){case"select":{E.selected=p.selected;break}case"position":{typeof p.position<"u"&&(E.position=p.position),typeof p.dragging<"u"&&(E.dragging=p.dragging);break}case"dimensions":{typeof p.dimensions<"u"&&(E.measured={...p.dimensions},p.setAttributes&&((p.setAttributes===!0||p.setAttributes==="width")&&(E.width=p.dimensions.width),(p.setAttributes===!0||p.setAttributes==="height")&&(E.height=p.dimensions.height))),typeof p.resizing=="boolean"&&(E.resizing=p.resizing);break}}}function kan(p,E){return yan(p,E)}function jan(p,E){return yan(p,E)}function ek(p,E){return{id:p,type:"select",selected:E}}function SA(p,E=new Set,P=!1){const N=[];for(const[D,$]of p){const v=E.has(D);!($.selected===void 0&&!v)&&$.selected!==v&&(P&&($.selected=v),N.push(ek($.id,v)))}return N}function dhn({items:p=[],lookup:E}){var D;const P=[],N=new Map(p.map($=>[$.id,$]));for(const[$,v]of p.entries()){const q=E.get(v.id),te=((D=q==null?void 0:q.internals)==null?void 0:D.userNode)??q;te!==void 0&&te!==v&&P.push({id:v.id,item:v,type:"replace"}),te===void 0&&P.push({item:v,type:"add",index:$})}for(const[$]of E)N.get($)===void 0&&P.push({id:$,type:"remove"});return P}function bhn(p){return{id:p.id,type:"remove"}}const m_n=Khn();function v_n(p,E,P={}){return fRn(p,E,{...P,onError:P.onError??m_n})}const whn=p=>KBn(p),y_n=p=>Hhn(p);function Ean(p){return cn.forwardRef(p)}const Aan=typeof window<"u"?cn.useLayoutEffect:cn.useEffect;function ghn(p){const[E,P]=cn.useState(BigInt(0)),[N]=cn.useState(()=>k_n(()=>P(D=>D+BigInt(1))));return Aan(()=>{const D=N.get();D.length&&(p(D),N.reset())},[E]),N}function k_n(p){let E=[];return{get:()=>E,reset:()=>{E=[]},push:P=>{E.push(P),p()}}}const Man=cn.createContext(null);function j_n({children:p}){const E=cs(),P=cn.useCallback(q=>{const{nodes:te=[],setNodes:ie,hasDefaultNodes:pe,onNodesChange:oe,nodeLookup:z,fitViewQueued:ne,onNodesChangeMiddlewareMap:Z}=E.getState();let U=te;for(const re of q)U=typeof re=="function"?re(U):re;let Ee=dhn({items:U,lookup:z});for(const re of Z.values())Ee=re(Ee);pe&&ie(U),Ee.length>0?oe==null||oe(Ee):ne&&window.requestAnimationFrame(()=>{const{fitViewQueued:re,nodes:we,setNodes:ee}=E.getState();re&&ee(we)})},[]),N=ghn(P),D=cn.useCallback(q=>{const{edges:te=[],setEdges:ie,hasDefaultEdges:pe,onEdgesChange:oe,edgeLookup:z}=E.getState();let ne=te;for(const Z of q)ne=typeof Z=="function"?Z(ne):Z;pe?ie(ne):oe&&oe(dhn({items:ne,lookup:z}))},[]),$=ghn(D),v=cn.useMemo(()=>({nodeQueue:N,edgeQueue:$}),[]);return le.jsx(Man.Provider,{value:v,children:p})}function E_n(){const p=cn.useContext(Man);if(!p)throw new Error("useBatchContext must be used within a BatchProvider");return p}const A_n=p=>!!p.panZoom;function zX(){const p=g_n(),E=cs(),P=E_n(),N=Sc(A_n),D=cn.useMemo(()=>{const $=oe=>E.getState().nodeLookup.get(oe),v=oe=>{P.nodeQueue.push(oe)},q=oe=>{P.edgeQueue.push(oe)},te=oe=>{var re,we;const{nodeLookup:z,nodeOrigin:ne}=E.getState(),Z=whn(oe)?oe:z.get(oe.id),U=Z.parentId?Vhn(Z.position,Z.measured,Z.parentId,z,ne):Z.position,Ee={...Z,position:U,width:((re=Z.measured)==null?void 0:re.width)??Z.width,height:((we=Z.measured)==null?void 0:we.height)??Z.height};return bN(Ee)},ie=(oe,z,ne={replace:!1})=>{v(Z=>Z.map(U=>{if(U.id===oe){const Ee=typeof z=="function"?z(U):z;return ne.replace&&whn(Ee)?Ee:{...U,...Ee}}return U}))},pe=(oe,z,ne={replace:!1})=>{q(Z=>Z.map(U=>{if(U.id===oe){const Ee=typeof z=="function"?z(U):z;return ne.replace&&y_n(Ee)?Ee:{...U,...Ee}}return U}))};return{getNodes:()=>E.getState().nodes.map(oe=>({...oe})),getNode:oe=>{var z;return(z=$(oe))==null?void 0:z.internals.userNode},getInternalNode:$,getEdges:()=>{const{edges:oe=[]}=E.getState();return oe.map(z=>({...z}))},getEdge:oe=>E.getState().edgeLookup.get(oe),setNodes:v,setEdges:q,addNodes:oe=>{const z=Array.isArray(oe)?oe:[oe];P.nodeQueue.push(ne=>[...ne,...z])},addEdges:oe=>{const z=Array.isArray(oe)?oe:[oe];P.edgeQueue.push(ne=>[...ne,...z])},toObject:()=>{const{nodes:oe=[],edges:z=[],transform:ne}=E.getState(),[Z,U,Ee]=ne;return{nodes:oe.map(re=>({...re})),edges:z.map(re=>({...re})),viewport:{x:Z,y:U,zoom:Ee}}},deleteElements:async({nodes:oe=[],edges:z=[]})=>{const{nodes:ne,edges:Z,onNodesDelete:U,onEdgesDelete:Ee,triggerNodeChanges:re,triggerEdgeChanges:we,onDelete:ee,onBeforeDelete:xe}=E.getState(),{nodes:Qe,edges:Xe}=await ZBn({nodesToRemove:oe,edgesToRemove:z,nodes:ne,edges:Z,onBeforeDelete:xe}),Ze=Xe.length>0,vn=Qe.length>0;if(Ze){const jn=Xe.map(bhn);Ee==null||Ee(Xe),we(jn)}if(vn){const jn=Qe.map(bhn);U==null||U(Qe),re(jn)}return(vn||Ze)&&(ee==null||ee({nodes:Qe,edges:Xe})),{deletedNodes:Qe,deletedEdges:Xe}},getIntersectingNodes:(oe,z=!0,ne)=>{const Z=qln(oe),U=Z?oe:te(oe),Ee=ne!==void 0;return U?(ne||E.getState().nodes).filter(re=>{const we=E.getState().nodeLookup.get(re.id);if(we&&!Z&&(re.id===oe.id||!we.internals.positionAbsolute))return!1;const ee=bN(Ee?re:we),xe=BX(ee,U);return z&&xe>0||xe>=ee.width*ee.height||xe>=U.width*U.height}):[]},isNodeIntersecting:(oe,z,ne=!0)=>{const U=qln(oe)?oe:te(oe);if(!U)return!1;const Ee=BX(U,z);return ne&&Ee>0||Ee>=z.width*z.height||Ee>=U.width*U.height},updateNode:ie,updateNodeData:(oe,z,ne={replace:!1})=>{ie(oe,Z=>{const U=typeof z=="function"?z(Z):z;return ne.replace?{...Z,data:U}:{...Z,data:{...Z.data,...U}}},ne)},updateEdge:pe,updateEdgeData:(oe,z,ne={replace:!1})=>{pe(oe,Z=>{const U=typeof z=="function"?z(Z):z;return ne.replace?{...Z,data:U}:{...Z,data:{...Z.data,...U}}},ne)},getNodesBounds:oe=>{const{nodeLookup:z,nodeOrigin:ne}=E.getState();return WBn(oe,{nodeLookup:z,nodeOrigin:ne})},getHandleConnections:({type:oe,id:z,nodeId:ne})=>{var Z;return Array.from(((Z=E.getState().connectionLookup.get(`${ne}-${oe}${z?`-${z}`:""}`))==null?void 0:Z.values())??[])},getNodeConnections:({type:oe,handleId:z,nodeId:ne})=>{var Z;return Array.from(((Z=E.getState().connectionLookup.get(`${ne}${oe?z?`-${oe}-${z}`:`-${oe}`:""}`))==null?void 0:Z.values())??[])},fitView:async oe=>{const z=E.getState().fitViewResolver??tRn();return E.setState({fitViewQueued:!0,fitViewOptions:oe,fitViewResolver:z}),P.nodeQueue.push(ne=>[...ne]),z.promise}}},[]);return cn.useMemo(()=>({...D,...p,viewportInitialized:N}),[N])}const phn=p=>p.selected,M_n=typeof window<"u"?window:void 0;function x_n({deleteKeyCode:p,multiSelectionKeyCode:E}){const P=cs(),{deleteElements:N}=zX(),D=gN(p,{actInsideInputWithModifier:!1}),$=gN(E,{target:M_n});cn.useEffect(()=>{if(D){const{edges:v,nodes:q}=P.getState();N({nodes:q.filter(phn),edges:v.filter(phn)}),P.setState({nodesSelectionActive:!1})}},[D]),cn.useEffect(()=>{P.setState({multiSelectionActive:$})},[$])}function C_n(p){const E=cs();cn.useEffect(()=>{const P=()=>{var D,$,v,q;if(!p.current||!((($=(D=p.current).checkVisibility)==null?void 0:$.call(D))??!0))return!1;const N=Fge(p.current);(N.height===0||N.width===0)&&((q=(v=E.getState()).onError)==null||q.call(v,"004",r2.error004())),E.setState({width:N.width||500,height:N.height||500})};if(p.current){P(),window.addEventListener("resize",P);const N=new ResizeObserver(()=>P());return N.observe(p.current),()=>{window.removeEventListener("resize",P),N&&p.current&&N.unobserve(p.current)}}},[])}const UX={position:"absolute",width:"100%",height:"100%",top:0,left:0},T_n=p=>({userSelectionActive:p.userSelectionActive,lib:p.lib,connectionInProgress:p.connection.inProgress});function S_n({onPaneContextMenu:p,zoomOnScroll:E=!0,zoomOnPinch:P=!0,panOnScroll:N=!1,panActivationKeyPressed:D,panOnScrollSpeed:$=.5,panOnScrollMode:v=nk.Free,zoomOnDoubleClick:q=!0,panOnDrag:te=!0,defaultViewport:ie,translateExtent:pe,minZoom:oe,maxZoom:z,zoomActivationKeyCode:ne,preventScrolling:Z=!0,children:U,noWheelClassName:Ee,noPanClassName:re,onViewportChange:we,isControlledViewport:ee,paneClickDistance:xe,selectionOnDrag:Qe}){const Xe=cs(),Ze=cn.useRef(null),{userSelectionActive:vn,lib:jn,connectionInProgress:et}=Sc(T_n,xs),Dn=gN(ne),Kn=cn.useRef();C_n(Ze);const _=cn.useCallback(je=>{we==null||we({x:je[0],y:je[1],zoom:je[2]}),ee||Xe.setState({transform:je})},[we,ee]);return cn.useEffect(()=>{if(Ze.current){Kn.current=_Rn({domNode:Ze.current,minZoom:oe,maxZoom:z,translateExtent:pe,viewport:ie,onDraggingChange:Sn=>Xe.setState(Bn=>Bn.paneDragging===Sn?Bn:{paneDragging:Sn}),onPanZoomStart:(Sn,Bn)=>{const{onViewportChangeStart:dn,onMoveStart:Jn}=Xe.getState();Jn==null||Jn(Sn,Bn),dn==null||dn(Bn)},onPanZoom:(Sn,Bn)=>{const{onViewportChange:dn,onMove:Jn}=Xe.getState();Jn==null||Jn(Sn,Bn),dn==null||dn(Bn)},onPanZoomEnd:(Sn,Bn)=>{const{onViewportChangeEnd:dn,onMoveEnd:Jn}=Xe.getState();Jn==null||Jn(Sn,Bn),dn==null||dn(Bn)}});const{x:je,y:rn,zoom:sn}=Kn.current.getViewport();return Xe.setState({panZoom:Kn.current,transform:[je,rn,sn],domNode:Ze.current.closest(".react-flow")}),()=>{var Sn;(Sn=Kn.current)==null||Sn.destroy()}}},[]),cn.useEffect(()=>{var je;(je=Kn.current)==null||je.update({onPaneContextMenu:p,zoomOnScroll:E,zoomOnPinch:P,panOnScroll:N,panActivationKeyPressed:D,panOnScrollSpeed:$,panOnScrollMode:v,zoomOnDoubleClick:q,panOnDrag:te,zoomActivationKeyPressed:Dn,preventScrolling:Z,noPanClassName:re,userSelectionActive:vn,noWheelClassName:Ee,lib:jn,onTransformChange:_,connectionInProgress:et,selectionOnDrag:Qe,paneClickDistance:xe})},[p,E,P,N,D,$,v,q,te,Dn,Z,re,vn,Ee,jn,_,et,Qe,xe]),le.jsx("div",{className:"react-flow__renderer",ref:Ze,style:UX,children:U})}const I_n=p=>({userSelectionActive:p.userSelectionActive,userSelectionRect:p.userSelectionRect});function P_n(){const{userSelectionActive:p,userSelectionRect:E}=Sc(I_n,xs);return p&&E?le.jsx("div",{className:"react-flow__selection react-flow__container",style:{width:E.width,height:E.height,transform:`translate(${E.x}px, ${E.y}px)`}}):null}const mge=(p,E)=>P=>{P.target===E.current&&(p==null||p(P))},O_n=p=>({userSelectionActive:p.userSelectionActive,elementsSelectable:p.elementsSelectable,dragging:p.paneDragging,panBy:p.panBy,autoPanSpeed:p.autoPanSpeed});function N_n({isSelecting:p,selectionKeyPressed:E,selectionMode:P=aN.Full,panOnDrag:N,autoPanOnSelection:D,paneClickDistance:$,selectionOnDrag:v,onSelectionStart:q,onSelectionEnd:te,onPaneClick:ie,onPaneContextMenu:pe,onPaneScroll:oe,onPaneMouseEnter:z,onPaneMouseMove:ne,onPaneMouseLeave:Z,children:U}){const Ee=cn.useRef(0),re=cs(),{userSelectionActive:we,elementsSelectable:ee,dragging:xe,panBy:Qe,autoPanSpeed:Xe}=Sc(O_n,xs),Ze=ee&&(p||we),vn=cn.useRef(null),jn=cn.useRef(),et=cn.useRef(new Set),Dn=cn.useRef(new Set),Kn=cn.useRef(!1),_=cn.useRef(!1),je=cn.useRef({x:0,y:0}),rn=cn.useRef(!1),sn=Wn=>{if(_.current||Kn.current||re.getState().connection.inProgress){_.current=!1,Kn.current=!1;return}ie==null||ie(Wn),re.getState().resetSelectedElements(),re.setState({nodesSelectionActive:!1})},Sn=Wn=>{if(Array.isArray(N)&&(N!=null&&N.includes(2))){Wn.preventDefault();return}pe==null||pe(Wn)},Bn=oe?Wn=>oe(Wn):void 0,dn=Wn=>{_.current&&(Wn.stopPropagation(),_.current=!1)},Jn=Wn=>{var ku,ic;if(Wn.pointerType==="touch"&&N!==!1&&!E)return;const{domNode:ei,transform:rr}=re.getState();if(jn.current=ei==null?void 0:ei.getBoundingClientRect(),!jn.current)return;const cr=Wn.target===vn.current;if(!cr&&!!Wn.target.closest(".nokey")||!p||!(v&&cr||E)||Wn.button!==0||!Wn.isPrimary)return;(ic=(ku=Wn.target)==null?void 0:ku.setPointerCapture)==null||ic.call(ku,Wn.pointerId),_.current=!1;const{x:ri,y:ai}=t2(Wn.nativeEvent,jn.current),Mc=vN({x:ri,y:ai},rr);re.setState({userSelectionRect:{width:0,height:0,startX:Mc.x,startY:Mc.y,x:ri,y:ai}}),cr||(Wn.stopPropagation(),Wn.preventDefault())};function Nn(Wn,ei){const{userSelectionRect:rr}=re.getState();if(!rr)return;const{transform:cr,nodeLookup:_i,edgeLookup:sr,connectionLookup:ri,triggerNodeChanges:ai,triggerEdgeChanges:Mc,defaultEdgeOptions:ku}=re.getState(),ic={x:rr.startX,y:rr.startY},{x:Sa,y:ph}=NA(ic,cr),j1={startX:ic.x,startY:ic.y,x:Wn<Sa?Wn:Sa,y:ei<ph?ei:ph,width:Math.abs(Wn-Sa),height:Math.abs(ei-ph)},u2=et.current,zl=Dn.current;et.current=new Set(Dge(_i,j1,cr,P===aN.Partial,!0).map(mh=>mh.id)),Dn.current=new Set;const R0=(ku==null?void 0:ku.selectable)??!0;for(const mh of et.current){const Td=ri.get(mh);if(Td)for(const{edgeId:Ia}of Td.values()){const Sd=sr.get(Ia);Sd&&(Sd.selectable??R0)&&Dn.current.add(Ia)}}if(!zln(u2,et.current)){const mh=SA(_i,et.current,!0);ai(mh)}if(!zln(zl,Dn.current)){const mh=SA(sr,Dn.current);Mc(mh)}re.setState({userSelectionRect:j1,userSelectionActive:!0,nodesSelectionActive:!1})}function qn(){if(!D||!jn.current)return;const[Wn,ei]=Lge(je.current,jn.current,Xe);Qe({x:Wn,y:ei}).then(rr=>{if(!_.current||!rr){Ee.current=requestAnimationFrame(qn);return}const{x:cr,y:_i}=je.current;Nn(cr,_i),Ee.current=requestAnimationFrame(qn)})}const Jt=()=>{cancelAnimationFrame(Ee.current),Ee.current=0,rn.current=!1};cn.useEffect(()=>()=>Jt(),[]);const Xt=Wn=>{const{userSelectionRect:ei,transform:rr,resetSelectedElements:cr}=re.getState();if(!jn.current||!ei)return;const{x:_i,y:sr}=t2(Wn.nativeEvent,jn.current);je.current={x:_i,y:sr};const ri=NA({x:ei.startX,y:ei.startY},rr);if(!_.current){const ai=E?0:$;if(Math.hypot(_i-ri.x,sr-ri.y)<=ai)return;cr(),q==null||q(Wn)}_.current=!0,rn.current||(qn(),rn.current=!0),Nn(_i,sr)},Oi=Wn=>{var ei,rr;if(!Ze){Wn.target===vn.current&&re.getState().connection.inProgress&&(Kn.current=!0);return}Wn.button===0&&((rr=(ei=Wn.target)==null?void 0:ei.releasePointerCapture)==null||rr.call(ei,Wn.pointerId),!we&&Wn.target===vn.current&&re.getState().userSelectionRect&&(sn==null||sn(Wn)),re.setState({userSelectionActive:!1,userSelectionRect:null}),_.current&&(te==null||te(Wn),re.setState({nodesSelectionActive:et.current.size>0})),Jt())},gr=Wn=>{var ei,rr;(rr=(ei=Wn.target)==null?void 0:ei.releasePointerCapture)==null||rr.call(ei,Wn.pointerId),Jt()},Ki=N===!0||Array.isArray(N)&&N.includes(0);return le.jsxs("div",{className:Xf(["react-flow__pane",{draggable:Ki,dragging:xe,selection:p}]),onClick:Ze?void 0:mge(sn,vn),onContextMenu:mge(Sn,vn),onWheel:mge(Bn,vn),onPointerEnter:Ze?void 0:z,onPointerMove:Ze?Xt:ne,onPointerUp:Oi,onPointerCancel:Ze?gr:void 0,onPointerDownCapture:Ze?Jn:void 0,onClickCapture:Ze?dn:void 0,onPointerLeave:Z,ref:vn,style:UX,children:[U,le.jsx(P_n,{})]})}function Cge({id:p,store:E,unselect:P=!1,nodeRef:N}){const{addSelectedNodes:D,unselectNodesAndEdges:$,multiSelectionActive:v,nodeLookup:q,onError:te}=E.getState(),ie=q.get(p);if(!ie){te==null||te("012",r2.error012(p));return}E.setState({nodesSelectionActive:!1}),ie.selected?(P||ie.selected&&v)&&($({nodes:[ie],edges:[]}),requestAnimationFrame(()=>{var pe;return(pe=N==null?void 0:N.current)==null?void 0:pe.blur()})):D([p])}function xan({nodeRef:p,disabled:E=!1,noDragClassName:P,handleSelector:N,nodeId:D,isSelectable:$,nodeClickDistance:v}){const q=cs(),[te,ie]=cn.useState(!1),pe=cn.useRef();return cn.useEffect(()=>{if(!E)return pe.current=xRn({getStoreItems:()=>q.getState(),onNodeMouseDown:oe=>{Cge({id:oe,store:q,nodeRef:p})},onDragStart:()=>{ie(!0)},onDragStop:()=>{ie(!1)}}),()=>{var oe;(oe=pe.current)==null||oe.destroy(),pe.current=void 0}},[E,q,p]),cn.useEffect(()=>{E||!p.current||!pe.current||pe.current.update({noDragClassName:P,handleSelector:N,domNode:p.current,isSelectable:$,nodeId:D,nodeClickDistance:v})},[P,N,E,$,p,D,v]),te}const D_n=p=>E=>E.selected&&(E.draggable||p&&typeof E.draggable>"u");function Can(){const p=cs();return cn.useCallback(P=>{const{nodeExtent:N,snapToGrid:D,snapGrid:$,nodesDraggable:v,onError:q,updateNodePositions:te,nodeLookup:ie,nodeOrigin:pe}=p.getState(),oe=new Map,z=D_n(v),ne=D?$[0]:5,Z=D?$[1]:5,U=P.direction.x*ne*P.factor,Ee=P.direction.y*Z*P.factor;for(const[,re]of ie){if(!z(re))continue;let we={x:re.internals.positionAbsolute.x+U,y:re.internals.positionAbsolute.y+Ee};D&&(we=mN(we,$));const{position:ee,positionAbsolute:xe}=qhn({nodeId:re.id,nextPosition:we,nodeLookup:ie,nodeExtent:N,nodeOrigin:pe,onError:q});re.position=ee,re.internals.positionAbsolute=xe,oe.set(re.id,re)}te(oe)},[])}const Hge=cn.createContext(null),L_n=Hge.Provider;Hge.Consumer;const qge=()=>cn.useContext(Hge),$_n=p=>({connectOnClick:p.connectOnClick,noPanClassName:p.noPanClassName,rfId:p.rfId}),Tan=cn.createContext(null);function F_n({children:p}){const E=Sc($_n,xs);return le.jsx(Tan.Provider,{value:E,children:p})}function B_n(){const p=cn.useContext(Tan);if(!p)throw new Error("useHandleConfig must be used within a HandleConfigProvider");return p}const R_n={connectingFrom:!1,connectingTo:!1,clickConnecting:!1,isPossibleEndHandle:!0,connectionInProcess:!1,clickConnectionInProcess:!1,valid:!1},__n=(p,E,P)=>N=>{const{connectionClickStartHandle:D,connectionMode:$,connection:v}=N,{fromHandle:q,toHandle:te,isValid:ie}=v;if(!q&&!D)return R_n;const pe=(te==null?void 0:te.nodeId)===p&&(te==null?void 0:te.id)===E&&(te==null?void 0:te.type)===P;return{connectingFrom:(q==null?void 0:q.nodeId)===p&&(q==null?void 0:q.id)===E&&(q==null?void 0:q.type)===P,connectingTo:pe,clickConnecting:(D==null?void 0:D.nodeId)===p&&(D==null?void 0:D.id)===E&&(D==null?void 0:D.type)===P,isPossibleEndHandle:$===PA.Strict?(q==null?void 0:q.type)!==P:p!==(q==null?void 0:q.nodeId)||E!==(q==null?void 0:q.id),connectionInProcess:!!q,clickConnectionInProcess:!!D,valid:pe&&ie}};function J_n({type:p="source",position:E=ji.Top,isValidConnection:P,isConnectable:N=!0,isConnectableStart:D=!0,isConnectableEnd:$=!0,id:v,onConnect:q,children:te,className:ie,onMouseDown:pe,onTouchStart:oe,...z},ne){var rn,sn;const Z=v||null,U=p==="target",Ee=cs(),re=qge(),{connectOnClick:we,noPanClassName:ee,rfId:xe}=B_n(),{connectingFrom:Qe,connectingTo:Xe,clickConnecting:Ze,isPossibleEndHandle:vn,connectionInProcess:jn,clickConnectionInProcess:et,valid:Dn}=Sc(__n(re,Z,p),xs);re||(sn=(rn=Ee.getState()).onError)==null||sn.call(rn,"010",r2.error010());const Kn=Sn=>{const{defaultEdgeOptions:Bn,onConnect:dn,hasDefaultEdges:Jn}=Ee.getState(),Nn={...Bn,...Sn};if(Jn){const{edges:qn,setEdges:Jt,onError:Xt}=Ee.getState();Jt(v_n(Nn,qn,{onError:Xt}))}dn==null||dn(Nn),q==null||q(Nn)},_=Sn=>{if(!re)return;const Bn=ean(Sn.nativeEvent);if(D&&(Bn&&Sn.button===0||!Bn)){const dn=Ee.getState();xge.onPointerDown(Sn.nativeEvent,{handleDomNode:Sn.currentTarget,autoPanOnConnect:dn.autoPanOnConnect,connectionMode:dn.connectionMode,connectionRadius:dn.connectionRadius,domNode:dn.domNode,nodeLookup:dn.nodeLookup,lib:dn.lib,isTarget:U,handleId:Z,nodeId:re,flowId:dn.rfId,panBy:dn.panBy,cancelConnection:dn.cancelConnection,onConnectStart:dn.onConnectStart,onConnectEnd:(...Jn)=>{var Nn,qn;return(qn=(Nn=Ee.getState()).onConnectEnd)==null?void 0:qn.call(Nn,...Jn)},updateConnection:dn.updateConnection,onConnect:Kn,isValidConnection:P||((...Jn)=>{var Nn,qn;return((qn=(Nn=Ee.getState()).isValidConnection)==null?void 0:qn.call(Nn,...Jn))??!0}),getTransform:()=>Ee.getState().transform,getFromHandle:()=>Ee.getState().connection.fromHandle,autoPanSpeed:dn.autoPanSpeed,dragThreshold:dn.connectionDragThreshold})}Bn?pe==null||pe(Sn):oe==null||oe(Sn)},je=Sn=>{const{onClickConnectStart:Bn,onClickConnectEnd:dn,connectionClickStartHandle:Jn,connectionMode:Nn,isValidConnection:qn,lib:Jt,rfId:Xt,nodeLookup:Oi,connection:gr}=Ee.getState();if(!re||!Jn&&!D)return;if(!Jn){Bn==null||Bn(Sn.nativeEvent,{nodeId:re,handleId:Z,handleType:p}),Ee.setState({connectionClickStartHandle:{nodeId:re,type:p,id:Z}});return}const Ki=Yhn(Sn.target),Wn=P||qn,{connection:ei,isValid:rr}=xge.isValid(Sn.nativeEvent,{handle:{nodeId:re,id:Z,type:p},connectionMode:Nn,fromNodeId:Jn.nodeId,fromHandleId:Jn.id||null,fromType:Jn.type,isValidConnection:Wn,flowId:Xt,doc:Ki,lib:Jt,nodeLookup:Oi});rr&&ei&&Kn(ei);const cr=structuredClone(gr);delete cr.inProgress,cr.toPosition=cr.toHandle?cr.toHandle.position:null,dn==null||dn(Sn,cr),Ee.setState({connectionClickStartHandle:null})};return le.jsx("div",{"data-handleid":Z,"data-nodeid":re,"data-handlepos":E,"data-id":`${xe}-${re}-${Z}-${p}`,className:Xf(["react-flow__handle",`react-flow__handle-${E}`,"nodrag",ee,ie,{source:!U,target:U,connectable:N,connectablestart:D,connectableend:$,clickconnecting:Ze,connectingfrom:Qe,connectingto:Xe,valid:Dn,connectionindicator:N&&(!jn||vn)&&(jn||et?$:D)}]),onMouseDown:_,onTouchStart:_,onClick:we?je:void 0,ref:ne,...z,children:te})}const ew=cn.memo(Ean(J_n));function G_n({data:p,isConnectable:E,sourcePosition:P=ji.Bottom}){return le.jsxs(le.Fragment,{children:[p==null?void 0:p.label,le.jsx(ew,{type:"source",position:P,isConnectable:E})]})}function H_n({data:p,isConnectable:E,targetPosition:P=ji.Top,sourcePosition:N=ji.Bottom}){return le.jsxs(le.Fragment,{children:[le.jsx(ew,{type:"target",position:P,isConnectable:E}),p==null?void 0:p.label,le.jsx(ew,{type:"source",position:N,isConnectable:E})]})}function q_n(){return null}function z_n({data:p,isConnectable:E,targetPosition:P=ji.Top}){return le.jsxs(le.Fragment,{children:[le.jsx(ew,{type:"target",position:P,isConnectable:E}),p==null?void 0:p.label]})}const RX={ArrowUp:{x:0,y:-1},ArrowDown:{x:0,y:1},ArrowLeft:{x:-1,y:0},ArrowRight:{x:1,y:0}},mhn={input:G_n,default:H_n,output:z_n,group:q_n};function U_n(p){var E,P,N,D;return p.internals.handleBounds===void 0?{width:p.width??p.initialWidth??((E=p.style)==null?void 0:E.width),height:p.height??p.initialHeight??((P=p.style)==null?void 0:P.height)}:{width:p.width??((N=p.style)==null?void 0:N.width),height:p.height??((D=p.style)==null?void 0:D.height)}}const X_n=p=>{const{width:E,height:P,x:N,y:D}=LA(p.nodeLookup,{filter:$=>!!$.selected});return{width:n2(E)?E:null,height:n2(P)?P:null,userSelectionActive:p.userSelectionActive,transformString:`translate(${p.transform[0]}px,${p.transform[1]}px) scale(${p.transform[2]}) translate(${N}px,${D}px)`}};function K_n({onSelectionContextMenu:p,noPanClassName:E,disableKeyboardA11y:P}){const N=cs(),{width:D,height:$,transformString:v,userSelectionActive:q}=Sc(X_n,xs),te=Can(),ie=cn.useRef(null);cn.useEffect(()=>{var ne;P||(ne=ie.current)==null||ne.focus({preventScroll:!0})},[P]);const pe=!q&&D!==null&&$!==null;if(xan({nodeRef:ie,disabled:!pe}),!pe)return null;const oe=p?ne=>{const Z=N.getState().nodes.filter(U=>U.selected);p(ne,Z)}:void 0,z=ne=>{Object.prototype.hasOwnProperty.call(RX,ne.key)&&(ne.preventDefault(),te({direction:RX[ne.key],factor:ne.shiftKey?4:1}))};return le.jsx("div",{className:Xf(["react-flow__nodesselection","react-flow__container",E]),style:{transform:v},children:le.jsx("div",{ref:ie,className:"react-flow__nodesselection-rect",onContextMenu:oe,tabIndex:P?void 0:-1,onKeyDown:P?void 0:z,style:{width:D,height:$}})})}const vhn=typeof window<"u"?window:void 0,W_n=p=>({nodesSelectionActive:p.nodesSelectionActive,userSelectionActive:p.userSelectionActive});function San({children:p,onPaneClick:E,onPaneMouseEnter:P,onPaneMouseMove:N,onPaneMouseLeave:D,onPaneContextMenu:$,onPaneScroll:v,paneClickDistance:q,deleteKeyCode:te,selectionKeyCode:ie,selectionOnDrag:pe,selectionMode:oe,onSelectionStart:z,onSelectionEnd:ne,multiSelectionKeyCode:Z,panActivationKeyCode:U,zoomActivationKeyCode:Ee,elementsSelectable:re,zoomOnScroll:we,zoomOnPinch:ee,panOnScroll:xe,panOnScrollSpeed:Qe,panOnScrollMode:Xe,zoomOnDoubleClick:Ze,panOnDrag:vn,autoPanOnSelection:jn,defaultViewport:et,translateExtent:Dn,minZoom:Kn,maxZoom:_,preventScrolling:je,onSelectionContextMenu:rn,noWheelClassName:sn,noPanClassName:Sn,disableKeyboardA11y:Bn,onViewportChange:dn,isControlledViewport:Jn}){const{nodesSelectionActive:Nn,userSelectionActive:qn}=Sc(W_n,xs),Jt=gN(ie,{target:vhn}),Xt=gN(U,{target:vhn}),Oi=Xt||vn,gr=Xt||xe,Ki=pe&&Oi!==!0,Wn=Jt||qn||Ki;return x_n({deleteKeyCode:te,multiSelectionKeyCode:Z}),le.jsx(S_n,{onPaneContextMenu:$,elementsSelectable:re,zoomOnScroll:we,zoomOnPinch:ee,panOnScroll:gr,panActivationKeyPressed:Xt,panOnScrollSpeed:Qe,panOnScrollMode:Xe,zoomOnDoubleClick:Ze,panOnDrag:!Jt&&Oi,defaultViewport:et,translateExtent:Dn,minZoom:Kn,maxZoom:_,zoomActivationKeyCode:Ee,preventScrolling:je,noWheelClassName:sn,noPanClassName:Sn,onViewportChange:dn,isControlledViewport:Jn,paneClickDistance:q,selectionOnDrag:Ki,children:le.jsxs(N_n,{onSelectionStart:z,onSelectionEnd:ne,onPaneClick:E,onPaneMouseEnter:P,onPaneMouseMove:N,onPaneMouseLeave:D,onPaneContextMenu:$,onPaneScroll:v,panOnDrag:Oi,autoPanOnSelection:jn,isSelecting:!!Wn,selectionMode:oe,selectionKeyPressed:Jt,paneClickDistance:q,selectionOnDrag:Ki,children:[p,Nn&&le.jsx(K_n,{onSelectionContextMenu:rn,noPanClassName:Sn,disableKeyboardA11y:Bn})]})})}San.displayName="FlowRenderer";const V_n=cn.memo(San),Q_n=p=>E=>p?Dge(E.nodeLookup,{x:0,y:0,width:E.width,height:E.height},E.transform,!0).map(P=>P.id):Array.from(E.nodeLookup.keys());function Y_n(p){return Sc(cn.useCallback(Q_n(p),[p]),xs)}const Z_n=p=>p.updateNodeInternals;function eJn(){const p=Sc(Z_n),[E]=cn.useState(()=>typeof ResizeObserver>"u"?null:new ResizeObserver(P=>{const N=new Map;P.forEach(D=>{const $=D.target.getAttribute("data-id");N.set($,{id:$,nodeElement:D.target,force:!0})}),p(N)}));return cn.useEffect(()=>()=>{E==null||E.disconnect()},[E]),E}function nJn({node:p,nodeType:E,hasDimensions:P,resizeObserver:N}){const D=cs(),$=cn.useRef(null),v=cn.useRef(null),q=cn.useRef(p.sourcePosition),te=cn.useRef(p.targetPosition),ie=cn.useRef(E),pe=P&&!!p.internals.handleBounds;return cn.useEffect(()=>{$.current&&!p.hidden&&(!pe||v.current!==$.current)&&(v.current&&(N==null||N.unobserve(v.current)),N==null||N.observe($.current),v.current=$.current)},[pe,p.hidden]),cn.useEffect(()=>()=>{v.current&&(N==null||N.unobserve(v.current),v.current=null)},[]),cn.useEffect(()=>{if($.current){const oe=ie.current!==E,z=q.current!==p.sourcePosition,ne=te.current!==p.targetPosition;(oe||z||ne)&&(ie.current=E,q.current=p.sourcePosition,te.current=p.targetPosition,D.getState().updateNodeInternals(new Map([[p.id,{id:p.id,nodeElement:$.current,force:!0}]])))}},[p.id,E,p.sourcePosition,p.targetPosition]),$}function tJn({id:p,onClick:E,onMouseEnter:P,onMouseMove:N,onMouseLeave:D,onContextMenu:$,onDoubleClick:v,nodesDraggable:q,elementsSelectable:te,nodesConnectable:ie,nodesFocusable:pe,resizeObserver:oe,noDragClassName:z,noPanClassName:ne,disableKeyboardA11y:Z,rfId:U,nodeTypes:Ee,nodeClickDistance:re,onError:we}){const{node:ee,internals:xe,isParent:Qe}=Sc(Wn=>{const ei=Wn.nodeLookup.get(p),rr=Wn.parentLookup.has(p);return{node:ei,internals:ei.internals,isParent:rr}},xs);let Xe=ee.type||"default",Ze=(Ee==null?void 0:Ee[Xe])||mhn[Xe];Ze===void 0&&(we==null||we("003",r2.error003(Xe)),Xe="default",Ze=(Ee==null?void 0:Ee.default)||mhn.default);const vn=!!(ee.draggable||q&&typeof ee.draggable>"u"),jn=!!(ee.selectable||te&&typeof ee.selectable>"u"),et=!!(ee.connectable||ie&&typeof ee.connectable>"u"),Dn=!!(ee.focusable||pe&&typeof ee.focusable>"u"),Kn=cs(),_=Whn(ee),je=nJn({node:ee,nodeType:Xe,hasDimensions:_,resizeObserver:oe}),rn=xan({nodeRef:je,disabled:ee.hidden||!vn,noDragClassName:z,handleSelector:ee.dragHandle,nodeId:p,isSelectable:jn,nodeClickDistance:re}),sn=Can();if(ee.hidden)return null;const Sn=c2(ee),Bn=U_n(ee),dn=jn||vn||E||P||N||D,Jn=P?Wn=>P(Wn,{...xe.userNode}):void 0,Nn=N?Wn=>N(Wn,{...xe.userNode}):void 0,qn=D?Wn=>D(Wn,{...xe.userNode}):void 0,Jt=$?Wn=>$(Wn,{...xe.userNode}):void 0,Xt=v?Wn=>v(Wn,{...xe.userNode}):void 0,Oi=Wn=>{const{selectNodesOnDrag:ei,nodeDragThreshold:rr}=Kn.getState();jn&&(!ei||!vn||rr>0)&&Cge({id:p,store:Kn,nodeRef:je}),E&&E(Wn,{...xe.userNode})},gr=Wn=>{if(!(Zhn(Wn.nativeEvent)||Z)){if(_hn.includes(Wn.key)&&jn){const ei=Wn.key==="Escape";Cge({id:p,store:Kn,unselect:ei,nodeRef:je})}else if(vn&&ee.selected&&Object.prototype.hasOwnProperty.call(RX,Wn.key)){Wn.preventDefault();const{ariaLabelConfig:ei}=Kn.getState();Kn.setState({ariaLiveMessage:ei["node.a11yDescription.ariaLiveMessage"]({direction:Wn.key.replace("Arrow","").toLowerCase(),x:~~xe.positionAbsolute.x,y:~~xe.positionAbsolute.y})}),sn({direction:RX[Wn.key],factor:Wn.shiftKey?4:1})}}},Ki=()=>{var ri;if(Z||!((ri=je.current)!=null&&ri.matches(":focus-visible")))return;const{transform:Wn,width:ei,height:rr,autoPanOnNodeFocus:cr,setCenter:_i}=Kn.getState();if(!cr)return;Dge(new Map([[p,ee]]),{x:0,y:0,width:ei,height:rr},Wn,!0).length>0||_i(ee.position.x+Sn.width/2,ee.position.y+Sn.height/2,{zoom:Wn[2]})};return le.jsx("div",{className:Xf(["react-flow__node",`react-flow__node-${Xe}`,{[ne]:vn},ee.className,{selected:ee.selected,selectable:jn,parent:Qe,draggable:vn,dragging:rn}]),ref:je,style:{zIndex:xe.z,transform:`translate(${xe.positionAbsolute.x}px,${xe.positionAbsolute.y}px)`,pointerEvents:dn?"all":"none",visibility:_?"visible":"hidden",...ee.style,...Bn},"data-id":p,"data-testid":`rf__node-${p}`,onMouseEnter:Jn,onMouseMove:Nn,onMouseLeave:qn,onContextMenu:Jt,onClick:Oi,onDoubleClick:Xt,onKeyDown:Dn?gr:void 0,tabIndex:Dn?0:void 0,onFocus:Dn?Ki:void 0,role:ee.ariaRole??(Dn?"group":void 0),"aria-roledescription":"node","aria-describedby":Z?void 0:`${pan}-${U}`,"aria-label":ee.ariaLabel,...ee.domAttributes,children:le.jsx(L_n,{value:p,children:le.jsx(Ze,{id:p,data:ee.data,type:Xe,positionAbsoluteX:xe.positionAbsolute.x,positionAbsoluteY:xe.positionAbsolute.y,selected:ee.selected??!1,selectable:jn,draggable:vn,deletable:ee.deletable??!0,isConnectable:et,sourcePosition:ee.sourcePosition,targetPosition:ee.targetPosition,dragging:rn,dragHandle:ee.dragHandle,zIndex:xe.z,parentId:ee.parentId,...Sn})})})}var iJn=cn.memo(tJn);const rJn=p=>({nodesConnectable:p.nodesConnectable,nodesFocusable:p.nodesFocusable,elementsSelectable:p.elementsSelectable,onError:p.onError});function Ian(p){const{nodesConnectable:E,nodesFocusable:P,elementsSelectable:N,onError:D}=Sc(rJn,xs),$=Y_n(p.onlyRenderVisibleElements),v=eJn();return le.jsx("div",{className:"react-flow__nodes",style:UX,children:$.map(q=>le.jsx(iJn,{id:q,nodeTypes:p.nodeTypes,nodeExtent:p.nodeExtent,onClick:p.onNodeClick,onMouseEnter:p.onNodeMouseEnter,onMouseMove:p.onNodeMouseMove,onMouseLeave:p.onNodeMouseLeave,onContextMenu:p.onNodeContextMenu,onDoubleClick:p.onNodeDoubleClick,noDragClassName:p.noDragClassName,noPanClassName:p.noPanClassName,rfId:p.rfId,disableKeyboardA11y:p.disableKeyboardA11y,resizeObserver:v,nodesDraggable:p.nodesDraggable??!0,nodesConnectable:E,nodesFocusable:P,elementsSelectable:N,nodeClickDistance:p.nodeClickDistance,onError:D},q))})}Ian.displayName="NodeRenderer";const cJn=cn.memo(Ian);function uJn(p){return Sc(cn.useCallback(P=>{if(!p)return P.edges.map(D=>D.id);const N=[];if(P.width&&P.height)for(const D of P.edges){const $=P.nodeLookup.get(D.source),v=P.nodeLookup.get(D.target);$&&v&&uRn({sourceNode:$,targetNode:v,width:P.width,height:P.height,transform:P.transform})&&N.push(D.id)}return N},[p]),xs)}const oJn=({color:p="none",strokeWidth:E=1})=>{const P={strokeWidth:E,...p&&{stroke:p}};return le.jsx("polyline",{className:"arrow",style:P,strokeLinecap:"round",fill:"none",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4"})},sJn=({color:p="none",strokeWidth:E=1})=>{const P={strokeWidth:E,...p&&{stroke:p,fill:p}};return le.jsx("polyline",{className:"arrowclosed",style:P,strokeLinecap:"round",strokeLinejoin:"round",points:"-5,-4 0,0 -5,4 -5,-4"})},yhn={[dN.Arrow]:oJn,[dN.ArrowClosed]:sJn};function fJn(p){const E=cs();return cn.useMemo(()=>{var D,$;return Object.prototype.hasOwnProperty.call(yhn,p)?yhn[p]:(($=(D=E.getState()).onError)==null||$.call(D,"009",r2.error009(p)),null)},[p])}const lJn=({id:p,type:E,color:P,width:N=12.5,height:D=12.5,markerUnits:$="strokeWidth",strokeWidth:v,orient:q="auto-start-reverse"})=>{const te=fJn(E);return te?le.jsx("marker",{className:"react-flow__arrowhead",id:p,markerWidth:`${N}`,markerHeight:`${D}`,viewBox:"-10 -10 20 20",markerUnits:$,orient:q,refX:"0",refY:"0",children:le.jsx(te,{color:P,strokeWidth:v})}):null},Pan=({defaultColor:p,rfId:E})=>{const P=Sc($=>$.edges),N=Sc($=>$.defaultEdgeOptions),D=cn.useMemo(()=>bRn(P,{id:E,defaultColor:p,defaultMarkerStart:N==null?void 0:N.markerStart,defaultMarkerEnd:N==null?void 0:N.markerEnd}),[P,N,E,p]);return D.length?le.jsx("svg",{className:"react-flow__marker","aria-hidden":"true",children:le.jsx("defs",{children:D.map($=>le.jsx(lJn,{id:$.id,type:$.type,color:$.color,width:$.width,height:$.height,markerUnits:$.markerUnits,strokeWidth:$.strokeWidth,orient:$.orient},$.id))})}):null};Pan.displayName="MarkerDefinitions";var hJn=cn.memo(Pan);function Oan({x:p,y:E,label:P,labelStyle:N,labelShowBg:D=!0,labelBgStyle:$,labelBgPadding:v=[2,4],labelBgBorderRadius:q=2,children:te,className:ie,...pe}){const[oe,z]=cn.useState({x:1,y:0,width:0,height:0}),ne=Xf(["react-flow__edge-textwrapper",ie]),Z=cn.useRef(null);return cn.useEffect(()=>{if(Z.current){const U=Z.current.getBBox();z({x:U.x,y:U.y,width:U.width,height:U.height})}},[P]),P?le.jsxs("g",{transform:`translate(${p-oe.width/2} ${E-oe.height/2})`,className:ne,visibility:oe.width?"visible":"hidden",...pe,children:[D&&le.jsx("rect",{width:oe.width+2*v[0],x:-v[0],y:-v[1],height:oe.height+2*v[1],className:"react-flow__edge-textbg",style:$,rx:q,ry:q}),le.jsx("text",{className:"react-flow__edge-text",y:oe.height/2,dy:"0.3em",ref:Z,style:N,children:P}),te]}):null}Oan.displayName="EdgeText";const aJn=cn.memo(Oan);function ck({path:p,labelX:E,labelY:P,label:N,labelStyle:D,labelShowBg:$,labelBgStyle:v,labelBgPadding:q,labelBgBorderRadius:te,interactionWidth:ie=20,...pe}){return le.jsxs(le.Fragment,{children:[le.jsx("path",{...pe,d:p,fill:"none",className:Xf(["react-flow__edge-path",pe.className])}),ie?le.jsx("path",{d:p,fill:"none",strokeOpacity:0,strokeWidth:ie,className:"react-flow__edge-interaction"}):null,N&&n2(E)&&n2(P)?le.jsx(aJn,{x:E,y:P,label:N,labelStyle:D,labelShowBg:$,labelBgStyle:v,labelBgPadding:q,labelBgBorderRadius:te}):null]})}function khn({pos:p,x1:E,y1:P,x2:N,y2:D}){return p===ji.Left||p===ji.Right?[.5*(E+N),P]:[E,.5*(P+D)]}function Nan({sourceX:p,sourceY:E,sourcePosition:P=ji.Bottom,targetX:N,targetY:D,targetPosition:$=ji.Top}){const[v,q]=khn({pos:P,x1:p,y1:E,x2:N,y2:D}),[te,ie]=khn({pos:$,x1:N,y1:D,x2:p,y2:E}),[pe,oe,z,ne]=nan({sourceX:p,sourceY:E,targetX:N,targetY:D,sourceControlX:v,sourceControlY:q,targetControlX:te,targetControlY:ie});return[`M${p},${E} C${v},${q} ${te},${ie} ${N},${D}`,pe,oe,z,ne]}function Dan(p){return cn.memo(({id:E,sourceX:P,sourceY:N,targetX:D,targetY:$,sourcePosition:v,targetPosition:q,label:te,labelStyle:ie,labelShowBg:pe,labelBgStyle:oe,labelBgPadding:z,labelBgBorderRadius:ne,style:Z,markerEnd:U,markerStart:Ee,interactionWidth:re})=>{const[we,ee,xe]=Nan({sourceX:P,sourceY:N,sourcePosition:v,targetX:D,targetY:$,targetPosition:q}),Qe=p.isInternal?void 0:E;return le.jsx(ck,{id:Qe,path:we,labelX:ee,labelY:xe,label:te,labelStyle:ie,labelShowBg:pe,labelBgStyle:oe,labelBgPadding:z,labelBgBorderRadius:ne,style:Z,markerEnd:U,markerStart:Ee,interactionWidth:re})})}const dJn=Dan({isInternal:!1}),Lan=Dan({isInternal:!0});dJn.displayName="SimpleBezierEdge";Lan.displayName="SimpleBezierEdgeInternal";function $an(p){return cn.memo(({id:E,sourceX:P,sourceY:N,targetX:D,targetY:$,label:v,labelStyle:q,labelShowBg:te,labelBgStyle:ie,labelBgPadding:pe,labelBgBorderRadius:oe,style:z,sourcePosition:ne=ji.Bottom,targetPosition:Z=ji.Top,markerEnd:U,markerStart:Ee,pathOptions:re,interactionWidth:we})=>{const[ee,xe,Qe]=Ege({sourceX:P,sourceY:N,sourcePosition:ne,targetX:D,targetY:$,targetPosition:Z,borderRadius:re==null?void 0:re.borderRadius,offset:re==null?void 0:re.offset,stepPosition:re==null?void 0:re.stepPosition}),Xe=p.isInternal?void 0:E;return le.jsx(ck,{id:Xe,path:ee,labelX:xe,labelY:Qe,label:v,labelStyle:q,labelShowBg:te,labelBgStyle:ie,labelBgPadding:pe,labelBgBorderRadius:oe,style:z,markerEnd:U,markerStart:Ee,interactionWidth:we})})}const Fan=$an({isInternal:!1}),Ban=$an({isInternal:!0});Fan.displayName="SmoothStepEdge";Ban.displayName="SmoothStepEdgeInternal";function Ran(p){return cn.memo(({id:E,...P})=>{var D;const N=p.isInternal?void 0:E;return le.jsx(Fan,{...P,id:N,pathOptions:cn.useMemo(()=>{var $;return{borderRadius:0,offset:($=P.pathOptions)==null?void 0:$.offset}},[(D=P.pathOptions)==null?void 0:D.offset])})})}const bJn=Ran({isInternal:!1}),_an=Ran({isInternal:!0});bJn.displayName="StepEdge";_an.displayName="StepEdgeInternal";function Jan(p){return cn.memo(({id:E,sourceX:P,sourceY:N,targetX:D,targetY:$,label:v,labelStyle:q,labelShowBg:te,labelBgStyle:ie,labelBgPadding:pe,labelBgBorderRadius:oe,style:z,markerEnd:ne,markerStart:Z,interactionWidth:U})=>{const[Ee,re,we]=ian({sourceX:P,sourceY:N,targetX:D,targetY:$}),ee=p.isInternal?void 0:E;return le.jsx(ck,{id:ee,path:Ee,labelX:re,labelY:we,label:v,labelStyle:q,labelShowBg:te,labelBgStyle:ie,labelBgPadding:pe,labelBgBorderRadius:oe,style:z,markerEnd:ne,markerStart:Z,interactionWidth:U})})}const wJn=Jan({isInternal:!1}),Gan=Jan({isInternal:!0});wJn.displayName="StraightEdge";Gan.displayName="StraightEdgeInternal";function Han(p){return cn.memo(({id:E,sourceX:P,sourceY:N,targetX:D,targetY:$,sourcePosition:v=ji.Bottom,targetPosition:q=ji.Top,label:te,labelStyle:ie,labelShowBg:pe,labelBgStyle:oe,labelBgPadding:z,labelBgBorderRadius:ne,style:Z,markerEnd:U,markerStart:Ee,pathOptions:re,interactionWidth:we})=>{const[ee,xe,Qe]=yN({sourceX:P,sourceY:N,sourcePosition:v,targetX:D,targetY:$,targetPosition:q,curvature:re==null?void 0:re.curvature}),Xe=p.isInternal?void 0:E;return le.jsx(ck,{id:Xe,path:ee,labelX:xe,labelY:Qe,label:te,labelStyle:ie,labelShowBg:pe,labelBgStyle:oe,labelBgPadding:z,labelBgBorderRadius:ne,style:Z,markerEnd:U,markerStart:Ee,interactionWidth:we})})}const gJn=Han({isInternal:!1}),qan=Han({isInternal:!0});gJn.displayName="BezierEdge";qan.displayName="BezierEdgeInternal";const jhn={default:qan,straight:Gan,step:_an,smoothstep:Ban,simplebezier:Lan},Ehn={sourceX:null,sourceY:null,targetX:null,targetY:null,sourcePosition:null,targetPosition:null,zIndex:void 0},pJn=(p,E,P)=>P===ji.Left?p-E:P===ji.Right?p+E:p,mJn=(p,E,P)=>P===ji.Top?p-E:P===ji.Bottom?p+E:p,Ahn="react-flow__edgeupdater";function Mhn({position:p,centerX:E,centerY:P,radius:N=10,onMouseDown:D,onMouseEnter:$,onMouseOut:v,type:q}){return le.jsx("circle",{onMouseDown:D,onMouseEnter:$,onMouseOut:v,className:Xf([Ahn,`${Ahn}-${q}`]),cx:pJn(E,N,p),cy:mJn(P,N,p),r:N,stroke:"transparent",fill:"transparent"})}function vJn({isReconnectable:p,reconnectRadius:E,edge:P,sourceX:N,sourceY:D,targetX:$,targetY:v,sourcePosition:q,targetPosition:te,onReconnect:ie,onReconnectStart:pe,onReconnectEnd:oe,setReconnecting:z,setUpdateHover:ne}){const Z=cs(),U=(xe,Qe)=>{if(xe.button!==0)return;const{autoPanOnConnect:Xe,domNode:Ze,connectionMode:vn,connectionRadius:jn,lib:et,onConnectStart:Dn,cancelConnection:Kn,nodeLookup:_,rfId:je,panBy:rn,updateConnection:sn}=Z.getState(),Sn=Qe.type==="target",Bn=(Nn,qn)=>{z(!1),oe==null||oe(Nn,P,Qe.type,qn)},dn=Nn=>ie==null?void 0:ie(P,Nn),Jn=(Nn,qn)=>{z(!0),pe==null||pe(xe,P,Qe.type),Dn==null||Dn(Nn,qn)};xge.onPointerDown(xe.nativeEvent,{autoPanOnConnect:Xe,connectionMode:vn,connectionRadius:jn,domNode:Ze,handleId:Qe.id,nodeId:Qe.nodeId,nodeLookup:_,isTarget:Sn,edgeUpdaterType:Qe.type,lib:et,flowId:je,cancelConnection:Kn,panBy:rn,isValidConnection:(...Nn)=>{var qn,Jt;return((Jt=(qn=Z.getState()).isValidConnection)==null?void 0:Jt.call(qn,...Nn))??!0},onConnect:dn,onConnectStart:Jn,onConnectEnd:(...Nn)=>{var qn,Jt;return(Jt=(qn=Z.getState()).onConnectEnd)==null?void 0:Jt.call(qn,...Nn)},onReconnectEnd:Bn,updateConnection:sn,getTransform:()=>Z.getState().transform,getFromHandle:()=>Z.getState().connection.fromHandle,dragThreshold:Z.getState().connectionDragThreshold,handleDomNode:xe.currentTarget})},Ee=xe=>U(xe,{nodeId:P.target,id:P.targetHandle??null,type:"target"}),re=xe=>U(xe,{nodeId:P.source,id:P.sourceHandle??null,type:"source"}),we=()=>ne(!0),ee=()=>ne(!1);return le.jsxs(le.Fragment,{children:[(p===!0||p==="source")&&le.jsx(Mhn,{position:q,centerX:N,centerY:D,radius:E,onMouseDown:Ee,onMouseEnter:we,onMouseOut:ee,type:"source"}),(p===!0||p==="target")&&le.jsx(Mhn,{position:te,centerX:$,centerY:v,radius:E,onMouseDown:re,onMouseEnter:we,onMouseOut:ee,type:"target"})]})}function yJn({id:p,edgesFocusable:E,edgesReconnectable:P,elementsSelectable:N,onClick:D,onDoubleClick:$,onContextMenu:v,onMouseEnter:q,onMouseMove:te,onMouseLeave:ie,reconnectRadius:pe,onReconnect:oe,onReconnectStart:z,onReconnectEnd:ne,rfId:Z,edgeTypes:U,noPanClassName:Ee,onError:re,disableKeyboardA11y:we}){let ee=Sc(_i=>_i.edgeLookup.get(p));const xe=Sc(_i=>_i.defaultEdgeOptions);ee=xe?{...xe,...ee}:ee;let Qe=ee.type||"default",Xe=(U==null?void 0:U[Qe])||jhn[Qe];Xe===void 0&&(re==null||re("011",r2.error011(Qe)),Qe="default",Xe=(U==null?void 0:U.default)||jhn.default);const Ze=!!(ee.focusable||E&&typeof ee.focusable>"u"),vn=typeof oe<"u"&&(ee.reconnectable||P&&typeof ee.reconnectable>"u"),jn=!!(ee.selectable||N&&typeof ee.selectable>"u"),et=cn.useRef(null),[Dn,Kn]=cn.useState(!1),[_,je]=cn.useState(!1),rn=cs(),{zIndex:sn=ee.zIndex,sourceX:Sn,sourceY:Bn,targetX:dn,targetY:Jn,sourcePosition:Nn,targetPosition:qn}=Sc(cn.useCallback(_i=>{const sr=_i.nodeLookup.get(ee.source),ri=_i.nodeLookup.get(ee.target);if(!sr||!ri)return Ehn;const ai=dRn({id:p,sourceNode:sr,targetNode:ri,sourceHandle:ee.sourceHandle||null,targetHandle:ee.targetHandle||null,connectionMode:_i.connectionMode,onError:re}),Mc=cRn({selected:ee.selected,zIndex:ee.zIndex,sourceNode:sr,targetNode:ri,elevateOnSelect:_i.elevateEdgesOnSelect,zIndexMode:_i.zIndexMode});return{...ai||Ehn,zIndex:Mc}},[ee.source,ee.target,ee.sourceHandle,ee.targetHandle,ee.selected,ee.zIndex,re]),xs),Jt=cn.useMemo(()=>ee.markerStart?`url('#${Age(ee.markerStart,Z)}')`:void 0,[ee.markerStart,Z]),Xt=cn.useMemo(()=>ee.markerEnd?`url('#${Age(ee.markerEnd,Z)}')`:void 0,[ee.markerEnd,Z]);if(ee.hidden||Sn===null||Bn===null||dn===null||Jn===null)return null;const Oi=_i=>{var Mc;const{addSelectedEdges:sr,unselectNodesAndEdges:ri,multiSelectionActive:ai}=rn.getState();jn&&(rn.setState({nodesSelectionActive:!1}),ee.selected&&ai?(ri({nodes:[],edges:[ee]}),(Mc=et.current)==null||Mc.blur()):sr([p])),D&&D(_i,ee)},gr=$?_i=>{$(_i,{...ee})}:void 0,Ki=v?_i=>{v(_i,{...ee})}:void 0,Wn=q?_i=>{q(_i,{...ee})}:void 0,ei=te?_i=>{te(_i,{...ee})}:void 0,rr=ie?_i=>{ie(_i,{...ee})}:void 0,cr=_i=>{var sr;if(!we&&_hn.includes(_i.key)&&jn){const{unselectNodesAndEdges:ri,addSelectedEdges:ai}=rn.getState();_i.key==="Escape"?((sr=et.current)==null||sr.blur(),ri({edges:[ee]})):ai([p])}};return le.jsx("svg",{style:{zIndex:sn},children:le.jsxs("g",{className:Xf(["react-flow__edge",`react-flow__edge-${Qe}`,ee.className,Ee,{selected:ee.selected,animated:ee.animated,inactive:!jn&&!D,updating:Dn,selectable:jn}]),onClick:Oi,onDoubleClick:gr,onContextMenu:Ki,onMouseEnter:Wn,onMouseMove:ei,onMouseLeave:rr,onKeyDown:Ze?cr:void 0,tabIndex:Ze?0:void 0,role:ee.ariaRole??(Ze?"group":"img"),"aria-roledescription":"edge","data-id":p,"data-testid":`rf__edge-${p}`,"aria-label":ee.ariaLabel===null?void 0:ee.ariaLabel||`Edge from ${ee.source} to ${ee.target}`,"aria-describedby":Ze?`${man}-${Z}`:void 0,ref:et,...ee.domAttributes,children:[!_&&le.jsx(Xe,{id:p,source:ee.source,target:ee.target,type:ee.type,selected:ee.selected,animated:ee.animated,selectable:jn,deletable:ee.deletable??!0,label:ee.label,labelStyle:ee.labelStyle,labelShowBg:ee.labelShowBg,labelBgStyle:ee.labelBgStyle,labelBgPadding:ee.labelBgPadding,labelBgBorderRadius:ee.labelBgBorderRadius,sourceX:Sn,sourceY:Bn,targetX:dn,targetY:Jn,sourcePosition:Nn,targetPosition:qn,data:ee.data,style:ee.style,sourceHandleId:ee.sourceHandle,targetHandleId:ee.targetHandle,markerStart:Jt,markerEnd:Xt,pathOptions:"pathOptions"in ee?ee.pathOptions:void 0,interactionWidth:ee.interactionWidth}),vn&&le.jsx(vJn,{edge:ee,isReconnectable:vn,reconnectRadius:pe,onReconnect:oe,onReconnectStart:z,onReconnectEnd:ne,sourceX:Sn,sourceY:Bn,targetX:dn,targetY:Jn,sourcePosition:Nn,targetPosition:qn,setUpdateHover:Kn,setReconnecting:je})]})})}var kJn=cn.memo(yJn);const jJn=p=>({edgesFocusable:p.edgesFocusable,edgesReconnectable:p.edgesReconnectable,elementsSelectable:p.elementsSelectable,connectionMode:p.connectionMode,onError:p.onError});function zan({defaultMarkerColor:p,onlyRenderVisibleElements:E,rfId:P,edgeTypes:N,noPanClassName:D,onReconnect:$,onEdgeContextMenu:v,onEdgeMouseEnter:q,onEdgeMouseMove:te,onEdgeMouseLeave:ie,onEdgeClick:pe,reconnectRadius:oe,onEdgeDoubleClick:z,onReconnectStart:ne,onReconnectEnd:Z,disableKeyboardA11y:U}){const{edgesFocusable:Ee,edgesReconnectable:re,elementsSelectable:we,onError:ee}=Sc(jJn,xs),xe=uJn(E);return le.jsxs("div",{className:"react-flow__edges",children:[le.jsx(hJn,{defaultColor:p,rfId:P}),xe.map(Qe=>le.jsx(kJn,{id:Qe,edgesFocusable:Ee,edgesReconnectable:re,elementsSelectable:we,noPanClassName:D,onReconnect:$,onContextMenu:v,onMouseEnter:q,onMouseMove:te,onMouseLeave:ie,onClick:pe,reconnectRadius:oe,onDoubleClick:z,onReconnectStart:ne,onReconnectEnd:Z,rfId:P,onError:ee,edgeTypes:N,disableKeyboardA11y:U},Qe))]})}zan.displayName="EdgeRenderer";const EJn=cn.memo(zan),xhn=p=>`translate(${p[0]}px,${p[1]}px) scale(${p[2]})`;function AJn({children:p}){const E=cs(),P=cn.useRef(null),[N]=cn.useState(()=>E.getState().transform);return Aan(()=>{let D=null;const $=()=>{const v=E.getState().transform;D&&v[0]===D[0]&&v[1]===D[1]&&v[2]===D[2]||(D=v,P.current&&(P.current.style.transform=xhn(v)))};return $(),E.subscribe($)},[E]),le.jsx("div",{ref:P,className:"react-flow__viewport xyflow__viewport react-flow__container",style:{transform:xhn(N)},children:p})}function MJn(p){const E=zX(),P=cn.useRef(!1);cn.useEffect(()=>{!P.current&&E.viewportInitialized&&p&&(setTimeout(()=>p(E),1),P.current=!0)},[p,E.viewportInitialized])}const xJn=p=>{var E;return(E=p.panZoom)==null?void 0:E.syncViewport};function CJn(p){const E=Sc(xJn),P=cs();return cn.useEffect(()=>{p&&(E==null||E(p),P.setState({transform:[p.x,p.y,p.zoom]}))},[p,E]),null}function TJn(p){return p.connection.inProgress?{...p.connection,to:vN(p.connection.to,p.transform)}:{...p.connection}}function SJn(p){return TJn}function IJn(p){const E=SJn();return Sc(E,xs)}const PJn=p=>({nodesConnectable:p.nodesConnectable,isValid:p.connection.isValid,inProgress:p.connection.inProgress,width:p.width,height:p.height});function OJn({containerStyle:p,style:E,type:P,component:N}){const{nodesConnectable:D,width:$,height:v,isValid:q,inProgress:te}=Sc(PJn,xs);return!($&&D&&te)?null:le.jsx("svg",{style:p,width:$,height:v,className:"react-flow__connectionline react-flow__container",children:le.jsx("g",{className:Xf(["react-flow__connection",Qhn(q)]),children:le.jsx(Uan,{style:E,type:P,CustomComponent:N,isValid:q})})})}const Uan=({style:p,type:E=z5.Bezier,CustomComponent:P,isValid:N})=>{const{inProgress:D,from:$,fromNode:v,fromHandle:q,fromPosition:te,to:ie,toNode:pe,toHandle:oe,toPosition:z,pointer:ne}=IJn();if(!D)return;if(P)return le.jsx(P,{connectionLineType:E,connectionLineStyle:p,fromNode:v,fromHandle:q,fromX:$.x,fromY:$.y,toX:ie.x,toY:ie.y,fromPosition:te,toPosition:z,connectionStatus:Qhn(N),toNode:pe,toHandle:oe,pointer:ne});let Z="";const U={sourceX:$.x,sourceY:$.y,sourcePosition:te,targetX:ie.x,targetY:ie.y,targetPosition:z};switch(E){case z5.Bezier:[Z]=yN(U);break;case z5.SimpleBezier:[Z]=Nan(U);break;case z5.Step:[Z]=Ege({...U,borderRadius:0});break;case z5.SmoothStep:[Z]=Ege(U);break;default:[Z]=ian(U)}return le.jsx("path",{d:Z,fill:"none",className:"react-flow__connection-path",style:p})};Uan.displayName="ConnectionLine";const NJn={};function Chn(p=NJn){cn.useRef(p),cs(),cn.useEffect(()=>{},[p])}function DJn(){cs(),cn.useRef(!1),cn.useEffect(()=>{},[])}function Xan({nodeTypes:p,edgeTypes:E,onInit:P,onNodeClick:N,onEdgeClick:D,onNodeDoubleClick:$,onEdgeDoubleClick:v,onNodeMouseEnter:q,onNodeMouseMove:te,onNodeMouseLeave:ie,onNodeContextMenu:pe,onSelectionContextMenu:oe,onSelectionStart:z,onSelectionEnd:ne,connectionLineType:Z,connectionLineStyle:U,connectionLineComponent:Ee,connectionLineContainerStyle:re,selectionKeyCode:we,selectionOnDrag:ee,selectionMode:xe,multiSelectionKeyCode:Qe,panActivationKeyCode:Xe,zoomActivationKeyCode:Ze,deleteKeyCode:vn,onlyRenderVisibleElements:jn,elementsSelectable:et,defaultViewport:Dn,translateExtent:Kn,minZoom:_,maxZoom:je,preventScrolling:rn,defaultMarkerColor:sn,zoomOnScroll:Sn,zoomOnPinch:Bn,panOnScroll:dn,panOnScrollSpeed:Jn,panOnScrollMode:Nn,zoomOnDoubleClick:qn,panOnDrag:Jt,autoPanOnSelection:Xt,onPaneClick:Oi,onPaneMouseEnter:gr,onPaneMouseMove:Ki,onPaneMouseLeave:Wn,onPaneScroll:ei,onPaneContextMenu:rr,paneClickDistance:cr,nodeClickDistance:_i,onEdgeContextMenu:sr,onEdgeMouseEnter:ri,onEdgeMouseMove:ai,onEdgeMouseLeave:Mc,reconnectRadius:ku,onReconnect:ic,onReconnectStart:Sa,onReconnectEnd:ph,noDragClassName:j1,noWheelClassName:u2,noPanClassName:zl,disableKeyboardA11y:R0,nodeExtent:mh,rfId:Td,viewport:Ia,onViewportChange:Sd,nodesDraggable:Gp}){return Chn(p),Chn(E),DJn(),MJn(P),CJn(Ia),le.jsx(V_n,{onPaneClick:Oi,onPaneMouseEnter:gr,onPaneMouseMove:Ki,onPaneMouseLeave:Wn,onPaneContextMenu:rr,onPaneScroll:ei,paneClickDistance:cr,deleteKeyCode:vn,selectionKeyCode:we,selectionOnDrag:ee,selectionMode:xe,onSelectionStart:z,onSelectionEnd:ne,multiSelectionKeyCode:Qe,panActivationKeyCode:Xe,zoomActivationKeyCode:Ze,elementsSelectable:et,zoomOnScroll:Sn,zoomOnPinch:Bn,zoomOnDoubleClick:qn,panOnScroll:dn,panOnScrollSpeed:Jn,panOnScrollMode:Nn,panOnDrag:Jt,autoPanOnSelection:Xt,defaultViewport:Dn,translateExtent:Kn,minZoom:_,maxZoom:je,onSelectionContextMenu:oe,preventScrolling:rn,noDragClassName:j1,noWheelClassName:u2,noPanClassName:zl,disableKeyboardA11y:R0,onViewportChange:Sd,isControlledViewport:!!Ia,children:le.jsxs(AJn,{children:[le.jsx(EJn,{edgeTypes:E,onEdgeClick:D,onEdgeDoubleClick:v,onReconnect:ic,onReconnectStart:Sa,onReconnectEnd:ph,onlyRenderVisibleElements:jn,onEdgeContextMenu:sr,onEdgeMouseEnter:ri,onEdgeMouseMove:ai,onEdgeMouseLeave:Mc,reconnectRadius:ku,defaultMarkerColor:sn,noPanClassName:zl,disableKeyboardA11y:R0,rfId:Td}),le.jsx(OJn,{style:U,type:Z,component:Ee,containerStyle:re}),le.jsx("div",{className:"react-flow__edgelabel-renderer"}),le.jsx(cJn,{nodeTypes:p,onNodeClick:N,onNodeDoubleClick:$,onNodeMouseEnter:q,onNodeMouseMove:te,onNodeMouseLeave:ie,onNodeContextMenu:pe,nodeClickDistance:_i,onlyRenderVisibleElements:jn,noPanClassName:zl,noDragClassName:j1,disableKeyboardA11y:R0,nodeExtent:mh,rfId:Td,nodesDraggable:Gp}),le.jsx("div",{className:"react-flow__viewport-portal"})]})})}Xan.displayName="GraphView";const LJn=cn.memo(Xan),$Jn=Khn(),Thn=({nodes:p,edges:E,defaultNodes:P,defaultEdges:N,width:D,height:$,fitView:v,fitViewOptions:q,minZoom:te=.5,maxZoom:ie=2,nodeOrigin:pe,nodeExtent:oe,zIndexMode:z="basic"}={})=>{const ne=new Map,Z=new Map,U=new Map,Ee=new Map,re=N??E??[],we=P??p??[],ee=pe??[0,0],xe=oe??hN;uan(U,Ee,re);const{nodesInitialized:Qe}=Mge(we,ne,Z,{nodeOrigin:ee,nodeExtent:xe,zIndexMode:z});let Xe=[0,0,1];if(v&&D&&$){const Ze=LA(ne,{filter:Dn=>!!((Dn.width||Dn.initialWidth)&&(Dn.height||Dn.initialHeight))}),{x:vn,y:jn,zoom:et}=$ge(Ze,D,$,te,ie,(q==null?void 0:q.padding)??.1);Xe=[vn,jn,et]}return{rfId:"1",width:D??0,height:$??0,transform:Xe,nodes:we,nodesInitialized:Qe,nodeLookup:ne,parentLookup:Z,edges:re,edgeLookup:Ee,connectionLookup:U,onNodesChange:null,onEdgesChange:null,hasDefaultNodes:P!==void 0,hasDefaultEdges:N!==void 0,panZoom:null,minZoom:te,maxZoom:ie,translateExtent:hN,nodeExtent:xe,nodesSelectionActive:!1,userSelectionActive:!1,userSelectionRect:null,connectionMode:PA.Strict,domNode:null,paneDragging:!1,noPanClassName:"nopan",nodeOrigin:ee,nodeDragThreshold:1,connectionDragThreshold:1,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,nodesFocusable:!0,edgesFocusable:!0,edgesReconnectable:!0,elementsSelectable:!0,elevateNodesOnSelect:!0,elevateEdgesOnSelect:!0,selectNodesOnDrag:!0,multiSelectionActive:!1,fitViewQueued:v??!1,fitViewOptions:q,fitViewResolver:null,connection:{...Ghn},connectionClickStartHandle:null,connectOnClick:!0,ariaLiveMessage:"",autoPanOnConnect:!0,autoPanOnNodeDrag:!0,autoPanOnNodeFocus:!0,autoPanSpeed:15,connectionRadius:20,onError:$Jn,isValidConnection:void 0,onSelectionChangeHandlers:[],lib:"react",debug:!1,ariaLabelConfig:Jhn,zIndexMode:z,defaultEdgeOptions:void 0,onNodesChangeMiddlewareMap:new Map,onEdgesChangeMiddlewareMap:new Map,onNodesDelete:void 0,onEdgesDelete:void 0,onDelete:void 0,onBeforeDelete:void 0,onViewportChangeStart:void 0,onViewportChange:void 0,onViewportChangeEnd:void 0,onNodeDragStart:void 0,onNodeDrag:void 0,onNodeDragStop:void 0,onSelectionDragStart:void 0,onSelectionDrag:void 0,onSelectionDragStop:void 0,onMoveStart:void 0,onMove:void 0,onMoveEnd:void 0,onConnect:void 0,onConnectStart:void 0,onConnectEnd:void 0,onClickConnectStart:void 0,onClickConnectEnd:void 0}},FJn=({nodes:p,edges:E,defaultNodes:P,defaultEdges:N,width:D,height:$,fitView:v,fitViewOptions:q,minZoom:te,maxZoom:ie,nodeOrigin:pe,nodeExtent:oe,zIndexMode:z})=>QRn((ne,Z)=>{async function U(){const{nodeLookup:Ee,panZoom:re,fitViewOptions:we,fitViewResolver:ee,width:xe,height:Qe,minZoom:Xe,maxZoom:Ze}=Z();re&&(await YBn({nodes:Ee,width:xe,height:Qe,panZoom:re,minZoom:Xe,maxZoom:Ze},we),ee==null||ee.resolve(!0),ne({fitViewResolver:null}))}return{...Thn({nodes:p,edges:E,width:D,height:$,fitView:v,fitViewOptions:q,minZoom:te,maxZoom:ie,nodeOrigin:pe,nodeExtent:oe,defaultNodes:P,defaultEdges:N,zIndexMode:z}),setNodes:Ee=>{const{nodeLookup:re,parentLookup:we,nodeOrigin:ee,nodeExtent:xe,elevateNodesOnSelect:Qe,fitViewQueued:Xe,zIndexMode:Ze,nodesSelectionActive:vn}=Z(),{nodesInitialized:jn,hasSelectedNodes:et}=Mge(Ee,re,we,{nodeOrigin:ee,nodeExtent:xe,elevateNodesOnSelect:Qe,checkEquality:!0,zIndexMode:Ze}),Dn=vn&&et;Xe&&jn?(U(),ne({nodes:Ee,nodesInitialized:jn,fitViewQueued:!1,fitViewOptions:void 0,nodesSelectionActive:Dn})):ne({nodes:Ee,nodesInitialized:jn,nodesSelectionActive:Dn})},setEdges:Ee=>{const{connectionLookup:re,edgeLookup:we}=Z();uan(re,we,Ee),ne({edges:Ee})},setDefaultNodesAndEdges:(Ee,re)=>{if(Ee){const{setNodes:we}=Z();we(Ee),ne({hasDefaultNodes:!0})}if(re){const{setEdges:we}=Z();we(re),ne({hasDefaultEdges:!0})}},updateNodeInternals:Ee=>{const{triggerNodeChanges:re,nodeLookup:we,parentLookup:ee,domNode:xe,nodeOrigin:Qe,nodeExtent:Xe,debug:Ze,fitViewQueued:vn,zIndexMode:jn}=Z(),{changes:et,updatedInternals:Dn}=jRn(Ee,we,ee,xe,Qe,Xe,jn);Dn&&(mRn(we,ee,{nodeOrigin:Qe,nodeExtent:Xe,zIndexMode:jn}),vn?(U(),ne({fitViewQueued:!1,fitViewOptions:void 0})):ne({}),(et==null?void 0:et.length)>0&&(Ze&&console.log("React Flow: trigger node changes",et),re==null||re(et)))},updateNodePositions:(Ee,re=!1)=>{const we=[];let ee=[];const{nodeLookup:xe,triggerNodeChanges:Qe,connection:Xe,updateConnection:Ze,onNodesChangeMiddlewareMap:vn}=Z();for(const[jn,et]of Ee){const Dn=xe.get(jn),Kn=!!(Dn!=null&&Dn.expandParent&&(Dn!=null&&Dn.parentId)&&(et!=null&&et.position)),_={id:jn,type:"position",position:Kn?{x:Math.max(0,et.position.x),y:Math.max(0,et.position.y)}:et.position,dragging:re};if(Dn&&Xe.inProgress&&Xe.fromNode.id===Dn.id){const je=rk(Dn,Xe.fromHandle,ji.Left,!0);Ze({...Xe,from:je})}Kn&&Dn.parentId&&we.push({id:jn,parentId:Dn.parentId,rect:{...et.internals.positionAbsolute,width:et.measured.width??0,height:et.measured.height??0}}),ee.push(_)}if(we.length>0){const{parentLookup:jn,nodeOrigin:et}=Z(),Dn=Gge(we,xe,jn,et);ee.push(...Dn)}for(const jn of vn.values())ee=jn(ee);Qe(ee)},triggerNodeChanges:Ee=>{const{onNodesChange:re,setNodes:we,nodes:ee,hasDefaultNodes:xe,debug:Qe}=Z();if(Ee!=null&&Ee.length){if(xe){const Xe=kan(Ee,ee);we(Xe)}Qe&&console.log("React Flow: trigger node changes",Ee),re==null||re(Ee)}},triggerEdgeChanges:Ee=>{const{onEdgesChange:re,setEdges:we,edges:ee,hasDefaultEdges:xe,debug:Qe}=Z();if(Ee!=null&&Ee.length){if(xe){const Xe=jan(Ee,ee);we(Xe)}Qe&&console.log("React Flow: trigger edge changes",Ee),re==null||re(Ee)}},addSelectedNodes:Ee=>{const{multiSelectionActive:re,edgeLookup:we,nodeLookup:ee,triggerNodeChanges:xe,triggerEdgeChanges:Qe}=Z();if(re){const Xe=Ee.map(Ze=>ek(Ze,!0));xe(Xe);return}xe(SA(ee,new Set([...Ee]),!0)),Qe(SA(we))},addSelectedEdges:Ee=>{const{multiSelectionActive:re,edgeLookup:we,nodeLookup:ee,triggerNodeChanges:xe,triggerEdgeChanges:Qe}=Z();if(re){const Xe=Ee.map(Ze=>ek(Ze,!0));Qe(Xe);return}Qe(SA(we,new Set([...Ee]))),xe(SA(ee,new Set,!0))},unselectNodesAndEdges:({nodes:Ee,edges:re}={})=>{const{edges:we,nodes:ee,nodeLookup:xe,triggerNodeChanges:Qe,triggerEdgeChanges:Xe}=Z(),Ze=Ee||ee,vn=re||we,jn=[];for(const Dn of Ze){if(!Dn.selected)continue;const Kn=xe.get(Dn.id);Kn&&(Kn.selected=!1),jn.push(ek(Dn.id,!1))}const et=[];for(const Dn of vn)Dn.selected&&et.push(ek(Dn.id,!1));Qe(jn),Xe(et)},setMinZoom:Ee=>{const{panZoom:re,maxZoom:we}=Z();re==null||re.setScaleExtent([Ee,we]),ne({minZoom:Ee})},setMaxZoom:Ee=>{const{panZoom:re,minZoom:we}=Z();re==null||re.setScaleExtent([we,Ee]),ne({maxZoom:Ee})},setTranslateExtent:Ee=>{var re;(re=Z().panZoom)==null||re.setTranslateExtent(Ee),ne({translateExtent:Ee})},resetSelectedElements:()=>{const{edges:Ee,nodes:re,triggerNodeChanges:we,triggerEdgeChanges:ee,elementsSelectable:xe}=Z();if(!xe)return;const Qe=re.reduce((Ze,vn)=>vn.selected?[...Ze,ek(vn.id,!1)]:Ze,[]),Xe=Ee.reduce((Ze,vn)=>vn.selected?[...Ze,ek(vn.id,!1)]:Ze,[]);we(Qe),ee(Xe)},setNodeExtent:Ee=>{const{nodes:re,nodeLookup:we,parentLookup:ee,nodeOrigin:xe,elevateNodesOnSelect:Qe,nodeExtent:Xe,zIndexMode:Ze}=Z();Ee[0][0]===Xe[0][0]&&Ee[0][1]===Xe[0][1]&&Ee[1][0]===Xe[1][0]&&Ee[1][1]===Xe[1][1]||(Mge(re,we,ee,{nodeOrigin:xe,nodeExtent:Ee,elevateNodesOnSelect:Qe,checkEquality:!1,zIndexMode:Ze}),ne({nodeExtent:Ee}))},panBy:Ee=>{const{transform:re,width:we,height:ee,panZoom:xe,translateExtent:Qe}=Z();return ERn({delta:Ee,panZoom:xe,transform:re,translateExtent:Qe,width:we,height:ee})},setCenter:async(Ee,re,we)=>{const{width:ee,height:xe,maxZoom:Qe,panZoom:Xe}=Z();if(!Xe)return!1;const Ze=typeof(we==null?void 0:we.zoom)<"u"?we.zoom:Qe;return await Xe.setViewport({x:ee/2-Ee*Ze,y:xe/2-re*Ze,zoom:Ze},{duration:we==null?void 0:we.duration,ease:we==null?void 0:we.ease,interpolate:we==null?void 0:we.interpolate}),!0},cancelConnection:()=>{ne({connection:{...Ghn}})},updateConnection:Ee=>{ne({connection:Ee})},reset:()=>ne({...Thn()})}},Object.is);function Kan({initialNodes:p,initialEdges:E,defaultNodes:P,defaultEdges:N,initialWidth:D,initialHeight:$,initialMinZoom:v,initialMaxZoom:q,initialFitViewOptions:te,fitView:ie,nodeOrigin:pe,nodeExtent:oe,zIndexMode:z,children:ne}){const[Z]=cn.useState(()=>FJn({nodes:p,edges:E,defaultNodes:P,defaultEdges:N,width:D,height:$,fitView:ie,minZoom:v,maxZoom:q,fitViewOptions:te,nodeOrigin:pe,nodeExtent:oe,zIndexMode:z}));return le.jsx(YRn,{value:Z,children:le.jsx(j_n,{children:le.jsx(F_n,{children:ne})})})}function BJn({children:p,nodes:E,edges:P,defaultNodes:N,defaultEdges:D,width:$,height:v,fitView:q,fitViewOptions:te,minZoom:ie,maxZoom:pe,nodeOrigin:oe,nodeExtent:z,zIndexMode:ne}){return cn.useContext(qX)?le.jsx(le.Fragment,{children:p}):le.jsx(Kan,{initialNodes:E,initialEdges:P,defaultNodes:N,defaultEdges:D,initialWidth:$,initialHeight:v,fitView:q,initialFitViewOptions:te,initialMinZoom:ie,initialMaxZoom:pe,nodeOrigin:oe,nodeExtent:z,zIndexMode:ne,children:p})}const RJn={width:"100%",height:"100%",overflow:"hidden",position:"relative",zIndex:0};function _Jn({nodes:p,edges:E,defaultNodes:P,defaultEdges:N,className:D,nodeTypes:$,edgeTypes:v,onNodeClick:q,onEdgeClick:te,onInit:ie,onMove:pe,onMoveStart:oe,onMoveEnd:z,onConnect:ne,onConnectStart:Z,onConnectEnd:U,onClickConnectStart:Ee,onClickConnectEnd:re,onNodeMouseEnter:we,onNodeMouseMove:ee,onNodeMouseLeave:xe,onNodeContextMenu:Qe,onNodeDoubleClick:Xe,onNodeDragStart:Ze,onNodeDrag:vn,onNodeDragStop:jn,onNodesDelete:et,onEdgesDelete:Dn,onDelete:Kn,onSelectionChange:_,onSelectionDragStart:je,onSelectionDrag:rn,onSelectionDragStop:sn,onSelectionContextMenu:Sn,onSelectionStart:Bn,onSelectionEnd:dn,onBeforeDelete:Jn,connectionMode:Nn,connectionLineType:qn=z5.Bezier,connectionLineStyle:Jt,connectionLineComponent:Xt,connectionLineContainerStyle:Oi,deleteKeyCode:gr="Backspace",selectionKeyCode:Ki="Shift",selectionOnDrag:Wn=!1,selectionMode:ei=aN.Full,panActivationKeyCode:rr="Space",multiSelectionKeyCode:cr=wN()?"Meta":"Control",zoomActivationKeyCode:_i=wN()?"Meta":"Control",snapToGrid:sr,snapGrid:ri,onlyRenderVisibleElements:ai=!1,selectNodesOnDrag:Mc,nodesDraggable:ku,autoPanOnNodeFocus:ic,nodesConnectable:Sa,nodesFocusable:ph,nodeOrigin:j1=van,edgesFocusable:u2,edgesReconnectable:zl,elementsSelectable:R0=!0,defaultViewport:mh=h_n,minZoom:Td=.5,maxZoom:Ia=2,translateExtent:Sd=hN,preventScrolling:Gp=!0,nodeExtent:ec,defaultMarkerColor:pf="#b1b1b7",zoomOnScroll:Kf=!0,zoomOnPinch:z3=!0,panOnScroll:U5=!1,panOnScrollSpeed:EN=.5,panOnScrollMode:AN=nk.Free,zoomOnDoubleClick:MN=!0,panOnDrag:xN=!0,onPaneClick:CN,onPaneMouseEnter:TN,onPaneMouseMove:SN,onPaneMouseLeave:IN,onPaneScroll:PN,onPaneContextMenu:ON,paneClickDistance:NN=1,nodeClickDistance:DN=0,children:LN,onReconnect:$N,onReconnectStart:FN,onReconnectEnd:BN,onEdgeContextMenu:X5,onEdgeDoubleClick:$A,onEdgeMouseEnter:RN,onEdgeMouseMove:uk,onEdgeMouseLeave:_N,reconnectRadius:JN=10,onNodesChange:GN,onEdgesChange:FA,noDragClassName:HN="nodrag",noWheelClassName:qN="nowheel",noPanClassName:BA="nopan",fitView:RA,fitViewOptions:_A,connectOnClick:zN,attributionPosition:UN,proOptions:XN,defaultEdgeOptions:KN,elevateNodesOnSelect:WN=!0,elevateEdgesOnSelect:VN=!1,disableKeyboardA11y:JA=!1,autoPanOnConnect:QN,autoPanOnNodeDrag:YN,autoPanOnSelection:ZN=!0,autoPanSpeed:ok,connectionRadius:eD,isValidConnection:nD,onError:tD,style:iD,id:GA,nodeDragThreshold:rD,connectionDragThreshold:HA,viewport:qA,onViewportChange:cD,width:uD,height:oD,colorMode:sD="light",debug:fD,onScroll:K5,ariaLabelConfig:lD,zIndexMode:zA="basic",...hD},aD){const sk=GA||"1",dD=w_n(sD),bD=cn.useCallback(UA=>{UA.currentTarget.scrollTo({top:0,left:0,behavior:"instant"}),K5==null||K5(UA)},[K5]);return le.jsx("div",{"data-testid":"rf__wrapper",...hD,onScroll:bD,style:{...iD,...RJn},ref:aD,className:Xf(["react-flow",D,dD]),id:GA,role:"application",children:le.jsxs(BJn,{nodes:p,edges:E,width:uD,height:oD,fitView:RA,fitViewOptions:_A,minZoom:Td,maxZoom:Ia,nodeOrigin:j1,nodeExtent:ec,zIndexMode:zA,children:[le.jsx(b_n,{nodes:p,edges:E,defaultNodes:P,defaultEdges:N,onConnect:ne,onConnectStart:Z,onConnectEnd:U,onClickConnectStart:Ee,onClickConnectEnd:re,nodesDraggable:ku,autoPanOnNodeFocus:ic,nodesConnectable:Sa,nodesFocusable:ph,edgesFocusable:u2,edgesReconnectable:zl,elementsSelectable:R0,elevateNodesOnSelect:WN,elevateEdgesOnSelect:VN,minZoom:Td,maxZoom:Ia,nodeExtent:ec,onNodesChange:GN,onEdgesChange:FA,snapToGrid:sr,snapGrid:ri,connectionMode:Nn,translateExtent:Sd,connectOnClick:zN,defaultEdgeOptions:KN,fitView:RA,fitViewOptions:_A,onNodesDelete:et,onEdgesDelete:Dn,onDelete:Kn,onNodeDragStart:Ze,onNodeDrag:vn,onNodeDragStop:jn,onSelectionDrag:rn,onSelectionDragStart:je,onSelectionDragStop:sn,onMove:pe,onMoveStart:oe,onMoveEnd:z,noPanClassName:BA,nodeOrigin:j1,rfId:sk,autoPanOnConnect:QN,autoPanOnNodeDrag:YN,autoPanSpeed:ok,onError:tD,connectionRadius:eD,isValidConnection:nD,selectNodesOnDrag:Mc,nodeDragThreshold:rD,connectionDragThreshold:HA,onBeforeDelete:Jn,debug:fD,ariaLabelConfig:lD,zIndexMode:zA}),le.jsx(LJn,{onInit:ie,onNodeClick:q,onEdgeClick:te,onNodeMouseEnter:we,onNodeMouseMove:ee,onNodeMouseLeave:xe,onNodeContextMenu:Qe,onNodeDoubleClick:Xe,nodeTypes:$,edgeTypes:v,connectionLineType:qn,connectionLineStyle:Jt,connectionLineComponent:Xt,connectionLineContainerStyle:Oi,selectionKeyCode:Ki,selectionOnDrag:Wn,selectionMode:ei,deleteKeyCode:gr,multiSelectionKeyCode:cr,panActivationKeyCode:rr,zoomActivationKeyCode:_i,onlyRenderVisibleElements:ai,defaultViewport:mh,translateExtent:Sd,minZoom:Td,maxZoom:Ia,preventScrolling:Gp,zoomOnScroll:Kf,zoomOnPinch:z3,zoomOnDoubleClick:MN,panOnScroll:U5,panOnScrollSpeed:EN,panOnScrollMode:AN,panOnDrag:xN,autoPanOnSelection:ZN,onPaneClick:CN,onPaneMouseEnter:TN,onPaneMouseMove:SN,onPaneMouseLeave:IN,onPaneScroll:PN,onPaneContextMenu:ON,paneClickDistance:NN,nodeClickDistance:DN,onSelectionContextMenu:Sn,onSelectionStart:Bn,onSelectionEnd:dn,onReconnect:$N,onReconnectStart:FN,onReconnectEnd:BN,onEdgeContextMenu:X5,onEdgeDoubleClick:$A,onEdgeMouseEnter:RN,onEdgeMouseMove:uk,onEdgeMouseLeave:_N,reconnectRadius:JN,defaultMarkerColor:pf,noDragClassName:HN,noWheelClassName:qN,noPanClassName:BA,rfId:sk,disableKeyboardA11y:JA,nodeExtent:ec,viewport:qA,onViewportChange:cD,nodesDraggable:ku}),le.jsx(l_n,{onSelectionChange:_}),LN,le.jsx(c_n,{proOptions:XN,position:UN}),le.jsx(r_n,{rfId:sk,disableKeyboardA11y:JA})]})})}var JJn=Ean(_Jn);const GJn=p=>{var E;return(E=p.domNode)==null?void 0:E.querySelector(".react-flow__edgelabel-renderer")};function Wan({children:p}){const E=Sc(GJn);return E?Nhn.createPortal(p,E):null}function HJn({dimensions:p,lineWidth:E,variant:P,className:N}){return le.jsx("path",{strokeWidth:E,d:`M${p[0]/2} 0 V${p[1]} M0 ${p[1]/2} H${p[0]}`,className:Xf(["react-flow__background-pattern",P,N])})}function qJn({radius:p,className:E}){return le.jsx("circle",{cx:p,cy:p,r:p,className:Xf(["react-flow__background-pattern","dots",E])})}var q3;(function(p){p.Lines="lines",p.Dots="dots",p.Cross="cross"})(q3||(q3={}));const zJn={[q3.Dots]:1,[q3.Lines]:1,[q3.Cross]:6},UJn=p=>({transform:p.transform,patternId:`pattern-${p.rfId}`});function Van({id:p,variant:E=q3.Dots,gap:P=20,size:N,lineWidth:D=1,offset:$=0,color:v,bgColor:q,style:te,className:ie,patternClassName:pe}){const oe=cn.useRef(null),{transform:z,patternId:ne}=Sc(UJn,xs),Z=N||zJn[E],U=E===q3.Dots,Ee=E===q3.Cross,re=Array.isArray(P)?P:[P,P],we=[re[0]*z[2]||1,re[1]*z[2]||1],ee=Z*z[2],xe=Array.isArray($)?$:[$,$],Qe=Ee?[ee,ee]:we,Xe=[xe[0]*z[2]+Qe[0]/2,xe[1]*z[2]+Qe[1]/2],Ze=`${ne}${p||""}`;return le.jsxs("svg",{className:Xf(["react-flow__background",ie]),style:{...te,...UX,"--xy-background-color-props":q,"--xy-background-pattern-color-props":v},ref:oe,"data-testid":"rf__background",children:[le.jsx("pattern",{id:Ze,x:z[0]%we[0],y:z[1]%we[1],width:we[0],height:we[1],patternUnits:"userSpaceOnUse",patternTransform:`translate(-${Xe[0]},-${Xe[1]})`,children:U?le.jsx(qJn,{radius:ee/2,className:pe}):le.jsx(HJn,{dimensions:Qe,lineWidth:D,variant:E,className:pe})}),le.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:`url(#${Ze})`})]})}Van.displayName="Background";const XJn=cn.memo(Van);function KJn(){return le.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:le.jsx("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})})}function WJn(){return le.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5",children:le.jsx("path",{d:"M0 0h32v4.2H0z"})})}function VJn(){return le.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30",children:le.jsx("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0027.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94c-.531 0-.939-.4-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})})}function QJn(){return le.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:le.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})})}function YJn(){return le.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32",children:le.jsx("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 000 13.714v15.238A3.056 3.056 0 003.048 32h18.285a3.056 3.056 0 003.048-3.048V13.714a3.056 3.056 0 00-3.048-3.047zM12.19 24.533a3.056 3.056 0 01-3.047-3.047 3.056 3.056 0 013.047-3.048 3.056 3.056 0 013.048 3.048 3.056 3.056 0 01-3.048 3.047z"})})}function PX({children:p,className:E,...P}){return le.jsx("button",{type:"button",className:Xf(["react-flow__controls-button",E]),...P,children:p})}const ZJn=p=>({isInteractive:p.nodesDraggable||p.nodesConnectable||p.elementsSelectable,minZoomReached:p.transform[2]<=p.minZoom,maxZoomReached:p.transform[2]>=p.maxZoom,ariaLabelConfig:p.ariaLabelConfig});function Qan({style:p,showZoom:E=!0,showFitView:P=!0,showInteractive:N=!0,fitViewOptions:D,onZoomIn:$,onZoomOut:v,onFitView:q,onInteractiveChange:te,className:ie,children:pe,position:oe="bottom-left",orientation:z="vertical","aria-label":ne}){const Z=cs(),{isInteractive:U,minZoomReached:Ee,maxZoomReached:re,ariaLabelConfig:we}=Sc(ZJn,xs),{zoomIn:ee,zoomOut:xe,fitView:Qe}=zX(),Xe=()=>{ee(),$==null||$()},Ze=()=>{xe(),v==null||v()},vn=()=>{Qe(D),q==null||q()},jn=()=>{Z.setState({nodesDraggable:!U,nodesConnectable:!U,elementsSelectable:!U}),te==null||te(!U)},et=z==="horizontal"?"horizontal":"vertical";return le.jsxs(kN,{className:Xf(["react-flow__controls",et,ie]),position:oe,style:p,"data-testid":"rf__controls","aria-label":ne??we["controls.ariaLabel"],children:[E&&le.jsxs(le.Fragment,{children:[le.jsx(PX,{onClick:Xe,className:"react-flow__controls-zoomin",title:we["controls.zoomIn.ariaLabel"],"aria-label":we["controls.zoomIn.ariaLabel"],disabled:re,children:le.jsx(KJn,{})}),le.jsx(PX,{onClick:Ze,className:"react-flow__controls-zoomout",title:we["controls.zoomOut.ariaLabel"],"aria-label":we["controls.zoomOut.ariaLabel"],disabled:Ee,children:le.jsx(WJn,{})})]}),P&&le.jsx(PX,{className:"react-flow__controls-fitview",onClick:vn,title:we["controls.fitView.ariaLabel"],"aria-label":we["controls.fitView.ariaLabel"],children:le.jsx(VJn,{})}),N&&le.jsx(PX,{className:"react-flow__controls-interactive",onClick:jn,title:we["controls.interactive.ariaLabel"],"aria-label":we["controls.interactive.ariaLabel"],children:U?le.jsx(YJn,{}):le.jsx(QJn,{})}),pe]})}Qan.displayName="Controls";const eGn=cn.memo(Qan);function nGn({id:p,x:E,y:P,width:N,height:D,style:$,color:v,strokeColor:q,strokeWidth:te,className:ie,borderRadius:pe,shapeRendering:oe,selected:z,onClick:ne}){const{background:Z,backgroundColor:U}=$||{},Ee=v||Z||U;return le.jsx("rect",{className:Xf(["react-flow__minimap-node",{selected:z},ie]),x:E,y:P,rx:pe,ry:pe,width:N,height:D,style:{fill:Ee,stroke:q,strokeWidth:te},shapeRendering:oe,onClick:ne?re=>ne(re,p):void 0})}const tGn=cn.memo(nGn),iGn=p=>p.nodes.map(E=>E.id),vge=p=>p instanceof Function?p:()=>p;function rGn({nodeStrokeColor:p,nodeColor:E,nodeClassName:P="",nodeBorderRadius:N=5,nodeStrokeWidth:D,nodeComponent:$=tGn,onClick:v}){const q=Sc(iGn,xs),te=vge(E),ie=vge(p),pe=vge(P),oe=typeof window>"u"||window.chrome?"crispEdges":"geometricPrecision";return le.jsx(le.Fragment,{children:q.map(z=>le.jsx(uGn,{id:z,nodeColorFunc:te,nodeStrokeColorFunc:ie,nodeClassNameFunc:pe,nodeBorderRadius:N,nodeStrokeWidth:D,NodeComponent:$,onClick:v,shapeRendering:oe},z))})}function cGn({id:p,nodeColorFunc:E,nodeStrokeColorFunc:P,nodeClassNameFunc:N,nodeBorderRadius:D,nodeStrokeWidth:$,shapeRendering:v,NodeComponent:q,onClick:te}){const{node:ie,x:pe,y:oe,width:z,height:ne}=Sc(Z=>{const U=Z.nodeLookup.get(p);if(!U)return{node:void 0,x:0,y:0,width:0,height:0};const Ee=U.internals.userNode,{x:re,y:we}=U.internals.positionAbsolute,{width:ee,height:xe}=c2(Ee);return{node:Ee,x:re,y:we,width:ee,height:xe}},xs);return!ie||ie.hidden||!Whn(ie)?null:le.jsx(q,{x:pe,y:oe,width:z,height:ne,style:ie.style,selected:!!ie.selected,className:N(ie),color:E(ie),borderRadius:D,strokeColor:P(ie),strokeWidth:$,shapeRendering:v,onClick:te,id:ie.id})}const uGn=cn.memo(cGn);var oGn=cn.memo(rGn);const sGn=200,fGn=150,lGn=p=>!p.hidden,hGn=p=>{const E={x:-p.transform[0]/p.transform[2],y:-p.transform[1]/p.transform[2],width:p.width/p.transform[2],height:p.height/p.transform[2]};let P=!1;for(const N of p.nodeLookup.values())if(!N.hidden){P=!0;break}return{viewBB:E,boundingRect:P?Uhn(LA(p.nodeLookup,{filter:lGn}),E):E,rfId:p.rfId,panZoom:p.panZoom,translateExtent:p.translateExtent,flowWidth:p.width,flowHeight:p.height,ariaLabelConfig:p.ariaLabelConfig}},Shn=(p,E)=>p.x===E.x&&p.y===E.y&&p.width===E.width&&p.height===E.height,aGn=(p,E)=>Shn(p.viewBB,E.viewBB)&&Shn(p.boundingRect,E.boundingRect)&&p.rfId===E.rfId&&p.panZoom===E.panZoom&&p.translateExtent===E.translateExtent&&p.flowWidth===E.flowWidth&&p.flowHeight===E.flowHeight&&p.ariaLabelConfig===E.ariaLabelConfig,dGn="react-flow__minimap-desc";function Yan({style:p,className:E,nodeStrokeColor:P,nodeColor:N,nodeClassName:D="",nodeBorderRadius:$=5,nodeStrokeWidth:v,nodeComponent:q,bgColor:te,maskColor:ie,maskStrokeColor:pe,maskStrokeWidth:oe,position:z="bottom-right",onClick:ne,onNodeClick:Z,pannable:U=!1,zoomable:Ee=!1,ariaLabel:re,inversePan:we,zoomStep:ee=1,offsetScale:xe=5}){const Qe=cs(),Xe=cn.useRef(null),{boundingRect:Ze,panZoom:vn,viewBB:jn,rfId:et,translateExtent:Dn,flowWidth:Kn,flowHeight:_,ariaLabelConfig:je}=Sc(hGn,aGn),rn=(p==null?void 0:p.width)??sGn,sn=(p==null?void 0:p.height)??fGn,Sn=Ze.width/rn,Bn=Ze.height/sn,dn=Math.max(Sn,Bn),Jn=dn*rn,Nn=dn*sn,qn=xe*dn,Jt=Ze.x-(Jn-Ze.width)/2-qn,Xt=Ze.y-(Nn-Ze.height)/2-qn,Oi=Jn+qn*2,gr=Nn+qn*2,Ki=`${dGn}-${et}`,Wn=cn.useRef(0),ei=cn.useRef();Wn.current=dn,cn.useEffect(()=>{const ri=Qe.getState().panZoom;if(Xe.current&&ri)return ei.current=ORn({domNode:Xe.current,panZoom:ri,getTransform:()=>Qe.getState().transform,getViewScale:()=>Wn.current}),()=>{var ai;(ai=ei.current)==null||ai.destroy()}},[vn]),cn.useEffect(()=>{var ri;(ri=ei.current)==null||ri.update({translateExtent:Dn,width:Kn,height:_,inversePan:we,pannable:U,zoomStep:ee,zoomable:Ee})},[U,Ee,we,ee,Dn,Kn,_]);const rr=ne?ri=>{var ku;const[ai,Mc]=((ku=ei.current)==null?void 0:ku.pointer(ri))||[0,0];ne(ri,{x:ai,y:Mc})}:void 0,cr=cn.useCallback((ri,ai)=>{const Mc=Qe.getState().nodeLookup.get(ai).internals.userNode;Z==null||Z(ri,Mc)},[Z]),_i=Z?cr:void 0,sr=re??je["minimap.ariaLabel"];return le.jsx(kN,{position:z,style:{...p,"--xy-minimap-background-color-props":typeof te=="string"?te:void 0,"--xy-minimap-mask-background-color-props":typeof ie=="string"?ie:void 0,"--xy-minimap-mask-stroke-color-props":typeof pe=="string"?pe:void 0,"--xy-minimap-mask-stroke-width-props":typeof oe=="number"?oe*dn:void 0,"--xy-minimap-node-background-color-props":typeof N=="string"?N:void 0,"--xy-minimap-node-stroke-color-props":typeof P=="string"?P:void 0,"--xy-minimap-node-stroke-width-props":typeof v=="number"?v:void 0},className:Xf(["react-flow__minimap",E]),"data-testid":"rf__minimap",children:le.jsxs("svg",{width:rn,height:sn,viewBox:`${Jt} ${Xt} ${Oi} ${gr}`,className:"react-flow__minimap-svg",role:"img","aria-labelledby":Ki,ref:Xe,onClick:rr,children:[sr&&le.jsx("title",{id:Ki,children:sr}),le.jsx(oGn,{onClick:_i,nodeColor:N,nodeStrokeColor:P,nodeBorderRadius:$,nodeClassName:D,nodeStrokeWidth:v,nodeComponent:q}),le.jsx("path",{className:"react-flow__minimap-mask",d:`M${Jt-qn},${Xt-qn}h${Oi+qn*2}v${gr+qn*2}h${-Oi-qn*2}z
7
- M${jn.x},${jn.y}h${jn.width}v${jn.height}h${-jn.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}Yan.displayName="MiniMap";const bGn=cn.memo(Yan),wGn=p=>E=>p?`${Math.max(1/E.transform[2],1)}`:void 0,gGn={[DA.Line]:"right",[DA.Handle]:"bottom-right"};function pGn({nodeId:p,position:E,variant:P=DA.Handle,className:N,style:D=void 0,children:$,color:v,minWidth:q=10,minHeight:te=10,maxWidth:ie=Number.MAX_VALUE,maxHeight:pe=Number.MAX_VALUE,keepAspectRatio:oe=!1,resizeDirection:z,autoScale:ne=!0,shouldResize:Z,onResizeStart:U,onResize:Ee,onResizeEnd:re}){const we=qge(),ee=typeof p=="string"?p:we,xe=cs(),Qe=cn.useRef(null),Xe=P===DA.Handle,Ze=Sc(cn.useCallback(wGn(Xe&&ne),[Xe,ne]),xs),vn=cn.useRef(null),jn=E??gGn[P];cn.useEffect(()=>{if(!(!Qe.current||!ee))return vn.current||(vn.current=zRn({domNode:Qe.current,nodeId:ee,getStoreItems:()=>{const{nodeLookup:Dn,transform:Kn,snapGrid:_,snapToGrid:je,nodeOrigin:rn,domNode:sn}=xe.getState();return{nodeLookup:Dn,transform:Kn,snapGrid:_,snapToGrid:je,nodeOrigin:rn,paneDomNode:sn}},onChange:(Dn,Kn)=>{const{triggerNodeChanges:_,nodeLookup:je,parentLookup:rn,nodeOrigin:sn}=xe.getState(),Sn=[],Bn={x:Dn.x,y:Dn.y},dn=je.get(ee);if(dn&&dn.expandParent&&dn.parentId){const Jn=dn.origin??sn,Nn=Dn.width??dn.measured.width??0,qn=Dn.height??dn.measured.height??0,Jt={id:dn.id,parentId:dn.parentId,rect:{width:Nn,height:qn,...Vhn({x:Dn.x??dn.position.x,y:Dn.y??dn.position.y},{width:Nn,height:qn},dn.parentId,je,Jn)}},Xt=Gge([Jt],je,rn,sn);Sn.push(...Xt),Bn.x=Dn.x?Math.max(Jn[0]*Nn,Dn.x):void 0,Bn.y=Dn.y?Math.max(Jn[1]*qn,Dn.y):void 0}if(Bn.x!==void 0&&Bn.y!==void 0){const Jn={id:ee,type:"position",position:{...Bn}};Sn.push(Jn)}if(Dn.width!==void 0&&Dn.height!==void 0){const Nn={id:ee,type:"dimensions",resizing:!0,setAttributes:z?z==="horizontal"?"width":"height":!0,dimensions:{width:Dn.width,height:Dn.height}};Sn.push(Nn)}for(const Jn of Kn){const Nn={...Jn,type:"position"};Sn.push(Nn)}_(Sn)},onEnd:({width:Dn,height:Kn})=>{const _={id:ee,type:"dimensions",resizing:!1,dimensions:{width:Dn,height:Kn}};xe.getState().triggerNodeChanges([_])}})),vn.current.update({controlPosition:jn,boundaries:{minWidth:q,minHeight:te,maxWidth:ie,maxHeight:pe},keepAspectRatio:oe,resizeDirection:z,onResizeStart:U,onResize:Ee,onResizeEnd:re,shouldResize:Z}),()=>{var Dn;(Dn=vn.current)==null||Dn.destroy()}},[jn,q,te,ie,pe,oe,U,Ee,re,Z]);const et=jn.split("-");return le.jsx("div",{className:Xf(["react-flow__resize-control","nodrag",...et,P,N]),ref:Qe,style:{...D,scale:Ze,...v&&{[Xe?"backgroundColor":"borderColor"]:v}},children:$})}cn.memo(pGn);const mGn=p=>{var E;return(E=p.domNode)==null?void 0:E.querySelector(".react-flow__renderer")};function vGn({children:p}){const E=Sc(mGn);return E?Nhn.createPortal(p,E):null}const yGn=(p,E)=>(p==null?void 0:p.internals.positionAbsolute.x)!==(E==null?void 0:E.internals.positionAbsolute.x)||(p==null?void 0:p.internals.positionAbsolute.y)!==(E==null?void 0:E.internals.positionAbsolute.y)||(p==null?void 0:p.measured.width)!==(E==null?void 0:E.measured.width)||(p==null?void 0:p.measured.height)!==(E==null?void 0:E.measured.height)||(p==null?void 0:p.selected)!==(E==null?void 0:E.selected)||(p==null?void 0:p.internals.z)!==(E==null?void 0:E.internals.z),kGn=(p,E)=>{if(p.size!==E.size)return!1;for(const[P,N]of p)if(yGn(N,E.get(P)))return!1;return!0},jGn=p=>({x:p.transform[0],y:p.transform[1],zoom:p.transform[2],selectedNodesCount:p.nodes.filter(E=>E.selected).length});function EGn({nodeId:p,children:E,className:P,style:N,isVisible:D,position:$=ji.Top,offset:v=10,align:q="center",...te}){var Qe;const ie=qge(),pe=cn.useCallback(Xe=>(Array.isArray(p)?p:[p||ie||""]).reduce((jn,et)=>{const Dn=Xe.nodeLookup.get(et);return Dn&&jn.set(Dn.id,Dn),jn},new Map),[p,ie]),oe=Sc(pe,kGn),{x:z,y:ne,zoom:Z,selectedNodesCount:U}=Sc(jGn,xs);if(!(typeof D=="boolean"?D:oe.size===1&&((Qe=oe.values().next().value)==null?void 0:Qe.selected)&&U===1)||!oe.size)return null;const re=LA(oe),we=Array.from(oe.values()),ee=Math.max(...we.map(Xe=>Xe.internals.z+1)),xe={position:"absolute",transform:wRn(re,{x:z,y:ne,zoom:Z},$,v,q),zIndex:ee,...N};return le.jsx(vGn,{children:le.jsx("div",{style:xe,className:Xf(["react-flow__node-toolbar",P]),...te,"data-id":we.reduce((Xe,Ze)=>`${Xe}${Ze.id} `,"").trim(),children:E})})}function jN(){const[p,E]=cn.useState(()=>typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1);return cn.useEffect(()=>{const P=window.matchMedia("(prefers-reduced-motion: reduce)"),N=D=>E(D.matches);return P.addEventListener("change",N),()=>P.removeEventListener("change",N)},[]),p}const AGn=.6,MGn=1.2;function xGn(p){return p<AGn?"compact":p>MGn?"expanded":"default"}function Zan(){return Sc(p=>xGn(p.transform[2]))}function zge(p){return p.color??p.namespaceColor??void 0}const CGn=.2,TGn=.25,SGn={compact:120,default:200,expanded:240};function e1n({status:p}){return le.jsx("span",{"aria-hidden":!0,title:$X[p].label,className:i2("size-1.5 shrink-0 rounded-full",$X[p].dot)})}function n1n({d:p}){const E=Math.max(0,p.capabilities.length-3);return le.jsxs(le.Fragment,{children:[le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx(Dhn,{color:p.avatarColor,emoji:p.emoji,size:"sm"}),le.jsx("span",{className:"text-foreground truncate text-sm font-medium",children:p.label}),le.jsx(e1n,{status:p.healthStatus})]}),le.jsxs("div",{className:"mt-1 flex flex-wrap gap-1",children:[le.jsx(oN,{size:"xs",variant:"secondary",children:p.runtime}),p.capabilities.slice(0,3).map(P=>le.jsx(oN,{size:"xs",variant:"outline",children:P},P)),E>0&&le.jsxs(oN,{size:"xs",tone:"neutral",variant:"outline",children:["+",E]})]})]})}function IGn({d:p,selected:E}){const P=zge(p);return le.jsxs("div",{className:i2("bg-card flex w-[120px] items-center gap-1.5 rounded-full border px-2 py-0.5 shadow-sm",E&&"ring-primary ring-2"),style:P?{borderLeft:`3px solid ${P}`}:void 0,children:[le.jsx(ew,{type:"target",position:ji.Left,className:"bg-muted-foreground!"}),le.jsx(Dhn,{color:p.avatarColor,emoji:p.emoji,size:"xs"}),le.jsx("span",{className:"text-foreground truncate text-xs font-medium",children:p.label}),le.jsx(e1n,{status:p.healthStatus}),le.jsx(ew,{type:"source",position:ji.Right,className:"bg-muted-foreground!"})]})}function PGn({d:p,selected:E}){const P=zge(p),N=p.relayAdapters&&p.relayAdapters.length>0,D=p.taskCount!=null&&p.taskCount>0;return le.jsxs("div",{className:i2("bg-card w-[200px] rounded-lg border px-3 py-2 shadow-sm hover:shadow-md",E&&"ring-primary ring-2"),style:P?{borderLeft:`3px solid ${P}`}:void 0,children:[le.jsx(ew,{type:"target",position:ji.Left,className:"bg-muted-foreground!"}),le.jsx(n1n,{d:p}),(N||D)&&le.jsxs("div",{className:"text-muted-foreground mt-1.5 flex items-center gap-2",children:[N&&le.jsx(Ige,{className:"size-3"}),D&&le.jsxs("span",{className:"flex items-center gap-0.5",children:[le.jsx(Pge,{className:"size-3"}),le.jsx("span",{className:"text-3xs",children:p.taskCount})]})]}),le.jsx(ew,{type:"source",position:ji.Right,className:"bg-muted-foreground!"})]})}function OGn({d:p,selected:E}){const P=zge(p),N=p.relayAdapters&&p.relayAdapters.length>0,D=p.taskCount!=null&&p.taskCount>0;return le.jsxs("div",{className:i2("bg-card w-[240px] rounded-lg border px-3 py-2 shadow-sm hover:shadow-md",E&&"ring-primary ring-2"),style:P?{borderLeft:`3px solid ${P}`}:void 0,children:[le.jsx(ew,{type:"target",position:ji.Left,className:"bg-muted-foreground!"}),le.jsx(n1n,{d:p}),p.description&&le.jsx("p",{className:"text-muted-foreground mt-1.5 line-clamp-2 text-xs",children:p.description}),(N||D)&&le.jsxs("div",{className:"text-muted-foreground mt-1.5 flex flex-wrap items-center gap-2",children:[N&&p.relayAdapters.map($=>le.jsxs("span",{className:"flex items-center gap-0.5",children:[le.jsx(Ige,{className:"size-3"}),le.jsx("span",{className:"text-3xs",children:$})]},$)),D&&le.jsxs("span",{className:"flex items-center gap-0.5",children:[le.jsx(Pge,{className:"size-3"}),le.jsx("span",{className:"text-3xs",children:p.taskCount})]})]}),le.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[p.lastSeenAt&&le.jsx("span",{className:"text-muted-foreground text-3xs",children:WFn(p.lastSeenAt)}),p.behavior&&le.jsx(oN,{size:"xs",variant:"outline",children:p.behavior.responseMode})]}),le.jsx(ew,{type:"source",position:ji.Right,className:"bg-muted-foreground!"})]})}function OX({icon:p,label:E,onClick:P}){return le.jsx(Sge,{variant:"ghost",size:"icon-xs",onClick:P,title:E,"aria-label":E,className:"text-muted-foreground hover:text-foreground",children:le.jsx(p,{})})}function NGn({data:p,selected:E,id:P}){const N=p,D=Zan(),$=jN(),{copy:v}=zFn({toastOnSettle:!0}),q=cn.useCallback(()=>void v(P),[v,P]),te=le.jsx(EGn,{position:ji.Top,isVisible:E,children:le.jsxs("div",{className:"bg-card flex items-center gap-0.5 rounded-lg border px-1 py-0.5 shadow-md",children:[N.onViewProfile&&le.jsx(OX,{icon:UFn,label:"View profile",onClick:()=>{var oe;return(oe=N.onViewProfile)==null?void 0:oe.call(N,P)}}),N.onSelectAgent&&le.jsx(OX,{icon:jBn,label:"Health",onClick:()=>{var oe;return(oe=N.onSelectAgent)==null?void 0:oe.call(N,P)}}),le.jsx(OX,{icon:XFn,label:"Copy ID",onClick:q}),N.onOpenChat&&N.projectPath&&le.jsx(OX,{icon:KFn,label:"Chat",onClick:()=>{var oe;return(oe=N.onOpenChat)==null?void 0:oe.call(N,P,N.projectPath??"")}})]})}),ie=`Agent: ${N.label}, status ${N.healthStatus}`;let pe;return D==="compact"?pe=le.jsx(IGn,{d:N,selected:E}):D==="expanded"?pe=le.jsx(OGn,{d:N,selected:E}):pe=le.jsx(PGn,{d:N,selected:E}),le.jsxs("div",{"aria-label":ie,children:[te,le.jsx(fN.div,{animate:{width:SGn[D]},transition:{width:{duration:$?0:TGn,ease:"easeInOut"}},children:le.jsx(Tge,{mode:"popLayout",initial:!1,children:le.jsx(fN.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:$?0:CGn},children:pe},D)})})]})}const DGn=cn.memo(NGn),Uge=200,t1n=100,LGn=.2,$Gn=.25,FGn={compact:120,default:Uge},BGn={running:age.connected,stopped:age.disconnected,error:age.error};function i1n({adapterType:p}){return le.jsx(EBn,{adapterType:p,size:16,className:"text-muted-foreground shrink-0"})}function RGn(p){return BGn[p]}function _Gn({d:p,statusColor:E,selected:P}){return le.jsxs("div",{className:i2("bg-card flex w-[120px] items-center gap-1.5 rounded-full border px-2.5 py-1 shadow-sm",P&&"ring-primary ring-2"),"aria-label":`Platform: ${p.adapterName}, status ${p.adapterStatus}`,children:[le.jsx(ew,{type:"source",position:ji.Right,isConnectable:!0}),le.jsx("span",{className:i2("size-2 shrink-0 rounded-full",E)}),le.jsx(i1n,{adapterType:p.adapterType}),le.jsx("span",{className:"text-foreground truncate text-xs font-medium",children:p.label||p.adapterName})]})}function JGn({d:p,statusColor:E,selected:P}){return le.jsxs("div",{className:i2("bg-card shadow-soft rounded-xl border p-4 hover:shadow-md",P&&"ring-primary ring-2"),style:{width:Uge,minHeight:t1n},"aria-label":`Platform: ${p.adapterName}, status ${p.adapterStatus}`,children:[le.jsx(ew,{type:"source",position:ji.Right,isConnectable:!0}),le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:i2("size-2.5 shrink-0 rounded-full",E)}),le.jsx(i1n,{adapterType:p.adapterType}),le.jsxs("div",{className:"flex min-w-0 flex-col",children:[le.jsx("span",{className:"text-foreground truncate text-sm font-medium",children:p.label||p.adapterName}),p.label&&le.jsx("span",{className:"text-muted-foreground truncate text-xs",children:p.adapterName})]})]}),le.jsxs("div",{className:"mt-2 flex items-center justify-between",children:[le.jsx("span",{className:"text-muted-foreground text-xs capitalize",children:p.adapterType}),p.bindingCount>0&&le.jsxs(oN,{variant:"secondary",children:[p.bindingCount," ",p.bindingCount===1?"connection":"connections"]})]})]})}function GGn({data:p,selected:E}){const P=p,N=RGn(P.adapterStatus),D=Zan(),$=jN();if(P.isGhost)return le.jsxs("div",{className:"border-muted-foreground/30 bg-card/40 focus-ring flex items-center gap-2 rounded-lg border border-dashed px-3 py-2 opacity-40 transition-opacity hover:opacity-70",style:{width:Uge,height:t1n},onClick:P.onGhostClick,onKeyDown:te=>{var ie;(te.key==="Enter"||te.key===" ")&&(te.preventDefault(),(ie=P.onGhostClick)==null||ie.call(P))},role:"button",tabIndex:0,"aria-label":"Add a platform",children:[le.jsx(VFn,{className:"text-muted-foreground size-4"}),le.jsx("span",{className:"text-muted-foreground text-sm",children:"Add a platform"})]});const v=D==="compact"?le.jsx(_Gn,{d:P,statusColor:N,selected:E}):le.jsx(JGn,{d:P,statusColor:N,selected:E}),q=D==="compact"?"compact":"default";return le.jsx(fN.div,{animate:{width:FGn[q]},transition:{width:{duration:$?0:$Gn,ease:"easeInOut"}},children:le.jsx(Tge,{mode:"popLayout",initial:!1,children:le.jsx(fN.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:$?0:LGn},children:v},q)})})}const HGn=cn.memo(GGn),qGn=.5,zGn=24,UGn=800;let Ihn=0;const _X=QFn((p,E)=>({activity:{},pulse:(P,N)=>{const{activity:D}=E();D[P]||Object.keys(D).length>=zGn||(Ihn+=1,p({activity:{...D,[P]:{direction:N,nonce:Ihn}}}))},clear:P=>{const{activity:N}=E();if(!(P in N))return;const D={...N};delete D[P],p({activity:D})},reset:()=>p({activity:{}})})),XGn=p=>p.transform[2];function KGn(p){return p!=null&&p.label?p.label:p!=null&&p.sessionStrategy?TBn(p.sessionStrategy):"Connection"}function WGn({id:p,sourceX:E,sourceY:P,targetX:N,targetY:D,sourcePosition:$,targetPosition:v,data:q,selected:te}){const ie=q,pe=Sc(XGn),[oe,z]=cn.useState(!1),[ne,Z,U]=yN({sourceX:E,sourceY:P,targetX:N,targetY:D,sourcePosition:$,targetPosition:v}),Ee=KGn(ie),re=(oe||te)&&pe>=.7,we=_X(Ze=>Ze.activity[p]),ee=_X(Ze=>Ze.clear),xe=jN(),Qe=!!we&&!xe&&pe>=qGn;cn.useEffect(()=>{we&&!Qe&&ee(p)},[we,Qe,ee,p]);function Xe(Ze){var vn;Ze.stopPropagation(),(vn=ie==null?void 0:ie.onDelete)==null||vn.call(ie,p)}return le.jsxs(le.Fragment,{children:[le.jsx("path",{d:ne,fill:"none",stroke:"transparent",strokeWidth:12,onMouseEnter:()=>z(!0),onMouseLeave:()=>z(!1)}),le.jsx(ck,{id:p,path:ne,className:i2("transition-colors duration-150",te?"stroke-primary stroke-2":"stroke-primary/60 stroke-2")}),le.jsx(Tge,{children:Qe&&le.jsx(fN.circle,{r:3,className:"fill-primary",style:{offsetPath:`path("${ne}")`},initial:{offsetDistance:we.direction==="inbound"?"0%":"100%",opacity:0},animate:{offsetDistance:we.direction==="inbound"?"100%":"0%",opacity:[0,1,1,0]},exit:{opacity:0},transition:{duration:UGn/1e3,ease:"easeInOut"},onAnimationComplete:()=>ee(p)},we.nonce)}),re&&le.jsx(Wan,{children:le.jsxs("div",{style:{transform:`translate(-50%, -50%) translate(${Z}px,${U}px)`,pointerEvents:"all",transition:"opacity 150ms ease-out"},className:"nodrag nopan bg-background/90 flex max-w-[160px] flex-col items-center gap-0.5 rounded-md px-1.5 py-0.5 shadow-sm",role:"presentation",onMouseEnter:()=>z(!0),onMouseLeave:()=>z(!1),children:[le.jsxs("div",{className:"flex items-center gap-1",children:[le.jsx("span",{className:"text-muted-foreground text-3xs truncate",children:Ee}),te&&(ie==null?void 0:ie.onDelete)&&le.jsx("button",{onClick:Xe,className:"text-destructive/80 hover:bg-destructive/10 hover:text-destructive ml-0.5 shrink-0 rounded-sm p-0.5","aria-label":"Remove connection",children:le.jsx(YFn,{className:"size-3"})})]}),((ie==null?void 0:ie.chatId)||(ie==null?void 0:ie.channelType))&&le.jsxs("div",{className:"flex items-center gap-1",children:[ie.chatId&&le.jsx("span",{className:"bg-muted text-muted-foreground text-3xs rounded px-1 py-px",children:ie.chatId}),ie.channelType&&le.jsx("span",{className:"bg-muted text-muted-foreground text-3xs rounded px-1 py-px",children:ABn(ie.channelType)})]})]})})]})}const VGn=cn.memo(WGn);function QGn({data:p}){const E=p,P=jN();return le.jsx("div",{className:"bg-card/50 rounded-xl border-2",style:{borderColor:`color-mix(in srgb, ${E.color} 25%, transparent)`,backgroundColor:`color-mix(in srgb, ${E.color} 3%, transparent)`,width:"100%",height:"100%"},children:le.jsxs("div",{className:"flex items-center gap-2 rounded-t-[10px] px-3 py-1.5",style:{backgroundColor:`color-mix(in srgb, ${E.color} 8%, transparent)`},children:[le.jsx("span",{className:"text-xs font-semibold",style:{color:E.color},children:E.namespace}),le.jsxs("span",{className:"text-muted-foreground text-3xs",children:[E.activeCount,"/",E.agentCount," agents"]}),E.activeCount>0&&le.jsx("span",{className:`h-1.5 w-1.5 rounded-full ${P?"":"animate-breath"}`,style:{backgroundColor:E.color}})]})})}const YGn=cn.memo(QGn);function ZGn(p){var te;const[E,P]=cn.useState(!1),[N,D,$]=yN({sourceX:p.sourceX,sourceY:p.sourceY,sourcePosition:p.sourcePosition,targetX:p.targetX,targetY:p.targetY,targetPosition:p.targetPosition}),v=(te=p.data)==null?void 0:te.label,q=E||p.selected;return le.jsxs(le.Fragment,{children:[le.jsx("path",{d:N,fill:"none",stroke:"transparent",strokeWidth:12,onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1)}),le.jsx(ck,{id:p.id,path:N,markerEnd:dN.ArrowClosed,style:{stroke:"var(--color-primary)",strokeWidth:1.5,strokeDasharray:"6 3"}}),q&&v&&le.jsx(Wan,{children:le.jsx("div",{className:"nodrag nopan border-primary/30 bg-primary/10 text-primary text-3xs rounded border px-1.5 py-0.5 font-medium",style:{position:"absolute",transform:`translate(-50%, -50%) translate(${D}px,${$}px)`,pointerEvents:"all"},children:v})})]})}function eHn(p){const[E,P]=cn.useState(!1),[N]=yN({sourceX:p.sourceX,sourceY:p.sourceY,sourcePosition:p.sourcePosition,targetX:p.targetX,targetY:p.targetY,targetPosition:p.targetPosition}),D=cn.useCallback(()=>P(!0),[]),$=cn.useCallback(()=>P(!1),[]);return le.jsx("g",{onMouseEnter:D,onMouseLeave:$,children:le.jsx(ck,{id:p.id,path:N,style:{stroke:"var(--color-destructive)",strokeWidth:1.5,strokeDasharray:"4 4",opacity:p.selected||E?1:.5}})})}const nHn=["active","inactive","stale","unreachable"];function tHn({namespaces:p}){const[E,P]=cn.useState(!1);return le.jsxs(kN,{position:"bottom-left",className:"flex flex-col items-start gap-1.5",children:[E&&le.jsxs("div",{id:"topology-legend",className:"bg-card/90 text-muted-foreground text-2xs flex flex-col gap-1.5 rounded-md border px-3 py-2 shadow-sm backdrop-blur-sm",children:[le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:"relative flex h-2 w-6 items-center",children:le.jsxs("svg",{width:"24",height:"4",className:"overflow-visible",children:[le.jsx("line",{x1:"0",y1:"2",x2:"24",y2:"2",stroke:"var(--color-primary)",strokeWidth:"1.5"}),le.jsx("circle",{cx:"8",cy:"2",r:"2.5",fill:"var(--color-primary)",opacity:"0.9"})]})}),le.jsx("span",{children:"Allow rule"})]}),le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("svg",{width:"24",height:"4",className:"overflow-visible",children:le.jsx("line",{x1:"0",y1:"2",x2:"24",y2:"2",stroke:"var(--color-destructive)",strokeWidth:"1.5",strokeDasharray:"4 2"})}),le.jsx("span",{children:"Deny rule"})]}),le.jsx("div",{className:"border-t"}),nHn.map(N=>le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:le.jsx("span",{className:i2("h-2 w-2 rounded-full",$X[N].dot)})}),le.jsx("span",{children:$X[N].label})]},N)),le.jsx("div",{className:"border-t"}),le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:le.jsx(Ige,{className:"h-3 w-3 text-yellow-500"})}),le.jsx("span",{children:"Can message other agents"})]}),le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:le.jsx(Pge,{className:"h-3 w-3 text-blue-500"})}),le.jsx("span",{children:"Scheduled tasks"})]}),p.length>1&&le.jsxs(le.Fragment,{children:[le.jsx("div",{className:"border-t"}),p.map(N=>le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:"inline-block h-2.5 w-2.5 rounded-full",style:{backgroundColor:N.color}}),le.jsx("span",{children:N.namespace})]},N.namespace))]}),le.jsx("div",{className:"border-t"}),le.jsx("span",{className:"text-3xs italic opacity-60",children:"Zoom in for more detail"})]}),le.jsxs(Sge,{variant:"outline",size:"xs",className:"shadow-sm","aria-expanded":E,"aria-controls":"topology-legend",onClick:()=>P(N=>!N),children:[le.jsx(ZFn,{}),"Legend"]})]})}function iHn(){return le.jsxs("p",{className:"text-muted-foreground pointer-events-none absolute top-3 left-3 z-10 flex items-center gap-1.5 text-xs",children:[le.jsx(eBn,{"aria-hidden":!0,className:"size-5 shrink-0 sm:size-4"}),"Everyone can message everyone"]})}var yge={exports:{}},Phn;function rHn(){return Phn||(Phn=1,(function(p,E){(function(P){p.exports=P()})(function(){return(function(){function P(N,D,$){function v(ie,pe){if(!D[ie]){if(!N[ie]){var oe=typeof MX=="function"&&MX;if(!pe&&oe)return oe(ie,!0);if(q)return q(ie,!0);var z=new Error("Cannot find module '"+ie+"'");throw z.code="MODULE_NOT_FOUND",z}var ne=D[ie]={exports:{}};N[ie][0].call(ne.exports,function(Z){var U=N[ie][1][Z];return v(U||Z)},ne,ne.exports,P,N,D,$)}return D[ie].exports}for(var q=typeof MX=="function"&&MX,te=0;te<$.length;te++)v($[te]);return v}return P})()({1:[function(P,N,D){Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;function $(z){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ne){return typeof ne}:function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne},$(z)}function v(z,ne){if(!(z instanceof ne))throw new TypeError("Cannot call a class as a function")}function q(z,ne){for(var Z=0;Z<ne.length;Z++){var U=ne[Z];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(z,ie(U.key),U)}}function te(z,ne,Z){return ne&&q(z.prototype,ne),Object.defineProperty(z,"prototype",{writable:!1}),z}function ie(z){var ne=pe(z,"string");return $(ne)=="symbol"?ne:ne+""}function pe(z,ne){if($(z)!="object"||!z)return z;var Z=z[Symbol.toPrimitive];if(Z!==void 0){var U=Z.call(z,ne);if($(U)!="object")return U;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(z)}D.default=(function(){function z(){var ne=this,Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=Z.defaultLayoutOptions,Ee=U===void 0?{}:U,re=Z.algorithms,we=re===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:re,ee=Z.workerFactory,xe=Z.workerUrl;if(v(this,z),this.defaultLayoutOptions=Ee,this.initialized=!1,typeof xe>"u"&&typeof ee>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Qe=ee;typeof xe<"u"&&typeof ee>"u"&&(Qe=function(vn){return new Worker(vn)});var Xe=Qe(xe);if(typeof Xe.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new oe(Xe),this.worker.postMessage({cmd:"register",algorithms:we}).then(function(Ze){return ne.initialized=!0}).catch(console.err)}return te(z,[{key:"layout",value:function(Z){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ee=U.layoutOptions,re=Ee===void 0?this.defaultLayoutOptions:Ee,we=U.logging,ee=we===void 0?!1:we,xe=U.measureExecutionTime,Qe=xe===void 0?!1:xe;return Z?this.worker.postMessage({cmd:"layout",graph:Z,layoutOptions:re,options:{logging:ee,measureExecutionTime:Qe}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}])})();var oe=(function(){function z(ne){var Z=this;if(v(this,z),ne===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=ne,this.worker.onmessage=function(U){setTimeout(function(){Z.receive(Z,U)},0)}}return te(z,[{key:"postMessage",value:function(Z){var U=this.id||0;this.id=U+1,Z.id=U;var Ee=this;return new Promise(function(re,we){Ee.resolvers[U]=function(ee,xe){ee?(Ee.convertGwtStyleError(ee),we(ee)):re(xe)},Ee.worker.postMessage(Z)})}},{key:"receive",value:function(Z,U){var Ee=U.data,re=Z.resolvers[Ee.id];re&&(delete Z.resolvers[Ee.id],Ee.error?re(Ee.error):re(null,Ee.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Z){if(Z){var U=Z.__java$exception;U&&(U.cause&&U.cause.backingJsObject&&(Z.cause=U.cause.backingJsObject,this.convertGwtStyleError(Z.cause)),delete Z.__java$exception)}}}])})()},{}],2:[function(P,N,D){(function($){(function(){var v;typeof window<"u"?v=window:typeof $<"u"?v=$:typeof self<"u"&&(v=self);var q;function te(){}function ie(){}function pe(){}function oe(){}function z(){}function ne(){}function Z(){}function U(){}function Ee(){}function re(){}function we(){}function ee(){}function xe(){}function Qe(){}function Xe(){}function Ze(){}function vn(){}function jn(){}function et(){}function Dn(){}function Kn(){}function _(){}function je(){}function rn(){}function sn(){}function Sn(){}function Bn(){}function dn(){}function Jn(){}function Nn(){}function qn(){}function Jt(){}function Xt(){}function Oi(){}function gr(){}function Ki(){}function Wn(){}function ei(){}function rr(){}function cr(){}function _i(){}function sr(){}function ri(){}function ai(){}function Mc(){}function ku(){}function ic(){}function Sa(){}function ph(){}function j1(){}function u2(){}function zl(){}function R0(){}function mh(){}function Td(){}function Ia(){}function Sd(){}function Gp(){}function ec(){}function pf(){}function Kf(){}function z3(){}function U5(){}function EN(){}function AN(){}function MN(){}function xN(){}function CN(){}function TN(){}function SN(){}function IN(){}function PN(){}function ON(){}function NN(){}function DN(){}function LN(){}function $N(){}function FN(){}function BN(){}function X5(){}function $A(){}function RN(){}function uk(){}function _N(){}function JN(){}function GN(){}function FA(){}function HN(){}function qN(){}function BA(){}function RA(){}function _A(){}function zN(){}function UN(){}function XN(){}function KN(){}function WN(){}function VN(){}function JA(){}function QN(){}function YN(){}function ZN(){}function ok(){}function eD(){}function nD(){}function tD(){}function iD(){}function GA(){}function rD(){}function HA(){}function qA(){}function cD(){}function uD(){}function oD(){}function sD(){}function fD(){}function K5(){}function lD(){}function zA(){}function hD(){}function aD(){}function sk(){}function dD(){}function bD(){}function UA(){}function Xge(){}function Kge(){}function Wge(){}function Vge(){}function Qge(){}function Yge(){}function Zge(){}function e2e(){}function n2e(){}function t2e(){}function i2e(){}function r2e(){}function c2e(){}function u2e(){}function o2e(){}function s2e(){}function f2e(){}function l2e(){}function h2e(){}function a2e(){}function d2e(){}function b2e(){}function w2e(){}function g2e(){}function p2e(){}function m2e(){}function v2e(){}function y2e(){}function k2e(){}function j2e(){}function E2e(){}function A2e(){}function M2e(){}function x2e(){}function C2e(){}function T2e(){}function S2e(){}function I2e(){}function P2e(){}function O2e(){}function N2e(){}function D2e(){}function L2e(){}function $2e(){}function F2e(){}function B2e(){}function R2e(){}function _2e(){}function J2e(){}function G2e(){}function H2e(){}function q2e(){}function z2e(){}function U2e(){}function X2e(){}function K2e(){}function W2e(){}function V2e(){}function Q2e(){}function Y2e(){}function Z2e(){}function epe(){}function npe(){}function tpe(){}function ipe(){}function rpe(){}function cpe(){}function upe(){}function ope(){}function spe(){}function fpe(){}function lpe(){}function hpe(){}function ape(){}function dpe(){}function bpe(){}function wpe(){}function gpe(){}function ppe(){}function mpe(){}function vpe(){}function ype(){}function kpe(){}function jpe(){}function Epe(){}function Ape(){}function Mpe(){}function xpe(){}function XX(){}function Cpe(){}function Tpe(){}function Spe(){}function Ipe(){}function Ppe(){}function Ope(){}function Npe(){}function Dpe(){}function Lpe(){}function $pe(){}function Fpe(){}function Bpe(){}function Rpe(){}function _pe(){}function Jpe(){}function Gpe(){}function Hpe(){}function qpe(){}function zpe(){}function Upe(){}function Xpe(){}function Kpe(){}function Wpe(){}function Vpe(){}function Qpe(){}function Ype(){}function Zpe(){}function eme(){}function nme(){}function tme(){}function ime(){}function rme(){}function cme(){}function ume(){}function ome(){}function sme(){}function fme(){}function lme(){}function hme(){}function ame(){}function dme(){}function bme(){}function wme(){}function gme(){}function pme(){}function mme(){}function vme(){}function yme(){}function kme(){}function jme(){}function Eme(){}function Ame(){}function Mme(){}function xme(){}function Cme(){}function Tme(){}function Sme(){}function Ime(){}function Pme(){}function Ome(){}function Nme(){}function Dme(){}function Lme(){}function $me(){}function Fme(){}function Bme(){}function Rme(){}function _me(){}function Jme(){}function Gme(){}function Hme(){}function qme(){}function zme(){}function Ume(){}function Xme(){}function Kme(){}function KX(){}function Wme(){}function Vme(){}function Qme(){}function Yme(){}function Zme(){}function e3e(){}function n3e(){}function t3e(){}function i3e(){}function XA(){}function KA(){}function r3e(){}function WX(){}function c3e(){}function u3e(){}function o3e(){}function s3e(){}function f3e(){}function l3e(){}function VX(){}function QX(){}function h3e(){}function YX(){}function ZX(){}function a3e(){}function d3e(){}function b3e(){}function w3e(){}function g3e(){}function p3e(){}function m3e(){}function v3e(){}function y3e(){}function k3e(){}function j3e(){}function E3e(){}function A3e(){}function M3e(){}function fk(){}function x3e(){}function C3e(){}function T3e(){}function S3e(){}function I3e(){}function P3e(){}function O3e(){}function N3e(){}function eK(){}function D3e(){}function L3e(){}function $3e(){}function F3e(){}function B3e(){}function R3e(){}function _3e(){}function J3e(){}function G3e(){}function H3e(){}function q3e(){}function z3e(){}function U3e(){}function X3e(){}function K3e(){}function W3e(){}function V3e(){}function Q3e(){}function Y3e(){}function Z3e(){}function eve(){}function nve(){}function tve(){}function ive(){}function rve(){}function cve(){}function uve(){}function ove(){}function sve(){}function fve(){}function lve(){}function hve(){}function ave(){}function dve(){}function bve(){}function wve(){}function gve(){}function pve(){}function mve(){}function vve(){}function yve(){}function kve(){}function jve(){}function Eve(){}function Ave(){}function Mve(){}function xve(){}function Cve(){}function Tve(){}function Sve(){}function Ive(){}function Pve(){}function Ove(){}function Nve(){}function Dve(){}function Lve(){}function $ve(){}function Fve(){}function Bve(){}function Rve(){}function _ve(){}function Jve(){}function Gve(){}function Hve(){}function qve(){}function zve(){}function Uve(){}function r1n(){}function Xve(){}function Kve(){}function Wve(){}function Vve(){}function Qve(){}function Yve(){}function Zve(){}function e4e(){}function n4e(){}function t4e(){}function i4e(){}function r4e(){}function c4e(){}function u4e(){}function o4e(){}function s4e(){}function f4e(){}function l4e(){}function h4e(){}function a4e(){}function d4e(){}function b4e(){}function w4e(){}function g4e(){}function p4e(){}function m4e(){}function v4e(){}function y4e(){}function k4e(){}function j4e(){}function E4e(){}function A4e(){}function M4e(){}function x4e(){}function C4e(){}function T4e(){}function S4e(){}function I4e(){}function wD(){}function gD(){}function P4e(){}function pD(){}function O4e(){}function N4e(){}function D4e(){}function L4e(){}function $4e(){}function F4e(){}function B4e(){}function R4e(){}function _4e(){}function J4e(){}function nK(){}function G4e(){}function c1n(){}function H4e(){}function q4e(){}function z4e(){}function U4e(){}function X4e(){}function K4e(){}function W4e(){}function V4e(){}function _0(){}function Q4e(){}function Hp(){}function tK(){}function Y4e(){}function Z4e(){}function e5e(){}function n5e(){}function t5e(){}function i5e(){}function r5e(){}function c5e(){}function u5e(){}function o5e(){}function s5e(){}function f5e(){}function l5e(){}function h5e(){}function a5e(){}function d5e(){}function b5e(){}function w5e(){}function g5e(){}function p5e(){}function Pe(){}function m5e(){}function v5e(){}function y5e(){}function k5e(){}function j5e(){}function E5e(){}function A5e(){}function mD(){}function M5e(){}function vD(){}function x5e(){}function C5e(){}function T5e(){}function S5e(){}function I5e(){}function P5e(){}function O5e(){}function N5e(){}function yD(){}function WA(){}function VA(){}function D5e(){}function iK(){}function L5e(){}function $5e(){}function QA(){}function F5e(){}function B5e(){}function R5e(){}function YA(){}function _5e(){}function J5e(){}function G5e(){}function H5e(){}function ZA(){}function q5e(){}function rK(){}function z5e(){}function kD(){}function cK(){}function U5e(){}function X5e(){}function K5e(){}function W5e(){}function u1n(){}function V5e(){}function Q5e(){}function Y5e(){}function Z5e(){}function e6e(){}function n6e(){}function t6e(){}function i6e(){}function r6e(){}function c6e(){}function U3(){}function jD(){}function u6e(){}function o6e(){}function s6e(){}function f6e(){}function l6e(){}function h6e(){}function a6e(){}function d6e(){}function b6e(){}function w6e(){}function g6e(){}function p6e(){}function m6e(){}function v6e(){}function y6e(){}function k6e(){}function j6e(){}function E6e(){}function A6e(){}function M6e(){}function x6e(){}function C6e(){}function T6e(){}function S6e(){}function I6e(){}function P6e(){}function O6e(){}function N6e(){}function D6e(){}function L6e(){}function $6e(){}function F6e(){}function B6e(){}function R6e(){}function _6e(){}function J6e(){}function G6e(){}function H6e(){}function q6e(){}function z6e(){}function U6e(){}function X6e(){}function K6e(){}function W6e(){}function V6e(){}function Q6e(){}function Y6e(){}function Z6e(){}function e9e(){}function n9e(){}function t9e(){}function i9e(){}function r9e(){}function c9e(){}function u9e(){}function o9e(){}function s9e(){}function f9e(){}function l9e(){}function h9e(){}function a9e(){}function d9e(){}function b9e(){}function w9e(){}function g9e(){}function p9e(){}function m9e(){}function v9e(){}function y9e(){}function k9e(){}function j9e(){}function E9e(){}function A9e(){}function M9e(){}function x9e(){}function C9e(){}function T9e(){}function S9e(){}function I9e(){}function P9e(){}function O9e(){}function N9e(){}function D9e(){}function L9e(){}function $9e(){}function F9e(){}function B9e(){}function R9e(){}function _9e(){}function J9e(){}function G9e(){}function H9e(){}function q9e(){}function z9e(){}function U9e(){}function X9e(){}function K9e(){}function W9e(){}function V9e(){}function Q9e(){}function Y9e(){}function uK(){}function Z9e(){}function eye(){}function ED(){t6()}function nye(){sie()}function tye(){Nf()}function iye(){vte()}function rye(){rj()}function cye(){Ak()}function uye(){TMe()}function oye(){Om()}function sye(){eLe()}function fye(){Mk()}function lye(){Yk()}function hye(){zv()}function aye(){K1()}function dye(){CM()}function bye(){bce()}function wye(){QOe()}function gye(){LLe()}function pye(){vee()}function mye(){WOe()}function vye(){KOe()}function yye(){VOe()}function kye(){ye()}function jye(){CFe()}function Eye(){WNe()}function Aye(){yee()}function Mye(){MFe()}function xye(){xFe()}function Cye(){TFe()}function Tye(){eNe()}function Sye(){Im()}function Iye(){iBe()}function Pye(){Mre()}function Oye(){W1()}function Nye(){YOe()}function Dye(){CJe()}function Lye(){ZOe()}function $ye(){Wze()}function Fye(){Rie()}function Bye(){Wc()}function Rye(){Tl()}function _ye(){$re()}function Jye(){FRe()}function Gye(){oa()}function Hye(){fj()}function qye(){r_()}function zye(){aR()}function Uye(){OC()}function oK(){Et()}function Xye(){ZT()}function Kye(){aT()}function Wye(){Wne()}function sK(){yS()}function fK(){lB()}function Wf(){$Se()}function Vye(){Rre()}function lK(e){bn(e)}function Qye(e){this.a=e}function eM(e){this.a=e}function Yye(e){this.a=e}function Zye(e){this.a=e}function e8e(e){this.a=e}function hK(e){this.a=e}function aK(e){this.a=e}function n8e(e){this.a=e}function AD(e){this.a=e}function t8e(e){this.a=e}function i8e(e){this.a=e}function r8e(e){this.a=e}function c8e(e){this.a=e}function u8e(e){this.c=e}function o8e(e){this.a=e}function MD(e){this.a=e}function s8e(e){this.a=e}function f8e(e){this.a=e}function l8e(e){this.a=e}function xD(e){this.a=e}function h8e(e){this.a=e}function a8e(e){this.a=e}function CD(e){this.a=e}function d8e(e){this.a=e}function TD(e){this.a=e}function b8e(e){this.a=e}function w8e(e){this.a=e}function g8e(e){this.a=e}function p8e(e){this.a=e}function m8e(e){this.a=e}function v8e(e){this.a=e}function y8e(e){this.a=e}function k8e(e){this.a=e}function j8e(e){this.a=e}function E8e(e){this.a=e}function A8e(e){this.a=e}function M8e(e){this.a=e}function x8e(e){this.a=e}function C8e(e){this.a=e}function dK(e){this.a=e}function bK(e){this.a=e}function nM(e){this.a=e}function lk(e){this.a=e}function wK(e){this.b=e}function Id(){this.a=[]}function T8e(e,n){e.a=n}function o1n(e,n){e.a=n}function s1n(e,n){e.b=n}function f1n(e,n){e.c=n}function l1n(e,n){e.c=n}function h1n(e,n){e.d=n}function a1n(e,n){e.d=n}function Uh(e,n){e.k=n}function gK(e,n){e.j=n}function d1n(e,n){e.c=n}function pK(e,n){e.c=n}function mK(e,n){e.a=n}function b1n(e,n){e.a=n}function w1n(e,n){e.f=n}function g1n(e,n){e.a=n}function p1n(e,n){e.b=n}function SD(e,n){e.d=n}function tM(e,n){e.i=n}function vK(e,n){e.o=n}function m1n(e,n){e.r=n}function v1n(e,n){e.a=n}function y1n(e,n){e.b=n}function S8e(e,n){e.e=n}function k1n(e,n){e.e=n}function j1n(e,n){e.f=n}function E1n(e,n){e.f=n}function yK(e,n){e.g=n}function A1n(e,n){e.f=n}function ID(e,n){e.a=n}function PD(e,n){e.b=n}function M1n(e,n){e.n=n}function x1n(e,n){e.a=n}function C1n(e,n){e.a=n}function T1n(e,n){e.a=n}function S1n(e,n){e.c=n}function I1n(e,n){e.c=n}function P1n(e,n){e.c=n}function O1n(e,n){e.d=n}function N1n(e,n){e.d=n}function D1n(e,n){e.e=n}function L1n(e,n){e.e=n}function $1n(e,n){e.g=n}function F1n(e,n){e.f=n}function B1n(e,n){e.j=n}function R1n(e,n){e.a=n}function _1n(e,n){e.a=n}function J1n(e,n){e.b=n}function I8e(e){e.b=e.a}function P8e(e){e.c=e.d.d}function kK(e){this.a=e}function hk(e){this.a=e}function jK(e){this.a=e}function ak(e){this.a=e}function O8e(e){this.a=e}function EK(e){this.a=e}function iM(e){this.a=e}function Xh(e){this.a=e}function AK(e){this.a=e}function nw(e){this.a=e}function OD(e){this.a=e}function Kh(e){this.a=e}function tw(e){this.a=e}function ND(e){this.b=e}function X3(e){this.b=e}function o2(e){this.b=e}function W5(e){this.d=e}function yt(e){this.a=e}function N8e(e){this.a=e}function MK(e){this.a=e}function D8e(e){this.a=e}function L8e(e){this.a=e}function $8e(e){this.a=e}function xK(e){this.a=e}function CK(e){this.a=e}function DD(e){this.c=e}function x(e){this.c=e}function F8e(e){this.c=e}function TK(e){this.a=e}function SK(e){this.a=e}function IK(e){this.a=e}function PK(e){this.a=e}function K3(e){this.a=e}function B8e(e){this.a=e}function R8e(e){this.a=e}function W3(e){this.a=e}function _8e(e){this.a=e}function J8e(e){this.a=e}function G8e(e){this.a=e}function H8e(e){this.a=e}function q8e(e){this.a=e}function z8e(e){this.a=e}function U8e(e){this.a=e}function X8e(e){this.a=e}function K8e(e){this.a=e}function W8e(e){this.a=e}function V8e(e){this.a=e}function V5(e){this.a=e}function Q8e(e){this.a=e}function OK(e){this.a=e}function dk(e){this.a=e}function Y8e(e){this.a=e}function Z8e(e){this.a=e}function NK(e){this.a=e}function eke(e){this.a=e}function nke(e){this.a=e}function tke(e){this.a=e}function DK(e){this.a=e}function LK(e){this.a=e}function $K(e){this.a=e}function Q5(e){this.a=e}function V3(e){this.a=e}function ike(e){this.a=e}function qp(e){this.a=e}function FK(e){this.a=e}function rke(e){this.a=e}function cke(e){this.a=e}function uke(e){this.a=e}function oke(e){this.a=e}function ske(e){this.a=e}function fke(e){this.a=e}function lke(e){this.a=e}function hke(e){this.a=e}function ake(e){this.a=e}function dke(e){this.a=e}function bke(e){this.a=e}function BK(e){this.a=e}function wke(e){this.a=e}function gke(e){this.a=e}function pke(e){this.a=e}function mke(e){this.a=e}function vke(e){this.a=e}function yke(e){this.a=e}function kke(e){this.a=e}function jke(e){this.a=e}function Eke(e){this.a=e}function rM(e){this.e=e}function Ake(e){this.a=e}function Mke(e){this.a=e}function xke(e){this.a=e}function Cke(e){this.a=e}function Tke(e){this.a=e}function Ske(e){this.a=e}function Ike(e){this.a=e}function Pke(e){this.a=e}function Oke(e){this.a=e}function Nke(e){this.a=e}function Dke(e){this.a=e}function Lke(e){this.a=e}function $ke(e){this.a=e}function Fke(e){this.a=e}function Bke(e){this.a=e}function Rke(e){this.a=e}function _ke(e){this.a=e}function Jke(e){this.a=e}function Gke(e){this.a=e}function Hke(e){this.a=e}function qke(e){this.a=e}function zke(e){this.a=e}function Uke(e){this.a=e}function Xke(e){this.a=e}function Kke(e){this.a=e}function Wke(e){this.a=e}function Vke(e){this.a=e}function Qke(e){this.a=e}function Yke(e){this.a=e}function Zke(e){this.a=e}function e7e(e){this.a=e}function n7e(e){this.a=e}function t7e(e){this.a=e}function i7e(e){this.c=e}function r7e(e){this.b=e}function c7e(e){this.a=e}function u7e(e){this.a=e}function o7e(e){this.a=e}function s7e(e){this.a=e}function f7e(e){this.a=e}function l7e(e){this.a=e}function h7e(e){this.a=e}function a7e(e){this.a=e}function d7e(e){this.a=e}function b7e(e){this.a=e}function w7e(e){this.a=e}function g7e(e){this.a=e}function p7e(e){this.a=e}function m7e(e){this.a=e}function v7e(e){this.a=e}function y7e(e){this.a=e}function k7e(e){this.a=e}function j7e(e){this.a=e}function E7e(e){this.a=e}function A7e(e){this.a=e}function M7e(e){this.a=e}function x7e(e){this.a=e}function C7e(e){this.a=e}function T7e(e){this.a=e}function S7e(e){this.a=e}function I7e(e){this.a=e}function P7e(e){this.a=e}function Wh(e){this.a=e}function s2(e){this.a=e}function O7e(e){this.a=e}function N7e(e){this.a=e}function D7e(e){this.a=e}function L7e(e){this.a=e}function $7e(e){this.a=e}function F7e(e){this.a=e}function B7e(e){this.a=e}function R7e(e){this.a=e}function _7e(e){this.a=e}function J7e(e){this.a=e}function G7e(e){this.a=e}function H7e(e){this.a=e}function q7e(e){this.a=e}function z7e(e){this.a=e}function U7e(e){this.a=e}function X7e(e){this.a=e}function K7e(e){this.a=e}function W7e(e){this.a=e}function V7e(e){this.a=e}function Q7e(e){this.a=e}function Y7e(e){this.a=e}function Z7e(e){this.a=e}function eje(e){this.a=e}function nje(e){this.a=e}function tje(e){this.a=e}function ije(e){this.a=e}function cM(e){this.a=e}function rje(e){this.a=e}function cje(e){this.a=e}function uje(e){this.a=e}function oje(e){this.a=e}function sje(e){this.a=e}function fje(e){this.a=e}function lje(e){this.a=e}function hje(e){this.a=e}function aje(e){this.a=e}function dje(e){this.a=e}function bje(e){this.a=e}function wje(e){this.a=e}function gje(e){this.a=e}function pje(e){this.a=e}function mje(e){this.a=e}function vje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function jje(e){this.a=e}function Eje(e){this.a=e}function Aje(e){this.a=e}function Mje(e){this.a=e}function xje(e){this.a=e}function Cje(e){this.a=e}function Tje(e){this.a=e}function Sje(e){this.a=e}function Ije(e){this.a=e}function LD(e){this.a=e}function Vt(e){this.b=e}function Pje(e){this.f=e}function RK(e){this.a=e}function Oje(e){this.a=e}function Nje(e){this.a=e}function Dje(e){this.a=e}function Lje(e){this.a=e}function $je(e){this.a=e}function Fje(e){this.a=e}function Bje(e){this.a=e}function Rje(e){this.a=e}function bk(e){this.a=e}function _je(e){this.a=e}function Jje(e){this.a=e}function uM(e){this.a=e}function oM(e){this.a=e}function Gje(e){this.b=e}function _K(e){this.c=e}function sM(e){this.e=e}function Hje(e){this.d=e}function $D(e){this.a=e}function qje(e){this.a=e}function JK(e){this.a=e}function GK(e){this.a=e}function J0(e){this.e=e}function G1n(){this.a=0}function ve(){QL(this)}function Vn(){ou(this)}function FD(){MPe(this)}function zje(){}function G0(){this.c=Owe}function Uje(e,n){e.b+=n}function H1n(e,n){n.Wb(e)}function q1n(e){return e.a}function z1n(e){return e.a}function U1n(e){return e.a}function X1n(e){return e.a}function K1n(e){return e.a}function C(e){return e.e}function W1n(){return null}function V1n(){return null}function Q1n(e){throw C(e)}function zp(e){this.a=st(e)}function Xje(){this.a=this}function Pd(){gTe.call(this)}function Y1n(e){e.b.Mf(e.e)}function Kje(e){e.b=new eL}function Y5(e,n){e.b=n-e.b}function Z5(e,n){e.a=n-e.a}function Wje(e,n){n.gd(e.a)}function Z1n(e,n){tr(n,e)}function En(e,n){e.push(n)}function Vje(e,n){e.sort(n)}function edn(e,n,t){e.Wd(t,n)}function wk(e,n){e.e=n,n.b=e}function Qje(e){Cv(),TH.je(e)}function ndn(){kW(),A$n()}function HK(){Pd.call(this)}function BD(){Pd.call(this)}function qK(){gTe.call(this)}function Yje(){Pd.call(this)}function Cs(){Pd.call(this)}function Zje(){Pd.call(this)}function gk(){Pd.call(this)}function bo(){Pd.call(this)}function Up(){Pd.call(this)}function ht(){Pd.call(this)}function Dc(){Pd.call(this)}function eEe(){Pd.call(this)}function fM(){this.Bb|=256}function nEe(){this.b=new lCe}function zK(){zK=_,new Vn}function iw(e,n){e.length=n}function lM(e,n){me(e.a,n)}function tdn(e,n){lie(e.c,n)}function idn(e,n){Hi(e.b,n)}function rdn(e,n){RT(e.a,n)}function cdn(e,n){BB(e.a,n)}function Q3(e,n){Gt(e.e,n)}function Xp(e){iS(e.c,e.b)}function udn(e,n){e.kc().Nb(n)}function UK(e){this.a=mkn(e)}function Ji(){this.a=new Vn}function tEe(){this.a=new Vn}function hM(){this.a=new ve}function RD(){this.a=new ve}function XK(){this.a=new ve}function Vs(){this.a=new Kf}function Od(){this.a=new WDe}function _D(){this.a=new kMe}function KK(){this.a=new ROe}function WK(){this.a=new iSe}function VK(){this.a=new $A}function iEe(){this.a=new dNe}function rEe(){this.a=new ve}function cEe(){this.a=new ve}function QK(){this.a=new ve}function uEe(){this.a=new ve}function oEe(){this.d=new ve}function sEe(){this.a=new Ji}function fEe(){this.a=new Vn}function lEe(){this.b=new Vn}function hEe(){this.b=new ve}function YK(){this.e=new ve}function aEe(){this.a=new aye}function dEe(){this.d=new ve}function bEe(){ve.call(this)}function wEe(){HK.call(this)}function aM(){hM.call(this)}function gEe(){QK.call(this)}function e6(){zje.call(this)}function JD(){e6.call(this)}function pEe(){yx.call(this)}function Kp(){zje.call(this)}function ZK(){Kp.call(this)}function mEe(){gOe.call(this)}function vEe(){gOe.call(this)}function yEe(){iW.call(this)}function kEe(){iW.call(this)}function jEe(){iW.call(this)}function EEe(){rW.call(this)}function n6(){N5e.call(this)}function eW(){N5e.call(this)}function Lo(){ni.call(this)}function AEe(){BEe.call(this)}function MEe(){BEe.call(this)}function xEe(){Vn.call(this)}function CEe(){Vn.call(this)}function TEe(){Vn.call(this)}function GD(){mFe.call(this)}function SEe(){Ji.call(this)}function IEe(){fM.call(this)}function HD(){DV.call(this)}function nW(){Vn.call(this)}function qD(){DV.call(this)}function zD(){Vn.call(this)}function PEe(){Vn.call(this)}function tW(){ZA.call(this)}function OEe(){tW.call(this)}function NEe(){ZA.call(this)}function DEe(){uK.call(this)}function iW(){this.a=new Ji}function LEe(){this.a=new Vn}function rW(){this.a=new Vn}function Wp(){this.a=new ni}function $Ee(){this.a=new ve}function FEe(){this.j=new ve}function BEe(){this.a=new _5e}function cW(){this.a=new E4e}function REe(){this.a=new $Ae}function UD(){UD=_,jH=new JEe}function t6(){t6=_,yH=new ie}function XD(){XD=_,kH=new _Ee}function _Ee(){CD.call(this,"")}function JEe(){CD.call(this,"")}function GEe(e){W$e.call(this,e)}function HEe(e){W$e.call(this,e)}function uW(e){hK.call(this,e)}function oW(e){WAe.call(this,e)}function odn(e){WAe.call(this,e)}function sdn(e){oW.call(this,e)}function fdn(e){oW.call(this,e)}function ldn(e){oW.call(this,e)}function qEe(e){xF.call(this,e)}function zEe(e){xF.call(this,e)}function UEe(e){KCe.call(this,e)}function XEe(e){TW.call(this,e)}function i6(e){AM.call(this,e)}function sW(e){AM.call(this,e)}function KEe(e){AM.call(this,e)}function Lc(e){GIe.call(this,e)}function WEe(e){Lc.call(this,e)}function Vp(){lk.call(this,{})}function KD(e){lv(),this.a=e}function VEe(e){e.b=null,e.c=0}function hdn(e,n){e.e=n,Kqe(e,n)}function adn(e,n){e.a=n,Axn(e)}function WD(e,n,t){e.a[n.g]=t}function ddn(e,n,t){zEn(t,e,n)}function bdn(e,n){Hwn(n.i,e.n)}function QEe(e,n){f8n(e).Ad(n)}function wdn(e,n){return e*e/n}function YEe(e,n){return e.g-n.g}function gdn(e,n){e.a.ec().Kc(n)}function pdn(e){return new nM(e)}function mdn(e){return new xw(e)}function dM(e){Lc.call(this,e)}function $u(e){Lc.call(this,e)}function ZEe(e){Lc.call(this,e)}function VD(e){GIe.call(this,e)}function bM(e){Bee(),this.a=e}function QD(e){$$(),this.f=e}function E1(e){$$(),this.f=e}function eAe(e){LSe(),this.a=e}function Y3(e){Lc.call(this,e)}function An(e){Lc.call(this,e)}function gc(e){Lc.call(this,e)}function nAe(e){Lc.call(this,e)}function Qp(e){Lc.call(this,e)}function Se(e){return bn(e),e}function J(e){return bn(e),e}function pk(e){return bn(e),e}function fW(e){return bn(e),e}function vdn(e){return bn(e),e}function r6(e){return e.b==e.c}function rw(e){return!!e&&e.b}function ydn(e){return!!e&&e.k}function kdn(e){return!!e&&e.j}function Uc(e){bn(e),this.a=e}function lW(e){return e0(e),e}function c6(e){pY(e,e.length)}function Pa(e){Lc.call(this,e)}function Oa(e){Lc.call(this,e)}function Yp(e){Lc.call(this,e)}function Ul(e){Lc.call(this,e)}function pt(e){Lc.call(this,e)}function YD(e){Lc.call(this,e)}function ZD(e){WV.call(this,e,0)}function eL(){uZ.call(this,12,3)}function nL(){this.a=dt(st(Ju))}function tAe(){throw C(new ht)}function hW(){throw C(new ht)}function iAe(){throw C(new ht)}function jdn(){throw C(new ht)}function Edn(){throw C(new ht)}function Adn(){throw C(new ht)}function rAe(){rAe=_,efe=new te}function aW(){aW=_,nfe=new Qe}function wM(){wM=_,Sy=new vn}function gM(){gM=_,AH=new XCe}function cAe(){cAe=_,YYe=new et}function pM(){pM=_,Cv()}function Na(){ak.call(this,"")}function u6(){ak.call(this,"")}function A1(){ak.call(this,"")}function Zp(){ak.call(this,"")}function dW(e){$u.call(this,e)}function bW(e){$u.call(this,e)}function Xl(e){An.call(this,e)}function Z3(e){X3.call(this,e)}function uAe(e){Z3.call(this,e)}function tL(e){bx.call(this,e)}function Mdn(e,n,t){e.c.Cf(n,t)}function xdn(e,n,t){n.Ad(e.a[t])}function Cdn(e,n,t){n.Ne(e.a[t])}function Tdn(e,n){return e.a-n.a}function Sdn(e,n){return e.a-n.a}function Idn(e,n){return e.a-n.a}function mM(e,n){return JF(e,n)}function S(e,n){return qOe(e,n)}function Pdn(e,n){return n in e.a}function oAe(e){return e.a?e.b:0}function Odn(e){return e.a?e.b:0}function sAe(e,n){return e.f=n,e}function Ndn(e,n){return e.b=n,e}function fAe(e,n){return e.c=n,e}function Ddn(e,n){return e.g=n,e}function wW(e,n){return e.a=n,e}function gW(e,n){return e.f=n,e}function Ldn(e,n){return e.k=n,e}function pW(e,n){return e.a=n,e}function $dn(e,n){return e.e=n,e}function mW(e,n){return e.e=n,e}function Fdn(e,n){return e.f=n,e}function Bdn(e,n){e.b=new qr(n)}function lAe(e,n){e._d(n),n.$d(e)}function Rdn(e,n){os(),n.n.a+=e}function _dn(e,n){K1(),Bc(n,e)}function Jdn(e,n){return e.b-n.b}function Gdn(e,n){return e.g-n.g}function Hdn(e,n){return e.s-n.s}function qdn(e,n){return e?0:n-1}function hAe(e,n){return e?0:n-1}function zdn(e,n){return e?n-1:0}function Udn(e,n){return n.pg(e)}function cw(e,n){return e.b=n,e}function vM(e,n){return e.a=n,e}function uw(e,n){return e.c=n,e}function ow(e,n){return e.d=n,e}function sw(e,n){return e.e=n,e}function vW(e,n){return e.f=n,e}function o6(e,n){return e.a=n,e}function ev(e,n){return e.b=n,e}function nv(e,n){return e.c=n,e}function Ne(e,n){return e.c=n,e}function ze(e,n){return e.b=n,e}function De(e,n){return e.d=n,e}function Le(e,n){return e.e=n,e}function Xdn(e,n){return e.f=n,e}function $e(e,n){return e.g=n,e}function Fe(e,n){return e.a=n,e}function Be(e,n){return e.i=n,e}function Re(e,n){return e.j=n,e}function Kdn(e,n){return e.j=n,e}function aAe(e,n){return e.k=n,e}function xr(){this.a=0,this.b=0}function dAe(){this.b=0,this.a=0}function bAe(e){UPe.call(this,e)}function yW(e){UPe.call(this,e)}function yM(e){g$.call(this,e)}function M1(e){ob.call(this,e)}function wAe(e){cF.call(this,e)}function gAe(e){cF.call(this,e)}function pAe(){xV.call(this,"")}function mAe(){mAe=_,hZe=mAn()}function x1(){x1=_,jfn=SEn()}function vAe(){vAe=_,wr=RAn()}function kW(){kW=_,O0=u9()}function tv(){tv=_,Pwe=IEn()}function yAe(){yAe=_,uln=PEn()}function jW(){jW=_,uu=kxn()}function Vf(e){return e.e&&e.e()}function kAe(e,n){return e.c._b(n)}function jAe(e,n){return ERe(e.b,n)}function EAe(e,n){return y0n(e.a,n)}function AAe(e,n){e.b=0,Fw(e,n)}function Wdn(e,n){e.c=n,e.b=!0}function f2(e,n){return e.a+=n,e}function iL(e,n){return e.a+=n,e}function Da(e,n){return e.a+=n,e}function H0(e,n){return e.a+=n,e}function Nd(e){return Yh(e),e.o}function EW(e){xXe(),F$n(this,e)}function MAe(){throw C(new ht)}function xAe(){throw C(new ht)}function CAe(){throw C(new ht)}function TAe(){throw C(new ht)}function SAe(){throw C(new ht)}function IAe(){throw C(new ht)}function kM(e){this.a=new nm(e)}function La(e){this.a=new B$(e)}function l2(e,n){for(;e.Pe(n););}function AW(e,n){for(;e.zd(n););}function Vdn(e,n,t){Zpn(e.a,n,t)}function MW(e,n,t){e.splice(n,t)}function Qdn(e,n){return NNn(n,e)}function xW(e,n){return e.d[n.p]}function mk(e){return e.b!=e.d.c}function PAe(e){return e.l|e.m<<22}function rL(e){return e?e.d:null}function Ydn(e){return e?e.g:null}function Zdn(e){return e?e.i:null}function OAe(e,n){return ZSn(e,n)}function iv(e){return N1(e),e.a}function NAe(e){e.c?lze(e):hze(e)}function DAe(){this.b=new R9(B1e)}function LAe(){this.b=new R9(MU)}function $Ae(){this.b=new R9(MU)}function FAe(){this.a=new R9(vde)}function BAe(){this.a=new R9(Hde)}function jM(e){this.a=0,this.b=e}function RAe(){throw C(new ht)}function _Ae(){throw C(new ht)}function JAe(){throw C(new ht)}function GAe(){throw C(new ht)}function HAe(){throw C(new ht)}function qAe(){throw C(new ht)}function zAe(){throw C(new ht)}function UAe(){throw C(new ht)}function XAe(){throw C(new ht)}function KAe(){throw C(new ht)}function e0n(){throw C(new Dc)}function n0n(){throw C(new Dc)}function vk(e){this.a=new gMe(e)}function EM(e){this.b=u(st(e),92)}function CW(e,n){this.b=e,this.c=n}function rv(e,n){this.e=e,this.d=n}function WAe(e){$V(e.dc()),this.c=e}function VAe(e,n){this.a=e,this.b=n}function QAe(e,n){this.a=e,this.b=n}function YAe(e,n){this.a=e,this.b=n}function ZAe(e,n){this.a=e,this.b=n}function eMe(e,n){this.a=e,this.b=n}function nMe(e,n){this.a=e,this.b=n}function tMe(e,n){this.a=e,this.b=n}function iMe(e,n){this.b=e,this.a=n}function q0(e,n){this.g=e,this.i=n}function rMe(e,n){this.b=e,this.a=n}function yk(e,n){E2.call(this,e,n)}function cv(e,n){yk.call(this,e,n)}function cMe(e,n){this.a=e,this.b=n}function uMe(e,n){this.a=e,this.b=n}function oMe(e,n){this.b=e,this.a=n}function sMe(e,n){this.b=e,this.a=n}function ot(e,n){this.f=e,this.g=n}function AM(e){this.b=u(st(e),50)}function cL(e,n){this.a=e,this.b=n}function fMe(e,n){this.a=e,this.f=n}function lMe(e){this.a=u(st(e),16)}function TW(e){this.a=u(st(e),16)}function hMe(e,n){this.b=e,this.c=n}function aMe(e){this.a=u(st(e),92)}function t0n(e,n){this.a=e,this.b=n}function dMe(e,n){this.a=e,this.b=n}function bMe(e,n){return Mu(e.b,n)}function wMe(e,n){return e>n&&n<Q9}function kk(e){return ql[e]!=-1}function jk(e){return!e||kPe(e)}function gMe(e){L9n(this,e,JMn())}function i0n(e,n){KR(ce(e.a),n)}function r0n(e,n){KR(ce(e.a),n)}function SW(e,n){return e.b.Hc(n)}function s6(e,n){return e.b.Gc(n)}function IW(e,n){return e.b.Oc(n)}function pMe(e,n){return e.c.uc(n)}function mMe(e,n){return e.b.Gc(n)}function vMe(e,n){return qt(e.c,n)}function c0n(e){return sPe(),e?QYe:VYe}function f6(e){return e.f.c+e.i.c}function Qs(e,n){return e.a._b(n)}function uL(e,n){this.a=e,this.b=n}function em(e){this.c=e,A$e(this)}function ni(){RCe(this),Yo(this)}function fw(){fw=_,DH=new hCe}function uv(){uv=_,i5=new Sn}function $a(){$a=_,tZe=new je}function MM(){MM=_,dZe=new aCe}function ov(){ov=_,Tfe=new cr}function u0n(){FI!=0&&(FI=0),BI=-1}function yMe(){vH==null&&(vH=[])}function nm(e){KBe.call(this,e,0)}function kMe(){B$.call(this,null)}function PW(){BF.call(this,null)}function Dd(){Dd=_,l3=new j1}function Si(e,n){N1(e),e.a.Nb(n)}function o0n(e,n){return e.a.Vc(n)}function s0n(e,n){return e.a.Wc(n)}function oL(e,n){return e.a.Yc(n)}function sL(e,n){return e.a.Zc(n)}function f0n(e,n){return e.Fc(n),e}function l0n(e,n){return e.a.f=n,e}function jMe(e,n){return e.a.d=n,e}function EMe(e,n){return e.a.g=n,e}function AMe(e,n){return e.a.j=n,e}function mf(e,n){return e.a.a=n,e}function vf(e,n){return e.a.d=n,e}function yf(e,n){return e.a.e=n,e}function kf(e,n){return e.a.g=n,e}function Ek(e,n){return e.a.f=n,e}function h0n(e){return e.b=!1,e}function Ak(){Ak=_,unn=new xr}function OW(){OW=_,qen=new qN}function MMe(){MMe=_,zen=new zN}function NW(){NW=_,Uen=new $Ie}function xMe(){xMe=_,EZe=new Td}function DW(){DW=_,Zfe=new WN}function CMe(){CMe=_,nnn=new GA}function sv(){sv=_,inn=new rD}function Mk(){Mk=_,onn=new c2e}function TMe(){TMe=_,hnn=new G2e}function xM(){xM=_,_rn=new S5e}function l6(){l6=_,vnn=new Tme}function CM(){CM=_,hp=new Yme}function TM(){TM=_,xU=new IMe}function SM(){SM=_,CU=new OTe}function h6(){h6=_,VE=new CPe}function SMe(){AFe(),this.c=new eL}function IMe(){ot.call(this,AWe,0)}function a0n(e,n,t,i){rjn(e,i,n,t)}function d0n(e,n,t,i){fSn(i,e,n,t)}function b0n(e,n,t,i){RLn(i,e,n,t)}function w0n(e,n,t){mc(e.d,n.f,t)}function lw(e,n){i0(e.c.b,n.c,n)}function a6(e,n){i0(e.c.c,n.b,n)}function d6(e,n){return e.a=n.g,e}function Ld(){Ld=_,yfn=new O5e}function PMe(){PMe=_,Tfn=new H5e}function OMe(){OMe=_,Jfn=new CEe}function NMe(){NMe=_,Gfn=new TEe}function C1(){C1=_,wf=new nW}function LW(){LW=_,Iwe=new PEe}function IM(){IM=_,QO=new Vn}function $W(){$W=_,Jwe=new ve}function b6(){b6=_,wX=new zCe}function Fa(){Fa=_,EA=new UCe}function fL(){fL=_,tln=new Q6e}function nc(){nc=_,rln=new Y6e}function T1(){T1=_,Cd=new eye}function PM(){this.q=new v.Date}function FW(e){this.a=u(st(e),229)}function OM(e){return u(e,45).jd()}function g0n(e){return(e.c+e.a)/2}function p0n(e){return e.e.a+e.f.a}function m0n(e){return e.e.b+e.f.b}function v0n(e){return e.b?e.b:e.a}function y0n(e,n){return e.a.a.cc(n)}function DMe(e,n){return fEn(e.a,n)}function lL(e,n){return Su(e,n)>0}function hL(e,n){return Su(e,n)<0}function k0n(e,n){return n.split(e)}function aL(e){return e.b<e.d.gc()}function LMe(e,n){return P$(e.a,n)}function j0n(e,n){OOe.call(this,e,n)}function BW(e){eF(),FMn.call(this,e)}function RW(e){eF(),BW.call(this,e)}function _W(e){T$(),KCe.call(this,e)}function JW(e,n){IIe(e,e.length,n)}function xk(e,n){uPe(e,e.length,n)}function w6(e,n){return e.a.get(n)}function $Me(e,n){return Mu(e.e,n)}function GW(e){return bn(e),!1}function FMe(){return mAe(),new hZe}function Ck(e){return Hn(e.a),e.b}function BMe(e,n){this.b=e,this.a=n}function NM(e,n){this.d=e,this.e=n}function RMe(e,n){this.a=e,this.b=n}function _Me(e,n){this.a=e,this.b=n}function JMe(e,n){this.a=e,this.b=n}function GMe(e,n){this.a=e,this.b=n}function HMe(e,n){this.b=e,this.a=n}function tm(e,n){this.a=e,this.b=n}function DM(e,n){ot.call(this,e,n)}function dL(e,n){ot.call(this,e,n)}function bL(e,n){ot.call(this,e,n)}function wL(e,n){ot.call(this,e,n)}function gL(e,n){ot.call(this,e,n)}function LM(e,n){ot.call(this,e,n)}function $M(e){Ye.call(this,e,21)}function qMe(e,n){this.b=e,this.a=n}function HW(e,n){this.b=e,this.a=n}function qW(e,n){this.b=e,this.a=n}function zW(e,n){ot.call(this,e,n)}function pL(e,n){ot.call(this,e,n)}function Tk(e,n){ot.call(this,e,n)}function UW(e,n){this.b=e,this.a=n}function fv(e,n){this.c=e,this.d=n}function FM(e,n){ot.call(this,e,n)}function BM(e,n){ot.call(this,e,n)}function zMe(e,n){this.e=e,this.d=n}function im(e,n){ot.call(this,e,n)}function UMe(e,n){this.a=e,this.b=n}function XW(e,n){ot.call(this,e,n)}function Gi(e,n){ot.call(this,e,n)}function RM(e,n){ot.call(this,e,n)}function g6(e,n,t){e.splice(n,0,t)}function E0n(e,n,t){e.Mb(t)&&n.Ad(t)}function A0n(e,n,t){n.Ne(e.a.We(t))}function M0n(e,n,t){n.Bd(e.a.Xe(t))}function x0n(e,n,t){n.Ad(e.a.Kb(t))}function C0n(e,n){return go(e.c,n)}function T0n(e,n){return go(e.e,n)}function XMe(e,n){this.a=e,this.b=n}function KMe(e,n){this.a=e,this.b=n}function WMe(e,n){this.a=e,this.b=n}function VMe(e,n){this.a=e,this.b=n}function QMe(e,n){this.a=e,this.b=n}function YMe(e,n){this.a=e,this.b=n}function ZMe(e,n){this.a=e,this.b=n}function exe(e,n){this.a=e,this.b=n}function nxe(e,n){this.b=e,this.a=n}function txe(e,n){this.b=e,this.a=n}function ixe(e,n){this.b=e,this.a=n}function rxe(e,n){this.b=n,this.c=e}function _M(e,n){ot.call(this,e,n)}function Sk(e,n){ot.call(this,e,n)}function KW(e,n){ot.call(this,e,n)}function p6(e,n){ot.call(this,e,n)}function JM(e,n){ot.call(this,e,n)}function mL(e,n){ot.call(this,e,n)}function vL(e,n){ot.call(this,e,n)}function h2(e,n){ot.call(this,e,n)}function WW(e,n){ot.call(this,e,n)}function yL(e,n){ot.call(this,e,n)}function m6(e,n){ot.call(this,e,n)}function VW(e,n){ot.call(this,e,n)}function v6(e,n){ot.call(this,e,n)}function y6(e,n){ot.call(this,e,n)}function hw(e,n){ot.call(this,e,n)}function kL(e,n){ot.call(this,e,n)}function jL(e,n){ot.call(this,e,n)}function EL(e,n){ot.call(this,e,n)}function QW(e,n){ot.call(this,e,n)}function Ik(e,n){ot.call(this,e,n)}function YW(e,n){ot.call(this,e,n)}function a2(e,n){ot.call(this,e,n)}function aw(e,n){ot.call(this,e,n)}function AL(e,n){ot.call(this,e,n)}function GM(e,n){ot.call(this,e,n)}function Pk(e,n){ot.call(this,e,n)}function ML(e,n){ot.call(this,e,n)}function HM(e,n){ot.call(this,e,n)}function ZW(e,n){ot.call(this,e,n)}function xL(e,n){ot.call(this,e,n)}function CL(e,n){ot.call(this,e,n)}function TL(e,n){ot.call(this,e,n)}function SL(e,n){ot.call(this,e,n)}function IL(e,n){ot.call(this,e,n)}function qM(e,n){ot.call(this,e,n)}function cxe(e,n){this.b=e,this.a=n}function eV(e,n){ot.call(this,e,n)}function uxe(e,n){this.a=e,this.b=n}function oxe(e,n){this.a=e,this.b=n}function sxe(e,n){this.a=e,this.b=n}function nV(e,n){ot.call(this,e,n)}function tV(e,n){ot.call(this,e,n)}function fxe(e,n){this.a=e,this.b=n}function S0n(e,n){return pv(),n!=e}function PL(e){return SCn(e,e.c),e}function I0n(e){v.clearTimeout(e)}function iV(e,n){ot.call(this,e,n)}function rV(e,n){ot.call(this,e,n)}function lxe(e,n){this.a=e,this.b=n}function hxe(e,n){this.a=e,this.b=n}function axe(e,n){this.b=e,this.d=n}function dxe(e,n){this.a=e,this.b=n}function bxe(e,n){this.b=e,this.a=n}function zM(e,n){ot.call(this,e,n)}function z0(e,n){ot.call(this,e,n)}function OL(e,n){ot.call(this,e,n)}function UM(e,n){ot.call(this,e,n)}function cV(e,n){ot.call(this,e,n)}function wxe(e,n){this.b=e,this.a=n}function gxe(e,n){this.b=e,this.a=n}function pxe(e,n){this.b=e,this.a=n}function mxe(e,n){this.b=e,this.a=n}function uV(e,n){ot.call(this,e,n)}function Ok(e,n){ot.call(this,e,n)}function oV(e,n){ot.call(this,e,n)}function NL(e,n){ot.call(this,e,n)}function XM(e,n){ot.call(this,e,n)}function DL(e,n){ot.call(this,e,n)}function LL(e,n){ot.call(this,e,n)}function KM(e,n){ot.call(this,e,n)}function $L(e,n){ot.call(this,e,n)}function sV(e,n){ot.call(this,e,n)}function FL(e,n){ot.call(this,e,n)}function BL(e,n){ot.call(this,e,n)}function Nk(e,n){ot.call(this,e,n)}function RL(e,n){ot.call(this,e,n)}function fV(e,n){ot.call(this,e,n)}function Dk(e,n){ot.call(this,e,n)}function lV(e,n){ot.call(this,e,n)}function hV(e,n){this.a=e,this.b=n}function vxe(e,n){this.a=e,this.b=n}function yxe(e,n){this.a=e,this.b=n}function aV(e,n){return go(e.g,n)}function P0n(e,n){return go(n.b,e)}function O0n(e,n){return-e.b.$e(n)}function Lk(e,n){ot.call(this,e,n)}function rm(e,n){ot.call(this,e,n)}function k6(e,n){ot.call(this,e,n)}function j6(e,n){ot.call(this,e,n)}function $k(e,n){ot.call(this,e,n)}function WM(e,n){ot.call(this,e,n)}function _L(e,n){ot.call(this,e,n)}function VM(e,n){ot.call(this,e,n)}function E6(e,n){ot.call(this,e,n)}function JL(e,n){ot.call(this,e,n)}function QM(e,n){ot.call(this,e,n)}function d2(e,n){ot.call(this,e,n)}function Fk(e,n){ot.call(this,e,n)}function A6(e,n){ot.call(this,e,n)}function M6(e,n){ot.call(this,e,n)}function GL(e,n){ot.call(this,e,n)}function Bk(e,n){ot.call(this,e,n)}function YM(e,n){ot.call(this,e,n)}function b2(e,n){ot.call(this,e,n)}function HL(e,n){ot.call(this,e,n)}function qL(e,n){ot.call(this,e,n)}function ZM(e,n){ot.call(this,e,n)}function kxe(e,n){this.a=e,this.b=n}function jxe(e,n){this.a=e,this.b=n}function Exe(e,n){this.a=e,this.b=n}function de(e,n){this.a=e,this.b=n}function Axe(e,n){this.a=e,this.b=n}function Mxe(e,n){this.a=e,this.b=n}function xxe(e,n){this.a=e,this.b=n}function Wr(e,n){this.a=e,this.b=n}function ex(e,n){ot.call(this,e,n)}function Cxe(e,n){this.a=e,this.b=n}function Txe(e,n){this.a=e,this.b=n}function Sxe(e,n){this.a=e,this.b=n}function Ixe(e,n){this.a=e,this.b=n}function Pxe(e,n){this.a=e,this.b=n}function Oxe(e,n){this.a=e,this.b=n}function Nxe(e,n){this.b=e,this.a=n}function Dxe(e,n){this.b=e,this.a=n}function Lxe(e,n){this.b=e,this.a=n}function $xe(e,n){this.b=e,this.a=n}function Fxe(e,n){this.a=e,this.b=n}function Bxe(e,n){this.a=e,this.b=n}function Rxe(e,n){this.a=e,this.b=n}function _xe(e,n){this.a=e,this.b=n}function cm(e,n){ot.call(this,e,n)}function Jxe(e,n){this.f=e,this.c=n}function Gxe(){bF(),this.b=new Ji}function Hxe(){dS(),this.a=new Ji}function qxe(){Mx(),this.a=new pQ}function nx(e,n){this.a=e,this.b=n}function zxe(e,n){this.a=e,this.b=n}function dV(e,n){this.i=e,this.g=n}function bV(e,n){this.d=e,this.e=n}function Uxe(e,n){this.a=e,this.b=n}function Xxe(e,n){this.a=e,this.b=n}function Kxe(e,n){this.d=e,this.b=n}function Wxe(e,n){this.e=e,this.a=n}function wV(e,n){e.i=null,ZC(e,n)}function N0n(e,n){e&&It(yA,e,n)}function Vxe(e,n){return XB(e.a,n)}function tx(e){return Y7(e.c,e.b)}function dw(e){return typeof e===Vm}function bw(e){return typeof e===gce}function pr(e){return typeof e===L_}function K(e){return e??null}function ix(e){return B6(e==null),e}function $c(e){return e?e.kd():null}function Qxe(e){return Go(e),e.d.gc()}function S1(e,n){return e.Pd().Xb(n)}function rx(e,n){return oyn(e.Jc(),n)}function D0n(e,n){U6n(new Rn(e),n)}function L0n(e,n,t){XJe(n,HR(e,t))}function $0n(e,n,t){XJe(n,HR(e,t))}function Yxe(e,n){F6n(e.a,u(n,12))}function Zxe(e,n){this.a=e,this.b=n}function Rk(e,n){this.b=e,this.c=n}function x6(e,n){return Su(e,n)==0}function cx(e,n){return Su(e,n)>=0}function C6(e,n){return Su(e,n)!=0}function gV(e,n){return e.a+=""+n,e}function F0n(e){return""+(bn(e),e)}function eCe(e,n){e.q.setTime(Kd(n))}function T6(e,n){return e.a+=""+n,e}function ac(e,n){return e.a+=""+n,e}function S6(e,n){return e.a+=""+n,e}function ju(e,n){return e.a+=""+n,e}function At(e,n){return e.a+=""+n,e}function pV(e){return en(e,0),null}function nCe(e){ou(this),l9(this,e)}function tCe(e,n){wY.call(this,e,n)}function iCe(e,n){wY.call(this,e,n)}function ux(e,n){wY.call(this,e,n)}function rCe(){iZ(),pOe.call(this)}function cCe(){iZ(),pOe.call(this)}function uCe(){tZ(),fY.call(this)}function oCe(){oCe=_,run=lt(tBe())}function sCe(){sCe=_,ten=lt(tR())}function fCe(){fCe=_,lnn=lt(Hqe())}function lCe(){this.b=new nm(_w(12))}function hCe(){this.b=0,this.a=!1}function aCe(){this.b=0,this.a=!1}function w2(e,n){Ei(e,n,e.a,e.a.a)}function Hr(e,n){Ei(e,n,e.c.b,e.c)}function Ot(e,n){IM(),It(QO,e,n)}function qe(e,n){di.call(this,e,n)}function zL(e,n){yw.call(this,e,n)}function g2(e,n){dV.call(this,e,n)}function dCe(e,n){Hk.call(this,e,n)}function UL(e,n){_v.call(this,e,n)}function I6(e){this.a=e,ED.call(this)}function bCe(e){this.a=e,ED.call(this)}function Qf(e){return e.a=0,e.b=0,e}function wCe(e,n){return e.a=n.g+1,e}function B0n(e,n){return e.j[n.p]==2}function XL(e,n){return ef(e.a,0,n)}function R0n(e,n){return Qt(e.a,n.a)}function mV(e,n){return Eu(e.a,n.a)}function _0n(e,n){return iPe(e.a,n.a)}function gCe(e,n){return K(e)===K(n)}function Kl(e,n){return e.indexOf(n)}function J0n(e){return st(e),new I6(e)}function pCe(e){return zu(e.l,e.m,e.h)}function um(e){return Br((bn(e),e))}function G0n(e){return Br((bn(e),e))}function mCe(e,n){return Eu(e.g,n.g)}function Ic(e){return typeof e===gce}function H0n(e){return e==Fb||e==wg}function q0n(e){return e==Fb||e==gg}function ox(e){return e<10?"0"+e:""+e}function vV(e){return Rc(e.b.b,e,0)}function yV(e,n){Ov(e,0,e.length,n)}function vCe(e,n){return me(e.a,n),n}function z0n(e,n){return os(),n.a+=e}function U0n(e,n){return os(),n.a+=e}function X0n(e,n){return os(),n.c+=e}function K0n(e,n){return me(e.c,n),e}function kV(e,n){return ds(e.a,n),e}function yCe(e){this.a=FMe(),this.b=e}function kCe(e){this.a=FMe(),this.b=e}function qr(e){this.a=e.a,this.b=e.b}function vh(){xK.call(this,new F1)}function jCe(){$x.call(this,0,0,0,0)}function om(){Af.call(this,0,0,0,0)}function sx(e){return ds(new $i,e)}function ECe(e){return Z$(u(e,125))}function Ko(e){return e.sh()&&e.th()}function p2(e){return e!=Jl&&e!=kd}function Vh(e){return e==Ec||e==Tc}function m2(e){return e==zs||e==Rl}function ACe(e){return e==Mp||e==Ap}function W0n(e,n){return Qt(n.f,e.f)}function V0n(e,n){return Eu(e.g,n.g)}function MCe(e,n){return new _v(n,e)}function Q0n(e,n){return new _v(n,e)}function KL(e,n,t){qC(e,n),zC(e,t)}function U0(e,n,t){fb(e,n),sb(e,t)}function Ts(e,n,t){_o(e,n),Jo(e,t)}function _k(e,n,t){P2(e,n),O2(e,t)}function Jk(e,n,t){N2(e,n),D2(e,t)}function WL(e,n){Kv(e,n),$v(e,e.D)}function VL(e){Jxe.call(this,e,!0)}function xCe(e,n,t){iQ.call(this,e,n,t)}function CCe(){DM.call(this,"Head",1)}function TCe(){DM.call(this,"Tail",3)}function I1(e){ih(),lyn.call(this,e)}function X0(e){$x.call(this,e,e,e,e)}function QL(e){e.c=W(ir,ln,1,0,5,1)}function SCe(e){Tu(e.Qf(),new OK(e))}function v2(e){return e!=null?si(e):0}function Y0n(e,n){return $w(n,ml(e))}function Z0n(e,n){return $w(n,ml(e))}function ebn(e,n){return e[e.length]=n}function nbn(e,n){return e[e.length]=n}function tbn(e,n){return VC(V$(e.f),n)}function ibn(e,n){return VC(V$(e.n),n)}function rbn(e,n){return VC(V$(e.p),n)}function jV(e){return hpn(e.b.Jc(),e.a)}function cbn(e){return e==null?0:si(e)}function Cr(e,n){di.call(this,e.b,n)}function ubn(e,n){it(bu(e.a),iNe(n))}function obn(e,n){it(Ro(e.a),rNe(n))}function sbn(e,n,t){Ts(t,t.i+e,t.j+n)}function ICe(e,n,t){Ni(e.c[n.g],n.g,t)}function fbn(e,n,t){u(e.c,72).Ei(n,t)}function YL(e,n,t){return Ni(e,n,t),t}function lbn(e,n){Dl||(e.b=n)}function EV(){EV=_,zK(),tfe=new Vn}function PCe(){PCe=_,Bz=new j9(eX)}function gl(){gl=_,v.Math.log(2)}function Ss(){Ss=_,zh=(PMe(),Tfn)}function at(){at=_,new OCe,new ve}function OCe(){new Vn,new Vn,new Vn}function hbn(){throw C(new Pa(FYe))}function abn(){throw C(new Pa($Ye))}function dbn(){throw C(new Pa($Ye))}function bbn(){throw C(new Pa(FYe))}function P6(e){_t(),J0.call(this,e)}function NCe(e){this.a=e,_Q.call(this,e)}function ZL(e){this.a=e,EM.call(this,e)}function e$(e){this.a=e,EM.call(this,e)}function ur(e,n){I$(e.c,e.c.length,n)}function Fc(e){return e.a<e.c.c.length}function AV(e){return e.a<e.c.a.length}function DCe(e,n){return e.a?e.b:n.Ue()}function Eu(e,n){return e<n?-1:e>n?1:0}function MV(e,n){return Su(e,n)>0?e:n}function zu(e,n,t){return{l:e,m:n,h:t}}function wbn(e,n){e.a!=null&&Yxe(n,e.a)}function gbn(e){Rr(e,null),Er(e,null)}function pbn(e,n,t){return It(e.g,t,n)}function mbn(e,n){st(n),M2(e).Ic(new we)}function LCe(){xR(),this.a=new R9(Yfe)}function fx(e){this.b=e,this.a=new ve}function $Ce(e){this.b=new BN,this.a=e}function xV(e){gQ.call(this),this.a=e}function FCe(e){XY.call(this),this.b=e}function BCe(){DM.call(this,"Range",2)}function lx(e){e.j=W(wfe,ge,325,0,0,1)}function RCe(e){e.a=new Oi,e.c=new Oi}function _Ce(e){e.a=new Vn,e.e=new Vn}function JCe(e){gF(e,null),pF(e,null)}function vbn(e,n,t){return eLn(e,n,t),t}function ybn(e,n){return ss(),n.n.b+=e}function y2(e,n,t){return Vne(n,t,e.c)}function kbn(e,n,t){return It(e.k,t,n)}function jbn(e,n){return It(e.a,n.a,n)}function GCe(e,n){return tLn(e.a,n,null)}function CV(e,n){return H(yn(e.i,n))}function TV(e,n){return H(yn(e.j,n))}function O6(e,n){return aDn(e.c,e.b,n)}function SV(e){return new de(e.c,e.d)}function Ebn(e){return new de(e.c,e.d)}function zr(e){return new de(e.a,e.b)}function F(e,n){return e!=null&&uR(e,n)}function n$(e,n){return Gyn(e.Jc(),n)!=-1}function hx(e){return e.Ob()?e.Pb():null}function Abn(e,n){return new hTe(e.Jc(),n)}function Mbn(e,n){e.q.setHours(n),q9(e,n)}function xbn(e,n,t){e.c._c(n,u(t,136))}function Cbn(e,n,t){e.c.Si(n,u(t,136))}function HCe(e,n){nt(e),e.Fc(u(n,16))}function IV(e,n){return e.a.Ac(n)!=null}function qCe(e){return eh(e,0,e.length)}function zCe(){Hk.call(this,null,null)}function UCe(){px.call(this,null,null)}function XCe(){ot.call(this,"INSTANCE",0)}function KCe(e){this.a=(tn(),new Z3(e))}function Tbn(e){this.b=(tn(),new DD(e))}function PV(e){this.a=e,Vn.call(this)}function k2(){this.a=W(ir,ln,1,8,5,1)}function Sbn(e,n,t,i){Ni(e.a[n.g],t.g,i)}function t$(e,n,t){return e.a[n.g][t.g]}function pl(e,n){return e.a[n.c.p][n.p]}function Ibn(e,n){return e.c[n.c.p][n.p]}function Pbn(e,n){return e.e[n.c.p][n.p]}function Obn(e,n){return e.j[n.p]=FTn(n)}function Nbn(e,n){return $Z(e.f,n.Og())}function Dbn(e,n){return J(H(n.a))<=e}function Lbn(e,n){return J(H(n.a))>=e}function i$(e,n){return e.a.Ac(n)!=null}function $bn(e,n){return e.a<w$(n)?-1:1}function sm(e,n){return e.a*n.a+e.b*n.b}function Fbn(e,n){return $Z(e.b,n.Og())}function Bbn(e,n,t){return t?n!=0:n!=e-1}function WCe(e,n,t){e.a=n^1502,e.b=t^aJ}function Rbn(e,n,t){return e.a=n,e.b=t,e}function Qh(e,n){return e.a*=n,e.b*=n,e}function me(e,n){return En(e.c,n),!0}function N6(e,n,t){return Ni(e.g,n,t),t}function VCe(e,n){e.c&&(VQ(n),MOe(n))}function ax(e,n,t){Wi.call(this,e,n,t)}function Wi(e,n,t){t7.call(this,e,n,t)}function OV(e,n,t){Cx.call(this,e,n,t)}function QCe(e,n,t){Cx.call(this,e,n,t)}function YCe(e,n,t){OV.call(this,e,n,t)}function wo(e,n,t){Wi.call(this,e,n,t)}function ZCe(e,n,t){ax.call(this,e,n,t)}function NV(e,n,t){t7.call(this,e,n,t)}function j2(e,n,t){t7.call(this,e,n,t)}function eTe(e,n,t){NV.call(this,e,n,t)}function P1(e){this.c=e,this.a=this.c.a}function Rn(e){this.i=e,this.f=this.i.j}function DV(){this.Bb|=256,this.Bb|=512}function E2(e,n){this.a=e,EM.call(this,n)}function LV(e,n){return pkn(e,new A1,n).a}function $V(e){if(!e)throw C(new gk)}function FV(e){if(!e)throw C(new bo)}function BV(){BV=_,BV(),bZe=new Wn}function nTe(){nTe=_,fL(),iln=new Vye}function lv(){lv=_,Mfe=new KD(null)}function _bn(e){f7(e,fQe),sS(e,QLn(e))}function tTe(e){e.a=u(xn(e.b.a,4),129)}function iTe(e){e.a=u(xn(e.b.a,4),129)}function rTe(e){e.b.Qb(),--e.d.f.d,Jx(e.d)}function RV(e){this.a=e,u8e.call(this,e.d)}function cTe(e,n){this.a=e,ZD.call(this,n)}function uTe(e,n){this.a=e,ZD.call(this,n)}function oTe(e,n){this.a=e,ZD.call(this,n)}function _V(e,n){this.a=n,ZD.call(this,e)}function sTe(e,n){this.a=n,xF.call(this,e)}function fTe(e,n){this.a=e,xF.call(this,n)}function lTe(e,n){this.a=n,AM.call(this,e)}function hTe(e,n){this.a=n,AM.call(this,e)}function In(e,n){return st(n),new lTe(e,n)}function aTe(e,n){return new QGe(e.a,e.b,n)}function dx(e,n){return e.lastIndexOf(n)}function JV(e,n,t){return e.indexOf(n,t)}function D6(e){return e==null?co:Oc(e)}function Jbn(e){return e==null?null:e.name}function Gbn(e){return e.l+e.m*e3+e.h*f0}function Hbn(e){return mk(e.a)?cNe(e):null}function dTe(e){CD.call(this,u(st(e),35))}function bTe(e){CD.call(this,u(st(e),35))}function Ys(e){ak.call(this,(bn(e),e))}function us(e){ak.call(this,(bn(e),e))}function r$(e){xK.call(this,new qZ(e))}function bx(e){X3.call(this,e),this.a=e}function GV(e){o2.call(this,e),this.a=e}function HV(e){Z3.call(this,e),this.a=e}function qV(e){_D.call(this),_r(this,e)}function wTe(e){this.a=e,ND.call(this,e)}function gTe(){lx(this),iC(this),this.he()}function gn(){gn=_,ud=!1,n5=!0}function Gk(e,n,t){return bB(e,n,n,t),e}function pTe(e,n){return me(n.b,e.a),e.a}function mTe(e,n){return me(n.a,e.a),e.a}function K0(e,n){return me(n.a,e.a),e.a}function Wo(e){return Hn(e.a!=null),e.a}function fm(e){return e.a!=null?e.a:null}function W0(e){return e.$H||(e.$H=++yFn)}function L6(e){return Fc(e.a)||Fc(e.b)}function qbn(e,n){return Qt(e.c.d,n.c.d)}function zbn(e,n){return Qt(e.c.c,n.c.c)}function Ubn(e,n){return Qt(e.n.a,n.n.a)}function Zu(e,n){return u(Kt(e.b,n),16)}function Xbn(e,n){return e.n.b=(bn(n),n)}function Kbn(e,n){return e.n.b=(bn(n),n)}function go(e,n){return!!n&&e.b[n.g]==n}function Wbn(e,n){return Qt(e.e.b,n.e.b)}function Vbn(e,n){return Qt(e.e.a,n.e.a)}function Qbn(e,n,t){return tDe(e,n,t,e.b)}function zV(e,n,t){return tDe(e,n,t,e.c)}function Ybn(e){return os(),!!e&&!e.dc()}function wx(e,n){return++e.b,me(e.a,n)}function UV(e,n){return++e.b,no(e.a,n)}function XV(e,n){cte.call(this,e,n,null)}function gx(e,n){$$(),this.f=n,this.d=e}function Hk(e,n){b6(),this.a=e,this.b=n}function px(e,n){Fa(),this.b=e,this.c=n}function vTe(){l6(),this.b=new Nke(this)}function lm(e){this.d=e,Rn.call(this,e)}function hm(e){this.c=e,Rn.call(this,e)}function qk(e){this.c=e,lm.call(this,e)}function yTe(e,n,t,i){hY.call(this,e,n,t,i)}function KV(e,n,t){u(C7(e,n),22).Ec(t)}function Zbn(e,n,t){BB(e.a,t),RT(e.a,n)}function ewn(e,n){return L$(e.c).Kd().Xb(n)}function c$(e,n){return new ESe(e,e.gc(),n)}function nwn(e){return new Ow(3,e)}function yh(e){return as(e,rg),new Bu(e)}function twn(e){return gM(),ft((FOe(),zYe),e)}function kTe(e){return Cv(),parseInt(e)||-1}function hv(e,n,t){return JV(e,io(n),t)}function av(e,n,t){var i;i=e.dd(n),i.Rb(t)}function Ba(e){var n;n=e.a,e.a=e.b,e.b=n}function WV(e,n){DZ(n,e),this.c=e,this.b=n}function iwn(e,n){return bB(e,n,n+1,""),e}function dv(e){return Hn(e.b!=0),e.a.a.c}function jf(e){return Hn(e.b!=0),e.c.b.c}function mx(){mx=_,UI=new di(VKe,0)}function jTe(e){return e.b=u(GY(e.a),45)}function rwn(e){return e.f!=null?e.f:""+e.g}function u$(e){return e.f!=null?e.f:""+e.g}function ETe(e){e.d=new CTe(e),e.e=new Vn}function ATe(e){if(!e)throw C(new Cs)}function VV(e){if(!e)throw C(new gk)}function ww(e){if(!e)throw C(new bo)}function cwn(e){if(!e)throw C(new BD)}function Hn(e){if(!e)throw C(new Dc)}function MTe(e){MM(),this.b=e,this.a=!0}function o$(e){fw(),this.b=e,this.a=!0}function xTe(e){N_(),Kje(this),this.Df(e)}function CTe(e){JQ.call(this,e,null,null)}function TTe(e){this.c=e,this.a=1,this.b=1}function uwn(e){return oa(),e.e.b+e.f.b/2}function own(e){return oa(),e.e.a+e.f.a/2}function swn(e,n,t){return oa(),t.e.a-e*n}function fwn(e,n,t){return oa(),t.e.b-e*n}function lwn(e,n,t){return xM(),t.Lg(e,n)}function hwn(e,n){return K1(),Ve(e,n.e,n)}function awn(e,n,t){return me(n,XRe(e,t))}function gw(e,n){return u(jl(e.a,n),35)}function Ht(e,n){return!!e.q&&Mu(e.q,n)}function dwn(e,n){return e>0?n*n/e:n*n*100}function bwn(e,n){return e>0?n/(e*e):n*100}function QV(e,n){return e.a=n.a,e.b=n.b,e}function vx(e){return e.a=-e.a,e.b=-e.b,e}function STe(e,n,t){return e.a-=n,e.b-=t,e}function pw(e,n,t){return e.a+=n,e.b+=t,e}function wwn(e,n,t){OC(),e.nf(n)&&t.Ad(e)}function ITe(e){this.c=e,_o(e,0),Jo(e,0)}function PTe(e){ni.call(this),o9(this,e)}function OTe(){ot.call(this,"GROW_TREE",0)}function Vo(e,n,t){mo.call(this,e,n,t,2)}function NTe(e,n){b6(),Hk.call(this,e,n)}function YV(e,n){Fa(),px.call(this,e,n)}function DTe(e,n){Fa(),px.call(this,e,n)}function LTe(e,n){Fa(),YV.call(this,e,n)}function gwn(e,n){return e.c.Ec(u(n,136))}function pwn(e,n){return u(yn(e.e,n),26)}function mwn(e,n){return u(yn(e.e,n),26)}function vwn(e,n,t){y9(Ro(e.a),n,rNe(t))}function ywn(e,n,t){y9(bu(e.a),n,iNe(t))}function s$(e,n){Ss(),Rx.call(this,e,n)}function ZV(e,n){Ss(),Rx.call(this,e,n)}function $Te(e,n){Ss(),Rx.call(this,e,n)}function FTe(e,n){Ss(),s$.call(this,e,n)}function eQ(e,n){Ss(),s$.call(this,e,n)}function BTe(e,n){Ss(),eQ.call(this,e,n)}function RTe(e,n){Ss(),ZV.call(this,e,n)}function nQ(e,n,t){return AS(T7(e,n),t)}function kwn(e,n,t){return n.xl(e.e,e.c,t)}function jwn(e,n,t){return n.yl(e.e,e.c,t)}function f$(e,n){return q1(e.e,u(n,52))}function _Te(e,n){return bn(e),e+w$(n)}function Ewn(e){return e==null?null:Oc(e)}function Awn(e){return e==null?null:Oc(e)}function Mwn(e){return e==null?null:GLn(e)}function xwn(e){return e==null?null:XMn(e)}function Yh(e){e.o==null&&aTn(e)}function Te(e){return B6(e==null||dw(e)),e}function H(e){return B6(e==null||bw(e)),e}function dt(e){return B6(e==null||pr(e)),e}function zk(e){F(e,161)&&u(e,161).mi()}function tQ(){mFe.call(this),this.Bb|=Vr}function Cwn(e,n){this.d=e,P8e(this),this.b=n}function Uk(e,n){this.c=e,rv.call(this,e,n)}function $6(e,n){this.a=e,Uk.call(this,e,n)}function iQ(e,n,t){IC.call(this,e,n,t,null)}function JTe(e,n,t){IC.call(this,e,n,t,null)}function rQ(e,n){BF.call(this,e),this.a=n}function cQ(e,n){BF.call(this,e),this.a=n}function Twn(e,n){return bR(e,n),new NPe(e,n)}function Swn(e,n,t){return e.Le(n,t)<=0?t:n}function Iwn(e,n,t){return e.Le(n,t)<=0?n:t}function GTe(e){return bn(e),e?1231:1237}function Pwn(e,n){n.a?NCn(e,n):i$(e.a,n.b)}function HTe(e,n){Dl||me(e.a,n)}function Own(e,n){return Ak(),Rv(n.d.i,e)}function Nwn(e,n){return Om(),new Lze(n,e)}function Dwn(e,n){return u(jl(e.b,n),144)}function Lwn(e,n){return u(jl(e.c,n),233)}function l$(e){return u(Ce(e.a,e.b),295)}function qTe(e){return new de(e.c,e.d+e.a)}function zTe(e){return ss(),ACe(u(e,203))}function uQ(e,n){return u(yn(e.b,n),278)}function Wl(e,n){return f7(n,Lce),e.f=n,e}function oQ(e,n,t){return t=gs(e,n,3,t),t}function sQ(e,n,t){return t=gs(e,n,6,t),t}function fQ(e,n,t){return t=gs(e,n,9,t),t}function Xk(e,n,t){++e.j,e.rj(),FF(e,n,t)}function UTe(e,n,t){++e.j,e.oj(n,e.Xi(n,t))}function XTe(e,n,t){var i;i=e.dd(n),i.Rb(t)}function KTe(e,n){this.c=e,ob.call(this,n)}function WTe(e,n){this.a=e,Gje.call(this,n)}function Kk(e,n){this.a=e,Gje.call(this,n)}function lQ(e){this.q=new v.Date(Kd(e))}function VTe(){this.a=new rb,this.b=new rb}function bv(){bv=_,jA=new AEe,new MEe}function A2(){A2=_,Tp=new Vt("root")}function mw(){mw=_,Ofe=Je((ts(),P0))}function Wk(e){e.b?Wk(e.b):e.f.c.yc(e.e,e.d)}function h$(e){this.a=(tn(),new OD(st(e)))}function QTe(e){this.a=(as(e,rg),new Bu(e))}function YTe(e){this.a=(as(e,rg),new Bu(e))}function $wn(e){return e==null?null:e.message}function a$(e){return String.fromCharCode(e)}function Fwn(e){return wt(_d(e,32))^wt(e)}function hQ(e,n){return(n&Ft)%e.d.length}function ZTe(e,n,t){return Wre(e.c,e.b,n,t)}function Bwn(e,n,t){return e.apply(n,t)}function aQ(e,n,t){return mm(e,u(n,24),t)}function eSe(e,n,t){return e.a+=eh(n,0,t),e}function dQ(e,n){var t;return t=e.e,e.e=n,t}function bQ(e,n){var t;return t=n,!!e.De(t)}function Rwn(e,n){var t;t=e[hJ],t.call(e,n)}function _wn(e,n){var t;t=e[hJ],t.call(e,n)}function vw(e,n){e.a._c(e.b,n),++e.b,e.c=-1}function nSe(e){ou(e.e),e.d.b=e.d,e.d.a=e.d}function Jwn(e,n,t){Dd(),T8e(e,n.Te(e.a,t))}function $d(e,n){return gn(),e==n?0:e?1:-1}function Ef(e,n){return mM(new Array(n),e)}function di(e,n){Vt.call(this,e),this.a=n}function wQ(e,n){_K.call(this,e),this.a=n}function d$(e,n){_K.call(this,e),this.a=n}function tSe(){yx.call(this),this.a=new xr}function gQ(){this.n=new xr,this.o=new xr}function iSe(){this.b=new xr,this.c=new ve}function rSe(){this.a=new ve,this.b=new ve}function cSe(){this.a=new $A,this.b=new nEe}function pQ(){this.b=new F1,this.a=new F1}function uSe(){this.b=new Ji,this.a=new Ji}function oSe(){this.a=new ve,this.d=new ve}function sSe(){this.b=new Vn,this.a=new Vn}function fSe(){this.b=new DAe,this.a=new ave}function lSe(){this.a=new dye,this.b=new n3e}function yx(){this.n=new Kp,this.i=new om}function Vk(e){return!e.a&&(e.a=new Dn),e.a}function zt(e,n){return e.a+=n.a,e.b+=n.b,e}function fr(e,n){return e.a-=n.a,e.b-=n.b,e}function Gwn(e){return iw(e.j.c,0),e.a=-1,e}function mQ(e,n,t){return t=gs(e,n,11,t),t}function hSe(e,n,t){t!=null&&QC(n,pR(e,t))}function aSe(e,n,t){t!=null&&YC(n,pR(e,t))}function am(e,n,t,i){ue.call(this,e,n,t,i)}function vQ(e,n,t,i){$x.call(this,e,n,t,i)}function yQ(e,n,t,i){ue.call(this,e,n,t,i)}function dSe(e,n,t,i){yQ.call(this,e,n,t,i)}function bSe(e,n,t,i){Ux.call(this,e,n,t,i)}function b$(e,n,t,i){Ux.call(this,e,n,t,i)}function wSe(e,n,t,i){b$.call(this,e,n,t,i)}function kQ(e,n,t,i){Ux.call(this,e,n,t,i)}function hn(e,n,t,i){kQ.call(this,e,n,t,i)}function jQ(e,n,t,i){b$.call(this,e,n,t,i)}function gSe(e,n,t,i){jQ.call(this,e,n,t,i)}function pSe(e,n,t,i){gY.call(this,e,n,t,i)}function yw(e,n){$u.call(this,yy+e+b0+n)}function Hwn(e,n){Vh(e.f)?rTn(e,n):VAn(e,n)}function EQ(e,n){return e.hk().ti().oi(e,n)}function AQ(e,n){return e.hk().ti().qi(e,n)}function qwn(e,n){return e.n.a=(bn(n),n+10)}function zwn(e,n){return e.n.a=(bn(n),n+10)}function Uwn(e,n){return e.e=u(e.d.Kb(n),162)}function Xwn(e,n){return n==e||s4(oS(n),e)}function MQ(e,n,t){return e.lastIndexOf(n,t)}function Ke(e,n){return bn(e),K(e)===K(n)}function mSe(e,n){return bn(e),K(e)===K(n)}function vSe(e,n){return It(e.a,n,"")==null}function Kwn(e,n){return e.b.zd(new _Me(e,n))}function Wwn(e,n){return e.b.zd(new JMe(e,n))}function ySe(e,n){return e.b.zd(new GMe(e,n))}function Vwn(e,n){return Q(n,(ye(),OE),e)}function Qwn(e,n,t){return Qt(e[n.a],e[t.a])}function Ywn(e,n){return Eu(e.a.d.p,n.a.d.p)}function Zwn(e,n){return Eu(n.a.d.p,e.a.d.p)}function egn(e,n){return Ak(),!Rv(n.d.i,e)}function ngn(e,n){Dl||n&&(e.d=n)}function kSe(e,n){wpn.call(this,e,e.length,n)}function jSe(e){this.c=e,ux.call(this,Dj,0)}function ESe(e,n,t){this.a=e,WV.call(this,n,t)}function xQ(e,n){this.c=e,q$.call(this,e,n)}function ASe(e,n,t){this.c=n,this.b=t,this.a=e}function Qk(e){pv(),this.d=e,this.a=new k2}function tgn(e){return e<100?null:new M1(e)}function MSe(e){return e.c?Rc(e.c.a,e,0):-1}function ign(e,n){return Qt(e.c.e.a,n.c.e.a)}function rgn(e,n){return Qt(e.b.e.a,n.b.e.a)}function cgn(e,n){return Qt(e.c-e.s,n.c-n.s)}function ugn(e,n,t){return u(e.c,72).Uk(n,t)}function kx(e,n,t){return u(e.c,72).Vk(n,t)}function ogn(e,n,t){return kwn(e,u(n,344),t)}function CQ(e,n,t){return jwn(e,u(n,344),t)}function sgn(e,n,t){return iGe(e,u(n,344),t)}function xSe(e,n,t){return sMn(e,u(n,344),t)}function CSe(e,n){return F(n,16)&&wze(e.c,n)}function F6(e,n){return n==null?null:Gw(e.b,n)}function dm(e){return e==I0||e==Hh||e==yu}function w$(e){return bw(e)?(bn(e),e):e.se()}function jx(e){return!isNaN(e)&&!isFinite(e)}function g$(e){RCe(this),Yo(this),_r(this,e)}function Mo(e){QL(this),GQ(this.c,0,e.Nc())}function Is(e,n,t){this.a=e,this.b=n,this.c=t}function TSe(e,n,t){this.a=e,this.b=n,this.c=t}function SSe(e,n,t){this.d=e,this.b=t,this.a=n}function ISe(e){this.a=e,$a(),tu(Date.now())}function wv(e){if(!e)throw C(new gc(pce))}function TQ(e,n){if(!e)throw C(new An(n))}function p$(e,n){if(e!=n)throw C(new Cs)}function m$(){m$=_,Afe=new gr,aZe=new Ki}function v$(e){var n;return n=new MN,n.e=e,n}function fgn(e,n){var t;return t=n.ni(e.a),t}function lgn(e,n,t){return Dd(),e.a.Wd(n,t),n}function PSe(e){$o(e.a),JZ(e.c,e.b),e.b=null}function hgn(e){return SS(),ft((sCe(),ten),e)}function agn(e){return to(),ft((cLe(),NZe),e)}function dgn(e){return Co(),ft((rLe(),PZe),e)}function bgn(e){return Nv(),ft((qLe(),wZe),e)}function wgn(e){return $s(),ft((oLe(),kZe),e)}function ggn(e){return il(),ft((uLe(),SZe),e)}function pgn(e){return hb(),ft((XLe(),ren),e)}function mgn(e){return RC(),ft((ODe(),den),e)}function vgn(e){return i9(),ft((sLe(),Ren),e)}function ygn(e){return dr(),ft((S$e(),Hen),e)}function kgn(e){return Hv(),ft((KLe(),Ken),e)}function jgn(e){return Rm(),ft((ULe(),enn),e)}function Egn(e){return pn(),ft((eBe(),rnn),e)}function SQ(e){$x.call(this,e.d,e.c,e.a,e.b)}function y$(e){$x.call(this,e.d,e.c,e.a,e.b)}function IQ(e,n,t){this.b=e,this.c=n,this.a=t}function Ex(e,n,t){this.b=e,this.a=n,this.c=t}function OSe(e,n,t){this.a=e,this.b=n,this.c=t}function NSe(e,n,t){this.a=e,this.b=n,this.c=t}function PQ(e,n,t){this.a=e,this.b=n,this.c=t}function DSe(e,n,t){this.b=e,this.a=n,this.c=t}function Ax(e,n,t){this.e=n,this.b=e,this.d=t}function OQ(e){var n;return n=new oEe,n.b=e,n}function Yk(){Yk=_,YI=new x2e,ZI=new C2e}function Mx(){Mx=_,wnn=new tpe,bnn=new rpe}function os(){os=_,ynn=new hme,knn=new ame}function LSe(){LSe=_,Nfn=W(ir,ln,1,0,5,1)}function $Se(){$Se=_,Qfn=W(ir,ln,1,0,5,1)}function NQ(){NQ=_,Yfn=W(ir,ln,1,0,5,1)}function Agn(e){return Bv(),ft((NDe(),fnn),e)}function Mgn(e){return yr(),ft((fCe(),lnn),e)}function xgn(e){return hT(),ft((zLe(),dnn),e)}function Cgn(e){return If(),ft((YLe(),Ann),e)}function Tgn(e){return Xw(),ft((P$e(),xnn),e)}function Sgn(e){return PC(),ft((pDe(),Dnn),e)}function Ign(e){return Hm(),ft((tFe(),Nnn),e)}function Pgn(e){return E9(),ft((WLe(),Lnn),e)}function Ogn(e){return XC(),ft((ELe(),$nn),e)}function Ngn(e){return gj(),ft((bBe(),Fnn),e)}function Dgn(e){return O7(),ft((mDe(),Bnn),e)}function Lgn(e){return Zd(),ft((ALe(),_nn),e)}function $gn(e){return lb(),ft((aLe(),Pnn),e)}function Fgn(e){return sj(),ft((rFe(),Hnn),e)}function Bgn(e){return eS(),ft((iFe(),Jnn),e)}function Rgn(e){return M7(),ft((gDe(),Gnn),e)}function _gn(e){return l4(),ft((cFe(),qnn),e)}function Jgn(e){return cc(),ft((SBe(),znn),e)}function Ggn(e){return Jv(),ft((fLe(),Unn),e)}function Hgn(e){return J1(),ft((lLe(),Xnn),e)}function qgn(e){return ua(),ft((hLe(),Wnn),e)}function zgn(e){return mC(),ft((vDe(),Vnn),e)}function Ugn(e){return wS(),ft((nBe(),Onn),e)}function Xgn(e){return es(),ft((L$e(),Ynn),e)}function Kgn(e){return EC(),ft((yDe(),Znn),e)}function Wgn(e){return mj(),ft((wBe(),Grn),e)}function Vgn(e){return g9(),ft((pLe(),Hrn),e)}function Qgn(e){return Uw(),ft((VLe(),qrn),e)}function Ygn(e){return x9(),ft((I$e(),zrn),e)}function Zgn(e){return Q1(),ft((TBe(),Urn),e)}function e2n(e){return aa(),ft((QLe(),Xrn),e)}function n2n(e){return S7(),ft((kDe(),Krn),e)}function t2n(e){return rc(),ft((wLe(),Vrn),e)}function i2n(e){return oT(),ft((bLe(),Qrn),e)}function r2n(e){return b9(),ft((dLe(),Yrn),e)}function c2n(e){return Xv(),ft((gLe(),Zrn),e)}function u2n(e){return UC(),ft((mLe(),ecn),e)}function o2n(e){return fT(),ft((vLe(),ncn),e)}function s2n(e){return t0(),ft((ZLe(),ycn),e)}function f2n(e){return e9(),ft((jDe(),Mcn),e)}function l2n(e){return Vl(),ft((EDe(),Ocn),e)}function h2n(e){return vl(),ft((ADe(),Dcn),e)}function a2n(e){return el(),ft((MDe(),Wcn),e)}function d2n(e){return cb(),ft((xDe(),tun),e)}function b2n(e){return Gm(),ft((t$e(),iun),e)}function w2n(e){return G9(),ft((oCe(),run),e)}function g2n(e){return d9(),ft((yLe(),cun),e)}function p2n(e){return w9(),ft((n$e(),Tun),e)}function m2n(e){return wC(),ft((CDe(),Sun),e)}function v2n(e){return tT(),ft((TDe(),Dun),e)}function y2n(e){return WT(),ft((O$e(),$un),e)}function k2n(e){return z7(),ft((kLe(),Bun),e)}function j2n(e){return NC(),ft((SDe(),Fun),e)}function E2n(e){return JT(),ft((e$e(),ron),e)}function A2n(e){return sT(),ft((xLe(),con),e)}function M2n(e){return TT(),ft((MLe(),uon),e)}function x2n(e){return QT(),ft((i$e(),son),e)}function C2n(e){return jT(),ft((jLe(),hon),e)}function T2n(e){return MC(),ft((IDe(),Non),e)}function S2n(e){return DC(),ft((TLe(),Don),e)}function I2n(e){return mT(),ft((CLe(),Lon),e)}function P2n(e){return SM(),ft((QNe(),Jon),e)}function O2n(e){return W7(),ft((SLe(),Bon),e)}function N2n(e){return TM(),ft((VNe(),Ron),e)}function D2n(e){return y7(),ft((PDe(),Gon),e)}function L2n(e){return lj(),ft((D$e(),Hon),e)}function $2n(e){return B9(),ft((N$e(),Fon),e)}function F2n(e){return h6(),ft((YNe(),csn),e)}function B2n(e){return R7(),ft((DDe(),usn),e)}function R2n(e){return th(),ft(($$e(),asn),e)}function _2n(e){return u0(),ft((YFe(),bsn),e)}function J2n(e){return Th(),ft((uFe(),wsn),e)}function G2n(e){return c0(),ft((fFe(),ksn),e)}function H2n(e){return Vi(),ft((F$e(),Xsn),e)}function q2n(e){return Wv(),ft((r$e(),Ksn),e)}function z2n(e){return El(),ft((ILe(),Wsn),e)}function U2n(e){return ha(),ft((c$e(),Vsn),e)}function X2n(e){return YT(),ft((lFe(),Qsn),e)}function K2n(e){return la(),ft((PLe(),Zsn),e)}function W2n(e){return bs(),ft((u$e(),nfn),e)}function V2n(e){return Qw(),ft((aBe(),tfn),e)}function Q2n(e){return R2(),ft((R$e(),ifn),e)}function Y2n(e){return vr(),ft((oFe(),rfn),e)}function Z2n(e){return To(),ft((sFe(),cfn),e)}function epn(e){return ke(),ft((B$e(),ufn),e)}function npn(e){return c9(),ft((OLe(),hfn),e)}function tpn(e){return ts(),ft((s$e(),afn),e)}function ipn(e){return qo(),ft((dBe(),dfn),e)}function rpn(e){return $m(),ft((NLe(),bfn),e)}function cpn(e){return jC(),ft((o$e(),wfn),e)}function upn(e){return AT(),ft((f$e(),gfn),e)}function opn(e){return dT(),ft((l$e(),vfn),e)}function spn(e,n){return bn(e),e+(bn(n),n)}function k$(e,n){this.c=e,this.a=n,this.b=n-e}function FSe(e,n,t){this.a=e,this.c=n,this.b=t}function BSe(e,n,t){this.a=e,this.c=n,this.b=t}function RSe(e,n,t){this.a=e,this.b=n,this.c=t}function DQ(e,n,t){this.a=e,this.b=n,this.c=t}function LQ(e,n,t){this.a=e,this.b=n,this.c=t}function j$(e,n,t){this.a=e,this.b=n,this.c=t}function _Se(e,n,t){this.a=e,this.b=n,this.c=t}function JSe(e,n,t){this.a=e,this.b=n,this.c=t}function Ra(e,n,t){this.e=e,this.a=n,this.c=t}function GSe(e,n,t){Ss(),VY.call(this,e,n,t)}function E$(e,n,t){Ss(),IY.call(this,e,n,t)}function $Q(e,n,t){Ss(),IY.call(this,e,n,t)}function FQ(e,n,t){Ss(),IY.call(this,e,n,t)}function HSe(e,n,t){Ss(),E$.call(this,e,n,t)}function BQ(e,n,t){Ss(),E$.call(this,e,n,t)}function qSe(e,n,t){Ss(),BQ.call(this,e,n,t)}function zSe(e,n,t){Ss(),$Q.call(this,e,n,t)}function USe(e,n,t){Ss(),FQ.call(this,e,n,t)}function fpn(e){return a4(),ft((ZFe(),Ofn),e)}function Zk(e,n){return st(e),st(n),new QAe(e,n)}function bm(e,n){return st(e),st(n),new cIe(e,n)}function lpn(e,n){return st(e),st(n),new uIe(e,n)}function hpn(e,n){return st(e),st(n),new sMe(e,n)}function RQ(e,n){t0n.call(this,e,kT(new Uc(n)))}function XSe(e,n){this.c=e,this.b=n,this.a=!1}function _Q(e){this.d=e,P8e(this),this.b=imn(e.d)}function JQ(e,n,t){this.c=e,NM.call(this,n,t)}function apn(e){return!e.c&&(e.c=new U3),e.c}function dpn(e){return!e.e&&(e.e=new ve),e.e}function gv(e){var n;return n=new ve,WF(n,e),n}function bpn(e){var n;return n=new Ji,WF(n,e),n}function KSe(e){var n;return n=new _D,sB(n,e),n}function e7(e){var n;return n=new ni,sB(n,e),n}function u(e,n){return B6(e==null||uR(e,n)),e}function wpn(e,n,t){WIe.call(this,n,t),this.a=e}function WSe(e,n,t){this.b=e,tCe.call(this,n,t)}function GQ(e,n,t){Die(t,0,e,n,t.length,!1)}function n7(e,n){if(!e)throw C(new An(n))}function wm(e,n){if(!e)throw C(new gc(n))}function HQ(e,n){if(!e)throw C(new ZEe(n))}function gpn(e,n){n&&(e.b=n,e.a=(N1(n),n.a))}function kh(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r}function qQ(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r}function zQ(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t}function UQ(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n}function ppn(e){return Hn(e.b!=0),Ns(e,e.c.b)}function A$(e){return Hn(e.b!=0),Ns(e,e.a.a)}function mpn(e,n){return oa(),Qt(e.e.a,n.e.a)}function vpn(e,n){return oa(),Qt(e.e.b,n.e.b)}function ypn(e,n){return CM(),Eu(e.d.p,n.d.p)}function kpn(e,n){return Eu(hIe(e.d),hIe(n.d))}function xx(e,n){return n&&Yx(e,n.d)?n:null}function jpn(e,n){return n==(ke(),Tn)?e.c:e.d}function pv(){pv=_,$1e=(ke(),Tn),uO=Ln}function VSe(){this.b=J(H(Ae((Nf(),XH))))}function QSe(){this.a=";,;",this.b="",this.c=""}function XQ(e,n,t){fv.call(this,e,n),this.b=t}function t7(e,n,t){bV.call(this,e,n),this.c=t}function KQ(e){NQ(),ZA.call(this),this._h(e)}function YSe(e,n,t){this.a=e,g2.call(this,n,t)}function ZSe(e,n,t){this.a=e,g2.call(this,n,t)}function Cx(e,n,t){bV.call(this,e,n),this.c=t}function eIe(){Iv(),Bmn.call(this,(C1(),wf))}function nIe(e){return _t(),new jh(0,e)}function tIe(){tIe=_,pX=(tn(),new OD(lH))}function Epn(e){return new de(e.c+e.b,e.d+e.a)}function iIe(e){return e!=null&&!qB(e,J8,G8)}function Apn(e,n){return(ORe(e)<<4|ORe(n))&Qi}function Mpn(e,n){var t;return t=e.c,Eee(e,n),t}function WQ(e,n){return n<0?e.g=-1:e.g=n,e}function Tx(e,n){return g9n(e),e.a*=n,e.b*=n,e}function rIe(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r}function Mt(e,n){return Ei(e,n,e.c.b,e.c),!0}function VQ(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function M$(e){this.b=e,this.a=Rd(this.b.a).Md()}function cIe(e,n){this.b=e,this.a=n,ED.call(this)}function uIe(e,n){this.a=e,this.b=n,ED.call(this)}function oIe(e,n){WIe.call(this,n,1040),this.a=e}function sIe(e){WV.call(this,e.length,0),this.a=e}function B6(e){if(!e)throw C(new Y3(null))}function Sx(e){var n;return n=e.slice(),JF(n,e)}function Ix(e){var n;return n=e.n,e.a.b+n.d+n.a}function fIe(e){var n;return n=e.n,e.e.b+n.d+n.a}function QQ(e){var n;return n=e.n,e.e.a+n.b+n.c}function xpn(e){return e.a?e.a:rF(e)}function V0(e,n){return I9(e,new fv(n.a,n.b))}function Cpn(e){return!Lr(e)&&e.c.i.c==e.d.i.c}function Tpn(e,n){return e.c<n.c?-1:e.c==n.c?0:1}function lIe(e){return e.b.c.length-e.e.c.length}function hIe(e){return e.e.c.length-e.g.c.length}function x$(e){return e.e.c.length+e.g.c.length}function i7(e){return e==0||isNaN(e)?e:e<0?-1:1}function aIe(e){return Im(),W(lO,fI,40,e,0,1)}function Spn(e,n,t){return It(e.b,u(t.b,17),n)}function Ipn(e,n,t){return It(e.b,u(t.b,17),n)}function Ppn(e,n,t){return oa(),t.e.b+t.f.b+e*n}function Opn(e,n,t){return oa(),t.e.a+t.f.a+e*n}function Npn(e){return ss(),(ke(),Qu).Gc(e.j)}function Dpn(e,n){return me(e,new de(n.a,n.b))}function mv(e,n,t){var i;i=new xw(t),Cf(e,n,i)}function YQ(e,n,t){var i;return i=e[n],e[n]=t,i}function Px(e,n){var t;return++e.j,t=e.Aj(n),t}function kt(e,n,t){return e.a=-1,KV(e,n.g,t),e}function ZQ(e,n,t,i){ete.call(this,e,n,t,i,0,0)}function Ox(e,n){Rk.call(this,e,n),this.a=this}function dIe(e){NQ(),KQ.call(this,e),this.a=-1}function bIe(){qL.call(this,"COUNT_CHILDREN",0)}function eY(){kh(this,!1,!1,!1,!1)}function wIe(){wIe=_,lfe=W(Zi,ge,15,256,0,1)}function Nx(){Nx=_,new ste((UD(),jH),(XD(),kH))}function Lpn(e){e.a.jd(),u(e.a.kd(),18).gc(),hW()}function gIe(e){return e.e.Pd().gc()*e.c.Pd().gc()}function C$(e,n,t){return new ASe(Hmn(e).Ze(),t,n)}function Dx(){Dx=_,MH=new vF((tn(),tn(),Qr))}function T$(){T$=_,Zse=new _W((tn(),tn(),GI))}function pIe(){pIe=_,ofe=W(s3,ge,221,256,0,1)}function mIe(){mIe=_,ffe=W(Iy,ge,180,128,0,1)}function vIe(){vIe=_,hfe=W(Lb,ge,190,256,0,1)}function yIe(){yIe=_,bfe=W($b,ge,191,256,0,1)}function $pn(e,n){Aee(e,n==null?null:(bn(n),n))}function Fpn(e,n){Cee(e,n==null?null:(bn(n),n))}function Bpn(e,n){Cee(e,n==null?null:(bn(n),n))}function yi(e,n){var t;return t=X$(e,n),t.i=2,t}function kIe(e,n){return e.a+=eh(n,0,n.length),e}function Ce(e,n){return en(n,e.c.length),e.c[n]}function jIe(e,n){return en(n,e.a.length),e.a[n]}function Rpn(e,n){var t;for(t=0;t<n;++t)e[t]=-1}function _pn(e,n){return bn(e),L7(e,(bn(n),n))}function Jpn(e,n){return bn(n),L7(n,(bn(e),e))}function EIe(e){return e.q?e.q:(tn(),tn(),$h)}function Lx(e){for(st(e);e.Ob();)e.Pb(),e.Qb()}function nY(e){if(e.c.e!=e.a)throw C(new Cs)}function tY(e){if(e.e.c!=e.b)throw C(new Cs)}function AIe(e){this.c=e,this.a=new em(this.c.a)}function MIe(e){this.a=e,this.c=new Vn,Kyn(this)}function iY(e){this.c=e,this.b=this.c.d.vc().Jc()}function kw(e){this.a=new nm(e.gc()),_r(this,e)}function rY(e){xK.call(this,new F1),_r(this,e)}function We(e,n){Dd(),BF.call(this,e),this.a=n}function $x(e,n,t,i){qQ(this,e,n,t,i)}function jw(e,n,t,i,r,c){return KJe(e,n,t,i,r,0,c)}function Gpn(e,n,t){return Eu(n.d[e.g],t.d[e.g])}function Hpn(e,n,t){return Eu(e.d[n.p],e.d[t.p])}function qpn(e,n,t){return Eu(e.d[n.p],e.d[t.p])}function zpn(e,n,t){return Eu(e.d[n.p],e.d[t.p])}function Upn(e,n,t){return Eu(e.d[n.p],e.d[t.p])}function Fx(e,n,t){return v.Math.min(t/e,1/n)}function xIe(e,n){return e?0:v.Math.max(0,n-1)}function CIe(e){return e.c-u(Ce(e.a,e.b),295).b}function S$(e,n){return e==null?n==null:Ke(e,n)}function Xpn(e,n){return e==null?n==null:IT(e,n)}function Bx(e,n){return _t(),new kY(e,n)}function jh(e,n){_t(),J0.call(this,e),this.a=n}function Rx(e,n){Ss(),sM.call(this,n),this.a=e}function _x(e){ob.call(this,e.gc()),Ii(this,e)}function R6(e,n,t){this.a=e,Wi.call(this,n,t,2)}function TIe(e){this.b=new ni,this.a=e,this.c=-1}function Qo(e){return e.c?e.c.f:e.e.b}function po(e){return e.c?e.c.g:e.e.a}function wt(e){return Ic(e)?e|0:PAe(e)}function SIe(e){var n;return n=WJe(e),n?SIe(n):e}function Kpn(e,n){return e.a==null&&Eze(e),e.a[n]}function Wpn(e,n){return!e&&(e=[]),e[e.length]=n,e}function ci(e,n){var t;return t=Je(e),Zee(t,n),t}function IIe(e,n,t){var i;for(i=0;i<n;++i)e[i]=t}function Fd(e,n,t){Iw(n,e.c.length),g6(e.c,n,t)}function I$(e,n,t){tRe(0,n,e.length),Ov(e,0,n,t)}function P$(e,n){return F(n,24)&&go(e,u(n,24))}function PIe(e,n){return F(n,24)&&h9n(e,u(n,24))}function pc(e,n){return oRe(e,n,O5n(e,e.b.Ae(n)))}function Vpn(e,n){return e.a.get(n)!==void 0}function cY(e){return Array.isArray(e)&&e.Rm===Kn}function O$(e){return Ho(e,26)*Y9+Ho(e,27)*Z9}function Qpn(e,n){N$(e,fr(new de(n.a,n.b),e.c))}function N$(e,n){zt(e.c,n),e.b.c+=n.a,e.b.d+=n.b}function Jx(e){e.b?Jx(e.b):e.d.dc()&&e.f.c.Ac(e.e)}function Gx(e,n,t){var i;e&&(i=e.i,i.c=n,i.b=t)}function Hx(e,n,t){var i;e&&(i=e.i,i.d=n,i.a=t)}function Ypn(e,n,t){return-Eu(e.f[n.p],e.f[t.p])}function Zpn(e,n,t){return Hi(e,new tm(n.a,t.a))}function emn(e,n,t){fqe(t,e,1),me(n,new VMe(t,e))}function nmn(e,n,t){S9(t,e,1),me(n,new txe(t,e))}function uY(e,n,t){return t=gs(e,u(n,52),7,t),t}function oY(e,n,t){return t=gs(e,u(n,52),3,t),t}function Au(e,n,t){return e.a=-1,KV(e,n.g+1,t),e}function OIe(e,n,t){this.a=e,ax.call(this,n,t,22)}function NIe(e,n,t){this.a=e,ax.call(this,n,t,14)}function DIe(e,n,t,i){Ss(),CNe.call(this,e,n,t,i)}function LIe(e,n,t,i){Ss(),CNe.call(this,e,n,t,i)}function tmn(e,n){(n.Bb&cu)!=0&&!e.a.o&&(e.a.o=n)}function D$(e,n){this.b=new ni,this.a=e,this.c=n}function $Ie(){this.b=new KN,this.c=new bOe(this)}function sY(){this.d=new EN,this.e=new dOe(this)}function FIe(){ss(),this.k=new Vn,this.d=new Ji}function fY(){tZ(),this.g=new ni,this.f=new ni}function Bd(e){T1(),this.a=0,this.b=e-1,this.c=1}function BIe(e){return _t(),new lF(10,e,0)}function RIe(e){var n;return n=e.f,n||(e.f=e.Cc())}function gm(e){var n;return n=e.i,n||(e.i=e.bc())}function qx(e){if(e.e.j!=e.d)throw C(new Cs)}function Rd(e){return e.c?e.c:e.c=e.Qd()}function L$(e){return e.d?e.d:e.d=e.Rd()}function _6(e,n){return m7n(T7(e,n))?n.wi():null}function imn(e){return F(e,16)?u(e,16).cd():e.Jc()}function lY(e){return e.Oc(W(ir,ln,1,e.gc(),5,1))}function _Ie(){_Ie=_,HYe=new sIe(W(ir,ln,1,0,5,1))}function $$(){$$=_,kfn=new Cr((Et(),Uo),0)}function JIe(){qL.call(this,"LOOKAHEAD_LAYOUT",1)}function GIe(e){lx(this),this.g=e,iC(this),this.he()}function hY(e,n,t,i){this.a=e,IC.call(this,e,n,t,i)}function Mn(e){this.a=(_Ie(),HYe),this.d=u(st(e),50)}function Eh(e,n){return _1(IGe(Ic(e)?nf(e):e,n))}function Q0(e,n){return _1(Hie(Ic(e)?nf(e):e,n))}function _d(e,n){return _1(txn(Ic(e)?nf(e):e,n))}function rmn(e,n){return $d((bn(e),e),(bn(n),n))}function F$(e,n){return Qt((bn(e),e),(bn(n),n))}function HIe(e,n){return st(n),e.a.Hd(n)&&!e.b.Hd(n)}function cmn(e,n){return zu(e.l&n.l,e.m&n.m,e.h&n.h)}function umn(e,n){return zu(e.l|n.l,e.m|n.m,e.h|n.h)}function omn(e,n){return zu(e.l^n.l,e.m^n.m,e.h^n.h)}function qIe(e){return e!=null&&_$(e)&&e.Rm!==Kn}function aY(e){return!Array.isArray(e)&&e.Rm===Kn}function Ew(e,n){return K7(e,(bn(n),new B8e(n)))}function pm(e,n){return K7(e,(bn(n),new R8e(n)))}function zIe(e){return vo(),u(e,12).e.c.length!=0}function UIe(e){return vo(),u(e,12).g.c.length!=0}function smn(e,n){return Om(),Qt(n.a.o.a,e.a.o.a)}function J6(e){return Ic(e)?""+e:bze(e)}function vv(e,n){if(e<0||e>=n)throw C(new wEe)}function fmn(e,n,t){e.a.Mb(t)&&(e.b=!0,n.Ad(t))}function dY(e){e.d||(e.d=e.b.Jc(),e.c=e.b.gc())}function lmn(e){return e.e?BZ(e.e):null}function XIe(e,n,t){return tKe(e,u(n,12),u(t,12))}function hmn(e,n,t){n.of(t,J(H(yn(e.b,t)))*e.a)}function KIe(e,n,t){return w4(),dB(e,n)&&dB(e,t)}function amn(e,n){n.Tg("General 'Rotator",1),TLn(e)}function _a(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i}function bY(e){var n;for(n=e;n.f;)n=n.f;return n}function wY(e,n){this.e=e,this.d=(n&64)!=0?n|ch:n}function WIe(e,n){this.c=0,this.d=e,this.b=n|64|ch}function zx(e){this.b=new Bu(11),this.a=(tb(),e)}function B$(e){this.b=null,this.a=(tb(),e||jfe)}function VIe(e){this.a=U_e(e.a),this.b=new Mo(e.b)}function QIe(e){this.b=e,lm.call(this,e),tTe(this)}function YIe(e){this.b=e,qk.call(this,e),iTe(this)}function Aw(e,n,t){this.a=e,am.call(this,n,t,5,6)}function hr(e,n,t,i,r){_F.call(this,e,n,t,i,r,-1)}function G6(e,n,t,i,r){j7.call(this,e,n,t,i,r,-1)}function ue(e,n,t,i){Wi.call(this,e,n,t),this.b=i}function Ux(e,n,t,i){t7.call(this,e,n,t),this.b=i}function ZIe(e){Jxe.call(this,e,!1),this.a=!1}function ePe(){qL.call(this,"LAYOUT_NEXT_LEVEL",3)}function gY(e,n,t,i){this.b=e,Wi.call(this,n,t,i)}function nPe(e,n){this.b=e,u8e.call(this,e.b),this.a=n}function yv(e,n){var t;return t=e.a.gc(),DZ(n,t),t-n}function R$(e,n){return n.Sh()?q1(e.b,u(n,52)):n}function dmn(e,n){return Ke(e.substr(0,n.length),n)}function Ah(e){return new Mn(new _V(e.a.length,e.a))}function Xx(e){return new de(e.c+e.b/2,e.d+e.a/2)}function bmn(e){return zu(~e.l&zo,~e.m&zo,~e.h&wa)}function _$(e){return typeof e===Ij||typeof e===$_}function Mu(e,n){return pr(n)?sF(e,n):!!pc(e.f,n)}function Kx(e,n){return _t(),new OY(e,n,0)}function J$(e,n){return _t(),new OY(6,e,n)}function Ir(e,n){for(bn(n);e.Ob();)n.Ad(e.Pb())}function Jd(e,n,t){ih(),this.e=e,this.d=n,this.a=t}function X(e,n,t,i){tRe(n,t,e.length),wmn(e,n,t,i)}function mm(e,n,t){return Sf(e.a,n),YQ(e.b,n.g,t)}function Hi(e,n){var t;return t=e.a.yc(n,e),t==null}function pY(e,n){var t;for(t=0;t<n;++t)e[t]=!1}function wmn(e,n,t,i){var r;for(r=n;r<t;++r)e[r]=i}function mY(e,n,t){this.c=e,this.a=n,tn(),this.b=t}function gmn(e,n,t){vv(t,e.a.c.length),ls(e.a,t,n)}function r7(e,n){return e.a.yc(n,(gn(),ud))==null}function pmn(e,n){return e>0?v.Math.log(e/n):-100}function G$(e){return new We(null,jmn(e,e.length))}function ou(e){e.f=new yCe(e),e.i=new kCe(e),++e.g}function tPe(e){if(!e)throw C(new Dc);return e.d}function vY(e,n){if(e==null)throw C(new Qp(n))}function yY(e,n){return n?_r(e,n):!1}function H6(e){return To(),!e.Gc(Aa)&&!e.Gc(jd)}function q6(e){ww(e.b!=-1),Ga(e.c,e.a=e.b),e.b=-1}function Yf(e,n,t){return p8n(e,n.g,t),Sf(e.c,n),e}function mmn(e,n,t){NLn(e.a,e.b,e.d,e.c,u(n,170),t)}function c7(e,n){HCe(e,F(n,163)?n:u(n,2001).Pl())}function vmn(e){return V2(e,(Vi(),Ec)),e.d=!0,e}function H$(e){return!e.j&&B1n(e,CPn(e.g,e.b)),e.j}function vm(e){var n;return n=a9(e),Hn(n!=null),n}function ymn(e){var n;return n=tkn(e),Hn(n!=null),n}function kmn(e,n,t){var i;return i=Lw(e,n),AF(e,n,t),i}function q$(e,n){this.d=e,Rn.call(this,e),this.e=n}function kY(e,n){J0.call(this,1),this.a=e,this.b=n}function iPe(e,n){return Su(e,n)<0?-1:Su(e,n)>0?1:0}function jmn(e,n){return l9n(n,e.length),new oIe(e,n)}function z6(e){return e.e==0?e:new Jd(-e.e,e.d,e.a)}function Emn(e){return e==Ai?hE:e==lr?"-INF":""+e}function Amn(e){return e==Ai?hE:e==lr?"-INF":""+e}function Mmn(e,n){return Qt(e.c.c+e.c.b,n.c.c+n.c.b)}function Wx(e,n){Ei(e.d,n,e.b.b,e.b),++e.a,e.c=null}function rPe(e,n){return e.c?rPe(e.c,n):me(e.b,n),e}function Y0(e,n){Si(Fu(e.Mc(),new Dme),new qke(n))}function kv(e,n,t,i,r){OR(e,u(Kt(n.k,t),16),t,i,r)}function cPe(e,n,t,i,r){for(;n<t;)i[r++]=Nr(e,n++)}function uPe(e,n,t){var i;for(i=0;i<n;++i)Ni(e,i,t)}function Vx(e){e.s=NaN,e.c=NaN,YHe(e,e.e),YHe(e,e.j)}function oPe(e){e.a=null,e.e=null,ou(e.b),e.d=0,++e.c}function z$(e){return v.Math.abs(e.d.e-e.e.e)-e.a}function xmn(e,n){return Qt(e.e.a+e.f.a,n.e.a+n.f.a)}function Cmn(e,n){return Qt(e.e.b+e.f.b,n.e.b+n.f.b)}function Tmn(e,n,t){return u(e.c.fd(n,u(t,136)),45)}function Smn(){return gM(),I(S(qYe,1),ae,538,0,[AH])}function sPe(){sPe=_,VYe=new bK(!1),QYe=new bK(!0)}function O1(){O1=_,mn=aCn(),nn(),Kg&&xEn()}function Un(e){return(e.i==null&&rh(e),e.i).length}function Imn(e,n){ym(e,new xw(n.f!=null?n.f:""+n.g))}function Pmn(e,n){ym(e,new xw(n.f!=null?n.f:""+n.g))}function Ii(e,n){return e.Qi()&&(n=JOe(e,n)),e.Di(n)}function U$(e,n){return n=e.Wk(null,n),hGe(e,null,n)}function fPe(e,n,t){return _t(),new aNe(e,n,t)}function Omn(e,n){++e.j,PR(e,e.i,n),dCn(e,u(n,344))}function w(e,n,t){var i;return i=X$(e,n),bFe(t,i),i}function X$(e,n){var t;return t=new Vee,t.j=e,t.d=n,t}function st(e){if(e==null)throw C(new Up);return e}function lPe(e){XY.call(this),this.a=e,me(e.a,this)}function hPe(){F1.call(this),this.a=!0,this.b=!0}function Mw(e){this.d=(bn(e),e),this.a=0,this.c=Dj}function K$(e,n){this.d=ckn(e),this.c=n,this.a=.5*n}function aPe(e,n){return u(Rd(e.a).Kd().Xb(n),45).jd()}function U6(e){var n;return n=e.g,n||(e.g=new hK(e))}function Qx(e){var n;return n=e.k,n||(e.k=new aK(e))}function jY(e){var n;return n=e.k,n||(e.k=new aK(e))}function Nmn(e){var n;return n=e.i,n||(e.i=new t8e(e))}function W$(e){var n;return n=e.j,n||(e.j=new E8e(e))}function dPe(e){var n;return n=e.f,n||(e.f=new RV(e))}function V$(e){var n;return n=e.d,n||(e.d=new TD(e))}function EY(e){return F(e,607)?e:new POe(e)}function bPe(e,n){return g7(n,e.c.b.c.gc()),new VAe(e,n)}function AY(e,n){return Pn(n,e.length+1),e.substr(n)}function Ni(e,n,t){return cwn(t==null||hOn(e,t)),e[n]=t}function MY(e,n){var t;return t=e.a.gc(),g7(n,t),t-1-n}function wPe(e,n){var t;t=console[e],t.call(console,n)}function yn(e,n){return pr(n)?xu(e,n):$c(pc(e.f,n))}function xY(e){e?Wte(e,($a(),tZe)):L3n(($a(),e))}function gPe(e){zK(),this.b=new ve,this.a=e,ODn(this,e)}function pPe(e){this.b=new ve,this.a=new ve,this.c=e}function au(e){this.c=new xr,this.a=new ve,this.b=e}function CY(e){this.d=e,this.c=e.a.d.a,this.b=e.a.e.g}function TY(e){this.b=e,this.a=u(Zs(this.b.a.e),227)}function SY(e){for(;e.a.b!=0;)aLn(e,u(xOe(e.a),9))}function Q$(e,n){for(bn(n);e.c<e.d;)e.Qe(n,e.c++)}function Dmn(e,n){return Om(),u(dc(e,n.d),16).Ec(n)}function Lmn(e,n){return u(k(n,(ye(),xg)),15).a<e}function $mn(e,n,t,i){return t==0||(t-i)/t<e.e||n>=e.g}function Y$(e,n,t){var i;return i=uB(e,n,t),kre(e,i)}function ym(e,n){var t;t=e.a.length,Lw(e,t),AF(e,t,n)}function mPe(e,n){var t;++e.j,t=e.Cj(),e.pj(e.Xi(t,n))}function Fmn(e,n,t){u(n.b,68),Tu(n.a,new DQ(e,t,n))}function IY(e,n,t){sM.call(this,n),this.a=e,this.b=t}function PY(e,n,t){this.a=e,_K.call(this,n),this.b=t}function vPe(e,n,t){this.a=e,wZ.call(this,8,n,null,t)}function Bmn(e){this.a=(bn(jt),jt),this.b=e,new nW}function yPe(e){this.c=e,this.a=new ni,this.b=new ni}function OY(e,n,t){J0.call(this,e),this.a=n,this.b=t}function xw(e){if(e==null)throw C(new Up);this.a=e}function Rmn(e){return!e.a&&(e.a=new Wi(Ed,e,4)),e.a}function Z0(e){return!e.d&&(e.d=new Wi(hc,e,1)),e.d}function jv(e,n){return e.a+=String.fromCharCode(n),e}function Gd(e,n){return e.a+=String.fromCharCode(n),e}function Zs(e){if(e==null)throw C(new Up);return e}function _mn(e){return Vg?sF(Vg,e):!1}function kPe(e){return e?e.dc():!e.Jc().Ob()}function jPe(e){return Zs(e),F(e,472)?u(e,472):Oc(e)}function EPe(e){return F(e,103)&&(u(e,19).Bb&cu)!=0}function X6(e){return v.Math.sqrt(e.a*e.a+e.b*e.b)}function Yx(e,n){return ER(e.c,e.f,n,e.b,e.a,e.e,e.d)}function eb(e,n){return vv(n,e.a.c.length),Ce(e.a,n)}function Zh(e,n){return K(e)===K(n)||e!=null&&qt(e,n)}function Jmn(e,n){N$(u(n.b,68),e),Tu(n.a,new NK(e))}function N1(e){e.c?N1(e.c):(z1(e),e.d=!0)}function K6(e){e.c?e.c.Ye():(e.d=!0,mSn(e))}function APe(e){RY(e.a),e.b=W(ir,ln,1,e.b.length,5,1)}function $o(e){ww(e.c!=-1),e.d.ed(e.c),e.b=e.c,e.c=-1}function MPe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function xPe(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function $i(){FEe.call(this),iw(this.j.c,0),this.a=-1}function CPe(){ot.call(this,"DELAUNAY_TRIANGULATION",0)}function Gmn(e,n){var t;t=e.Fh(n),t>=0?e.hi(t):Mie(e,n)}function TPe(e){var n,t;return n=e.c.i.c,t=e.d.i.c,n==t}function ar(e){return!e.a&&e.c?e.c.b:e.a}function Hmn(e){return 0>=e?new PW:$9n(e-1)}function bn(e){if(e==null)throw C(new Up);return e}function qmn(e){if(e.p!=6)throw C(new bo);return e.f}function zmn(e){if(e.p!=6)throw C(new bo);return e.k}function Umn(e){if(e.p!=3)throw C(new bo);return e.e}function Xmn(e){if(e.p!=4)throw C(new bo);return e.e}function Kmn(e){if(e.p!=4)throw C(new bo);return e.j}function Wmn(e){if(e.p!=3)throw C(new bo);return e.j}function NY(e){return!e.b&&(e.b=new uM(new zD)),e.b}function nb(e){return e.c==-2&&P1n(e,hMn(e.g,e.b)),e.c}function Ev(e,n){var t;return t=X$("",e),t.n=n,t.i=1,t}function Zx(e,n,t,i){q0.call(this,e,t),this.a=n,this.f=i}function DY(e,n,t,i){q0.call(this,e,n),this.d=t,this.a=i}function SPe(e,n){this.b=e,q$.call(this,e,n),tTe(this)}function IPe(e,n){this.b=e,xQ.call(this,e,n),iTe(this)}function PPe(){tie.call(this,uf,(tv(),Pwe)),MNn(this)}function OPe(){tie.call(this,g0,(yAe(),uln)),pDn(this)}function NPe(e,n){Tbn.call(this,F9n(st(e),st(n))),this.a=n}function LY(e,n){e.c<0||e.b.b<e.c?Hr(e.b,n):e.a.vf(n)}function Vmn(e,n){it((!e.a&&(e.a=new Kk(e,e)),e.a),n)}function Nr(e,n){return Pn(n,e.length),e.charCodeAt(n)}function Qmn(e,n){return Eu(n.j.c.length,e.j.c.length)}function It(e,n,t){return pr(n)?mc(e,n,t):ro(e.f,n,t)}function $Y(e){return tn(),e?e.Me():(tb(),tb(),Efe)}function Ymn(e){return as(e,__),_C(Ur(Ur(5,e),e/10|0))}function Zmn(e,n,t){return Dm(),t.Kg(e,u(n.jd(),147))}function DPe(e,n){return Nx(),new ste(new bTe(e),new dTe(n))}function du(e,n){return K(e)===K(n)||e!=null&&qt(e,n)}function dc(e,n){return P$(e.a,n)?e.b[u(n,24).g]:null}function e3n(e){return String.fromCharCode.apply(null,e)}function LPe(e){return!e.d&&(e.d=new X3(e.c.Bc())),e.d}function Av(e){return!e.a&&(e.a=new uAe(e.c.vc())),e.a}function $Pe(e){return!e.b&&(e.b=new Z3(e.c.ec())),e.b}function u7(e){return e.j.c.length=0,RY(e.c),Gwn(e.a),e}function FPe(e,n){var t;return t=new au(e),En(n.c,t),t}function Z$(e){return!e.n&&(e.n=new ue(zc,e,1,7)),e.n}function n3n(e){return!e.b&&(e.b=new hn(Yn,e,4,7)),e.b}function FY(e){return!e.c&&(e.c=new hn(Yn,e,5,8)),e.c}function BY(e){return!e.c&&(e.c=new ue(Xo,e,9,9)),e.c}function Dt(e,n,t,i){return QFe(e,n,t,!1),pT(e,i),e}function Mh(e,n){for(;n-- >0;)e=e<<1|(e<0?1:0);return e}function BPe(e,n){e.u.Gc((To(),Aa))&&oCn(e,n),t6n(e,n)}function RPe(e,n){Pne(e,J(sa(n,"x")),J(sa(n,"y")))}function _Pe(e,n){Pne(e,J(sa(n,"x")),J(sa(n,"y")))}function t3n(){return h6(),I(S(B0e,1),ae,528,0,[VE])}function i3n(){return SM(),I(S(_on,1),ae,547,0,[CU])}function r3n(){return TM(),I(S(p0e,1),ae,477,0,[xU])}function eF(){eF=_,XYe=new RW(I(S(p0,1),IS,45,0,[]))}function c3n(e){return e!=null&&s6(YO,e.toLowerCase())}function u3n(e,n){return new hOe(u(st(e),51),u(st(n),51))}function o3n(e,n,t){var i;i=u(e.d.Kb(t),162),i&&i.Nb(n)}function RY(e){var n;for(n=e.Jc();n.Ob();)n.Pb(),n.Qb()}function M2(e){var n;return n=e.b,!n&&(e.b=n=new n8e(e)),n}function Mv(e){return e.e==Y4&&L1n(e,M7n(e.g,e.b)),e.e}function o7(e){return e.f==Y4&&F1n(e,bEn(e.g,e.b)),e.f}function W6(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function _Y(e,n){this.b=e,this.c=n,this.a=new em(this.b)}function nF(e,n,t){this.a=Ece,this.d=e,this.b=n,this.c=t}function JPe(e,n){this.d=(bn(e),e),this.a=16449,this.c=n}function s3n(e,n){return Qt(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}function f3n(e,n){return Qt(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}function l3n(e,n){return DW(),Qt((bn(e),e),(bn(n),n))}function Bt(e,n){return z1(e),new We(e,new YZ(n,e.a))}function Fu(e,n){return z1(e),new We(e,new FZ(n,e.a))}function Cw(e,n){return z1(e),new rQ(e,new YDe(n,e.a))}function eC(e,n){return z1(e),new cQ(e,new ZDe(n,e.a))}function h3n(e,n,t){vNn(e.a,t),Fyn(t),qCn(e.b,t),_Nn(n,t)}function nC(e,n,t,i){this.a=e,this.c=n,this.b=t,this.d=i}function JY(e,n,t,i){this.c=e,this.b=n,this.a=t,this.d=i}function GPe(e,n,t,i){this.c=e,this.b=n,this.d=t,this.a=i}function tC(e,n,t,i){this.a=e,this.e=n,this.d=t,this.c=i}function HPe(e,n,t,i){this.a=e,this.d=n,this.c=t,this.b=i}function Af(e,n,t,i){this.c=e,this.d=n,this.b=t,this.a=i}function km(e,n,t,i){ot.call(this,e,n),this.a=t,this.b=i}function qPe(e,n,t,i){qBe.call(this,e,t,i,!1),this.f=n}function tF(e,n,t){var i,r;return i=lce(e),r=n.qi(t,i),r}function ea(e){var n,t;return t=(n=new G0,n),Lv(t,e),t}function iF(e){var n,t;return t=(n=new G0,n),cie(t,e),t}function zPe(e){return!e.b&&(e.b=new ue(Xi,e,12,3)),e.b}function rF(e){var n;return n=R9n(e),n||null}function a3n(e){os();var n;n=u(e.g,9),n.n.a=e.d.c+n.d.b}function UPe(e){this.a=new ve,this.e=W(bt,ge,54,e,0,2)}function cF(e){this.f=e,this.c=this.f.e,e.f>0&&JJe(this)}function XPe(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i}function KPe(e,n,t,i){this.a=e,this.b=n,this.d=t,this.c=i}function WPe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function VPe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function Hd(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i}function QPe(e,n,t,i){Ss(),XDe.call(this,n,t,i),this.a=e}function YPe(e,n,t,i){Ss(),XDe.call(this,n,t,i),this.a=e}function ZPe(e,n){this.a=e,Cwn.call(this,e,u(e.d,16).dd(n))}function d3n(e,n){return Qt(po(e)*Qo(e),po(n)*Qo(n))}function b3n(e,n){return Qt(po(e)*Qo(e),po(n)*Qo(n))}function jm(e){var n;return n=e.f,n||(e.f=new rv(e,e.c))}function tn(){tn=_,Qr=new sn,$h=new Bn,GI=new dn}function tb(){tb=_,jfe=new Nn,NH=new Nn,Efe=new qn}function xv(e){if(Go(e.d),e.d.d!=e.c)throw C(new Cs)}function GY(e){return Hn(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function Yo(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function HY(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e}function w3n(e,n,t){return me(e.a,(bR(n,t),new q0(n,t))),e}function eOe(e){return B6(e==null||_$(e)&&e.Rm!==Kn),e}function iC(e){return e.n&&(e.e!==gKe&&e.he(),e.j=null),e}function g3n(e){return e.length>0?xf(e):new ve}function p3n(e,n){return u(k(e,(se(),v3)),16).Ec(n),n}function m3n(e,n){return Ve(e,u(k(n,(ye(),xg)),15),n)}function v3n(e){return vb(e)&&Se(Te(he(e,(ye(),j0))))}function y3n(e,n,t){return l6(),Ckn(u(yn(e.e,n),517),t)}function k3n(e,n,t){e.i=0,e.e=0,n!=t&&JBe(e,n,t)}function j3n(e,n,t){e.i=0,e.e=0,n!=t&&GBe(e,n,t)}function nOe(e,n,t,i){this.b=e,this.c=i,ux.call(this,n,t)}function tOe(e,n){this.g=e,this.d=I(S(Bh,1),n1,9,0,[n])}function iOe(e,n){e.d&&!e.d.a&&(Uje(e.d,n),iOe(e.d,n))}function rOe(e,n){e.e&&!e.e.a&&(Uje(e.e,n),rOe(e.e,n))}function cOe(e,n){return B2(e.j,n.s,n.c)+B2(n.e,e.s,e.c)}function E3n(e){return u(e.jd(),147).Og()+":"+Oc(e.kd())}function A3n(e,n){return-Qt(po(e)*Qo(e),po(n)*Qo(n))}function M3n(e,n){return Zo(e),Zo(n),YEe(u(e,24),u(n,24))}function qd(e,n,t){var i,r;i=w$(t),r=new nM(i),Cf(e,n,r)}function qY(e,n){new ni,this.a=new Lo,this.b=e,this.c=n}function uOe(e){this.b=new ve,er(this.b,this.b),this.a=e}function oOe(e){this.b=new v3e,this.a=e,v.Math.random()}function sOe(){BR(this,new sK),this.wb=(O1(),mn),tv()}function fOe(){Lc.call(this,"There is no more element.")}function lOe(e,n,t,i){bV.call(this,n,t),this.b=e,this.a=i}function uF(e,n,t,i,r,c){j7.call(this,e,n,t,i,r,c?-2:-1)}function rC(e){return!e.a&&(e.a=new ue(mt,e,10,11)),e.a}function Wt(e){return!e.q&&(e.q=new ue(bf,e,11,10)),e.q}function ce(e){return!e.s&&(e.s=new ue(ho,e,21,17)),e.s}function cC(e,n){if(e==null)throw C(new Qp(n));return e}function hOe(e,n){sdn.call(this,new B$(e)),this.a=e,this.b=n}function zY(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function x3n(e){pM(),v.setTimeout(function(){throw e},0)}function C3n(e){return st(e),iJe(new Mn(In(e.a.Jc(),new U)))}function uC(e){return tn(),F(e,59)?new tL(e):new bx(e)}function oF(e){return F(e,18)?new kw(u(e,18)):bpn(e.Jc())}function T3n(e){return new cTe(e,e.e.Pd().gc()*e.c.Pd().gc())}function S3n(e){return new uTe(e,e.e.Pd().gc()*e.c.Pd().gc())}function UY(e){return e&&e.hashCode?e.hashCode():W0(e)}function sF(e,n){return n==null?!!pc(e.f,null):Vpn(e.i,n)}function I3n(e,n){var t;return t=IV(e.a,n),t&&(n.d=null),t}function aOe(e,n,t){return e.f?e.f.cf(n,t):!1}function s7(e,n,t,i){Ni(e.c[n.g],t.g,i),Ni(e.c[t.g],n.g,i)}function fF(e,n,t,i){Ni(e.c[n.g],n.g,t),Ni(e.b[n.g],n.g,i)}function P3n(e){e.Tg("No crossing minimization",1),e.Ug()}function dOe(e){this.c=e,this.b=new La(u(st(new U5),51))}function bOe(e){this.c=e,this.b=new La(u(st(new XN),51))}function wOe(e){this.b=e,this.a=new La(u(st(new FN),51))}function gOe(){this.b=new Ji,this.d=new ni,this.e=new aM}function pOe(){this.d=new ni,this.b=new Vn,this.c=new ve}function XY(){this.c=new xr,this.d=new xr,this.e=new xr}function ib(){this.a=new Lo,this.b=(as(3,rg),new Bu(3))}function oC(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function mOe(e,n,t,i,r,c){this.a=e,nB.call(this,n,t,i,r,c)}function vOe(e,n,t,i,r,c){this.a=e,nB.call(this,n,t,i,r,c)}function Ja(e,n){this.e=e,this.a=ir,this.b=Pze(n),this.c=n}function yOe(e,n){return F(n,147)&&Ke(e.b,u(n,147).Og())}function O3n(e,n){return e.a?n.Dh().Jc():u(n.Dh(),72).Gi()}function N3n(e,n,t){return J(H(t.a))<=e&&J(H(t.b))>=n}function D3n(e,n,t){return t>=0&&Ke(e.substr(t,n.length),n)}function D1(e,n,t,i,r,c,o){return new TF(e.e,n,t,i,r,c,o)}function ef(e,n,t){return Tr(n,t,e.length),e.substr(n,t-n)}function sC(e,n){var t;return t=Nd(e.Pm),n==null?t:t+": "+n}function kOe(e,n){var t;return t=e.b.Oc(n),hDe(t,e.b.gc()),t}function f7(e,n){if(e==null)throw C(new Qp(n));return e}function xc(e){return e.u||(Fo(e),e.u=new WTe(e,e)),e.u}function eo(e){var n;return n=u(xn(e,16),29),n||e.fi()}function L3n(e){e&&sC(e,e.ge())}function KY(){KY=_,AZe=new Ia,xZe=new sY,MZe=new z3}function Cv(){Cv=_;var e,n;n=!s7n(),e=new Ze,TH=n?new Xe:e}function $3n(){return PC(),I(S(Qle,1),ae,422,0,[Vle,vq])}function F3n(){return O7(),I(S(uhe,1),ae,419,0,[EP,che])}function B3n(){return M7(),I(S(fhe,1),ae,476,0,[she,MP])}function R3n(){return mC(),I(S(Ehe,1),ae,420,0,[_q,jhe])}function _3n(){return EC(),I(S(Fhe,1),ae,423,0,[Vq,Wq])}function J3n(){return S7(),I(S(E1e,1),ae,421,0,[Iz,Pz])}function G3n(){return e9(),I(S(Acn,1),ae,519,0,[l8,f8])}function H3n(){return Vl(),I(S(Pcn,1),ae,510,0,[Ub,f1])}function q3n(){return vl(),I(S(Ncn,1),ae,509,0,[C0,$l])}function z3n(){return el(),I(S(Kcn,1),ae,516,0,[Dg,wd])}function U3n(){return cb(),I(S(nun,1),ae,454,0,[gd,xp])}function X3n(){return wC(),I(S(mde,1),ae,425,0,[Zz,pde])}function K3n(){return tT(),I(S(vde,1),ae,487,0,[wO,Sp])}function W3n(){return NC(),I(S(kde,1),ae,426,0,[yde,cU])}function V3n(){return MC(),I(S(l0e,1),ae,478,0,[jU,f0e])}function Q3n(){return y7(),I(S(m0e,1),ae,428,0,[TU,xO])}function Y3n(){return RC(),I(S($fe,1),ae,424,0,[zH,XI])}function Z3n(){return Bv(),I(S(snn,1),ae,503,0,[vE,rq])}function evn(){return R7(),I(S(_0e,1),ae,427,0,[TO,R0e])}function fC(e,n,t,i){return t>=0?e.Rh(n,t,i):e.zh(null,t,i)}function l7(e){return e.b.b==0?e.a.uf():A$(e.b)}function nvn(e){if(e.p!=5)throw C(new bo);return wt(e.f)}function tvn(e){if(e.p!=5)throw C(new bo);return wt(e.k)}function WY(e){return K(e.a)===K((lB(),bX))&&hDn(e),e.a}function jOe(e,n){v1n(this,new de(e.a,e.b)),y1n(this,e7(n))}function EOe(e,n){yx.call(this),uee(this),this.a=e,this.c=n}function VY(e,n,t){Ss(),sM.call(this,n),this.a=e,this.b=t}function lF(e,n,t){_t(),J0.call(this,e),this.b=n,this.a=t}function rb(){fdn.call(this,new nm(_w(12))),$V(!0),this.a=2}function AOe(){qL.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function cb(){cb=_,gd=new rV(n3,0),xp=new rV(t3,1)}function Vl(){Vl=_,Ub=new nV(t3,0),f1=new nV(n3,1)}function ivn(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=Fx(e.c,e.b,e.a))}function rvn(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=Fx(e.c,e.b,e.a))}function MOe(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}function h7(e){var n;S9n(e.a),SCe(e.a),n=new dk(e.a),zB(n)}function xu(e,n){return n==null?$c(pc(e.f,null)):w6(e.i,n)}function xOe(e){return e.b==0?null:(Hn(e.b!=0),Ns(e,e.a.a))}function Br(e){return Math.max(Math.min(e,Ft),-2147483648)|0}function COe(e,n,t,i,r){return new _R(e,(Nv(),FH),n,t,i,r)}function lC(e,n){return dDe(n),A9n(e,W(bt,Pt,30,n,15,1),n)}function cvn(e,n){return oa(),u(k(n,(Wc(),gh)),15).a==e}function uvn(e,n){yze(e,!0),Tu(e.e.Pf(),new IQ(e,!0,n))}function hC(e,n){return cC(e,"set1"),cC(n,"set2"),new dMe(e,n)}function ovn(e,n){var t=CH[e.charCodeAt(0)];return t??e}function svn(e,n){var t;return t=y9n(e.f,n),zt(vx(t),e.f.d)}function TOe(e,n){var t,i;return t=n,i=new ei,dXe(e,t,i),i.d}function hF(e,n,t,i){var r;r=new tSe,n.a[t.g]=r,mm(e.b,i,r)}function QY(e,n,t){var i;i=e.Fh(n),i>=0?e.$h(i,t):nre(e,n,t)}function x2(e,n,t){dC(),e&&It(hX,e,n),e&&It(yA,e,t)}function SOe(e,n,t){this.i=new ve,this.b=e,this.g=n,this.a=t}function aC(e,n,t){this.c=new ve,this.e=e,this.f=n,this.b=t}function YY(e,n,t){this.a=new ve,this.e=e,this.f=n,this.c=t}function IOe(e){yx.call(this),uee(this),this.a=e,this.c=!0}function POe(e){this.a=u(st(e),277),this.b=(tn(),new HV(e))}function OOe(e,n){lx(this),this.f=n,this.g=e,iC(this),this.he()}function a7(e,n){var t;t=e.q.getHours(),e.q.setDate(n),q9(e,t)}function NOe(e,n){var t;for(st(n),t=e.a;t;t=t.c)n.Wd(t.g,t.i)}function DOe(e){var n;return n=new kM(_w(e.length)),Zee(n,e),n}function fvn(e){function n(){}return n.prototype=e||{},new n}function lvn(e,n){return mBe(e,n)?(vFe(e),!0):!1}function na(e,n){if(n==null)throw C(new Up);return l7n(e,n)}function hvn(e){if(e.ye())return null;var n=e.n;return $I[n]}function Tw(e){return e.Db>>16!=3?null:u(e.Cb,26)}function ml(e){return e.Db>>16!=9?null:u(e.Cb,26)}function LOe(e){return e.Db>>16!=6?null:u(e.Cb,85)}function $Oe(e,n){var t;return t=e.Fh(n),t>=0?e.Th(t):UR(e,n)}function aF(e,n,t){var i;i=RBe(e,n,t),e.b=new nT(i.c.length)}function vl(){vl=_,C0=new tV(mJ,0),$l=new tV("UP",1)}function FOe(){FOe=_,zYe=lt((gM(),I(S(qYe,1),ae,538,0,[AH])))}function BOe(e){this.a=e,this.b=W(kcn,ge,2008,e.e.length,0,2)}function ROe(){this.a=new vh,this.e=new Ji,this.g=0,this.i=0}function avn(e){return!e.a&&(e.a=new ue(mt,e,10,11)),e.a.i>0}function dF(e,n){return v.Math.abs(e)<v.Math.abs(n)?e:n}function dvn(e,n){return Mx(),gn(),u(n.a,15).a<e}function bvn(e,n){return Mx(),gn(),u(n.b,15).a<e}function _Oe(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}function ZY(e){var n;return n=e.d,n=e._i(e.f),it(e,n),n.Ob()}function JOe(e,n){var t;return t=new rY(n),wGe(t,e),new Mo(t)}function wvn(e){if(e.p!=0)throw C(new bo);return C6(e.f,0)}function gvn(e){if(e.p!=0)throw C(new bo);return C6(e.k,0)}function GOe(e){return e.Db>>16!=7?null:u(e.Cb,241)}function Tv(e){return e.Db>>16!=6?null:u(e.Cb,241)}function eZ(e){return e.Db>>16!=7?null:u(e.Cb,174)}function HOe(e){return e.Db>>16!=3?null:u(e.Cb,158)}function pi(e){return e.Db>>16!=11?null:u(e.Cb,26)}function Sw(e){return e.Db>>16!=17?null:u(e.Cb,29)}function nZ(e){var n;return z1(e),n=new Ji,Bt(e,new z8e(n))}function qOe(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.te(n))}function pvn(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),q9(e,t)}function Rr(e,n){e.c&&no(e.c.g,e),e.c=n,e.c&&me(e.c.g,e)}function or(e,n){e.c&&no(e.c.a,e),e.c=n,e.c&&me(e.c.a,e)}function Er(e,n){e.d&&no(e.d.e,e),e.d=n,e.d&&me(e.d.e,e)}function Bc(e,n){e.i&&no(e.i.j,e),e.i=n,e.i&&me(e.i.j,e)}function mc(e,n,t){return n==null?ro(e.f,null,t):ab(e.i,n,t)}function V6(e,n,t,i,r,c){return new ca(e.e,n,e.Jj(),t,i,r,c)}function mvn(e){return IB(),gn(),u(e.a,82).d.e!=0}function zOe(e,n){this.a=e,this.c=zr(this.a),this.b=new oC(n)}function UOe(e,n,t){this.a=n,this.c=e,this.b=(st(t),new Mo(t))}function XOe(e,n,t){this.a=n,this.c=e,this.b=(st(t),new Mo(t))}function Iw(e,n){if(e<0||e>n)throw C(new $u(Oce+e+Nce+n))}function dC(){dC=_,hX=new Vn,yA=new Vn,N0n(lZe,new B5e)}function KOe(){KOe=_,tcn=Au(new $i,(dr(),fc),(yr(),b3))}function WOe(){WOe=_,icn=Au(new $i,(dr(),fc),(yr(),b3))}function VOe(){VOe=_,rcn=Au(new $i,(dr(),fc),(yr(),b3))}function tZ(){tZ=_,ccn=Au(new $i,(dr(),fc),(yr(),b3))}function QOe(){QOe=_,ocn=Au(new $i,(dr(),fc),(yr(),b3))}function iZ(){iZ=_,scn=Au(new $i,(dr(),fc),(yr(),b3))}function YOe(){YOe=_,xcn=kt(new $i,(dr(),fc),(yr(),By))}function ss(){ss=_,Scn=kt(new $i,(dr(),fc),(yr(),By))}function ZOe(){ZOe=_,Icn=kt(new $i,(dr(),fc),(yr(),By))}function bF(){bF=_,Lcn=kt(new $i,(dr(),fc),(yr(),By))}function eNe(){eNe=_,Iun=Au(new $i,(Gm(),a8),(G9(),_1e))}function zd(e,n,t,i){this.c=e,this.d=i,gF(this,n),pF(this,t)}function Em(e){this.c=new ni,this.b=e.b,this.d=e.c,this.a=e.a}function wF(e){this.a=v.Math.cos(e),this.b=v.Math.sin(e)}function gF(e,n){e.a&&no(e.a.k,e),e.a=n,e.a&&me(e.a.k,e)}function pF(e,n){e.b&&no(e.b.f,e),e.b=n,e.b&&me(e.b.f,e)}function nNe(e,n){Fmn(e,e.b,e.c),u(e.b.b,68),n&&u(n.b,68).b}function vvn(e,n){Nne(e,n),F(e.Cb,88)&&Vw(Fo(u(e.Cb,88)),2)}function mF(e,n){F(e.Cb,88)&&Vw(Fo(u(e.Cb,88)),4),Ru(e,n)}function bC(e,n){F(e.Cb,184)&&(u(e.Cb,184).tb=null),Ru(e,n)}function tNe(e,n){var t;return t=u(Gw(jm(e.a),n),18),t?t.gc():0}function iNe(e){var n,t;return t=(tv(),n=new G0,n),Lv(t,e),t}function rNe(e){var n,t;return t=(tv(),n=new G0,n),Lv(t,e),t}function cNe(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}function d7(e){return ih(),Su(e,0)>=0?U1(e):z6(U1(qa(e)))}function yvn(e,n){WCe(e,wt(mr(Q0(n,24),DS)),wt(mr(n,DS)))}function kvn(e,n){return Qt(u(e.c,65).c.e.b,u(n.c,65).c.e.b)}function jvn(e,n){return Qt(u(e.c,65).c.e.a,u(n.c,65).c.e.a)}function Cu(e,n){return nc(),KF(n)?new Ox(n,e):new Rk(n,e)}function uNe(e,n,t){return new _R(e,(Nv(),$H),null,!1,n,t)}function oNe(e,n,t){return new _R(e,(Nv(),BH),n,t,null,!1)}function sNe(e,n,t){var i;SRe(n,t,e.c.length),i=t-n,MW(e.c,n,i)}function L1(e,n,t){SRe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n}function Ye(e,n){this.b=(bn(e),e),this.a=(n&cg)==0?n|64|ch:n}function en(e,n){if(e<0||e>=n)throw C(new $u(Oce+e+Nce+n))}function Pn(e,n){if(e<0||e>=n)throw C(new dW(Oce+e+Nce+n))}function Evn(e,n){var t,i;t=n.c,i=t!=null,i&&ym(e,new xw(n.c))}function Avn(e,n,t){var i;i=new qr(t.d),zt(i,e),Pne(n,i.a,i.b)}function rZ(e){var n;return z1(e),n=(tb(),tb(),NH),JC(e,n)}function yl(e){return _c(I(S(br,1),ge,8,0,[e.i.n,e.n,e.a]))}function Mvn(){return i9(),I(S(Qfe,1),ae,384,0,[WH,KH,VH])}function xvn(){return $s(),I(S(oo,1),ae,130,0,[Sfe,uo,Ife])}function Cvn(){return il(),I(S(bg,1),ae,237,0,[Yc,Hu,Zc])}function Tvn(){return Co(),I(S(IZe,1),ae,461,0,[dh,od,Lf])}function Svn(){return to(),I(S(OZe,1),ae,462,0,[fl,sd,$f])}function Ivn(){return g9(),I(S(b1e,1),ae,352,0,[jz,d1e,eO])}function Pvn(){return Jv(),I(S(Bq,1),ae,302,0,[$q,Fq,AE])}function Ovn(){return J1(),I(S(Rq,1),ae,329,0,[ME,khe,kg])}function Nvn(){return ua(),I(S(Knn,1),ae,316,0,[xE,gp,w3])}function Dvn(){return lb(),I(S(lq,1),ae,368,0,[Rb,fd,Bb])}function Lvn(){return b9(),I(S(C1e,1),ae,348,0,[Dz,Nz,RE])}function $vn(){return oT(),I(S(x1e,1),ae,381,0,[A1e,Oz,M1e])}function Fvn(){return rc(),I(S(Wrn,1),ae,452,0,[u8,Po,qu])}function Bvn(){return Xv(),I(S(S1e,1),ae,349,0,[Lz,T1e,o8])}function Rvn(){return UC(),I(S(O1e,1),ae,351,0,[P1e,$z,I1e])}function _vn(){return fT(),I(S(N1e,1),ae,382,0,[Fz,M5,Ng])}function Jvn(){return d9(),I(S(V1e,1),ae,385,0,[W1e,_z,GE])}function Gvn(){return z7(),I(S(Ade,1),ae,386,0,[gO,jde,Ede])}function Hvn(){return jT(),I(S(Ude,1),ae,387,0,[zde,mU,qde])}function qvn(){return XC(),I(S(the,1),ae,350,0,[nhe,jP,yq])}function zvn(){return Zd(),I(S(Rnn,1),ae,449,0,[Tq,h5,bp])}function Uvn(){return TT(),I(S(Hde,1),ae,436,0,[p8,vO,hU])}function Xvn(){return sT(),I(S(Gde,1),ae,304,0,[lU,Jde,_de])}function Kvn(){return mT(),I(S(g0e,1),ae,430,0,[b0e,w0e,AU])}function Wvn(){return DC(),I(S(d0e,1),ae,429,0,[EU,a0e,h0e])}function Vvn(){return W7(),I(S(MU,1),ae,435,0,[EO,AO,MO])}function Qvn(){return El(),I(S(Fbe,1),ae,279,0,[N5,Gg,D5])}function Yvn(){return la(),I(S(Wbe,1),ae,347,0,[FO,d1,O8])}function Zvn(){return c9(),I(S(nwe,1),ae,300,0,[hA,tX,ewe])}function e4n(){return $m(),I(S(rwe,1),ae,281,0,[iwe,qg,HO])}function C2(e){return l6(),F(e.g,9)?u(e.g,9):null}function n4n(e){return e.a==(Iv(),tN)&&T1n(e,$In(e.g,e.b)),e.a}function Am(e){return e.d==(Iv(),tN)&&N1n(e,LOn(e.g,e.b)),e.d}function t4n(e,n){var t;return t=(bn(e),e).g,VV(!!t),bn(n),t(n)}function fNe(e,n,t){var i;i=new X3e,i.b=n,i.a=t,++n.b,me(e.d,i)}function i4n(e,n,t){var i;return i=X9(e,n,!1),i.b<=n&&i.a<=t}function lNe(e,n){var t,i;return i=yv(e,n),t=e.a.dd(i),new hMe(e,t)}function r4n(e){return e.Db>>16!=6?null:u(WR(e),241)}function c4n(e){if(e.p!=2)throw C(new bo);return wt(e.f)&Qi}function u4n(e){if(e.p!=2)throw C(new bo);return wt(e.k)&Qi}function Ud(e){return st(e),F(e,18)?new Mo(u(e,18)):gv(e.Jc())}function vF(e){Dx(),this.a=(tn(),F(e,59)?new tL(e):new bx(e))}function mr(e,n){return _1(cmn(Ic(e)?nf(e):e,Ic(n)?nf(n):n))}function Ql(e,n){return _1(umn(Ic(e)?nf(e):e,Ic(n)?nf(n):n))}function yF(e,n){return _1(omn(Ic(e)?nf(e):e,Ic(n)?nf(n):n))}function cZ(e,n){return PIe(e.a,n)?YQ(e.b,u(n,24).g,null):null}function o4n(e){return Ur(Eh(tu(Ho(e,32)),32),tu(Ho(e,32)))}function s4n(e){var n;return n=u(Sx(e.b),10),new Is(e.a,n,e.c)}function f4n(e,n){var t;t=J(H(e.a.mf((Et(),NO)))),$Xe(e,n,t)}function hNe(e,n){Jd.call(this,1,2,I(S(bt,1),Pt,30,15,[e,n]))}function uZ(e,n){odn.call(this,new nm(_w(e))),as(n,lKe),this.a=n}function aNe(e,n,t){J0.call(this,25),this.b=e,this.a=n,this.c=t}function fs(e){_t(),J0.call(this,e),this.c=!1,this.a=!1}function dNe(){this.c=new LCe,this.a=new VDe,this.b=new lEe,CMe()}function wC(){wC=_,Zz=new cV("DFS",0),pde=new cV("BFS",1)}function oZ(e){return e.b==null||e.b.length==0?"n_"+e.a:"n_"+e.b}function b7(e){return u(Al(e,W(Bh,n1,9,e.c.length,0,1)),199)}function sZ(e,n){return e&&e.equals?e.equals(n):K(e)===K(n)}function l4n(e,n){return r9(),e.c==n.c?Qt(n.d,e.d):Qt(e.c,n.c)}function h4n(e,n){return r9(),e.c==n.c?Qt(e.d,n.d):Qt(e.c,n.c)}function a4n(e,n){return r9(),e.c==n.c?Qt(e.d,n.d):Qt(n.c,e.c)}function d4n(e,n){return r9(),e.c==n.c?Qt(n.d,e.d):Qt(n.c,e.c)}function b4n(e,n){e.b=e.b|n.b,e.c=e.c|n.c,e.d=e.d|n.d,e.a=e.a|n.a}function kF(e,n,t){var i;i=e.d[n.p],e.d[n.p]=e.d[t.p],e.d[t.p]=i}function w4n(e,n,t){var i;e.n&&n&&t&&(i=new M5e,me(e.e,i))}function g4n(e,n){var t;t=u(yn(e.g,n),60),Tu(n.d,new ZMe(e,t))}function p4n(e,n){var t,i;return t=dJe(e),i=dJe(n),t<i?-1:t>i?1:0}function bNe(e,n){var t,i;return t=zF(n),i=t,u(yn(e.c,i),15).a}function wNe(e,n){var t;for(t=e+"";t.length<n;)t="0"+t;return t}function Xd(e){return e.c==null||e.c.length==0?"n_"+e.g:"n_"+e.c}function m4n(e){return!!e.u&&bu(e.u.a).i!=0&&!(e.n&&lR(e.n))}function fZ(e,n){return n==0?!!e.o&&e.o.f!=0:rR(e,n)}function M(e){return Hn(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function jF(e,n){if(Hi(e.a,n),n.d)throw C(new Lc(DKe));n.d=e}function lZ(e,n){this.a=new ve,this.d=new ve,this.f=e,this.c=n}function gNe(){Dm(),this.b=new Vn,this.a=new Vn,this.c=new ve}function pNe(e,n,t){this.d=e,this.j=n,this.e=t,this.o=-1,this.p=3}function mNe(e,n,t){this.d=e,this.k=n,this.f=t,this.o=-1,this.p=5}function vNe(e,n,t,i,r,c){CZ.call(this,e,n,t,i,r),c&&(this.o=-2)}function yNe(e,n,t,i,r,c){lee.call(this,e,n,t,i,r),c&&(this.o=-2)}function kNe(e,n,t,i,r,c){hee.call(this,e,n,t,i,r),c&&(this.o=-2)}function jNe(e,n,t,i,r,c){SZ.call(this,e,n,t,i,r),c&&(this.o=-2)}function ENe(e,n,t,i,r,c){bee.call(this,e,n,t,i,r),c&&(this.o=-2)}function ANe(e,n,t,i,r,c){TZ.call(this,e,n,t,i,r),c&&(this.o=-2)}function MNe(e,n,t,i,r,c){aee.call(this,e,n,t,i,r),c&&(this.o=-2)}function xNe(e,n,t,i,r,c){dee.call(this,e,n,t,i,r),c&&(this.o=-2)}function CNe(e,n,t,i){sM.call(this,t),this.b=e,this.c=n,this.d=i}function TNe(e,n){this.f=e,this.a=(Iv(),nN),this.c=nN,this.b=n}function SNe(e,n){this.g=e,this.d=(Iv(),tN),this.a=tN,this.b=n}function hZ(e,n){!e.c&&(e.c=new Pi(e,0)),ES(e.c,(Zt(),q8),n)}function v4n(e,n){return bTn(e,n,F(n,103)&&(u(n,19).Bb&Vr)!=0)}function y4n(e,n){return iPe(tu(e.q.getTime()),tu(n.q.getTime()))}function INe(e){return C$(e.e.Pd().gc()*e.c.Pd().gc(),16,new r8e(e))}function k4n(e){return!!e.a&&Ro(e.a.a).i!=0&&!(e.b&&hR(e.b))}function PNe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function Q6(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function ONe(e){return Hn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function NNe(e,n){var t;return t=1-n,e.a[t]=eT(e.a[t],t),eT(e,n)}function DNe(e,n){var t,i;return i=mr(e,uc),t=Eh(n,32),Ql(t,i)}function j4n(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Gc(t)}function LNe(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Kc(t)}function $Ne(e,n,t){var i;i=(st(e),new Mo(e)),tEn(new UOe(i,n,t))}function w7(e,n,t){var i;i=(st(e),new Mo(e)),iEn(new XOe(i,n,t))}function E4n(e,n,t){e.a=n,e.c=t,e.b.a.$b(),Yo(e.d),iw(e.e.a.c,0)}function Xc(e,n,t,i,r,c){return QFe(e,n,t,c),Ane(e,i),Mne(e,r),e}function FNe(e,n,t,i){return e.a+=""+ef(n==null?co:Oc(n),t,i),e}function Ar(e,n){this.a=e,W5.call(this,e),Iw(n,e.gc()),this.b=n}function BNe(e,n){var t;e.e=new cW,t=Yw(n),ur(t,e.c),sze(e,t,0)}function mi(e,n,t,i){var r;r=new tK,r.a=n,r.b=t,r.c=i,Mt(e.a,r)}function be(e,n,t,i){var r;r=new tK,r.a=n,r.b=t,r.c=i,Mt(e.b,r)}function A4n(e,n){return new j$(n,STe(zr(n.e),e,e),(gn(),!0))}function M4n(e,n){return Im(),u(k(n,(Wc(),Cp)),15).a>=e.gc()}function x4n(e){return ss(),!Lr(e)&&!(!Lr(e)&&e.c.i.c==e.d.i.c)}function Yl(e){return u(Al(e,W(r5,B4,17,e.c.length,0,1)),324)}function gC(e){return new Bu((as(e,__),_C(Ur(Ur(5,e),e/10|0))))}function C4n(e){return C$(e.e.Pd().gc()*e.c.Pd().gc(),273,new i8e(e))}function T4n(e){URe((!e.a&&(e.a=new ue(mt,e,10,11)),e.a),new T4e)}function aZ(){var e,n,t;return n=(t=(e=new G0,e),t),me(Jwe,n),n}function Kd(e){var n;return Ic(e)?(n=e,n==-0?0:n):_6n(e)}function RNe(e,n){return F(n,45)?gR(e.a,u(n,45)):!1}function _Ne(e,n){return F(n,45)?gR(e.a,u(n,45)):!1}function JNe(e,n){return F(n,45)?gR(e.a,u(n,45)):!1}function S4n(e,n){return e.a<=e.b?(n.Bd(e.a++),!0):!1}function g7(e,n){if(e<0||e>=n)throw C(new $u(_xn(e,n)));return e}function GNe(e,n,t){if(e<0||n<e||n>t)throw C(new $u(oxn(e,n,t)))}function I4n(e,n,t){e.d&&no(e.d.e,e),e.d=n,e.d&&Fd(e.d.e,t,e)}function Y6(e,n){x$n(n,e),UQ(e.d),UQ(u(k(e,(ye(),XP)),213))}function EF(e,n){C$n(n,e),zQ(e.d),zQ(u(k(e,(ye(),XP)),213))}function dZ(e){var n;return N1(e),n=new Jt,l2(e.a,new G8e(n)),n}function pC(e){var n;return N1(e),n=new Xt,l2(e.a,new H8e(n)),n}function P4n(e){return M2(e).dc()?!1:(mbn(e,new ee),!0)}function O4n(e){if(!("stack"in e))try{throw e}catch{}return e}function N4n(e,n,t){var i;i=S7n();try{return Bwn(e,n,t)}finally{H5n(i)}}function ub(e,n){var t,i;return t=na(e,n),i=null,t&&(i=t.ne()),i}function Sv(e,n){var t,i;return t=Lw(e,n),i=null,t&&(i=t.qe()),i}function Z6(e,n){var t,i;return t=na(e,n),i=null,t&&(i=t.qe()),i}function ta(e,n){var t,i;return t=na(e,n),i=null,t&&(i=aie(t)),i}function D4n(e,n,t){var i;return i=i4(t),pS(e.n,i,n),pS(e.o,n,t),n}function bZ(e,n,t){this.d=new n7e(this),this.e=e,this.i=n,this.f=t}function wZ(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1}function HNe(e,n,t,i){return F(t,59)?new yTe(e,n,t,i):new hY(e,n,t,i)}function qNe(e){return u(Al(e,W(cnn,sWe,12,e.c.length,0,1)),2007)}function zNe(e){this.a=W(ir,ln,1,Wee(v.Math.max(8,e))<<1,5,1)}function UNe(e){fB.call(this,e,(Nv(),LH),null,!1,null,!1)}function XNe(e){var n;n=e.Dh(),this.a=F(n,72)?u(n,72).Gi():n.Jc()}function L4n(e){return new Ye(m9n(u(e.a.kd(),18).gc(),e.a.jd()),16)}function Pw(e){return F(e,18)?u(e,18).dc():!e.Jc().Ob()}function KNe(e){if(e.e.g!=e.b)throw C(new Cs);return!!e.c&&e.d>0}function tt(e){return Hn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function gZ(e,n){bn(n),Ni(e.a,e.c,n),e.c=e.c+1&e.a.length-1,yJe(e)}function $1(e,n){bn(n),e.b=e.b-1&e.a.length-1,Ni(e.a,e.b,n),yJe(e)}function WNe(){WNe=_,L1e=DPe(fe(1),fe(4)),D1e=DPe(fe(1),fe(2))}function VNe(){VNe=_,Ron=lt((TM(),I(S(p0e,1),ae,477,0,[xU])))}function QNe(){QNe=_,Jon=lt((SM(),I(S(_on,1),ae,547,0,[CU])))}function YNe(){YNe=_,csn=lt((h6(),I(S(B0e,1),ae,528,0,[VE])))}function $4n(){return Hv(),I(S(Xen,1),ae,408,0,[Fb,gg,wg,fp])}function F4n(){return hb(),I(S(ien,1),ae,409,0,[wE,bE,HH,qH])}function B4n(){return Nv(),I(S(HI,1),ae,310,0,[LH,$H,FH,BH])}function R4n(){return hT(),I(S(ann,1),ae,367,0,[sq,gP,pP,yE])}function _4n(){return Rm(),I(S(nle,1),ae,383,0,[$y,ele,nq,tq])}function J4n(){return If(),I(S(Enn,1),ae,413,0,[vg,u5,o5,fq])}function G4n(e){var n;return e.j==(ke(),Xn)&&(n=QHe(e),go(n,Ln))}function H4n(){return E9(),I(S(ehe,1),ae,301,0,[_y,Yle,jE,Zle])}function q4n(){return Uw(),I(S(Az,1),ae,203,0,[nO,Ez,Mp,Ap])}function z4n(){return aa(),I(S(j1e,1),ae,269,0,[bd,k1e,Tz,Sz])}function ZNe(e,n){return u(Wo(Ew(u(Kt(e.k,n),16).Mc(),hp)),113)}function eDe(e,n){return u(Wo(pm(u(Kt(e.k,n),16).Mc(),hp)),113)}function U4n(e,n){var t;t=n.a,Rr(t,n.c.d),Er(t,n.d.d),Bw(t.a,e.n)}function pZ(e,n){var t;return t=u(jl(e.b,n),66),!t&&(t=new ni),t}function Mm(e){return l6(),F(e.g,156)?u(e.g,156):null}function X4n(e){e.a=null,e.e=null,iw(e.b.c,0),iw(e.f.c,0),e.c=null}function nDe(e,n,t,i){this.e=null,this.c=e,this.d=n,this.a=t,this.b=i}function mZ(e,n,t,i,r){this.i=e,this.a=n,this.e=t,this.j=i,this.f=r}function tDe(e,n,t,i){var r;return r=i[n.g][t.g],J(H(k(e.a,r)))}function iDe(e,n){var t;for(t=e.j.c.length;t<n;t++)me(e.j,e.Mg())}function K4n(e,n){return sm(new de(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)}function W4n(){return w9(),I(S(gde,1),ae,353,0,[Yz,bO,Qz,Vz])}function V4n(){return JT(),I(S(Rde,1),ae,354,0,[fU,Fde,Bde,$de])}function Q4n(){return t0(),I(S(vcn,1),ae,404,0,[_E,s8,cO,rO])}function Y4n(){return QT(),I(S(oon,1),ae,401,0,[wU,aU,bU,dU])}function Z4n(){return Gm(),I(S(B1e,1),ae,398,0,[fO,h8,a8,d8])}function e5n(){return Wv(),I(S($be,1),ae,278,0,[cA,$O,Dbe,Lbe])}function n5n(){return jC(),I(S(gA,1),ae,288,0,[cwe,owe,rX,uwe])}function t5n(){return ts(),I(S(F8,1),ae,380,0,[dA,P0,aA,Hg])}function i5n(){return ha(),I(S(eX,1),ae,222,0,[ZU,uA,L5,L3])}function r5n(){return bs(),I(S(efn,1),ae,292,0,[sA,Jh,vd,oA])}function c5n(){return AT(),I(S(hwe,1),ae,327,0,[cX,swe,lwe,fwe])}function u5n(){return dT(),I(S(mfn,1),ae,407,0,[uX,dwe,awe,bwe])}function o5n(e){return dC(),Mu(hX,e)?u(yn(hX,e),342).Pg():null}function Ps(e,n,t){return n<0?UR(e,t):u(t,69).uk().zk(e,e.ei(),n)}function s5n(e,n,t){var i;return i=i4(t),pS(e.f,i,n),It(e.g,n,t),n}function f5n(e,n,t){var i;return i=i4(t),pS(e.p,i,n),It(e.q,n,t),n}function rDe(e){var n,t;return n=(x1(),t=new yD,t),e&&sS(n,e),n}function vZ(e){var n;return n=e.$i(e.i),e.i>0&&pu(e.g,0,n,0,e.i),n}function Zf(e){var n;for(n=0;e.Ob();)e.Pb(),n=Ur(n,1);return _C(n)}function cDe(e,n){var t;return t=new Zp,e.Ed(t),t.a+="..",n.Fd(t),t.a}function uDe(e,n){IM();var t;return t=u(yn(QO,e),58),!t||t.dk(n)}function l5n(e,n,t){if(t){var i=t.me();e.a[n]=i(t)}else delete e.a[n]}function T2(e,n){return n.e==0||e.e==0?Py:(g4(),ZR(e,n))}function h5n(e){if(e.p!=1)throw C(new bo);return wt(e.f)<<24>>24}function a5n(e){if(e.p!=1)throw C(new bo);return wt(e.k)<<24>>24}function d5n(e){if(e.p!=7)throw C(new bo);return wt(e.k)<<16>>16}function b5n(e){if(e.p!=7)throw C(new bo);return wt(e.f)<<16>>16}function mC(){mC=_,_q=new QW(P4,0),jhe=new QW("TOP_LEFT",1)}function e9(){e9=_,l8=new eV("UPPER",0),f8=new eV("LOWER",1)}function w5n(e,n,t){var i;i=u(yn(e.g,t),60),me(e.a.c,new Wr(n,i))}function g5n(e,n,t,i,r){var c;c=TTn(r,t,i),me(n,Oxn(r,c)),xMn(e,r,n)}function oDe(e,n,t){e.i=0,e.e=0,n!=t&&(GBe(e,n,t),JBe(e,n,t))}function p5n(e,n,t){return F$(H($c(pc(e.f,n))),H($c(pc(e.f,t))))}function m5n(e,n){return u(n==null?$c(pc(e.f,null)):w6(e.i,n),290)}function sDe(e,n){return K(n)===K(e)?"(this Map)":n==null?co:Oc(n)}function yZ(e,n){return e==(pn(),Mi)&&n==Mi?4:e==Mi||n==Mi?8:32}function vC(e,n,t){return vS(e,n,t,F(n,103)&&(u(n,19).Bb&Vr)!=0)}function v5n(e,n,t){return v4(e,n,t,F(n,103)&&(u(n,19).Bb&Vr)!=0)}function y5n(e,n,t){return yTn(e,n,t,F(n,103)&&(u(n,19).Bb&Vr)!=0)}function xh(e,n){nc();var t;return t=u(e,69).tk(),RMn(t,n),t.vl(n)}function ia(e,n){ih(),Jd.call(this,e,1,I(S(bt,1),Pt,30,15,[n]))}function Ow(e,n){_t(),J0.call(this,e),this.a=n,this.c=-1,this.b=-1}function fDe(e,n){XY.call(this),this.a=e,this.b=n,me(this.a.b,this)}function n9(e){return Hn(e.a<e.c.a.length),e.b=e.a,A$e(e),e.c.b[e.b]}function bu(e){return e.n||(Fo(e),e.n=new OIe(e,hc,e),xc(e)),e.n}function lDe(e,n){var t;for(t=n;t;)pw(e,t.i,t.j),t=pi(t);return e}function hDe(e,n){var t;for(t=0;t<n;++t)Ni(e,t,new MK(u(e[t],45)))}function kZ(e,n){var t;t=e.q.getHours(),e.q.setFullYear(n+ed),q9(e,t)}function aDe(e,n){zv();var t;return t=e.j.g-n.j.g,t!=0?t:0}function AF(e,n,t){if(t){var i=t.me();t=i(t)}else t=void 0;e.a[n]=t}function dDe(e){if(e<0)throw C(new nAe("Negative array size: "+e))}function bDe(e){F(e,206)&&!Se(Te(e.mf((Et(),OO))))&&POn(u(e,26))}function MF(e){return e.c&&e.d?oZ(e.c)+"->"+oZ(e.d):"e_"+W0(e)}function k5n(e,n){var t;return t=n!=null?xu(e,n):$c(pc(e.f,n)),ix(t)}function j5n(e,n){var t;return t=n!=null?xu(e,n):$c(pc(e.f,n)),ix(t)}function E5n(e,n){return $a(),it(ce(e.a),n)}function A5n(e,n){return $a(),it(ce(e.a),n)}function Wd(e,n,t){this.e=e,this.a=ir,this.b=Pze(n),this.c=n,this.d=t}function xF(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function wDe(e){this.c=e,this.a=u(rf(e),159),this.b=this.a.hk().ti()}function Nw(e,n,t,i){pNe.call(this,1,t,i),this.c=e,this.b=n}function CF(e,n,t,i){mNe.call(this,1,t,i),this.c=e,this.b=n}function TF(e,n,t,i,r,c,o){nB.call(this,n,i,r,c,o),this.c=e,this.a=t}function F1(){Vn.call(this),ETe(this),this.d.b=this.d,this.d.a=this.d}function jZ(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function yC(e){Vte(),WCe(this,wt(mr(Q0(e,24),DS)),wt(mr(e,DS)))}function xo(e,n){var t;return n.b.Kb(a$e(e,n.c.Ve(),(t=new X8e(n),t)))}function M5n(e,n){var t;return dDe(n),t=e.slice(0,n),t.length=n,JF(t,e)}function kC(e){var n;return e?new rY(e):(n=new vh,sB(n,e),n)}function x5n(e,n){var t;for(t=e.d-1;t>=0&&e.a[t]===n[t];t--);return t<0}function C5n(e,n){var t,i;i=!1;do t=NBe(e,n),i=i|t;while(t);return i}function Ei(e,n,t,i){var r;r=new Oi,r.c=n,r.b=t,r.a=i,i.b=t.a=r,++e.b}function jC(){jC=_,cwe=new bIe,owe=new JIe,rX=new AOe,uwe=new ePe}function EC(){EC=_,Vq=new YW(ul,0),Wq=new YW("ALTERNATING",1)}function gDe(){gDe=_,Gnn=lt((M7(),I(S(fhe,1),ae,476,0,[she,MP])))}function pDe(){pDe=_,Dnn=lt((PC(),I(S(Qle,1),ae,422,0,[Vle,vq])))}function mDe(){mDe=_,Bnn=lt((O7(),I(S(uhe,1),ae,419,0,[EP,che])))}function vDe(){vDe=_,Vnn=lt((mC(),I(S(Ehe,1),ae,420,0,[_q,jhe])))}function yDe(){yDe=_,Znn=lt((EC(),I(S(Fhe,1),ae,423,0,[Vq,Wq])))}function kDe(){kDe=_,Krn=lt((S7(),I(S(E1e,1),ae,421,0,[Iz,Pz])))}function jDe(){jDe=_,Mcn=lt((e9(),I(S(Acn,1),ae,519,0,[l8,f8])))}function EDe(){EDe=_,Ocn=lt((Vl(),I(S(Pcn,1),ae,510,0,[Ub,f1])))}function ADe(){ADe=_,Dcn=lt((vl(),I(S(Ncn,1),ae,509,0,[C0,$l])))}function MDe(){MDe=_,Wcn=lt((el(),I(S(Kcn,1),ae,516,0,[Dg,wd])))}function xDe(){xDe=_,tun=lt((cb(),I(S(nun,1),ae,454,0,[gd,xp])))}function CDe(){CDe=_,Sun=lt((wC(),I(S(mde,1),ae,425,0,[Zz,pde])))}function TDe(){TDe=_,Dun=lt((tT(),I(S(vde,1),ae,487,0,[wO,Sp])))}function SDe(){SDe=_,Fun=lt((NC(),I(S(kde,1),ae,426,0,[yde,cU])))}function IDe(){IDe=_,Non=lt((MC(),I(S(l0e,1),ae,478,0,[jU,f0e])))}function PDe(){PDe=_,Gon=lt((y7(),I(S(m0e,1),ae,428,0,[TU,xO])))}function ODe(){ODe=_,den=lt((RC(),I(S($fe,1),ae,424,0,[zH,XI])))}function NDe(){NDe=_,fnn=lt((Bv(),I(S(snn,1),ae,503,0,[vE,rq])))}function DDe(){DDe=_,usn=lt((R7(),I(S(_0e,1),ae,427,0,[TO,R0e])))}function T5n(){return Vi(),I(S(I8,1),ae,86,0,[_l,Tc,Ec,Rl,zs])}function S5n(){return ke(),I(S(Yr,1),fu,64,0,[qc,Cn,Ln,Xn,Tn])}function I5n(e,n,t){return u(n==null?ro(e.f,null,t):ab(e.i,n,t),290)}function P5n(e){return(e.k==(pn(),Mi)||e.k==Ui)&&Ht(e,(se(),qy))}function EZ(e){e.b!=e.c&&(e.a=W(ir,ln,1,8,5,1),e.b=0,e.c=0)}function LDe(e,n){var t;return t=n.jd(),new q0(t,e.e.pc(t,u(n.kd(),18)))}function $De(e,n){var t;for(t=n;t;)pw(e,-t.i,-t.j),t=pi(t);return e}function AZ(e,n){var t,i;for(t=n,i=0;t>0;)i+=e.a[t],t-=t&-t;return i}function ls(e,n,t){var i;return i=(en(n,e.c.length),e.c[n]),e.c[n]=t,i}function Dr(e,n){var t,i;for(bn(n),i=e.Jc();i.Ob();)t=i.Pb(),n.Ad(t)}function FDe(e,n){var t,i;return t=n.jd(),i=e.De(t),!!i&&du(i.e,n.kd())}function O5n(e,n){var t;return t=e.a.get(n),t??W(ir,ln,1,0,5,1)}function p7(e){e.i=0,xk(e.b,null),xk(e.c,null),e.a=null,e.e=null,++e.g}function MZ(e,n,t){e.a.c.length=0,gDn(e,n,t),e.a.c.length==0||GPn(e,n)}function BDe(e,n){this.c=0,this.b=n,iCe.call(this,e,17493),this.a=this.c}function RDe(e){ZXe(),Kje(this),this.a=new ni,une(this,e),Mt(this.a,e)}function _De(){QL(this),this.b=new de(Ai,Ai),this.a=new de(lr,lr)}function SF(e){AC(),!Dl&&(this.c=e,this.e=!0,this.a=new ve)}function AC(){AC=_,Dl=!0,pZe=!1,mZe=!1,yZe=!1,vZe=!1}function MC(){MC=_,jU=new sV(Wce,0),f0e=new sV("TARGET_WIDTH",1)}function Dw(e,n){return(z1(e),iv(new We(e,new YZ(n,e.a)))).zd(l3)}function N5n(){return dr(),I(S(Yfe,1),ae,363,0,[Ff,Fh,vu,lu,fc])}function D5n(){return WT(),I(S(Lun,1),ae,364,0,[iU,eU,rU,nU,tU])}function L5n(){return B9(),I(S($on,1),ae,369,0,[Ip,T3,E8,j8,WE])}function $5n(){return lj(),I(S(j0e,1),ae,330,0,[v0e,SU,k0e,IU,y0e])}function F5n(){return Xw(),I(S(Mnn,1),ae,371,0,[kE,yP,kP,vP,mP])}function B5n(){return x9(),I(S(Cz,1),ae,303,0,[w1e,Mz,xz,r8,E5])}function R5n(){return es(),I(S($he,1),ae,165,0,[IE,Xy,ya,Ky,k0])}function _5n(){return th(),I(S(Fl,1),ae,160,0,[on,Ri,al,h1,ja])}function J5n(){return R2(),I(S(D8,1),ae,257,0,[yd,fA,Vbe,N8,Qbe])}function G5n(e){return pM(),function(){return N4n(e,this,arguments)}}function Lr(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function xZ(e,n){return F(n,144)?Ke(e.c,u(n,144).c):!1}function Fo(e){return e.t||(e.t=new Fje(e),y9(new eAe(e),0,e.t)),e.t}function JDe(e){var n;return e.c||(n=e.r,F(n,88)&&(e.c=u(n,29))),e.c}function IF(e,n){var t;return t=u(jl(e.d,n),21),t||u(jl(e.e,n),21)}function GDe(e){this.b=e,Rn.call(this,e),this.a=u(xn(this.b.a,4),129)}function HDe(e){this.b=e,hm.call(this,e),this.a=u(xn(this.b.a,4),129)}function Mf(e,n,t,i,r){KDe.call(this,n,i,r),this.c=e,this.b=t}function CZ(e,n,t,i,r){KDe.call(this,n,i,r),this.c=e,this.a=t}function TZ(e,n,t,i,r){mNe.call(this,n,i,r),this.c=e,this.a=t}function SZ(e,n,t,i,r){pNe.call(this,n,i,r),this.c=e,this.a=t}function IZ(e){j0n.call(this,e==null?co:Oc(e),F(e,80)?u(e,80):null)}function H5n(e){e&&K6n((aW(),nfe)),--FI,e&&BI!=-1&&(I0n(BI),BI=-1)}function q5n(e,n){var t,i;t=u(I8n(e.c,n),18),t&&(i=t.gc(),t.$b(),e.d-=i)}function PF(e){var n,t,i;return n=e&zo,t=e>>22&zo,i=e<0?wa:0,zu(n,t,i)}function qDe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(pn(),Ui)&&t.k==Ui}function zDe(e){var n;return n=e.length,Ke(wn.substr(wn.length-n,n),e)}function $n(e){if(zn(e))return e.c=e.a,e.a.Pb();throw C(new Dc)}function xm(e,n){return n==0||e.e==0?e:n>0?f_e(e,n):Wqe(e,-n)}function PZ(e,n){return n==0||e.e==0?e:n>0?Wqe(e,n):f_e(e,-n)}function z5n(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function OF(e){var n;return n=new ib,iu(n,e),Q(n,(ye(),jc),null),n}function NF(e,n,t){var i;return i=e.Fh(n),i>=0?e.Ih(i,t,!0):yb(e,n,t)}function U5n(e,n,t){return Qt(sm(r4(e),zr(n.b)),sm(r4(e),zr(t.b)))}function X5n(e,n,t){return Qt(sm(r4(e),zr(n.e)),sm(r4(e),zr(t.e)))}function K5n(e,n){return v.Math.min(B1(n.a,e.d.d.c),B1(n.b,e.d.d.c))}function UDe(e,n,t){var i;i=new PV(e.a),l9(i,e.a.a),ro(i.f,n,t),e.a.a=i}function OZ(e,n,t,i){var r;for(r=0;r<zI;r++)Gx(e.a[r][n.g],t,i[n.g])}function NZ(e,n,t,i){var r;for(r=0;r<JH;r++)Hx(e.a[n.g][r],t,i[n.g])}function Kt(e,n){var t;return t=u(e.c.xc(n),18),!t&&(t=e.ic(n)),e.pc(n,t)}function W5n(e){var n;return n=(st(e),e?new Mo(e):gv(e.Jc())),hj(n),kT(n)}function xf(e){var n,t;return st(e),n=Ymn(e.length),t=new Bu(n),Zee(t,e),t}function t9(e){var n,t;++e.j,n=e.g,t=e.i,e.g=null,e.i=0,e.Mi(t,n),e.Li()}function m7(e,n){e.Zi(e.i+1),N6(e,e.i,e.Xi(e.i,n)),e.Ki(e.i++,n),e.Li()}function Cm(e,n){return pr(n)?n==null?Bie(e.f,null):lBe(e.i,n):Bie(e.f,n)}function Ga(e,n){var t;return t=(en(n,e.c.length),e.c[n]),MW(e.c,n,1),t}function DF(e,n,t,i){var r;return r=W(bt,Pt,30,n,15,1),zAn(r,e,n,t,i),r}function ra(e,n){return e.a?At(e.a,e.b):e.a=new us(e.d),S6(e.a,n),e}function DZ(e,n){if(e<0||e>n)throw C(new $u(kie(e,n,"index")));return e}function LZ(e){var n;return n=e.e+e.f,isNaN(n)&&jx(e.d)?e.d:n}function $Z(e,n){var t,i;return t=(bn(e),e),i=(bn(n),n),t==i?0:t<i?-1:1}function V5n(e,n){var t;t=e.q.getHours()+(n/60|0),e.q.setMinutes(n),q9(e,t)}function XDe(e,n,t){sM.call(this,t),this.b=e,this.c=n,this.d=(VB(),gX)}function KDe(e,n,t){this.d=e,this.k=n?1:0,this.f=t?1:0,this.o=-1,this.p=0}function kl(e){this.c=e,this.a=new x(this.c.a),this.b=new x(this.c.b)}function xC(){this.e=new ve,this.c=new ve,this.d=new ve,this.b=new ve}function WDe(){this.g=new XK,this.b=new XK,this.a=new ve,this.k=new ve}function VDe(){this.a=new QK,this.b=new gEe,this.d=new tD,this.e=new nD}function QDe(e,n,t){this.a=e,this.c=n,this.d=t,me(n.e,this),me(t.b,this)}function YDe(e,n){tCe.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function ZDe(e,n){iCe.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function FZ(e,n){ux.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function CC(e,n,t){this.a=e,this.b=n,this.c=t,me(e.t,this),me(n.i,this)}function v7(){this.b=new ni,this.a=new ni,this.b=new ni,this.a=new ni}function Iv(){Iv=_;var e,n;nN=(tv(),n=new fM,n),tN=(e=new GD,e)}function el(){el=_,Dg=new iV("REGULAR",0),wd=new iV("CRITICAL",1)}function y7(){y7=_,TU=new fV("FIXED",0),xO=new fV("CENTER_NODE",1)}function eLe(){eLe=_,zle=new di("separateLayerConnections",(hT(),sq))}function TC(){TC=_,A8=new Vt("org.eclipse.elk.labels.labelManager")}function BZ(e){if(e.a){if(e.e)return BZ(e.e)}else return e;return null}function Q5n(e,n){return e.p<n.p?1:e.p>n.p?-1:0}function nLe(e,n){return Mu(e.a,n)?(Cm(e.a,n),!0):!1}function Y5n(e){var n,t;return n=e.jd(),t=u(e.kd(),18),Zk(t.Lc(),new e8e(n))}function LF(e){var n;return n=e.b,n.b==0?null:u(wu(n,0),65).b}function Z5n(e,n){var t;return t=PDn(e,n),e.b=new nT(t.c.length),WNn(e,t)}function e6n(e){var n;return z1(e),n=new WSe(e,e.a.e,e.a.d|4),new rQ(e,n)}function tLe(e){var n;for(N1(e),n=0;e.a.zd(new u2);)n=Ur(n,1);return n}function iLe(e){var n;return e.a||(n=e.r,F(n,159)&&(e.a=u(n,159))),e.a}function n6n(e,n,t){var i;return++e.e,--e.f,i=u(e.d[n].ed(t),136),i.kd()}function Tm(e,n,t){return g7(n,e.e.Pd().gc()),g7(t,e.c.Pd().gc()),e.a[n][t]}function SC(e,n){return bn(n),e.c<e.d?(e.Qe(n,e.c++),!0):!1}function t6n(e,n){var t;e.C&&(t=u(dc(e.b,n),127).n,t.d=e.C.d,t.a=e.C.a)}function RZ(e){var n,t,i,r;r=e.d,n=e.a,t=e.b,i=e.c,e.d=t,e.a=i,e.b=r,e.c=n}function _Z(e,n,t){var i,r;for(i=0,r=0;r<n.length;r++)i+=e.sg(n[r],i,t)}function IC(e,n,t,i){this.f=e,this.e=n,this.d=t,this.b=i,this.c=i?i.d:null}function i6n(e,n){n.Tg("Label management",1),ix(k(e,(TC(),A8))),n.Ug()}function rLe(){rLe=_,PZe=lt((Co(),I(S(IZe,1),ae,461,0,[dh,od,Lf])))}function cLe(){cLe=_,NZe=lt((to(),I(S(OZe,1),ae,462,0,[fl,sd,$f])))}function uLe(){uLe=_,SZe=lt((il(),I(S(bg,1),ae,237,0,[Yc,Hu,Zc])))}function oLe(){oLe=_,kZe=lt(($s(),I(S(oo,1),ae,130,0,[Sfe,uo,Ife])))}function sLe(){sLe=_,Ren=lt((i9(),I(S(Qfe,1),ae,384,0,[WH,KH,VH])))}function fLe(){fLe=_,Unn=lt((Jv(),I(S(Bq,1),ae,302,0,[$q,Fq,AE])))}function lLe(){lLe=_,Xnn=lt((J1(),I(S(Rq,1),ae,329,0,[ME,khe,kg])))}function hLe(){hLe=_,Wnn=lt((ua(),I(S(Knn,1),ae,316,0,[xE,gp,w3])))}function aLe(){aLe=_,Pnn=lt((lb(),I(S(lq,1),ae,368,0,[Rb,fd,Bb])))}function dLe(){dLe=_,Yrn=lt((b9(),I(S(C1e,1),ae,348,0,[Dz,Nz,RE])))}function bLe(){bLe=_,Qrn=lt((oT(),I(S(x1e,1),ae,381,0,[A1e,Oz,M1e])))}function wLe(){wLe=_,Vrn=lt((rc(),I(S(Wrn,1),ae,452,0,[u8,Po,qu])))}function gLe(){gLe=_,Zrn=lt((Xv(),I(S(S1e,1),ae,349,0,[Lz,T1e,o8])))}function pLe(){pLe=_,Hrn=lt((g9(),I(S(b1e,1),ae,352,0,[jz,d1e,eO])))}function mLe(){mLe=_,ecn=lt((UC(),I(S(O1e,1),ae,351,0,[P1e,$z,I1e])))}function vLe(){vLe=_,ncn=lt((fT(),I(S(N1e,1),ae,382,0,[Fz,M5,Ng])))}function yLe(){yLe=_,cun=lt((d9(),I(S(V1e,1),ae,385,0,[W1e,_z,GE])))}function kLe(){kLe=_,Bun=lt((z7(),I(S(Ade,1),ae,386,0,[gO,jde,Ede])))}function jLe(){jLe=_,hon=lt((jT(),I(S(Ude,1),ae,387,0,[zde,mU,qde])))}function ELe(){ELe=_,$nn=lt((XC(),I(S(the,1),ae,350,0,[nhe,jP,yq])))}function ALe(){ALe=_,_nn=lt((Zd(),I(S(Rnn,1),ae,449,0,[Tq,h5,bp])))}function MLe(){MLe=_,uon=lt((TT(),I(S(Hde,1),ae,436,0,[p8,vO,hU])))}function xLe(){xLe=_,con=lt((sT(),I(S(Gde,1),ae,304,0,[lU,Jde,_de])))}function CLe(){CLe=_,Lon=lt((mT(),I(S(g0e,1),ae,430,0,[b0e,w0e,AU])))}function TLe(){TLe=_,Don=lt((DC(),I(S(d0e,1),ae,429,0,[EU,a0e,h0e])))}function SLe(){SLe=_,Bon=lt((W7(),I(S(MU,1),ae,435,0,[EO,AO,MO])))}function ILe(){ILe=_,Wsn=lt((El(),I(S(Fbe,1),ae,279,0,[N5,Gg,D5])))}function PLe(){PLe=_,Zsn=lt((la(),I(S(Wbe,1),ae,347,0,[FO,d1,O8])))}function OLe(){OLe=_,hfn=lt((c9(),I(S(nwe,1),ae,300,0,[hA,tX,ewe])))}function NLe(){NLe=_,bfn=lt(($m(),I(S(rwe,1),ae,281,0,[iwe,qg,HO])))}function PC(){PC=_,Vle=new KW("QUADRATIC",0),vq=new KW("SCANLINE",1)}function k7(e){return!e.g&&(e.g=new YA),!e.g.c&&(e.g.c=new $je(e)),e.g.c}function r6n(e){return!e.g&&(e.g=new YA),!e.g.a&&(e.g.a=new Lje(e)),e.g.a}function c6n(e){return!e.g&&(e.g=new YA),!e.g.b&&(e.g.b=new Nje(e)),e.g.b}function u6n(e){return!e.g&&(e.g=new YA),!e.g.d&&(e.g.d=new Dje(e)),e.g.d}function o6n(e,n,t,i){return t&&(i=t.Oh(n,vi(t.Ah(),e.c.sk()),null,i)),i}function s6n(e,n,t,i){return t&&(i=t.Qh(n,vi(t.Ah(),e.c.sk()),null,i)),i}function $F(e,n,t,i){var r;return r=W(bt,Pt,30,n+1,15,1),EOn(r,e,n,t,i),r}function W(e,n,t,i,r,c){var o;return o=hJe(r,i),r!=10&&I(S(e,c),n,t,r,o),o}function f6n(e,n,t){var i,r;for(r=new _v(n,e),i=0;i<t;++i)FT(r);return r}function FF(e,n,t){var i,r;if(t!=null)for(i=0;i<n;++i)r=t[i],e.Oi(i,r)}function JZ(e,n){var t;return t=new ei,t.c=!0,t.d=n.kd(),dXe(e,n.jd(),t)}function l6n(e,n){var t;t=e.q.getHours()+(n/3600|0),e.q.setSeconds(n),q9(e,t)}function GZ(e,n){var t,i;return t=n,i=uC(gv(new qF(e,t))),Lx(new qF(e,t)),i}function nl(e,n){return!e.o&&(e.o=new mo((su(),qh),b1,e,0)),XB(e.o,n)}function HZ(e,n,t){u(e.b,68),u(e.b,68),u(e.b,68),Tu(e.a,new OSe(t,n,e))}function h6n(e,n,t,i){bUe(e,n,t,v4(e,n,i,F(n,103)&&(u(n,19).Bb&Vr)!=0))}function Tr(e,n,t){if(e<0||n>t||n<e)throw C(new dW(LS+e+Pce+n+Tce+t))}function DLe(e,n,t){this.d=new aM,this.c=new Vn,this.a=e,this.e=n,this.c=t}function BF(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new ve)}function RF(e,n){NM.call(this,e,n),this.a=W(pFn,IS,438,2,0,1),this.b=!0}function qZ(e){KBe.call(this,e,0),ETe(this),this.d.b=this.d,this.d.a=this.d}function zZ(e){this.e=e,this.b=this.e.a.entries(),this.a=W(ir,ln,1,0,5,1)}function Bu(e){QL(this),n7(e>=0,"Initial capacity must not be negative")}function B1(e,n){var t,i;return t=e.a-n.a,i=e.b-n.b,v.Math.sqrt(t*t+i*i)}function UZ(e,n,t){var i;i=e.b[t.c.p][t.p],i.b+=n.b,i.c+=n.c,i.a+=n.a,++i.a}function LLe(){LLe=_,ucn=Au(kt(new $i,(dr(),Ff),(yr(),cq)),fc,b3)}function a6n(){return Hm(),I(S(l5,1),ae,231,0,[f5,Ry,s5,yg,dp,ap])}function d6n(){return eS(),I(S(ohe,1),ae,284,0,[Iq,Sq,Oq,Pq,Nq,AP])}function b6n(){return sj(),I(S(bhe,1),ae,282,0,[xP,hhe,dhe,lhe,ahe,Dq])}function w6n(){return l4(),I(S(yhe,1),ae,283,0,[Jy,ghe,vhe,mhe,phe,whe])}function g6n(){return Th(),I(S(z0e,1),ae,256,0,[$U,QE,YE,PO,SO,IO])}function p6n(){return vr(),I(S(Ybe,1),ae,102,0,[kd,Jl,$5,I0,Hh,yu])}function m6n(){return To(),I(S(BO,1),ae,280,0,[jd,Aa,lA,$8,L8,$3])}function v6n(){return c0(),I(S(_U,1),ae,299,0,[RU,T8,C8,BU,M8,x8])}function y6n(){return YT(),I(S(Hbe,1),ae,328,0,[nX,_be,Gbe,Bbe,Jbe,Rbe])}function XZ(e){var n;return!e.a&&e.b!=-1&&(n=e.c.Ah(),e.a=un(n,e.b)),e.a}function it(e,n){return e.Qi()&&e.Gc(n)?!1:(e.Fi(n),!0)}function tl(e,n){return f7(n,"Horizontal alignment cannot be null"),e.b=n,e}function $Le(e,n,t){_t();var i;return i=Y1(e,n),t&&i&&_mn(e)&&(i=null),i}function Ha(e,n,t){var i,r;for(r=e.Jc();r.Ob();)i=u(r.Pb(),36),p4(i,n,t)}function KZ(e,n){var t,i;for(i=n.Jc();i.Ob();)t=u(i.Pb(),36),Jze(e,t,0,0)}function k6n(e){var n,t;for(t=rt(e.a,0);t.b!=t.d.c;)n=u(tt(t),65),Tie(n)}function FLe(e,n){return $Me(e.e,n)||i0(e.e,n,new L_e(n)),u(jl(e.e,n),113)}function Bo(e,n,t,i){return bn(e),bn(n),bn(t),bn(i),new mY(e,n,new ku)}function mo(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=new gY(this,n,t,i)}function _F(e,n,t,i,r,c){wZ.call(this,n,i,r,c),this.c=e,this.b=t}function j7(e,n,t,i,r,c){wZ.call(this,n,i,r,c),this.c=e,this.a=t}function E7(e,n){var t,i,r;return r=e.r,i=e.d,t=X9(e,n,!0),t.b!=r||t.a!=i}function A7(e,n,t){var i,r;return r=(i=d4(e.b,n),i),r?AS(T7(e,r),t):null}function j6n(e,n,t){var i,r,c;i=na(e,t),r=null,i&&(r=aie(i)),c=r,O_e(n,t,c)}function E6n(e,n,t){var i,r,c;i=na(e,t),r=null,i&&(r=aie(i)),c=r,O_e(n,t,c)}function WZ(e,n,t){var i;e.d[n.g]=t,i=e.g.c,i[n.g]=v.Math.max(i[n.g],t+1)}function Pv(e,n){var t;return t=e.Fh(n),t>=0?e.Ih(t,!0,!0):yb(e,n,!0)}function A6n(e,n){var t;return t=yn(e.k,n),cre(e,n),o_(e,n),Wie(e,n,t),null}function M6n(e){var n;if(!e.a)throw C(new fOe);return n=e.a,e.a=pi(e.a),n}function x6n(e){if(e.b<=0)throw C(new Dc);return--e.b,e.a-=e.c.c,fe(e.a)}function C6n(e,n,t){var i;return i=RBe(e,n,t),e.b=new nT(i.c.length),dre(e,i)}function Sm(e){var n;return st(e),F(e,204)?(n=u(e,204),n):new w8e(e)}function T6n(e){for(;!e.a;)if(!ySe(e.c,new q8e(e)))return!1;return!0}function S6n(e,n){e.a.Le(n.d,e.b)>0&&(me(e.c,new XQ(n.c,n.d,e.d)),e.b=n.d)}function VZ(e,n){if(e.g==null||n>=e.i)throw C(new zL(n,e.i));return e.g[n]}function BLe(e){var n;if(e.ll())for(n=e.i-1;n>=0;--n)B(e,n);return vZ(e)}function I6n(e){OC(),u(e.mf((Et(),Rg)),182).Ec((To(),lA)),e.of(VU,null)}function OC(){OC=_,fsn=new W4e,hsn=new V4e,lsn=qyn((Et(),VU),fsn,md,hsn)}function NC(){NC=_,yde=new oV("LEAF_NUMBER",0),cU=new oV("NODE_SIZE",1)}function RLe(){RLe=_,yS(),Wwe=Ai,kln=lr,Vwe=new hk(Ai),jln=new hk(lr)}function P6n(e){return F(e,180)?""+u(e,180).a:e==null?null:Oc(e)}function O6n(e){return F(e,180)?""+u(e,180).a:e==null?null:Oc(e)}function Os(e,n,t,i,r){return n<0?yb(e,t,i):u(t,69).uk().wk(e,e.ei(),n,i,r)}function Ov(e,n,t,i){var r;i=(tb(),i||jfe),r=e.slice(n,t),jie(r,e,n,t,-n,i)}function _Le(e,n){var t,i;return i=n/e.c.Pd().gc()|0,t=n%e.c.Pd().gc(),Tm(e,i,t)}function QZ(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[0];)t=n;return t}function JLe(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[1];)t=n;return t}function GLe(e,n,t){if(Uv(e,t),t!=null&&!e.dk(t))throw C(new BD);return t}function JF(e,n){return P7(n)!=10&&I(Zo(n),n.Qm,n.__elementTypeId$,P7(n),e),e}function YZ(e,n){ux.call(this,n.xd(),n.wd()&-16449),bn(e),this.a=e,this.c=n}function ZZ(e,n,t,i,r){_Ce(this),this.b=e,this.d=n,this.f=t,this.g=i,this.c=r}function HLe(e,n){if(n.a)throw C(new Lc(DKe));Hi(e.a,n),n.a=e,!e.j&&(e.j=n)}function Co(){Co=_,dh=new wL(n3,0),od=new wL(P4,1),Lf=new wL(t3,2)}function Nv(){Nv=_,LH=new DM("All",0),$H=new CCe,FH=new BCe,BH=new TCe}function qLe(){qLe=_,wZe=lt((Nv(),I(S(HI,1),ae,310,0,[LH,$H,FH,BH])))}function zLe(){zLe=_,dnn=lt((hT(),I(S(ann,1),ae,367,0,[sq,gP,pP,yE])))}function ULe(){ULe=_,enn=lt((Rm(),I(S(nle,1),ae,383,0,[$y,ele,nq,tq])))}function XLe(){XLe=_,ren=lt((hb(),I(S(ien,1),ae,409,0,[wE,bE,HH,qH])))}function KLe(){KLe=_,Ken=lt((Hv(),I(S(Xen,1),ae,408,0,[Fb,gg,wg,fp])))}function WLe(){WLe=_,Lnn=lt((E9(),I(S(ehe,1),ae,301,0,[_y,Yle,jE,Zle])))}function VLe(){VLe=_,qrn=lt((Uw(),I(S(Az,1),ae,203,0,[nO,Ez,Mp,Ap])))}function QLe(){QLe=_,Xrn=lt((aa(),I(S(j1e,1),ae,269,0,[bd,k1e,Tz,Sz])))}function YLe(){YLe=_,Ann=lt((If(),I(S(Enn,1),ae,413,0,[vg,u5,o5,fq])))}function ZLe(){ZLe=_,ycn=lt((t0(),I(S(vcn,1),ae,404,0,[_E,s8,cO,rO])))}function e$e(){e$e=_,ron=lt((JT(),I(S(Rde,1),ae,354,0,[fU,Fde,Bde,$de])))}function n$e(){n$e=_,Tun=lt((w9(),I(S(gde,1),ae,353,0,[Yz,bO,Qz,Vz])))}function t$e(){t$e=_,iun=lt((Gm(),I(S(B1e,1),ae,398,0,[fO,h8,a8,d8])))}function i$e(){i$e=_,son=lt((QT(),I(S(oon,1),ae,401,0,[wU,aU,bU,dU])))}function r$e(){r$e=_,Ksn=lt((Wv(),I(S($be,1),ae,278,0,[cA,$O,Dbe,Lbe])))}function c$e(){c$e=_,Vsn=lt((ha(),I(S(eX,1),ae,222,0,[ZU,uA,L5,L3])))}function u$e(){u$e=_,nfn=lt((bs(),I(S(efn,1),ae,292,0,[sA,Jh,vd,oA])))}function o$e(){o$e=_,wfn=lt((jC(),I(S(gA,1),ae,288,0,[cwe,owe,rX,uwe])))}function s$e(){s$e=_,afn=lt((ts(),I(S(F8,1),ae,380,0,[dA,P0,aA,Hg])))}function f$e(){f$e=_,gfn=lt((AT(),I(S(hwe,1),ae,327,0,[cX,swe,lwe,fwe])))}function l$e(){l$e=_,vfn=lt((dT(),I(S(mfn,1),ae,407,0,[uX,dwe,awe,bwe])))}function M7(){M7=_,she=new VW(ul,0),MP=new VW("IMPROVE_STRAIGHTNESS",1)}function DC(){DC=_,EU=new FL(YWe,0),a0e=new FL(voe,1),h0e=new FL(ul,2)}function GF(e){e.a=W(bt,Pt,30,e.b+1,15,1),e.c=W(bt,Pt,30,e.b,15,1),e.d=0}function x7(e){var n;for(n=e.p+1;n<e.c.a.c.length;++n)--u(Ce(e.c.a,n),9).p}function HF(e){var n;n=e.hj(),n!=null&&e.d!=-1&&u(n,94).uh(e),e.i&&e.i.mj()}function qa(e){var n;return Ic(e)&&(n=0-e,!isNaN(n))?n:_1(qv(e))}function eee(e){var n;if(!oB(e))throw C(new Dc);return e.e=1,n=e.d,e.d=null,n}function qF(e,n){var t;this.f=e,this.b=n,t=u(yn(e.b,n),262),this.c=t?t.b:null}function no(e,n){var t;return t=Rc(e,n,0),t==-1?!1:(Ga(e,t),!0)}function h$e(e,n){var t;return t=u(Cm(e.e,n),393),t?(VQ(t),t.e):null}function Rc(e,n,t){for(;t<e.c.length;++t)if(du(n,e.c[t]))return t;return-1}function a$e(e,n,t){var i;return N1(e),i=new ph,i.a=n,e.a.Nb(new HMe(i,t)),i.a}function N6n(e){var n;return N1(e),n=W(jr,wc,30,0,15,1),l2(e.a,new J8e(n)),n}function D6n(e,n){return Qt(J(H(k(e,(se(),Gb)))),J(H(k(n,Gb))))}function L6n(e,n){return new j$(n,pw(zr(n.e),n.f.a+e,n.f.b+e),(gn(),!1))}function $6n(e,n){return pv(),me(e,new Wr(n,fe(n.e.c.length+n.g.c.length)))}function F6n(e,n){return pv(),me(e,new Wr(n,fe(n.e.c.length+n.g.c.length)))}function LC(e,n){return du(n,Ce(e.f,0))||du(n,Ce(e.f,1))||du(n,Ce(e.f,2))}function C7(e,n){if(n<0)throw C(new $u(dVe+n));return iDe(e,n+1),Ce(e.j,n)}function B6n(e,n,t,i,r){return bn(e),bn(n),bn(t),bn(i),bn(r),new mY(e,n,i)}function nee(e,n){l6();var t,i;return t=Mm(e),i=Mm(n),!!t&&!!i&&!__e(t.k,i.k)}function T7(e,n){var t,i;return t=u(n,680),i=t.ui(),!i&&t.xi(i=new Wxe(e,n)),i}function vc(e,n){var t,i;return t=u(n,682),i=t.Yk(),!i&&t.al(i=new SNe(e,n)),i}function zF(e){var n,t;return t=u(Ce(e.j,0),12),n=u(k(t,(se(),Ut)),12),n}function Ro(e){return e.b||(e.b=new NIe(e,hc,e),!e.a&&(e.a=new Kk(e,e))),e.b}function i9(){i9=_,WH=new pL("XY",0),KH=new pL("X",1),VH=new pL("Y",2)}function S7(){S7=_,Iz=new ZW("INPUT_ORDER",0),Pz=new ZW("PORT_DEGREE",1)}function d$e(){os(),this.b=new Vn,this.f=new Vn,this.g=new Vn,this.e=new Vn}function $C(e){lx(this),this.g=e?sC(e,e.ge()):null,this.f=e,iC(this),this.he()}function ca(e,n,t,i,r,c,o){nB.call(this,n,i,r,c,o),this.c=e,this.b=t}function b$e(e,n,t,i){if(!e)throw C(new An(J9(n,I(S(ir,1),ln,1,5,[t,i]))))}function Ch(e,n,t){var i,r;for(i=10,r=0;r<t-1;r++)n<i&&(e.a+="0"),i*=10;e.a+=n}function w$e(e,n){Nfe=new X5,cen=n,Ny=e,u(Ny.b,68),HZ(Ny,Nfe,null),UUe(Ny)}function FC(e){var n,t;return t=e.length,n=W(Ks,uh,30,t,15,1),cPe(e,0,t,n,0),n}function I7(e){pIe();var n,t;return n=e+128,t=ofe[n],!t&&(t=ofe[n]=new O8e(e)),t}function g$e(e){return p$(e.d.a.e.g,e.b),Hn(e.c!=e.d.a.d),e.a=e.c,e.c=e.c.a,e.a}function p$e(e){ww(!!e.c),p$(e.f.g,e.d),e.c.Qb(),e.c=null,e.b=Gee(e),e.d=e.f.g}function tee(e){var n;return e.Lh()||(n=Un(e.Ah())-e.gi(),e.Xh().Kk(n)),e.wh()}function iee(e){var n;return n=Pm(xn(e,32)),n==null&&(Uu(e),n=Pm(xn(e,32))),n}function UF(e,n){var t;return t=vi(e.d,n),t>=0?$T(e,t,!0,!0):yb(e,n,!0)}function R6n(e,n){dm(u(u(e.f,26).mf((Et(),S8)),102))&&URe(BY(u(e.f,26)),n)}function m$e(e,n){_o(e,n==null||jx((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function v$e(e,n){fb(e,n==null||jx((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function y$e(e,n){sb(e,n==null||jx((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function k$e(e,n){Jo(e,n==null||jx((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function j$e(e){(this.q?this.q:(tn(),tn(),$h)).zc(e.q?e.q:(tn(),tn(),$h))}function XF(e,n,t){var i;return i=e.g[n],N6(e,n,e.Xi(n,t)),e.Pi(n,t,i),e.Li(),i}function BC(e,n){var t;return t=e.bd(n),t>=0?(e.ed(t),!0):!1}function KF(e){var n;return e.d!=e.r&&(n=rf(e),e.e=!!n&&n.jk()==ZQe,e.d=n),e.e}function WF(e,n){var t;for(st(e),st(n),t=!1;n.Ob();)t=t|e.Ec(n.Pb());return t}function jl(e,n){var t;return t=u(yn(e.e,n),393),t?(VCe(e,t),t.e):null}function VF(e){var n;return n=e.b.c.length==0?null:Ce(e.b,0),n!=null&&cB(e,0),n}function Pc(e,n){var t,i;return z1(e),i=new FZ(n,e.a),t=new jSe(i),new We(e,t)}function to(){to=_,fl=new gL("TOP",0),sd=new gL(P4,1),$f=new gL($ce,2)}function ua(){ua=_,xE=new EL(ul,0),gp=new EL("TOP",1),w3=new EL($ce,2)}function r9(){r9=_,Qen=new VN,Yen=new JA,Wen=new QN,Ven=new YN,Zen=new ZN}function Dv(){Dv=_,ife=zu(zo,zo,524287),ZYe=zu(0,0,Fj),rfe=PF(1),PF(2),cfe=PF(0)}function Lw(e,n){var t=e.a[n],i=(yB(),SH)[typeof t];return i?i(t):wne(typeof t)}function E$e(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t)}function _6n(e){return Ste(e,(Dv(),cfe))<0?-Gbn(qv(e)):e.l+e.m*e3+e.h*f0}function J6n(e){switch(e.g){case 0:return Ft;case 1:return Mr;default:return 0}}function P7(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function G6n(e,n){return F(n,103)&&(u(n,19).Bb&Vr)!=0?new UL(n,e):new _v(n,e)}function H6n(e,n){return F(n,103)&&(u(n,19).Bb&Vr)!=0?new UL(n,e):new _v(n,e)}function q6n(e,n,t){return sm(new de(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)==(bn(n),n)}function z6n(e,n){var t,i,r;r=n.c.i,t=u(yn(e.f,r),60),i=t.d.c-t.e.c,Lee(n.a,i,0)}function ree(e,n){var t;for(++e.d,++e.c[n],t=n+1;t<e.a.length;)++e.a[t],t+=t&-t}function U6n(e,n){var t;for(t=0;e.e!=e.i.gc();)mmn(n,Gn(e),fe(t)),t!=Ft&&++t}function A$e(e){var n;for(++e.a,n=e.c.a.length;e.a<n;++e.a)if(e.c.b[e.a])return}function X6n(e){var n,t;if(e.a){t=null;do n=e.a,e.a=null,t=qGe(n,t);while(e.a);e.a=t}}function K6n(e){var n,t;if(e.b){t=null;do n=e.b,e.b=null,t=qGe(n,t);while(e.b);e.b=t}}function cee(e){if(!e.c)throw C(new Dc);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function M$e(e){if(!e.e)throw C(new Dc);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function W6n(e,n){var t;return t=db(e.e.c,n.e.c),t==0?Qt(e.e.d,n.e.d):t}function V6n(e,n){var t,i;for(i=n.c,t=i+1;t<=n.f;t++)e.a[t]>e.a[i]&&(i=t);return i}function x$e(e){var n;return n=u(k(e,(se(),_b)),318),n?n.a==e:!1}function C$e(e){var n;return n=u(k(e,(se(),_b)),318),n?n.i==e:!1}function T$e(e,n){return n==(m$(),m$(),aZe)?e.toLocaleLowerCase():e.toLowerCase()}function S$e(){S$e=_,Hen=lt((dr(),I(S(Yfe,1),ae,363,0,[Ff,Fh,vu,lu,fc])))}function I$e(){I$e=_,zrn=lt((x9(),I(S(Cz,1),ae,303,0,[w1e,Mz,xz,r8,E5])))}function P$e(){P$e=_,xnn=lt((Xw(),I(S(Mnn,1),ae,371,0,[kE,yP,kP,vP,mP])))}function O$e(){O$e=_,$un=lt((WT(),I(S(Lun,1),ae,364,0,[iU,eU,rU,nU,tU])))}function N$e(){N$e=_,Fon=lt((B9(),I(S($on,1),ae,369,0,[Ip,T3,E8,j8,WE])))}function D$e(){D$e=_,Hon=lt((lj(),I(S(j0e,1),ae,330,0,[v0e,SU,k0e,IU,y0e])))}function L$e(){L$e=_,Ynn=lt((es(),I(S($he,1),ae,165,0,[IE,Xy,ya,Ky,k0])))}function $$e(){$$e=_,asn=lt((th(),I(S(Fl,1),ae,160,0,[on,Ri,al,h1,ja])))}function F$e(){F$e=_,Xsn=lt((Vi(),I(S(I8,1),ae,86,0,[_l,Tc,Ec,Rl,zs])))}function B$e(){B$e=_,ufn=lt((ke(),I(S(Yr,1),fu,64,0,[qc,Cn,Ln,Xn,Tn])))}function R$e(){R$e=_,ifn=lt((R2(),I(S(D8,1),ae,257,0,[yd,fA,Vbe,N8,Qbe])))}function RC(){RC=_,zH=new zW("EADES",0),XI=new zW("FRUCHTERMAN_REINGOLD",1)}function O7(){O7=_,EP=new WW("READING_DIRECTION",0),che=new WW("ROTATION",1)}function _$e(e){this.g=e,this.f=new ve,this.a=v.Math.min(this.g.c.c,this.g.d.c)}function J$e(e){this.b=new ve,this.a=new ve,this.c=new ve,this.d=new ve,this.e=e}function G$e(e,n,t,i){_t(),J0.call(this,26),this.c=e,this.a=n,this.d=t,this.b=i}function H$e(e,n,t){yx.call(this),uee(this),this.a=e,this.c=t,this.b=n.d,this.f=n.e}function Q6n(e,n,t){var i,r;for(r=new x(t);r.a<r.c.c.length;)i=M(r),zte(e,n,i)}function Y6n(e,n,t){var i;return i=e.a.e[u(n.a,9).p]-e.a.e[u(t.a,9).p],Br(i7(i))}function QF(e,n){var t;return t=u(yn(e.a,n),150),t||(t=new uk,It(e.a,n,t)),t}function Cf(e,n,t){var i;if(n==null)throw C(new Up);return i=na(e,n),l5n(e,n,t),i}function un(e,n){var t;return t=(e.i==null&&rh(e),e.i),n>=0&&n<t.length?t[n]:null}function q$e(e,n){return bn(n),dY(e),e.d.Ob()?(n.Ad(e.d.Pb()),!0):!1}function _C(e){return Su(e,Ft)>0?Ft:Su(e,Mr)<0?Mr:wt(e)}function Z6n(e,n){return Im(),-Eu(u(k(e,(Wc(),Cp)),15).a,u(k(n,Cp),15).a)}function e9n(){return pn(),I(S(iq,1),ae,249,0,[Mi,qi,Ui,Nu,hu,Ll,mE,Fy])}function n9n(){return a4(),I(S(VO,1),ae,244,0,[lX,KO,WO,XO,fX,UO,zO,sX])}function t9n(){return u0(),I(S(dsn,1),ae,285,0,[G0e,nr,Gr,I3,Pr,gi,S3,Bl])}function i9n(){return wS(),I(S(Wle,1),ae,275,0,[aq,wq,hq,mq,bq,dq,pq,gq])}function z$e(e,n){return!!f9(e,n,wt(Jr(Oh,Mh(wt(Jr(n==null?0:si(n),Nh)),15))))}function r9n(e,n){var t;return t=n>0?n-1:n,aAe(Kdn(hFe(WQ(new Wp,t),e.n),e.j),e.k)}function yc(e){var n,t;t=(n=new HD,n),it((!e.q&&(e.q=new ue(bf,e,11,10)),e.q),t)}function c9n(e,n){var t,i;return t=u(Gw(e.d,n),18),t?(i=n,e.e.pc(i,t)):null}function JC(e,n){var t;return z1(e),t=new nOe(e,e.a.xd(),e.a.wd()|4,n),new We(e,t)}function YF(e){var n;ww(!!e.c),n=e.c.a,Ns(e.d,e.c),e.b==e.c?e.b=n:--e.a,e.c=null}function U$e(e){return e.a>=-.01&&e.a<=Il&&(e.a=0),e.b>=-.01&&e.b<=Il&&(e.b=0),e}function u9n(e){var n;return n=J(H(k(e,(ye(),o1)))),n<0&&(n=0,Q(e,o1,n)),n}function o9n(e,n){dm(u(k(u(e.e,9),(ye(),Ti)),102))&&(tn(),ur(u(e.e,9).j,n))}function GC(e,n){var t,i;for(i=e.Jc();i.Ob();)t=u(i.Pb(),70),Q(t,(se(),y3),n)}function s9n(e,n,t){var i;i=v.Math.max(0,e.b/2-.5),S9(t,i,1),me(n,new KMe(t,i))}function f9n(e,n,t,i){var r;e.j=-1,Lie(e,die(e,n,t),(nc(),r=u(n,69).tk(),r.vl(i)))}function X$e(e,n,t,i,r,c){var o;o=OF(i),Rr(o,r),Er(o,c),Ve(e.a,i,new Ex(o,n,t.f))}function K$e(e,n){Yt(e,(Sh(),pU),n.f),Yt(e,lon,n.e),Yt(e,gU,n.d),Yt(e,fon,n.c)}function l9n(e,n){if(0>e||e>n)throw C(new bW("fromIndex: 0, toIndex: "+e+Tce+n))}function ob(e){if(e<0)throw C(new An("Illegal Capacity: "+e));this.g=this.$i(e)}function W$e(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=(gM(),AH)}function $w(e,n){var t;for(t=e;pi(t);)if(t=pi(t),t==n)return!0;return!1}function h9n(e,n){return n&&e.b[n.g]==n?(Ni(e.b,n.g,null),--e.c,!0):!1}function Ns(e,n){var t;return t=n.c,n.a.b=n.b,n.b.a=n.a,n.a=n.b=null,n.c=null,--e.b,t}function V$e(e,n){var t;if(t=vj(e.Ah(),n),!t)throw C(new An(rd+n+GG));return t}function S2(e){w4();var n,t;for(t=joe,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return t}function a9n(e){var n;for(n=0;n<e.c.length;n++)(en(n,e.c.length),u(e.c[n],12)).p=n}function d9n(e){var n,t;for(n=e.a.d.j,t=e.c.d.j;n!=t;)Sf(e.b,n),n=vT(n);Sf(e.b,n)}function b9n(e,n){var t,i,r;for(i=n.a.jd(),t=u(n.a.kd(),18).gc(),r=0;r<t;r++)e.Ad(i)}function Tu(e,n){var t,i,r,c;for(bn(n),i=e.c,r=0,c=i.length;r<c;++r)t=i[r],n.Ad(t)}function ZF(e,n){var t,i,r,c;for(i=e.d,r=0,c=i.length;r<c;++r)t=i[r],pl(e.g,t).a=n}function w9n(e,n,t){var i,r,c;for(r=n[t],i=0;i<r.length;i++)c=r[i],e.e[c.c.p][c.p]=i}function Q$e(e,n,t){var i,r;i=n;do r=J(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];while(i!=n)}function g9n(e){var n;return n=v.Math.sqrt(e.a*e.a+e.b*e.b),n>0&&(e.a/=n,e.b/=n),e}function HC(e){this.b=(st(e),new Mo(e)),this.a=new ve,this.d=new ve,this.e=new xr}function uee(e){e.b=(Co(),od),e.f=(to(),sd),e.d=(as(2,rg),new Bu(2)),e.e=new xr}function il(){il=_,Yc=new bL("BEGIN",0),Hu=new bL(P4,1),Zc=new bL("END",2)}function El(){El=_,N5=new _L(P4,0),Gg=new _L("HEAD",1),D5=new _L("TAIL",2)}function Im(){Im=_,Pun=nh(nh(nh(d6(new $i,(Gm(),h8)),(G9(),Rz)),G1e),U1e)}function oa(){oa=_,Nun=nh(nh(nh(d6(new $i,(Gm(),d8)),(G9(),q1e)),R1e),H1e)}function Y$e(){Y$e=_,zI=(il(),I(S(bg,1),ae,237,0,[Yc,Hu,Zc])).length,JH=zI}function Z$e(e,n){for(;n[0]<e.length&&Kl(` \r
7
+ M${jn.x},${jn.y}h${jn.width}v${jn.height}h${-jn.width}z`,fillRule:"evenodd",pointerEvents:"none"})]})})}Yan.displayName="MiniMap";const bGn=cn.memo(Yan),wGn=p=>E=>p?`${Math.max(1/E.transform[2],1)}`:void 0,gGn={[DA.Line]:"right",[DA.Handle]:"bottom-right"};function pGn({nodeId:p,position:E,variant:P=DA.Handle,className:N,style:D=void 0,children:$,color:v,minWidth:q=10,minHeight:te=10,maxWidth:ie=Number.MAX_VALUE,maxHeight:pe=Number.MAX_VALUE,keepAspectRatio:oe=!1,resizeDirection:z,autoScale:ne=!0,shouldResize:Z,onResizeStart:U,onResize:Ee,onResizeEnd:re}){const we=qge(),ee=typeof p=="string"?p:we,xe=cs(),Qe=cn.useRef(null),Xe=P===DA.Handle,Ze=Sc(cn.useCallback(wGn(Xe&&ne),[Xe,ne]),xs),vn=cn.useRef(null),jn=E??gGn[P];cn.useEffect(()=>{if(!(!Qe.current||!ee))return vn.current||(vn.current=zRn({domNode:Qe.current,nodeId:ee,getStoreItems:()=>{const{nodeLookup:Dn,transform:Kn,snapGrid:_,snapToGrid:je,nodeOrigin:rn,domNode:sn}=xe.getState();return{nodeLookup:Dn,transform:Kn,snapGrid:_,snapToGrid:je,nodeOrigin:rn,paneDomNode:sn}},onChange:(Dn,Kn)=>{const{triggerNodeChanges:_,nodeLookup:je,parentLookup:rn,nodeOrigin:sn}=xe.getState(),Sn=[],Bn={x:Dn.x,y:Dn.y},dn=je.get(ee);if(dn&&dn.expandParent&&dn.parentId){const Jn=dn.origin??sn,Nn=Dn.width??dn.measured.width??0,qn=Dn.height??dn.measured.height??0,Jt={id:dn.id,parentId:dn.parentId,rect:{width:Nn,height:qn,...Vhn({x:Dn.x??dn.position.x,y:Dn.y??dn.position.y},{width:Nn,height:qn},dn.parentId,je,Jn)}},Xt=Gge([Jt],je,rn,sn);Sn.push(...Xt),Bn.x=Dn.x?Math.max(Jn[0]*Nn,Dn.x):void 0,Bn.y=Dn.y?Math.max(Jn[1]*qn,Dn.y):void 0}if(Bn.x!==void 0&&Bn.y!==void 0){const Jn={id:ee,type:"position",position:{...Bn}};Sn.push(Jn)}if(Dn.width!==void 0&&Dn.height!==void 0){const Nn={id:ee,type:"dimensions",resizing:!0,setAttributes:z?z==="horizontal"?"width":"height":!0,dimensions:{width:Dn.width,height:Dn.height}};Sn.push(Nn)}for(const Jn of Kn){const Nn={...Jn,type:"position"};Sn.push(Nn)}_(Sn)},onEnd:({width:Dn,height:Kn})=>{const _={id:ee,type:"dimensions",resizing:!1,dimensions:{width:Dn,height:Kn}};xe.getState().triggerNodeChanges([_])}})),vn.current.update({controlPosition:jn,boundaries:{minWidth:q,minHeight:te,maxWidth:ie,maxHeight:pe},keepAspectRatio:oe,resizeDirection:z,onResizeStart:U,onResize:Ee,onResizeEnd:re,shouldResize:Z}),()=>{var Dn;(Dn=vn.current)==null||Dn.destroy()}},[jn,q,te,ie,pe,oe,U,Ee,re,Z]);const et=jn.split("-");return le.jsx("div",{className:Xf(["react-flow__resize-control","nodrag",...et,P,N]),ref:Qe,style:{...D,scale:Ze,...v&&{[Xe?"backgroundColor":"borderColor"]:v}},children:$})}cn.memo(pGn);const mGn=p=>{var E;return(E=p.domNode)==null?void 0:E.querySelector(".react-flow__renderer")};function vGn({children:p}){const E=Sc(mGn);return E?Nhn.createPortal(p,E):null}const yGn=(p,E)=>(p==null?void 0:p.internals.positionAbsolute.x)!==(E==null?void 0:E.internals.positionAbsolute.x)||(p==null?void 0:p.internals.positionAbsolute.y)!==(E==null?void 0:E.internals.positionAbsolute.y)||(p==null?void 0:p.measured.width)!==(E==null?void 0:E.measured.width)||(p==null?void 0:p.measured.height)!==(E==null?void 0:E.measured.height)||(p==null?void 0:p.selected)!==(E==null?void 0:E.selected)||(p==null?void 0:p.internals.z)!==(E==null?void 0:E.internals.z),kGn=(p,E)=>{if(p.size!==E.size)return!1;for(const[P,N]of p)if(yGn(N,E.get(P)))return!1;return!0},jGn=p=>({x:p.transform[0],y:p.transform[1],zoom:p.transform[2],selectedNodesCount:p.nodes.filter(E=>E.selected).length});function EGn({nodeId:p,children:E,className:P,style:N,isVisible:D,position:$=ji.Top,offset:v=10,align:q="center",...te}){var Qe;const ie=qge(),pe=cn.useCallback(Xe=>(Array.isArray(p)?p:[p||ie||""]).reduce((jn,et)=>{const Dn=Xe.nodeLookup.get(et);return Dn&&jn.set(Dn.id,Dn),jn},new Map),[p,ie]),oe=Sc(pe,kGn),{x:z,y:ne,zoom:Z,selectedNodesCount:U}=Sc(jGn,xs);if(!(typeof D=="boolean"?D:oe.size===1&&((Qe=oe.values().next().value)==null?void 0:Qe.selected)&&U===1)||!oe.size)return null;const re=LA(oe),we=Array.from(oe.values()),ee=Math.max(...we.map(Xe=>Xe.internals.z+1)),xe={position:"absolute",transform:wRn(re,{x:z,y:ne,zoom:Z},$,v,q),zIndex:ee,...N};return le.jsx(vGn,{children:le.jsx("div",{style:xe,className:Xf(["react-flow__node-toolbar",P]),...te,"data-id":we.reduce((Xe,Ze)=>`${Xe}${Ze.id} `,"").trim(),children:E})})}function jN(){const[p,E]=cn.useState(()=>typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)").matches:!1);return cn.useEffect(()=>{const P=window.matchMedia("(prefers-reduced-motion: reduce)"),N=D=>E(D.matches);return P.addEventListener("change",N),()=>P.removeEventListener("change",N)},[]),p}const AGn=.6,MGn=1.2;function xGn(p){return p<AGn?"compact":p>MGn?"expanded":"default"}function Zan(){return Sc(p=>xGn(p.transform[2]))}function zge(p){return p.color??p.namespaceColor??void 0}const CGn=.2,TGn=.25,SGn={compact:120,default:200,expanded:240};function e1n({status:p}){return le.jsx("span",{"aria-hidden":!0,title:$X[p].label,className:i2("size-1.5 shrink-0 rounded-full",$X[p].dot)})}function n1n({d:p}){const E=Math.max(0,p.capabilities.length-3);return le.jsxs(le.Fragment,{children:[le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx(Dhn,{color:p.avatarColor,emoji:p.emoji,size:"sm"}),le.jsx("span",{className:"text-foreground truncate text-sm font-medium",children:p.label}),le.jsx(e1n,{status:p.healthStatus})]}),le.jsxs("div",{className:"mt-1 flex flex-wrap gap-1",children:[le.jsx(oN,{size:"xs",variant:"secondary",children:p.runtime}),p.capabilities.slice(0,3).map(P=>le.jsx(oN,{size:"xs",variant:"outline",children:P},P)),E>0&&le.jsxs(oN,{size:"xs",tone:"neutral",variant:"outline",children:["+",E]})]})]})}function IGn({d:p,selected:E}){const P=zge(p);return le.jsxs("div",{className:i2("bg-card flex w-[120px] items-center gap-1.5 rounded-full border px-2 py-0.5 shadow-sm",E&&"ring-primary ring-2"),style:P?{borderLeft:`3px solid ${P}`}:void 0,children:[le.jsx(ew,{type:"target",position:ji.Left,className:"bg-muted-foreground!"}),le.jsx(Dhn,{color:p.avatarColor,emoji:p.emoji,size:"xs"}),le.jsx("span",{className:"text-foreground truncate text-xs font-medium",children:p.label}),le.jsx(e1n,{status:p.healthStatus}),le.jsx(ew,{type:"source",position:ji.Right,className:"bg-muted-foreground!"})]})}function PGn({d:p,selected:E}){const P=zge(p),N=p.relayAdapters&&p.relayAdapters.length>0,D=p.taskCount!=null&&p.taskCount>0;return le.jsxs("div",{className:i2("bg-card w-[200px] rounded-lg border px-3 py-2 shadow-sm hover:shadow-md",E&&"ring-primary ring-2"),style:P?{borderLeft:`3px solid ${P}`}:void 0,children:[le.jsx(ew,{type:"target",position:ji.Left,className:"bg-muted-foreground!"}),le.jsx(n1n,{d:p}),(N||D)&&le.jsxs("div",{className:"text-muted-foreground mt-1.5 flex items-center gap-2",children:[N&&le.jsx(Oge,{className:"size-3"}),D&&le.jsxs("span",{className:"flex items-center gap-0.5",children:[le.jsx(Ige,{className:"size-3"}),le.jsx("span",{className:"text-3xs",children:p.taskCount})]})]}),le.jsx(ew,{type:"source",position:ji.Right,className:"bg-muted-foreground!"})]})}function OGn({d:p,selected:E}){const P=zge(p),N=p.relayAdapters&&p.relayAdapters.length>0,D=p.taskCount!=null&&p.taskCount>0;return le.jsxs("div",{className:i2("bg-card w-[240px] rounded-lg border px-3 py-2 shadow-sm hover:shadow-md",E&&"ring-primary ring-2"),style:P?{borderLeft:`3px solid ${P}`}:void 0,children:[le.jsx(ew,{type:"target",position:ji.Left,className:"bg-muted-foreground!"}),le.jsx(n1n,{d:p}),p.description&&le.jsx("p",{className:"text-muted-foreground mt-1.5 line-clamp-2 text-xs",children:p.description}),(N||D)&&le.jsxs("div",{className:"text-muted-foreground mt-1.5 flex flex-wrap items-center gap-2",children:[N&&p.relayAdapters.map($=>le.jsxs("span",{className:"flex items-center gap-0.5",children:[le.jsx(Oge,{className:"size-3"}),le.jsx("span",{className:"text-3xs",children:$})]},$)),D&&le.jsxs("span",{className:"flex items-center gap-0.5",children:[le.jsx(Ige,{className:"size-3"}),le.jsx("span",{className:"text-3xs",children:p.taskCount})]})]}),le.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[p.lastSeenAt&&le.jsx("span",{className:"text-muted-foreground text-3xs",children:WFn(p.lastSeenAt)}),p.behavior&&le.jsx(oN,{size:"xs",variant:"outline",children:p.behavior.responseMode})]}),le.jsx(ew,{type:"source",position:ji.Right,className:"bg-muted-foreground!"})]})}function OX({icon:p,label:E,onClick:P}){return le.jsx(Sge,{variant:"ghost",size:"icon-xs",onClick:P,title:E,"aria-label":E,className:"text-muted-foreground hover:text-foreground",children:le.jsx(p,{})})}function NGn({data:p,selected:E,id:P}){const N=p,D=Zan(),$=jN(),{copy:v}=zFn({toastOnSettle:!0}),q=cn.useCallback(()=>void v(P),[v,P]),te=le.jsx(EGn,{position:ji.Top,isVisible:E,children:le.jsxs("div",{className:"bg-card flex items-center gap-0.5 rounded-lg border px-1 py-0.5 shadow-md",children:[N.onViewProfile&&le.jsx(OX,{icon:UFn,label:"View profile",onClick:()=>{var oe;return(oe=N.onViewProfile)==null?void 0:oe.call(N,P)}}),N.onSelectAgent&&le.jsx(OX,{icon:jBn,label:"Health",onClick:()=>{var oe;return(oe=N.onSelectAgent)==null?void 0:oe.call(N,P)}}),le.jsx(OX,{icon:XFn,label:"Copy ID",onClick:q}),N.onOpenChat&&N.projectPath&&le.jsx(OX,{icon:KFn,label:"Chat",onClick:()=>{var oe;return(oe=N.onOpenChat)==null?void 0:oe.call(N,P,N.projectPath??"")}})]})}),ie=`Agent: ${N.label}, status ${N.healthStatus}`;let pe;return D==="compact"?pe=le.jsx(IGn,{d:N,selected:E}):D==="expanded"?pe=le.jsx(OGn,{d:N,selected:E}):pe=le.jsx(PGn,{d:N,selected:E}),le.jsxs("div",{"aria-label":ie,children:[te,le.jsx(fN.div,{animate:{width:SGn[D]},transition:{width:{duration:$?0:TGn,ease:"easeInOut"}},children:le.jsx(Tge,{mode:"popLayout",initial:!1,children:le.jsx(fN.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:$?0:CGn},children:pe},D)})})]})}const DGn=cn.memo(NGn),Uge=200,t1n=100,LGn=.2,$Gn=.25,FGn={compact:120,default:Uge},BGn={running:age.connected,stopped:age.disconnected,error:age.error};function i1n({adapterType:p}){return le.jsx(EBn,{adapterType:p,size:16,className:"text-muted-foreground shrink-0"})}function RGn(p){return BGn[p]}function _Gn({d:p,statusColor:E,selected:P}){return le.jsxs("div",{className:i2("bg-card flex w-[120px] items-center gap-1.5 rounded-full border px-2.5 py-1 shadow-sm",P&&"ring-primary ring-2"),"aria-label":`Platform: ${p.adapterName}, status ${p.adapterStatus}`,children:[le.jsx(ew,{type:"source",position:ji.Right,isConnectable:!0}),le.jsx("span",{className:i2("size-2 shrink-0 rounded-full",E)}),le.jsx(i1n,{adapterType:p.adapterType}),le.jsx("span",{className:"text-foreground truncate text-xs font-medium",children:p.label||p.adapterName})]})}function JGn({d:p,statusColor:E,selected:P}){return le.jsxs("div",{className:i2("bg-card shadow-soft rounded-xl border p-4 hover:shadow-md",P&&"ring-primary ring-2"),style:{width:Uge,minHeight:t1n},"aria-label":`Platform: ${p.adapterName}, status ${p.adapterStatus}`,children:[le.jsx(ew,{type:"source",position:ji.Right,isConnectable:!0}),le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:i2("size-2.5 shrink-0 rounded-full",E)}),le.jsx(i1n,{adapterType:p.adapterType}),le.jsxs("div",{className:"flex min-w-0 flex-col",children:[le.jsx("span",{className:"text-foreground truncate text-sm font-medium",children:p.label||p.adapterName}),p.label&&le.jsx("span",{className:"text-muted-foreground truncate text-xs",children:p.adapterName})]})]}),le.jsxs("div",{className:"mt-2 flex items-center justify-between",children:[le.jsx("span",{className:"text-muted-foreground text-xs capitalize",children:p.adapterType}),p.bindingCount>0&&le.jsxs(oN,{variant:"secondary",children:[p.bindingCount," ",p.bindingCount===1?"connection":"connections"]})]})]})}function GGn({data:p,selected:E}){const P=p,N=RGn(P.adapterStatus),D=Zan(),$=jN();if(P.isGhost)return le.jsxs("div",{className:"border-muted-foreground/30 bg-card/40 focus-ring flex items-center gap-2 rounded-lg border border-dashed px-3 py-2 opacity-40 transition-opacity hover:opacity-70",style:{width:Uge,height:t1n},onClick:P.onGhostClick,onKeyDown:te=>{var ie;(te.key==="Enter"||te.key===" ")&&(te.preventDefault(),(ie=P.onGhostClick)==null||ie.call(P))},role:"button",tabIndex:0,"aria-label":"Add a platform",children:[le.jsx(VFn,{className:"text-muted-foreground size-4"}),le.jsx("span",{className:"text-muted-foreground text-sm",children:"Add a platform"})]});const v=D==="compact"?le.jsx(_Gn,{d:P,statusColor:N,selected:E}):le.jsx(JGn,{d:P,statusColor:N,selected:E}),q=D==="compact"?"compact":"default";return le.jsx(fN.div,{animate:{width:FGn[q]},transition:{width:{duration:$?0:$Gn,ease:"easeInOut"}},children:le.jsx(Tge,{mode:"popLayout",initial:!1,children:le.jsx(fN.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:$?0:LGn},children:v},q)})})}const HGn=cn.memo(GGn),qGn=.5,zGn=24,UGn=800;let Ihn=0;const _X=QFn((p,E)=>({activity:{},pulse:(P,N)=>{const{activity:D}=E();D[P]||Object.keys(D).length>=zGn||(Ihn+=1,p({activity:{...D,[P]:{direction:N,nonce:Ihn}}}))},clear:P=>{const{activity:N}=E();if(!(P in N))return;const D={...N};delete D[P],p({activity:D})},reset:()=>p({activity:{}})})),XGn=p=>p.transform[2];function KGn(p){return p!=null&&p.label?p.label:p!=null&&p.sessionStrategy?TBn(p.sessionStrategy):"Connection"}function WGn({id:p,sourceX:E,sourceY:P,targetX:N,targetY:D,sourcePosition:$,targetPosition:v,data:q,selected:te}){const ie=q,pe=Sc(XGn),[oe,z]=cn.useState(!1),[ne,Z,U]=yN({sourceX:E,sourceY:P,targetX:N,targetY:D,sourcePosition:$,targetPosition:v}),Ee=KGn(ie),re=(oe||te)&&pe>=.7,we=_X(Ze=>Ze.activity[p]),ee=_X(Ze=>Ze.clear),xe=jN(),Qe=!!we&&!xe&&pe>=qGn;cn.useEffect(()=>{we&&!Qe&&ee(p)},[we,Qe,ee,p]);function Xe(Ze){var vn;Ze.stopPropagation(),(vn=ie==null?void 0:ie.onDelete)==null||vn.call(ie,p)}return le.jsxs(le.Fragment,{children:[le.jsx("path",{d:ne,fill:"none",stroke:"transparent",strokeWidth:12,onMouseEnter:()=>z(!0),onMouseLeave:()=>z(!1)}),le.jsx(ck,{id:p,path:ne,className:i2("transition-colors duration-150",te?"stroke-primary stroke-2":"stroke-primary/60 stroke-2")}),le.jsx(Tge,{children:Qe&&le.jsx(fN.circle,{r:3,className:"fill-primary",style:{offsetPath:`path("${ne}")`},initial:{offsetDistance:we.direction==="inbound"?"0%":"100%",opacity:0},animate:{offsetDistance:we.direction==="inbound"?"100%":"0%",opacity:[0,1,1,0]},exit:{opacity:0},transition:{duration:UGn/1e3,ease:"easeInOut"},onAnimationComplete:()=>ee(p)},we.nonce)}),re&&le.jsx(Wan,{children:le.jsxs("div",{style:{transform:`translate(-50%, -50%) translate(${Z}px,${U}px)`,pointerEvents:"all",transition:"opacity 150ms ease-out"},className:"nodrag nopan bg-background/90 flex max-w-[160px] flex-col items-center gap-0.5 rounded-md px-1.5 py-0.5 shadow-sm",role:"presentation",onMouseEnter:()=>z(!0),onMouseLeave:()=>z(!1),children:[le.jsxs("div",{className:"flex items-center gap-1",children:[le.jsx("span",{className:"text-muted-foreground text-3xs truncate",children:Ee}),te&&(ie==null?void 0:ie.onDelete)&&le.jsx("button",{onClick:Xe,className:"text-destructive/80 hover:bg-destructive/10 hover:text-destructive ml-0.5 shrink-0 rounded-sm p-0.5","aria-label":"Remove connection",children:le.jsx(YFn,{className:"size-3"})})]}),((ie==null?void 0:ie.chatId)||(ie==null?void 0:ie.channelType))&&le.jsxs("div",{className:"flex items-center gap-1",children:[ie.chatId&&le.jsx("span",{className:"bg-muted text-muted-foreground text-3xs rounded px-1 py-px",children:ie.chatId}),ie.channelType&&le.jsx("span",{className:"bg-muted text-muted-foreground text-3xs rounded px-1 py-px",children:ABn(ie.channelType)})]})]})})]})}const VGn=cn.memo(WGn);function QGn({data:p}){const E=p,P=jN();return le.jsx("div",{className:"bg-card/50 rounded-xl border-2",style:{borderColor:`color-mix(in srgb, ${E.color} 25%, transparent)`,backgroundColor:`color-mix(in srgb, ${E.color} 3%, transparent)`,width:"100%",height:"100%"},children:le.jsxs("div",{className:"flex items-center gap-2 rounded-t-[10px] px-3 py-1.5",style:{backgroundColor:`color-mix(in srgb, ${E.color} 8%, transparent)`},children:[le.jsx("span",{className:"text-xs font-semibold",style:{color:E.color},children:E.namespace}),le.jsxs("span",{className:"text-muted-foreground text-3xs",children:[E.activeCount,"/",E.agentCount," agents"]}),E.activeCount>0&&le.jsx("span",{className:`h-1.5 w-1.5 rounded-full ${P?"":"animate-breath"}`,style:{backgroundColor:E.color}})]})})}const YGn=cn.memo(QGn);function ZGn(p){var te;const[E,P]=cn.useState(!1),[N,D,$]=yN({sourceX:p.sourceX,sourceY:p.sourceY,sourcePosition:p.sourcePosition,targetX:p.targetX,targetY:p.targetY,targetPosition:p.targetPosition}),v=(te=p.data)==null?void 0:te.label,q=E||p.selected;return le.jsxs(le.Fragment,{children:[le.jsx("path",{d:N,fill:"none",stroke:"transparent",strokeWidth:12,onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1)}),le.jsx(ck,{id:p.id,path:N,markerEnd:dN.ArrowClosed,style:{stroke:"var(--color-primary)",strokeWidth:1.5,strokeDasharray:"6 3"}}),q&&v&&le.jsx(Wan,{children:le.jsx("div",{className:"nodrag nopan border-primary/30 bg-primary/10 text-primary text-3xs rounded border px-1.5 py-0.5 font-medium",style:{position:"absolute",transform:`translate(-50%, -50%) translate(${D}px,${$}px)`,pointerEvents:"all"},children:v})})]})}function eHn(p){const[E,P]=cn.useState(!1),[N]=yN({sourceX:p.sourceX,sourceY:p.sourceY,sourcePosition:p.sourcePosition,targetX:p.targetX,targetY:p.targetY,targetPosition:p.targetPosition}),D=cn.useCallback(()=>P(!0),[]),$=cn.useCallback(()=>P(!1),[]);return le.jsx("g",{onMouseEnter:D,onMouseLeave:$,children:le.jsx(ck,{id:p.id,path:N,style:{stroke:"var(--color-destructive)",strokeWidth:1.5,strokeDasharray:"4 4",opacity:p.selected||E?1:.5}})})}const nHn=["active","inactive","stale","unreachable"];function tHn({namespaces:p}){const[E,P]=cn.useState(!1);return le.jsxs(kN,{position:"bottom-left",className:"flex flex-col items-start gap-1.5",children:[E&&le.jsxs("div",{id:"topology-legend",className:"bg-card/90 text-muted-foreground text-2xs flex flex-col gap-1.5 rounded-md border px-3 py-2 shadow-sm backdrop-blur-sm",children:[le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:"relative flex h-2 w-6 items-center",children:le.jsxs("svg",{width:"24",height:"4",className:"overflow-visible",children:[le.jsx("line",{x1:"0",y1:"2",x2:"24",y2:"2",stroke:"var(--color-primary)",strokeWidth:"1.5"}),le.jsx("circle",{cx:"8",cy:"2",r:"2.5",fill:"var(--color-primary)",opacity:"0.9"})]})}),le.jsx("span",{children:"Allow rule"})]}),le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("svg",{width:"24",height:"4",className:"overflow-visible",children:le.jsx("line",{x1:"0",y1:"2",x2:"24",y2:"2",stroke:"var(--color-destructive)",strokeWidth:"1.5",strokeDasharray:"4 2"})}),le.jsx("span",{children:"Deny rule"})]}),le.jsx("div",{className:"border-t"}),nHn.map(N=>le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:le.jsx("span",{className:i2("h-2 w-2 rounded-full",$X[N].dot)})}),le.jsx("span",{children:$X[N].label})]},N)),le.jsx("div",{className:"border-t"}),le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:le.jsx(Oge,{className:"h-3 w-3 text-yellow-500"})}),le.jsx("span",{children:"Can message other agents"})]}),le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:"flex h-2.5 w-6 items-center justify-center",children:le.jsx(Ige,{className:"h-3 w-3 text-blue-500"})}),le.jsx("span",{children:"Scheduled tasks"})]}),p.length>1&&le.jsxs(le.Fragment,{children:[le.jsx("div",{className:"border-t"}),p.map(N=>le.jsxs("div",{className:"flex items-center gap-2",children:[le.jsx("span",{className:"inline-block h-2.5 w-2.5 rounded-full",style:{backgroundColor:N.color}}),le.jsx("span",{children:N.namespace})]},N.namespace))]}),le.jsx("div",{className:"border-t"}),le.jsx("span",{className:"text-3xs italic opacity-60",children:"Zoom in for more detail"})]}),le.jsxs(Sge,{variant:"outline",size:"xs",className:"shadow-sm","aria-expanded":E,"aria-controls":"topology-legend",onClick:()=>P(N=>!N),children:[le.jsx(ZFn,{}),"Legend"]})]})}function iHn(){return le.jsxs("p",{className:"text-muted-foreground pointer-events-none absolute top-3 left-3 z-10 flex items-center gap-1.5 text-xs",children:[le.jsx(eBn,{"aria-hidden":!0,className:"size-5 shrink-0 sm:size-4"}),"Everyone can message everyone"]})}var yge={exports:{}},Phn;function rHn(){return Phn||(Phn=1,(function(p,E){(function(P){p.exports=P()})(function(){return(function(){function P(N,D,$){function v(ie,pe){if(!D[ie]){if(!N[ie]){var oe=typeof MX=="function"&&MX;if(!pe&&oe)return oe(ie,!0);if(q)return q(ie,!0);var z=new Error("Cannot find module '"+ie+"'");throw z.code="MODULE_NOT_FOUND",z}var ne=D[ie]={exports:{}};N[ie][0].call(ne.exports,function(Z){var U=N[ie][1][Z];return v(U||Z)},ne,ne.exports,P,N,D,$)}return D[ie].exports}for(var q=typeof MX=="function"&&MX,te=0;te<$.length;te++)v($[te]);return v}return P})()({1:[function(P,N,D){Object.defineProperty(D,"__esModule",{value:!0}),D.default=void 0;function $(z){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ne){return typeof ne}:function(ne){return ne&&typeof Symbol=="function"&&ne.constructor===Symbol&&ne!==Symbol.prototype?"symbol":typeof ne},$(z)}function v(z,ne){if(!(z instanceof ne))throw new TypeError("Cannot call a class as a function")}function q(z,ne){for(var Z=0;Z<ne.length;Z++){var U=ne[Z];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(z,ie(U.key),U)}}function te(z,ne,Z){return ne&&q(z.prototype,ne),Object.defineProperty(z,"prototype",{writable:!1}),z}function ie(z){var ne=pe(z,"string");return $(ne)=="symbol"?ne:ne+""}function pe(z,ne){if($(z)!="object"||!z)return z;var Z=z[Symbol.toPrimitive];if(Z!==void 0){var U=Z.call(z,ne);if($(U)!="object")return U;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(z)}D.default=(function(){function z(){var ne=this,Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=Z.defaultLayoutOptions,Ee=U===void 0?{}:U,re=Z.algorithms,we=re===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:re,ee=Z.workerFactory,xe=Z.workerUrl;if(v(this,z),this.defaultLayoutOptions=Ee,this.initialized=!1,typeof xe>"u"&&typeof ee>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Qe=ee;typeof xe<"u"&&typeof ee>"u"&&(Qe=function(vn){return new Worker(vn)});var Xe=Qe(xe);if(typeof Xe.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new oe(Xe),this.worker.postMessage({cmd:"register",algorithms:we}).then(function(Ze){return ne.initialized=!0}).catch(console.err)}return te(z,[{key:"layout",value:function(Z){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ee=U.layoutOptions,re=Ee===void 0?this.defaultLayoutOptions:Ee,we=U.logging,ee=we===void 0?!1:we,xe=U.measureExecutionTime,Qe=xe===void 0?!1:xe;return Z?this.worker.postMessage({cmd:"layout",graph:Z,layoutOptions:re,options:{logging:ee,measureExecutionTime:Qe}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}])})();var oe=(function(){function z(ne){var Z=this;if(v(this,z),ne===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=ne,this.worker.onmessage=function(U){setTimeout(function(){Z.receive(Z,U)},0)}}return te(z,[{key:"postMessage",value:function(Z){var U=this.id||0;this.id=U+1,Z.id=U;var Ee=this;return new Promise(function(re,we){Ee.resolvers[U]=function(ee,xe){ee?(Ee.convertGwtStyleError(ee),we(ee)):re(xe)},Ee.worker.postMessage(Z)})}},{key:"receive",value:function(Z,U){var Ee=U.data,re=Z.resolvers[Ee.id];re&&(delete Z.resolvers[Ee.id],Ee.error?re(Ee.error):re(null,Ee.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(Z){if(Z){var U=Z.__java$exception;U&&(U.cause&&U.cause.backingJsObject&&(Z.cause=U.cause.backingJsObject,this.convertGwtStyleError(Z.cause)),delete Z.__java$exception)}}}])})()},{}],2:[function(P,N,D){(function($){(function(){var v;typeof window<"u"?v=window:typeof $<"u"?v=$:typeof self<"u"&&(v=self);var q;function te(){}function ie(){}function pe(){}function oe(){}function z(){}function ne(){}function Z(){}function U(){}function Ee(){}function re(){}function we(){}function ee(){}function xe(){}function Qe(){}function Xe(){}function Ze(){}function vn(){}function jn(){}function et(){}function Dn(){}function Kn(){}function _(){}function je(){}function rn(){}function sn(){}function Sn(){}function Bn(){}function dn(){}function Jn(){}function Nn(){}function qn(){}function Jt(){}function Xt(){}function Oi(){}function gr(){}function Ki(){}function Wn(){}function ei(){}function rr(){}function cr(){}function _i(){}function sr(){}function ri(){}function ai(){}function Mc(){}function ku(){}function ic(){}function Sa(){}function ph(){}function j1(){}function u2(){}function zl(){}function R0(){}function mh(){}function Td(){}function Ia(){}function Sd(){}function Gp(){}function ec(){}function pf(){}function Kf(){}function z3(){}function U5(){}function EN(){}function AN(){}function MN(){}function xN(){}function CN(){}function TN(){}function SN(){}function IN(){}function PN(){}function ON(){}function NN(){}function DN(){}function LN(){}function $N(){}function FN(){}function BN(){}function X5(){}function $A(){}function RN(){}function uk(){}function _N(){}function JN(){}function GN(){}function FA(){}function HN(){}function qN(){}function BA(){}function RA(){}function _A(){}function zN(){}function UN(){}function XN(){}function KN(){}function WN(){}function VN(){}function JA(){}function QN(){}function YN(){}function ZN(){}function ok(){}function eD(){}function nD(){}function tD(){}function iD(){}function GA(){}function rD(){}function HA(){}function qA(){}function cD(){}function uD(){}function oD(){}function sD(){}function fD(){}function K5(){}function lD(){}function zA(){}function hD(){}function aD(){}function sk(){}function dD(){}function bD(){}function UA(){}function Xge(){}function Kge(){}function Wge(){}function Vge(){}function Qge(){}function Yge(){}function Zge(){}function e2e(){}function n2e(){}function t2e(){}function i2e(){}function r2e(){}function c2e(){}function u2e(){}function o2e(){}function s2e(){}function f2e(){}function l2e(){}function h2e(){}function a2e(){}function d2e(){}function b2e(){}function w2e(){}function g2e(){}function p2e(){}function m2e(){}function v2e(){}function y2e(){}function k2e(){}function j2e(){}function E2e(){}function A2e(){}function M2e(){}function x2e(){}function C2e(){}function T2e(){}function S2e(){}function I2e(){}function P2e(){}function O2e(){}function N2e(){}function D2e(){}function L2e(){}function $2e(){}function F2e(){}function B2e(){}function R2e(){}function _2e(){}function J2e(){}function G2e(){}function H2e(){}function q2e(){}function z2e(){}function U2e(){}function X2e(){}function K2e(){}function W2e(){}function V2e(){}function Q2e(){}function Y2e(){}function Z2e(){}function epe(){}function npe(){}function tpe(){}function ipe(){}function rpe(){}function cpe(){}function upe(){}function ope(){}function spe(){}function fpe(){}function lpe(){}function hpe(){}function ape(){}function dpe(){}function bpe(){}function wpe(){}function gpe(){}function ppe(){}function mpe(){}function vpe(){}function ype(){}function kpe(){}function jpe(){}function Epe(){}function Ape(){}function Mpe(){}function xpe(){}function XX(){}function Cpe(){}function Tpe(){}function Spe(){}function Ipe(){}function Ppe(){}function Ope(){}function Npe(){}function Dpe(){}function Lpe(){}function $pe(){}function Fpe(){}function Bpe(){}function Rpe(){}function _pe(){}function Jpe(){}function Gpe(){}function Hpe(){}function qpe(){}function zpe(){}function Upe(){}function Xpe(){}function Kpe(){}function Wpe(){}function Vpe(){}function Qpe(){}function Ype(){}function Zpe(){}function eme(){}function nme(){}function tme(){}function ime(){}function rme(){}function cme(){}function ume(){}function ome(){}function sme(){}function fme(){}function lme(){}function hme(){}function ame(){}function dme(){}function bme(){}function wme(){}function gme(){}function pme(){}function mme(){}function vme(){}function yme(){}function kme(){}function jme(){}function Eme(){}function Ame(){}function Mme(){}function xme(){}function Cme(){}function Tme(){}function Sme(){}function Ime(){}function Pme(){}function Ome(){}function Nme(){}function Dme(){}function Lme(){}function $me(){}function Fme(){}function Bme(){}function Rme(){}function _me(){}function Jme(){}function Gme(){}function Hme(){}function qme(){}function zme(){}function Ume(){}function Xme(){}function Kme(){}function KX(){}function Wme(){}function Vme(){}function Qme(){}function Yme(){}function Zme(){}function e3e(){}function n3e(){}function t3e(){}function i3e(){}function XA(){}function KA(){}function r3e(){}function WX(){}function c3e(){}function u3e(){}function o3e(){}function s3e(){}function f3e(){}function l3e(){}function VX(){}function QX(){}function h3e(){}function YX(){}function ZX(){}function a3e(){}function d3e(){}function b3e(){}function w3e(){}function g3e(){}function p3e(){}function m3e(){}function v3e(){}function y3e(){}function k3e(){}function j3e(){}function E3e(){}function A3e(){}function M3e(){}function fk(){}function x3e(){}function C3e(){}function T3e(){}function S3e(){}function I3e(){}function P3e(){}function O3e(){}function N3e(){}function eK(){}function D3e(){}function L3e(){}function $3e(){}function F3e(){}function B3e(){}function R3e(){}function _3e(){}function J3e(){}function G3e(){}function H3e(){}function q3e(){}function z3e(){}function U3e(){}function X3e(){}function K3e(){}function W3e(){}function V3e(){}function Q3e(){}function Y3e(){}function Z3e(){}function eve(){}function nve(){}function tve(){}function ive(){}function rve(){}function cve(){}function uve(){}function ove(){}function sve(){}function fve(){}function lve(){}function hve(){}function ave(){}function dve(){}function bve(){}function wve(){}function gve(){}function pve(){}function mve(){}function vve(){}function yve(){}function kve(){}function jve(){}function Eve(){}function Ave(){}function Mve(){}function xve(){}function Cve(){}function Tve(){}function Sve(){}function Ive(){}function Pve(){}function Ove(){}function Nve(){}function Dve(){}function Lve(){}function $ve(){}function Fve(){}function Bve(){}function Rve(){}function _ve(){}function Jve(){}function Gve(){}function Hve(){}function qve(){}function zve(){}function Uve(){}function r1n(){}function Xve(){}function Kve(){}function Wve(){}function Vve(){}function Qve(){}function Yve(){}function Zve(){}function e4e(){}function n4e(){}function t4e(){}function i4e(){}function r4e(){}function c4e(){}function u4e(){}function o4e(){}function s4e(){}function f4e(){}function l4e(){}function h4e(){}function a4e(){}function d4e(){}function b4e(){}function w4e(){}function g4e(){}function p4e(){}function m4e(){}function v4e(){}function y4e(){}function k4e(){}function j4e(){}function E4e(){}function A4e(){}function M4e(){}function x4e(){}function C4e(){}function T4e(){}function S4e(){}function I4e(){}function wD(){}function gD(){}function P4e(){}function pD(){}function O4e(){}function N4e(){}function D4e(){}function L4e(){}function $4e(){}function F4e(){}function B4e(){}function R4e(){}function _4e(){}function J4e(){}function nK(){}function G4e(){}function c1n(){}function H4e(){}function q4e(){}function z4e(){}function U4e(){}function X4e(){}function K4e(){}function W4e(){}function V4e(){}function _0(){}function Q4e(){}function Hp(){}function tK(){}function Y4e(){}function Z4e(){}function e5e(){}function n5e(){}function t5e(){}function i5e(){}function r5e(){}function c5e(){}function u5e(){}function o5e(){}function s5e(){}function f5e(){}function l5e(){}function h5e(){}function a5e(){}function d5e(){}function b5e(){}function w5e(){}function g5e(){}function p5e(){}function Pe(){}function m5e(){}function v5e(){}function y5e(){}function k5e(){}function j5e(){}function E5e(){}function A5e(){}function mD(){}function M5e(){}function vD(){}function x5e(){}function C5e(){}function T5e(){}function S5e(){}function I5e(){}function P5e(){}function O5e(){}function N5e(){}function yD(){}function WA(){}function VA(){}function D5e(){}function iK(){}function L5e(){}function $5e(){}function QA(){}function F5e(){}function B5e(){}function R5e(){}function YA(){}function _5e(){}function J5e(){}function G5e(){}function H5e(){}function ZA(){}function q5e(){}function rK(){}function z5e(){}function kD(){}function cK(){}function U5e(){}function X5e(){}function K5e(){}function W5e(){}function u1n(){}function V5e(){}function Q5e(){}function Y5e(){}function Z5e(){}function e6e(){}function n6e(){}function t6e(){}function i6e(){}function r6e(){}function c6e(){}function U3(){}function jD(){}function u6e(){}function o6e(){}function s6e(){}function f6e(){}function l6e(){}function h6e(){}function a6e(){}function d6e(){}function b6e(){}function w6e(){}function g6e(){}function p6e(){}function m6e(){}function v6e(){}function y6e(){}function k6e(){}function j6e(){}function E6e(){}function A6e(){}function M6e(){}function x6e(){}function C6e(){}function T6e(){}function S6e(){}function I6e(){}function P6e(){}function O6e(){}function N6e(){}function D6e(){}function L6e(){}function $6e(){}function F6e(){}function B6e(){}function R6e(){}function _6e(){}function J6e(){}function G6e(){}function H6e(){}function q6e(){}function z6e(){}function U6e(){}function X6e(){}function K6e(){}function W6e(){}function V6e(){}function Q6e(){}function Y6e(){}function Z6e(){}function e9e(){}function n9e(){}function t9e(){}function i9e(){}function r9e(){}function c9e(){}function u9e(){}function o9e(){}function s9e(){}function f9e(){}function l9e(){}function h9e(){}function a9e(){}function d9e(){}function b9e(){}function w9e(){}function g9e(){}function p9e(){}function m9e(){}function v9e(){}function y9e(){}function k9e(){}function j9e(){}function E9e(){}function A9e(){}function M9e(){}function x9e(){}function C9e(){}function T9e(){}function S9e(){}function I9e(){}function P9e(){}function O9e(){}function N9e(){}function D9e(){}function L9e(){}function $9e(){}function F9e(){}function B9e(){}function R9e(){}function _9e(){}function J9e(){}function G9e(){}function H9e(){}function q9e(){}function z9e(){}function U9e(){}function X9e(){}function K9e(){}function W9e(){}function V9e(){}function Q9e(){}function Y9e(){}function uK(){}function Z9e(){}function eye(){}function ED(){t6()}function nye(){sie()}function tye(){Nf()}function iye(){vte()}function rye(){rj()}function cye(){Ak()}function uye(){TMe()}function oye(){Om()}function sye(){eLe()}function fye(){Mk()}function lye(){Yk()}function hye(){zv()}function aye(){K1()}function dye(){CM()}function bye(){bce()}function wye(){QOe()}function gye(){LLe()}function pye(){vee()}function mye(){WOe()}function vye(){KOe()}function yye(){VOe()}function kye(){ye()}function jye(){CFe()}function Eye(){WNe()}function Aye(){yee()}function Mye(){MFe()}function xye(){xFe()}function Cye(){TFe()}function Tye(){eNe()}function Sye(){Im()}function Iye(){iBe()}function Pye(){Mre()}function Oye(){W1()}function Nye(){YOe()}function Dye(){CJe()}function Lye(){ZOe()}function $ye(){Wze()}function Fye(){Rie()}function Bye(){Wc()}function Rye(){Tl()}function _ye(){$re()}function Jye(){FRe()}function Gye(){oa()}function Hye(){fj()}function qye(){r_()}function zye(){aR()}function Uye(){OC()}function oK(){Et()}function Xye(){ZT()}function Kye(){aT()}function Wye(){Wne()}function sK(){yS()}function fK(){lB()}function Wf(){$Se()}function Vye(){Rre()}function lK(e){bn(e)}function Qye(e){this.a=e}function eM(e){this.a=e}function Yye(e){this.a=e}function Zye(e){this.a=e}function e8e(e){this.a=e}function hK(e){this.a=e}function aK(e){this.a=e}function n8e(e){this.a=e}function AD(e){this.a=e}function t8e(e){this.a=e}function i8e(e){this.a=e}function r8e(e){this.a=e}function c8e(e){this.a=e}function u8e(e){this.c=e}function o8e(e){this.a=e}function MD(e){this.a=e}function s8e(e){this.a=e}function f8e(e){this.a=e}function l8e(e){this.a=e}function xD(e){this.a=e}function h8e(e){this.a=e}function a8e(e){this.a=e}function CD(e){this.a=e}function d8e(e){this.a=e}function TD(e){this.a=e}function b8e(e){this.a=e}function w8e(e){this.a=e}function g8e(e){this.a=e}function p8e(e){this.a=e}function m8e(e){this.a=e}function v8e(e){this.a=e}function y8e(e){this.a=e}function k8e(e){this.a=e}function j8e(e){this.a=e}function E8e(e){this.a=e}function A8e(e){this.a=e}function M8e(e){this.a=e}function x8e(e){this.a=e}function C8e(e){this.a=e}function dK(e){this.a=e}function bK(e){this.a=e}function nM(e){this.a=e}function lk(e){this.a=e}function wK(e){this.b=e}function Id(){this.a=[]}function T8e(e,n){e.a=n}function o1n(e,n){e.a=n}function s1n(e,n){e.b=n}function f1n(e,n){e.c=n}function l1n(e,n){e.c=n}function h1n(e,n){e.d=n}function a1n(e,n){e.d=n}function Uh(e,n){e.k=n}function gK(e,n){e.j=n}function d1n(e,n){e.c=n}function pK(e,n){e.c=n}function mK(e,n){e.a=n}function b1n(e,n){e.a=n}function w1n(e,n){e.f=n}function g1n(e,n){e.a=n}function p1n(e,n){e.b=n}function SD(e,n){e.d=n}function tM(e,n){e.i=n}function vK(e,n){e.o=n}function m1n(e,n){e.r=n}function v1n(e,n){e.a=n}function y1n(e,n){e.b=n}function S8e(e,n){e.e=n}function k1n(e,n){e.e=n}function j1n(e,n){e.f=n}function E1n(e,n){e.f=n}function yK(e,n){e.g=n}function A1n(e,n){e.f=n}function ID(e,n){e.a=n}function PD(e,n){e.b=n}function M1n(e,n){e.n=n}function x1n(e,n){e.a=n}function C1n(e,n){e.a=n}function T1n(e,n){e.a=n}function S1n(e,n){e.c=n}function I1n(e,n){e.c=n}function P1n(e,n){e.c=n}function O1n(e,n){e.d=n}function N1n(e,n){e.d=n}function D1n(e,n){e.e=n}function L1n(e,n){e.e=n}function $1n(e,n){e.g=n}function F1n(e,n){e.f=n}function B1n(e,n){e.j=n}function R1n(e,n){e.a=n}function _1n(e,n){e.a=n}function J1n(e,n){e.b=n}function I8e(e){e.b=e.a}function P8e(e){e.c=e.d.d}function kK(e){this.a=e}function hk(e){this.a=e}function jK(e){this.a=e}function ak(e){this.a=e}function O8e(e){this.a=e}function EK(e){this.a=e}function iM(e){this.a=e}function Xh(e){this.a=e}function AK(e){this.a=e}function nw(e){this.a=e}function OD(e){this.a=e}function Kh(e){this.a=e}function tw(e){this.a=e}function ND(e){this.b=e}function X3(e){this.b=e}function o2(e){this.b=e}function W5(e){this.d=e}function yt(e){this.a=e}function N8e(e){this.a=e}function MK(e){this.a=e}function D8e(e){this.a=e}function L8e(e){this.a=e}function $8e(e){this.a=e}function xK(e){this.a=e}function CK(e){this.a=e}function DD(e){this.c=e}function x(e){this.c=e}function F8e(e){this.c=e}function TK(e){this.a=e}function SK(e){this.a=e}function IK(e){this.a=e}function PK(e){this.a=e}function K3(e){this.a=e}function B8e(e){this.a=e}function R8e(e){this.a=e}function W3(e){this.a=e}function _8e(e){this.a=e}function J8e(e){this.a=e}function G8e(e){this.a=e}function H8e(e){this.a=e}function q8e(e){this.a=e}function z8e(e){this.a=e}function U8e(e){this.a=e}function X8e(e){this.a=e}function K8e(e){this.a=e}function W8e(e){this.a=e}function V8e(e){this.a=e}function V5(e){this.a=e}function Q8e(e){this.a=e}function OK(e){this.a=e}function dk(e){this.a=e}function Y8e(e){this.a=e}function Z8e(e){this.a=e}function NK(e){this.a=e}function eke(e){this.a=e}function nke(e){this.a=e}function tke(e){this.a=e}function DK(e){this.a=e}function LK(e){this.a=e}function $K(e){this.a=e}function Q5(e){this.a=e}function V3(e){this.a=e}function ike(e){this.a=e}function qp(e){this.a=e}function FK(e){this.a=e}function rke(e){this.a=e}function cke(e){this.a=e}function uke(e){this.a=e}function oke(e){this.a=e}function ske(e){this.a=e}function fke(e){this.a=e}function lke(e){this.a=e}function hke(e){this.a=e}function ake(e){this.a=e}function dke(e){this.a=e}function bke(e){this.a=e}function BK(e){this.a=e}function wke(e){this.a=e}function gke(e){this.a=e}function pke(e){this.a=e}function mke(e){this.a=e}function vke(e){this.a=e}function yke(e){this.a=e}function kke(e){this.a=e}function jke(e){this.a=e}function Eke(e){this.a=e}function rM(e){this.e=e}function Ake(e){this.a=e}function Mke(e){this.a=e}function xke(e){this.a=e}function Cke(e){this.a=e}function Tke(e){this.a=e}function Ske(e){this.a=e}function Ike(e){this.a=e}function Pke(e){this.a=e}function Oke(e){this.a=e}function Nke(e){this.a=e}function Dke(e){this.a=e}function Lke(e){this.a=e}function $ke(e){this.a=e}function Fke(e){this.a=e}function Bke(e){this.a=e}function Rke(e){this.a=e}function _ke(e){this.a=e}function Jke(e){this.a=e}function Gke(e){this.a=e}function Hke(e){this.a=e}function qke(e){this.a=e}function zke(e){this.a=e}function Uke(e){this.a=e}function Xke(e){this.a=e}function Kke(e){this.a=e}function Wke(e){this.a=e}function Vke(e){this.a=e}function Qke(e){this.a=e}function Yke(e){this.a=e}function Zke(e){this.a=e}function e7e(e){this.a=e}function n7e(e){this.a=e}function t7e(e){this.a=e}function i7e(e){this.c=e}function r7e(e){this.b=e}function c7e(e){this.a=e}function u7e(e){this.a=e}function o7e(e){this.a=e}function s7e(e){this.a=e}function f7e(e){this.a=e}function l7e(e){this.a=e}function h7e(e){this.a=e}function a7e(e){this.a=e}function d7e(e){this.a=e}function b7e(e){this.a=e}function w7e(e){this.a=e}function g7e(e){this.a=e}function p7e(e){this.a=e}function m7e(e){this.a=e}function v7e(e){this.a=e}function y7e(e){this.a=e}function k7e(e){this.a=e}function j7e(e){this.a=e}function E7e(e){this.a=e}function A7e(e){this.a=e}function M7e(e){this.a=e}function x7e(e){this.a=e}function C7e(e){this.a=e}function T7e(e){this.a=e}function S7e(e){this.a=e}function I7e(e){this.a=e}function P7e(e){this.a=e}function Wh(e){this.a=e}function s2(e){this.a=e}function O7e(e){this.a=e}function N7e(e){this.a=e}function D7e(e){this.a=e}function L7e(e){this.a=e}function $7e(e){this.a=e}function F7e(e){this.a=e}function B7e(e){this.a=e}function R7e(e){this.a=e}function _7e(e){this.a=e}function J7e(e){this.a=e}function G7e(e){this.a=e}function H7e(e){this.a=e}function q7e(e){this.a=e}function z7e(e){this.a=e}function U7e(e){this.a=e}function X7e(e){this.a=e}function K7e(e){this.a=e}function W7e(e){this.a=e}function V7e(e){this.a=e}function Q7e(e){this.a=e}function Y7e(e){this.a=e}function Z7e(e){this.a=e}function eje(e){this.a=e}function nje(e){this.a=e}function tje(e){this.a=e}function ije(e){this.a=e}function cM(e){this.a=e}function rje(e){this.a=e}function cje(e){this.a=e}function uje(e){this.a=e}function oje(e){this.a=e}function sje(e){this.a=e}function fje(e){this.a=e}function lje(e){this.a=e}function hje(e){this.a=e}function aje(e){this.a=e}function dje(e){this.a=e}function bje(e){this.a=e}function wje(e){this.a=e}function gje(e){this.a=e}function pje(e){this.a=e}function mje(e){this.a=e}function vje(e){this.a=e}function yje(e){this.a=e}function kje(e){this.a=e}function jje(e){this.a=e}function Eje(e){this.a=e}function Aje(e){this.a=e}function Mje(e){this.a=e}function xje(e){this.a=e}function Cje(e){this.a=e}function Tje(e){this.a=e}function Sje(e){this.a=e}function Ije(e){this.a=e}function LD(e){this.a=e}function Vt(e){this.b=e}function Pje(e){this.f=e}function RK(e){this.a=e}function Oje(e){this.a=e}function Nje(e){this.a=e}function Dje(e){this.a=e}function Lje(e){this.a=e}function $je(e){this.a=e}function Fje(e){this.a=e}function Bje(e){this.a=e}function Rje(e){this.a=e}function bk(e){this.a=e}function _je(e){this.a=e}function Jje(e){this.a=e}function uM(e){this.a=e}function oM(e){this.a=e}function Gje(e){this.b=e}function _K(e){this.c=e}function sM(e){this.e=e}function Hje(e){this.d=e}function $D(e){this.a=e}function qje(e){this.a=e}function JK(e){this.a=e}function GK(e){this.a=e}function J0(e){this.e=e}function G1n(){this.a=0}function ve(){QL(this)}function Vn(){ou(this)}function FD(){MPe(this)}function zje(){}function G0(){this.c=Owe}function Uje(e,n){e.b+=n}function H1n(e,n){n.Wb(e)}function q1n(e){return e.a}function z1n(e){return e.a}function U1n(e){return e.a}function X1n(e){return e.a}function K1n(e){return e.a}function C(e){return e.e}function W1n(){return null}function V1n(){return null}function Q1n(e){throw C(e)}function zp(e){this.a=st(e)}function Xje(){this.a=this}function Pd(){gTe.call(this)}function Y1n(e){e.b.Mf(e.e)}function Kje(e){e.b=new eL}function Y5(e,n){e.b=n-e.b}function Z5(e,n){e.a=n-e.a}function Wje(e,n){n.gd(e.a)}function Z1n(e,n){tr(n,e)}function En(e,n){e.push(n)}function Vje(e,n){e.sort(n)}function edn(e,n,t){e.Wd(t,n)}function wk(e,n){e.e=n,n.b=e}function Qje(e){Cv(),TH.je(e)}function ndn(){kW(),A$n()}function HK(){Pd.call(this)}function BD(){Pd.call(this)}function qK(){gTe.call(this)}function Yje(){Pd.call(this)}function Cs(){Pd.call(this)}function Zje(){Pd.call(this)}function gk(){Pd.call(this)}function bo(){Pd.call(this)}function Up(){Pd.call(this)}function ht(){Pd.call(this)}function Dc(){Pd.call(this)}function eEe(){Pd.call(this)}function fM(){this.Bb|=256}function nEe(){this.b=new lCe}function zK(){zK=_,new Vn}function iw(e,n){e.length=n}function lM(e,n){me(e.a,n)}function tdn(e,n){lie(e.c,n)}function idn(e,n){Hi(e.b,n)}function rdn(e,n){RT(e.a,n)}function cdn(e,n){BB(e.a,n)}function Q3(e,n){Gt(e.e,n)}function Xp(e){iS(e.c,e.b)}function udn(e,n){e.kc().Nb(n)}function UK(e){this.a=mkn(e)}function Ji(){this.a=new Vn}function tEe(){this.a=new Vn}function hM(){this.a=new ve}function RD(){this.a=new ve}function XK(){this.a=new ve}function Vs(){this.a=new Kf}function Od(){this.a=new WDe}function _D(){this.a=new kMe}function KK(){this.a=new ROe}function WK(){this.a=new iSe}function VK(){this.a=new $A}function iEe(){this.a=new dNe}function rEe(){this.a=new ve}function cEe(){this.a=new ve}function QK(){this.a=new ve}function uEe(){this.a=new ve}function oEe(){this.d=new ve}function sEe(){this.a=new Ji}function fEe(){this.a=new Vn}function lEe(){this.b=new Vn}function hEe(){this.b=new ve}function YK(){this.e=new ve}function aEe(){this.a=new aye}function dEe(){this.d=new ve}function bEe(){ve.call(this)}function wEe(){HK.call(this)}function aM(){hM.call(this)}function gEe(){QK.call(this)}function e6(){zje.call(this)}function JD(){e6.call(this)}function pEe(){yx.call(this)}function Kp(){zje.call(this)}function ZK(){Kp.call(this)}function mEe(){gOe.call(this)}function vEe(){gOe.call(this)}function yEe(){iW.call(this)}function kEe(){iW.call(this)}function jEe(){iW.call(this)}function EEe(){rW.call(this)}function n6(){N5e.call(this)}function eW(){N5e.call(this)}function Lo(){ni.call(this)}function AEe(){BEe.call(this)}function MEe(){BEe.call(this)}function xEe(){Vn.call(this)}function CEe(){Vn.call(this)}function TEe(){Vn.call(this)}function GD(){mFe.call(this)}function SEe(){Ji.call(this)}function IEe(){fM.call(this)}function HD(){DV.call(this)}function nW(){Vn.call(this)}function qD(){DV.call(this)}function zD(){Vn.call(this)}function PEe(){Vn.call(this)}function tW(){ZA.call(this)}function OEe(){tW.call(this)}function NEe(){ZA.call(this)}function DEe(){uK.call(this)}function iW(){this.a=new Ji}function LEe(){this.a=new Vn}function rW(){this.a=new Vn}function Wp(){this.a=new ni}function $Ee(){this.a=new ve}function FEe(){this.j=new ve}function BEe(){this.a=new _5e}function cW(){this.a=new E4e}function REe(){this.a=new $Ae}function UD(){UD=_,jH=new JEe}function t6(){t6=_,yH=new ie}function XD(){XD=_,kH=new _Ee}function _Ee(){CD.call(this,"")}function JEe(){CD.call(this,"")}function GEe(e){W$e.call(this,e)}function HEe(e){W$e.call(this,e)}function uW(e){hK.call(this,e)}function oW(e){WAe.call(this,e)}function odn(e){WAe.call(this,e)}function sdn(e){oW.call(this,e)}function fdn(e){oW.call(this,e)}function ldn(e){oW.call(this,e)}function qEe(e){xF.call(this,e)}function zEe(e){xF.call(this,e)}function UEe(e){KCe.call(this,e)}function XEe(e){TW.call(this,e)}function i6(e){AM.call(this,e)}function sW(e){AM.call(this,e)}function KEe(e){AM.call(this,e)}function Lc(e){GIe.call(this,e)}function WEe(e){Lc.call(this,e)}function Vp(){lk.call(this,{})}function KD(e){lv(),this.a=e}function VEe(e){e.b=null,e.c=0}function hdn(e,n){e.e=n,Kqe(e,n)}function adn(e,n){e.a=n,Axn(e)}function WD(e,n,t){e.a[n.g]=t}function ddn(e,n,t){zEn(t,e,n)}function bdn(e,n){Hwn(n.i,e.n)}function QEe(e,n){f8n(e).Ad(n)}function wdn(e,n){return e*e/n}function YEe(e,n){return e.g-n.g}function gdn(e,n){e.a.ec().Kc(n)}function pdn(e){return new nM(e)}function mdn(e){return new xw(e)}function dM(e){Lc.call(this,e)}function $u(e){Lc.call(this,e)}function ZEe(e){Lc.call(this,e)}function VD(e){GIe.call(this,e)}function bM(e){Bee(),this.a=e}function QD(e){$$(),this.f=e}function E1(e){$$(),this.f=e}function eAe(e){LSe(),this.a=e}function Y3(e){Lc.call(this,e)}function An(e){Lc.call(this,e)}function gc(e){Lc.call(this,e)}function nAe(e){Lc.call(this,e)}function Qp(e){Lc.call(this,e)}function Se(e){return bn(e),e}function J(e){return bn(e),e}function pk(e){return bn(e),e}function fW(e){return bn(e),e}function vdn(e){return bn(e),e}function r6(e){return e.b==e.c}function rw(e){return!!e&&e.b}function ydn(e){return!!e&&e.k}function kdn(e){return!!e&&e.j}function Uc(e){bn(e),this.a=e}function lW(e){return e0(e),e}function c6(e){pY(e,e.length)}function Pa(e){Lc.call(this,e)}function Oa(e){Lc.call(this,e)}function Yp(e){Lc.call(this,e)}function Ul(e){Lc.call(this,e)}function pt(e){Lc.call(this,e)}function YD(e){Lc.call(this,e)}function ZD(e){WV.call(this,e,0)}function eL(){uZ.call(this,12,3)}function nL(){this.a=dt(st(Ju))}function tAe(){throw C(new ht)}function hW(){throw C(new ht)}function iAe(){throw C(new ht)}function jdn(){throw C(new ht)}function Edn(){throw C(new ht)}function Adn(){throw C(new ht)}function rAe(){rAe=_,efe=new te}function aW(){aW=_,nfe=new Qe}function wM(){wM=_,Sy=new vn}function gM(){gM=_,AH=new XCe}function cAe(){cAe=_,YYe=new et}function pM(){pM=_,Cv()}function Na(){ak.call(this,"")}function u6(){ak.call(this,"")}function A1(){ak.call(this,"")}function Zp(){ak.call(this,"")}function dW(e){$u.call(this,e)}function bW(e){$u.call(this,e)}function Xl(e){An.call(this,e)}function Z3(e){X3.call(this,e)}function uAe(e){Z3.call(this,e)}function tL(e){bx.call(this,e)}function Mdn(e,n,t){e.c.Cf(n,t)}function xdn(e,n,t){n.Ad(e.a[t])}function Cdn(e,n,t){n.Ne(e.a[t])}function Tdn(e,n){return e.a-n.a}function Sdn(e,n){return e.a-n.a}function Idn(e,n){return e.a-n.a}function mM(e,n){return JF(e,n)}function S(e,n){return qOe(e,n)}function Pdn(e,n){return n in e.a}function oAe(e){return e.a?e.b:0}function Odn(e){return e.a?e.b:0}function sAe(e,n){return e.f=n,e}function Ndn(e,n){return e.b=n,e}function fAe(e,n){return e.c=n,e}function Ddn(e,n){return e.g=n,e}function wW(e,n){return e.a=n,e}function gW(e,n){return e.f=n,e}function Ldn(e,n){return e.k=n,e}function pW(e,n){return e.a=n,e}function $dn(e,n){return e.e=n,e}function mW(e,n){return e.e=n,e}function Fdn(e,n){return e.f=n,e}function Bdn(e,n){e.b=new qr(n)}function lAe(e,n){e._d(n),n.$d(e)}function Rdn(e,n){os(),n.n.a+=e}function _dn(e,n){K1(),Bc(n,e)}function Jdn(e,n){return e.b-n.b}function Gdn(e,n){return e.g-n.g}function Hdn(e,n){return e.s-n.s}function qdn(e,n){return e?0:n-1}function hAe(e,n){return e?0:n-1}function zdn(e,n){return e?n-1:0}function Udn(e,n){return n.pg(e)}function cw(e,n){return e.b=n,e}function vM(e,n){return e.a=n,e}function uw(e,n){return e.c=n,e}function ow(e,n){return e.d=n,e}function sw(e,n){return e.e=n,e}function vW(e,n){return e.f=n,e}function o6(e,n){return e.a=n,e}function ev(e,n){return e.b=n,e}function nv(e,n){return e.c=n,e}function Ne(e,n){return e.c=n,e}function ze(e,n){return e.b=n,e}function De(e,n){return e.d=n,e}function Le(e,n){return e.e=n,e}function Xdn(e,n){return e.f=n,e}function $e(e,n){return e.g=n,e}function Fe(e,n){return e.a=n,e}function Be(e,n){return e.i=n,e}function Re(e,n){return e.j=n,e}function Kdn(e,n){return e.j=n,e}function aAe(e,n){return e.k=n,e}function xr(){this.a=0,this.b=0}function dAe(){this.b=0,this.a=0}function bAe(e){UPe.call(this,e)}function yW(e){UPe.call(this,e)}function yM(e){g$.call(this,e)}function M1(e){ob.call(this,e)}function wAe(e){cF.call(this,e)}function gAe(e){cF.call(this,e)}function pAe(){xV.call(this,"")}function mAe(){mAe=_,hZe=mAn()}function x1(){x1=_,jfn=SEn()}function vAe(){vAe=_,wr=RAn()}function kW(){kW=_,O0=u9()}function tv(){tv=_,Pwe=IEn()}function yAe(){yAe=_,uln=PEn()}function jW(){jW=_,uu=kxn()}function Vf(e){return e.e&&e.e()}function kAe(e,n){return e.c._b(n)}function jAe(e,n){return ERe(e.b,n)}function EAe(e,n){return y0n(e.a,n)}function AAe(e,n){e.b=0,Fw(e,n)}function Wdn(e,n){e.c=n,e.b=!0}function f2(e,n){return e.a+=n,e}function iL(e,n){return e.a+=n,e}function Da(e,n){return e.a+=n,e}function H0(e,n){return e.a+=n,e}function Nd(e){return Yh(e),e.o}function EW(e){xXe(),F$n(this,e)}function MAe(){throw C(new ht)}function xAe(){throw C(new ht)}function CAe(){throw C(new ht)}function TAe(){throw C(new ht)}function SAe(){throw C(new ht)}function IAe(){throw C(new ht)}function kM(e){this.a=new nm(e)}function La(e){this.a=new B$(e)}function l2(e,n){for(;e.Pe(n););}function AW(e,n){for(;e.zd(n););}function Vdn(e,n,t){Zpn(e.a,n,t)}function MW(e,n,t){e.splice(n,t)}function Qdn(e,n){return NNn(n,e)}function xW(e,n){return e.d[n.p]}function mk(e){return e.b!=e.d.c}function PAe(e){return e.l|e.m<<22}function rL(e){return e?e.d:null}function Ydn(e){return e?e.g:null}function Zdn(e){return e?e.i:null}function OAe(e,n){return ZSn(e,n)}function iv(e){return N1(e),e.a}function NAe(e){e.c?lze(e):hze(e)}function DAe(){this.b=new R9(B1e)}function LAe(){this.b=new R9(MU)}function $Ae(){this.b=new R9(MU)}function FAe(){this.a=new R9(vde)}function BAe(){this.a=new R9(Hde)}function jM(e){this.a=0,this.b=e}function RAe(){throw C(new ht)}function _Ae(){throw C(new ht)}function JAe(){throw C(new ht)}function GAe(){throw C(new ht)}function HAe(){throw C(new ht)}function qAe(){throw C(new ht)}function zAe(){throw C(new ht)}function UAe(){throw C(new ht)}function XAe(){throw C(new ht)}function KAe(){throw C(new ht)}function e0n(){throw C(new Dc)}function n0n(){throw C(new Dc)}function vk(e){this.a=new gMe(e)}function EM(e){this.b=u(st(e),92)}function CW(e,n){this.b=e,this.c=n}function rv(e,n){this.e=e,this.d=n}function WAe(e){$V(e.dc()),this.c=e}function VAe(e,n){this.a=e,this.b=n}function QAe(e,n){this.a=e,this.b=n}function YAe(e,n){this.a=e,this.b=n}function ZAe(e,n){this.a=e,this.b=n}function eMe(e,n){this.a=e,this.b=n}function nMe(e,n){this.a=e,this.b=n}function tMe(e,n){this.a=e,this.b=n}function iMe(e,n){this.b=e,this.a=n}function q0(e,n){this.g=e,this.i=n}function rMe(e,n){this.b=e,this.a=n}function yk(e,n){E2.call(this,e,n)}function cv(e,n){yk.call(this,e,n)}function cMe(e,n){this.a=e,this.b=n}function uMe(e,n){this.a=e,this.b=n}function oMe(e,n){this.b=e,this.a=n}function sMe(e,n){this.b=e,this.a=n}function ot(e,n){this.f=e,this.g=n}function AM(e){this.b=u(st(e),50)}function cL(e,n){this.a=e,this.b=n}function fMe(e,n){this.a=e,this.f=n}function lMe(e){this.a=u(st(e),16)}function TW(e){this.a=u(st(e),16)}function hMe(e,n){this.b=e,this.c=n}function aMe(e){this.a=u(st(e),92)}function t0n(e,n){this.a=e,this.b=n}function dMe(e,n){this.a=e,this.b=n}function bMe(e,n){return Mu(e.b,n)}function wMe(e,n){return e>n&&n<Q9}function kk(e){return ql[e]!=-1}function jk(e){return!e||kPe(e)}function gMe(e){L9n(this,e,JMn())}function i0n(e,n){KR(ce(e.a),n)}function r0n(e,n){KR(ce(e.a),n)}function SW(e,n){return e.b.Hc(n)}function s6(e,n){return e.b.Gc(n)}function IW(e,n){return e.b.Oc(n)}function pMe(e,n){return e.c.uc(n)}function mMe(e,n){return e.b.Gc(n)}function vMe(e,n){return qt(e.c,n)}function c0n(e){return sPe(),e?QYe:VYe}function f6(e){return e.f.c+e.i.c}function Qs(e,n){return e.a._b(n)}function uL(e,n){this.a=e,this.b=n}function em(e){this.c=e,A$e(this)}function ni(){RCe(this),Yo(this)}function fw(){fw=_,DH=new hCe}function uv(){uv=_,i5=new Sn}function $a(){$a=_,tZe=new je}function MM(){MM=_,dZe=new aCe}function ov(){ov=_,Tfe=new cr}function u0n(){FI!=0&&(FI=0),BI=-1}function yMe(){vH==null&&(vH=[])}function nm(e){KBe.call(this,e,0)}function kMe(){B$.call(this,null)}function PW(){BF.call(this,null)}function Dd(){Dd=_,l3=new j1}function Si(e,n){N1(e),e.a.Nb(n)}function o0n(e,n){return e.a.Vc(n)}function s0n(e,n){return e.a.Wc(n)}function oL(e,n){return e.a.Yc(n)}function sL(e,n){return e.a.Zc(n)}function f0n(e,n){return e.Fc(n),e}function l0n(e,n){return e.a.f=n,e}function jMe(e,n){return e.a.d=n,e}function EMe(e,n){return e.a.g=n,e}function AMe(e,n){return e.a.j=n,e}function mf(e,n){return e.a.a=n,e}function vf(e,n){return e.a.d=n,e}function yf(e,n){return e.a.e=n,e}function kf(e,n){return e.a.g=n,e}function Ek(e,n){return e.a.f=n,e}function h0n(e){return e.b=!1,e}function Ak(){Ak=_,unn=new xr}function OW(){OW=_,qen=new qN}function MMe(){MMe=_,zen=new zN}function NW(){NW=_,Uen=new $Ie}function xMe(){xMe=_,EZe=new Td}function DW(){DW=_,Zfe=new WN}function CMe(){CMe=_,nnn=new GA}function sv(){sv=_,inn=new rD}function Mk(){Mk=_,onn=new c2e}function TMe(){TMe=_,hnn=new G2e}function xM(){xM=_,_rn=new S5e}function l6(){l6=_,vnn=new Tme}function CM(){CM=_,hp=new Yme}function TM(){TM=_,xU=new IMe}function SM(){SM=_,CU=new OTe}function h6(){h6=_,VE=new CPe}function SMe(){AFe(),this.c=new eL}function IMe(){ot.call(this,AWe,0)}function a0n(e,n,t,i){rjn(e,i,n,t)}function d0n(e,n,t,i){fSn(i,e,n,t)}function b0n(e,n,t,i){RLn(i,e,n,t)}function w0n(e,n,t){mc(e.d,n.f,t)}function lw(e,n){i0(e.c.b,n.c,n)}function a6(e,n){i0(e.c.c,n.b,n)}function d6(e,n){return e.a=n.g,e}function Ld(){Ld=_,yfn=new O5e}function PMe(){PMe=_,Tfn=new H5e}function OMe(){OMe=_,Jfn=new CEe}function NMe(){NMe=_,Gfn=new TEe}function C1(){C1=_,wf=new nW}function LW(){LW=_,Iwe=new PEe}function IM(){IM=_,QO=new Vn}function $W(){$W=_,Jwe=new ve}function b6(){b6=_,wX=new zCe}function Fa(){Fa=_,EA=new UCe}function fL(){fL=_,tln=new Q6e}function nc(){nc=_,rln=new Y6e}function T1(){T1=_,Cd=new eye}function PM(){this.q=new v.Date}function FW(e){this.a=u(st(e),229)}function OM(e){return u(e,45).jd()}function g0n(e){return(e.c+e.a)/2}function p0n(e){return e.e.a+e.f.a}function m0n(e){return e.e.b+e.f.b}function v0n(e){return e.b?e.b:e.a}function y0n(e,n){return e.a.a.cc(n)}function DMe(e,n){return fEn(e.a,n)}function lL(e,n){return Su(e,n)>0}function hL(e,n){return Su(e,n)<0}function k0n(e,n){return n.split(e)}function aL(e){return e.b<e.d.gc()}function LMe(e,n){return P$(e.a,n)}function j0n(e,n){OOe.call(this,e,n)}function BW(e){eF(),FMn.call(this,e)}function RW(e){eF(),BW.call(this,e)}function _W(e){T$(),KCe.call(this,e)}function JW(e,n){IIe(e,e.length,n)}function xk(e,n){uPe(e,e.length,n)}function w6(e,n){return e.a.get(n)}function $Me(e,n){return Mu(e.e,n)}function GW(e){return bn(e),!1}function FMe(){return mAe(),new hZe}function Ck(e){return Hn(e.a),e.b}function BMe(e,n){this.b=e,this.a=n}function NM(e,n){this.d=e,this.e=n}function RMe(e,n){this.a=e,this.b=n}function _Me(e,n){this.a=e,this.b=n}function JMe(e,n){this.a=e,this.b=n}function GMe(e,n){this.a=e,this.b=n}function HMe(e,n){this.b=e,this.a=n}function tm(e,n){this.a=e,this.b=n}function DM(e,n){ot.call(this,e,n)}function dL(e,n){ot.call(this,e,n)}function bL(e,n){ot.call(this,e,n)}function wL(e,n){ot.call(this,e,n)}function gL(e,n){ot.call(this,e,n)}function LM(e,n){ot.call(this,e,n)}function $M(e){Ye.call(this,e,21)}function qMe(e,n){this.b=e,this.a=n}function HW(e,n){this.b=e,this.a=n}function qW(e,n){this.b=e,this.a=n}function zW(e,n){ot.call(this,e,n)}function pL(e,n){ot.call(this,e,n)}function Tk(e,n){ot.call(this,e,n)}function UW(e,n){this.b=e,this.a=n}function fv(e,n){this.c=e,this.d=n}function FM(e,n){ot.call(this,e,n)}function BM(e,n){ot.call(this,e,n)}function zMe(e,n){this.e=e,this.d=n}function im(e,n){ot.call(this,e,n)}function UMe(e,n){this.a=e,this.b=n}function XW(e,n){ot.call(this,e,n)}function Gi(e,n){ot.call(this,e,n)}function RM(e,n){ot.call(this,e,n)}function g6(e,n,t){e.splice(n,0,t)}function E0n(e,n,t){e.Mb(t)&&n.Ad(t)}function A0n(e,n,t){n.Ne(e.a.We(t))}function M0n(e,n,t){n.Bd(e.a.Xe(t))}function x0n(e,n,t){n.Ad(e.a.Kb(t))}function C0n(e,n){return go(e.c,n)}function T0n(e,n){return go(e.e,n)}function XMe(e,n){this.a=e,this.b=n}function KMe(e,n){this.a=e,this.b=n}function WMe(e,n){this.a=e,this.b=n}function VMe(e,n){this.a=e,this.b=n}function QMe(e,n){this.a=e,this.b=n}function YMe(e,n){this.a=e,this.b=n}function ZMe(e,n){this.a=e,this.b=n}function exe(e,n){this.a=e,this.b=n}function nxe(e,n){this.b=e,this.a=n}function txe(e,n){this.b=e,this.a=n}function ixe(e,n){this.b=e,this.a=n}function rxe(e,n){this.b=n,this.c=e}function _M(e,n){ot.call(this,e,n)}function Sk(e,n){ot.call(this,e,n)}function KW(e,n){ot.call(this,e,n)}function p6(e,n){ot.call(this,e,n)}function JM(e,n){ot.call(this,e,n)}function mL(e,n){ot.call(this,e,n)}function vL(e,n){ot.call(this,e,n)}function h2(e,n){ot.call(this,e,n)}function WW(e,n){ot.call(this,e,n)}function yL(e,n){ot.call(this,e,n)}function m6(e,n){ot.call(this,e,n)}function VW(e,n){ot.call(this,e,n)}function v6(e,n){ot.call(this,e,n)}function y6(e,n){ot.call(this,e,n)}function hw(e,n){ot.call(this,e,n)}function kL(e,n){ot.call(this,e,n)}function jL(e,n){ot.call(this,e,n)}function EL(e,n){ot.call(this,e,n)}function QW(e,n){ot.call(this,e,n)}function Ik(e,n){ot.call(this,e,n)}function YW(e,n){ot.call(this,e,n)}function a2(e,n){ot.call(this,e,n)}function aw(e,n){ot.call(this,e,n)}function AL(e,n){ot.call(this,e,n)}function GM(e,n){ot.call(this,e,n)}function Pk(e,n){ot.call(this,e,n)}function ML(e,n){ot.call(this,e,n)}function HM(e,n){ot.call(this,e,n)}function ZW(e,n){ot.call(this,e,n)}function xL(e,n){ot.call(this,e,n)}function CL(e,n){ot.call(this,e,n)}function TL(e,n){ot.call(this,e,n)}function SL(e,n){ot.call(this,e,n)}function IL(e,n){ot.call(this,e,n)}function qM(e,n){ot.call(this,e,n)}function cxe(e,n){this.b=e,this.a=n}function eV(e,n){ot.call(this,e,n)}function uxe(e,n){this.a=e,this.b=n}function oxe(e,n){this.a=e,this.b=n}function sxe(e,n){this.a=e,this.b=n}function nV(e,n){ot.call(this,e,n)}function tV(e,n){ot.call(this,e,n)}function fxe(e,n){this.a=e,this.b=n}function S0n(e,n){return pv(),n!=e}function PL(e){return SCn(e,e.c),e}function I0n(e){v.clearTimeout(e)}function iV(e,n){ot.call(this,e,n)}function rV(e,n){ot.call(this,e,n)}function lxe(e,n){this.a=e,this.b=n}function hxe(e,n){this.a=e,this.b=n}function axe(e,n){this.b=e,this.d=n}function dxe(e,n){this.a=e,this.b=n}function bxe(e,n){this.b=e,this.a=n}function zM(e,n){ot.call(this,e,n)}function z0(e,n){ot.call(this,e,n)}function OL(e,n){ot.call(this,e,n)}function UM(e,n){ot.call(this,e,n)}function cV(e,n){ot.call(this,e,n)}function wxe(e,n){this.b=e,this.a=n}function gxe(e,n){this.b=e,this.a=n}function pxe(e,n){this.b=e,this.a=n}function mxe(e,n){this.b=e,this.a=n}function uV(e,n){ot.call(this,e,n)}function Ok(e,n){ot.call(this,e,n)}function oV(e,n){ot.call(this,e,n)}function NL(e,n){ot.call(this,e,n)}function XM(e,n){ot.call(this,e,n)}function DL(e,n){ot.call(this,e,n)}function LL(e,n){ot.call(this,e,n)}function KM(e,n){ot.call(this,e,n)}function $L(e,n){ot.call(this,e,n)}function sV(e,n){ot.call(this,e,n)}function FL(e,n){ot.call(this,e,n)}function BL(e,n){ot.call(this,e,n)}function Nk(e,n){ot.call(this,e,n)}function RL(e,n){ot.call(this,e,n)}function fV(e,n){ot.call(this,e,n)}function Dk(e,n){ot.call(this,e,n)}function lV(e,n){ot.call(this,e,n)}function hV(e,n){this.a=e,this.b=n}function vxe(e,n){this.a=e,this.b=n}function yxe(e,n){this.a=e,this.b=n}function aV(e,n){return go(e.g,n)}function P0n(e,n){return go(n.b,e)}function O0n(e,n){return-e.b.$e(n)}function Lk(e,n){ot.call(this,e,n)}function rm(e,n){ot.call(this,e,n)}function k6(e,n){ot.call(this,e,n)}function j6(e,n){ot.call(this,e,n)}function $k(e,n){ot.call(this,e,n)}function WM(e,n){ot.call(this,e,n)}function _L(e,n){ot.call(this,e,n)}function VM(e,n){ot.call(this,e,n)}function E6(e,n){ot.call(this,e,n)}function JL(e,n){ot.call(this,e,n)}function QM(e,n){ot.call(this,e,n)}function d2(e,n){ot.call(this,e,n)}function Fk(e,n){ot.call(this,e,n)}function A6(e,n){ot.call(this,e,n)}function M6(e,n){ot.call(this,e,n)}function GL(e,n){ot.call(this,e,n)}function Bk(e,n){ot.call(this,e,n)}function YM(e,n){ot.call(this,e,n)}function b2(e,n){ot.call(this,e,n)}function HL(e,n){ot.call(this,e,n)}function qL(e,n){ot.call(this,e,n)}function ZM(e,n){ot.call(this,e,n)}function kxe(e,n){this.a=e,this.b=n}function jxe(e,n){this.a=e,this.b=n}function Exe(e,n){this.a=e,this.b=n}function de(e,n){this.a=e,this.b=n}function Axe(e,n){this.a=e,this.b=n}function Mxe(e,n){this.a=e,this.b=n}function xxe(e,n){this.a=e,this.b=n}function Wr(e,n){this.a=e,this.b=n}function ex(e,n){ot.call(this,e,n)}function Cxe(e,n){this.a=e,this.b=n}function Txe(e,n){this.a=e,this.b=n}function Sxe(e,n){this.a=e,this.b=n}function Ixe(e,n){this.a=e,this.b=n}function Pxe(e,n){this.a=e,this.b=n}function Oxe(e,n){this.a=e,this.b=n}function Nxe(e,n){this.b=e,this.a=n}function Dxe(e,n){this.b=e,this.a=n}function Lxe(e,n){this.b=e,this.a=n}function $xe(e,n){this.b=e,this.a=n}function Fxe(e,n){this.a=e,this.b=n}function Bxe(e,n){this.a=e,this.b=n}function Rxe(e,n){this.a=e,this.b=n}function _xe(e,n){this.a=e,this.b=n}function cm(e,n){ot.call(this,e,n)}function Jxe(e,n){this.f=e,this.c=n}function Gxe(){bF(),this.b=new Ji}function Hxe(){dS(),this.a=new Ji}function qxe(){Mx(),this.a=new pQ}function nx(e,n){this.a=e,this.b=n}function zxe(e,n){this.a=e,this.b=n}function dV(e,n){this.i=e,this.g=n}function bV(e,n){this.d=e,this.e=n}function Uxe(e,n){this.a=e,this.b=n}function Xxe(e,n){this.a=e,this.b=n}function Kxe(e,n){this.d=e,this.b=n}function Wxe(e,n){this.e=e,this.a=n}function wV(e,n){e.i=null,ZC(e,n)}function N0n(e,n){e&&It(yA,e,n)}function Vxe(e,n){return XB(e.a,n)}function tx(e){return Y7(e.c,e.b)}function dw(e){return typeof e===Vm}function bw(e){return typeof e===gce}function pr(e){return typeof e===L_}function K(e){return e??null}function ix(e){return B6(e==null),e}function $c(e){return e?e.kd():null}function Qxe(e){return Go(e),e.d.gc()}function S1(e,n){return e.Pd().Xb(n)}function rx(e,n){return oyn(e.Jc(),n)}function D0n(e,n){U6n(new Rn(e),n)}function L0n(e,n,t){XJe(n,HR(e,t))}function $0n(e,n,t){XJe(n,HR(e,t))}function Yxe(e,n){F6n(e.a,u(n,12))}function Zxe(e,n){this.a=e,this.b=n}function Rk(e,n){this.b=e,this.c=n}function x6(e,n){return Su(e,n)==0}function cx(e,n){return Su(e,n)>=0}function C6(e,n){return Su(e,n)!=0}function gV(e,n){return e.a+=""+n,e}function F0n(e){return""+(bn(e),e)}function eCe(e,n){e.q.setTime(Kd(n))}function T6(e,n){return e.a+=""+n,e}function ac(e,n){return e.a+=""+n,e}function S6(e,n){return e.a+=""+n,e}function ju(e,n){return e.a+=""+n,e}function At(e,n){return e.a+=""+n,e}function pV(e){return en(e,0),null}function nCe(e){ou(this),l9(this,e)}function tCe(e,n){wY.call(this,e,n)}function iCe(e,n){wY.call(this,e,n)}function ux(e,n){wY.call(this,e,n)}function rCe(){iZ(),pOe.call(this)}function cCe(){iZ(),pOe.call(this)}function uCe(){tZ(),fY.call(this)}function oCe(){oCe=_,run=lt(tBe())}function sCe(){sCe=_,ten=lt(tR())}function fCe(){fCe=_,lnn=lt(Hqe())}function lCe(){this.b=new nm(_w(12))}function hCe(){this.b=0,this.a=!1}function aCe(){this.b=0,this.a=!1}function w2(e,n){Ei(e,n,e.a,e.a.a)}function Hr(e,n){Ei(e,n,e.c.b,e.c)}function Ot(e,n){IM(),It(QO,e,n)}function qe(e,n){di.call(this,e,n)}function zL(e,n){yw.call(this,e,n)}function g2(e,n){dV.call(this,e,n)}function dCe(e,n){Hk.call(this,e,n)}function UL(e,n){_v.call(this,e,n)}function I6(e){this.a=e,ED.call(this)}function bCe(e){this.a=e,ED.call(this)}function Qf(e){return e.a=0,e.b=0,e}function wCe(e,n){return e.a=n.g+1,e}function B0n(e,n){return e.j[n.p]==2}function XL(e,n){return ef(e.a,0,n)}function R0n(e,n){return Qt(e.a,n.a)}function mV(e,n){return Eu(e.a,n.a)}function _0n(e,n){return iPe(e.a,n.a)}function gCe(e,n){return K(e)===K(n)}function Kl(e,n){return e.indexOf(n)}function J0n(e){return st(e),new I6(e)}function pCe(e){return zu(e.l,e.m,e.h)}function um(e){return Br((bn(e),e))}function G0n(e){return Br((bn(e),e))}function mCe(e,n){return Eu(e.g,n.g)}function Ic(e){return typeof e===gce}function H0n(e){return e==Fb||e==wg}function q0n(e){return e==Fb||e==gg}function ox(e){return e<10?"0"+e:""+e}function vV(e){return Rc(e.b.b,e,0)}function yV(e,n){Ov(e,0,e.length,n)}function vCe(e,n){return me(e.a,n),n}function z0n(e,n){return os(),n.a+=e}function U0n(e,n){return os(),n.a+=e}function X0n(e,n){return os(),n.c+=e}function K0n(e,n){return me(e.c,n),e}function kV(e,n){return ds(e.a,n),e}function yCe(e){this.a=FMe(),this.b=e}function kCe(e){this.a=FMe(),this.b=e}function qr(e){this.a=e.a,this.b=e.b}function vh(){xK.call(this,new F1)}function jCe(){$x.call(this,0,0,0,0)}function om(){Af.call(this,0,0,0,0)}function sx(e){return ds(new $i,e)}function ECe(e){return Z$(u(e,125))}function Ko(e){return e.sh()&&e.th()}function p2(e){return e!=Jl&&e!=kd}function Vh(e){return e==Ec||e==Tc}function m2(e){return e==zs||e==Rl}function ACe(e){return e==Mp||e==Ap}function W0n(e,n){return Qt(n.f,e.f)}function V0n(e,n){return Eu(e.g,n.g)}function MCe(e,n){return new _v(n,e)}function Q0n(e,n){return new _v(n,e)}function KL(e,n,t){qC(e,n),zC(e,t)}function U0(e,n,t){fb(e,n),sb(e,t)}function Ts(e,n,t){_o(e,n),Jo(e,t)}function _k(e,n,t){P2(e,n),O2(e,t)}function Jk(e,n,t){N2(e,n),D2(e,t)}function WL(e,n){Kv(e,n),$v(e,e.D)}function VL(e){Jxe.call(this,e,!0)}function xCe(e,n,t){iQ.call(this,e,n,t)}function CCe(){DM.call(this,"Head",1)}function TCe(){DM.call(this,"Tail",3)}function I1(e){ih(),lyn.call(this,e)}function X0(e){$x.call(this,e,e,e,e)}function QL(e){e.c=W(ir,ln,1,0,5,1)}function SCe(e){Tu(e.Qf(),new OK(e))}function v2(e){return e!=null?si(e):0}function Y0n(e,n){return $w(n,ml(e))}function Z0n(e,n){return $w(n,ml(e))}function ebn(e,n){return e[e.length]=n}function nbn(e,n){return e[e.length]=n}function tbn(e,n){return VC(V$(e.f),n)}function ibn(e,n){return VC(V$(e.n),n)}function rbn(e,n){return VC(V$(e.p),n)}function jV(e){return hpn(e.b.Jc(),e.a)}function cbn(e){return e==null?0:si(e)}function Cr(e,n){di.call(this,e.b,n)}function ubn(e,n){it(bu(e.a),iNe(n))}function obn(e,n){it(Ro(e.a),rNe(n))}function sbn(e,n,t){Ts(t,t.i+e,t.j+n)}function ICe(e,n,t){Ni(e.c[n.g],n.g,t)}function fbn(e,n,t){u(e.c,72).Ei(n,t)}function YL(e,n,t){return Ni(e,n,t),t}function lbn(e,n){Dl||(e.b=n)}function EV(){EV=_,zK(),tfe=new Vn}function PCe(){PCe=_,Bz=new j9(eX)}function gl(){gl=_,v.Math.log(2)}function Ss(){Ss=_,zh=(PMe(),Tfn)}function at(){at=_,new OCe,new ve}function OCe(){new Vn,new Vn,new Vn}function hbn(){throw C(new Pa(FYe))}function abn(){throw C(new Pa($Ye))}function dbn(){throw C(new Pa($Ye))}function bbn(){throw C(new Pa(FYe))}function P6(e){_t(),J0.call(this,e)}function NCe(e){this.a=e,_Q.call(this,e)}function ZL(e){this.a=e,EM.call(this,e)}function e$(e){this.a=e,EM.call(this,e)}function ur(e,n){I$(e.c,e.c.length,n)}function Fc(e){return e.a<e.c.c.length}function AV(e){return e.a<e.c.a.length}function DCe(e,n){return e.a?e.b:n.Ue()}function Eu(e,n){return e<n?-1:e>n?1:0}function MV(e,n){return Su(e,n)>0?e:n}function zu(e,n,t){return{l:e,m:n,h:t}}function wbn(e,n){e.a!=null&&Yxe(n,e.a)}function gbn(e){Rr(e,null),Er(e,null)}function pbn(e,n,t){return It(e.g,t,n)}function mbn(e,n){st(n),M2(e).Ic(new we)}function LCe(){xR(),this.a=new R9(Yfe)}function fx(e){this.b=e,this.a=new ve}function $Ce(e){this.b=new BN,this.a=e}function xV(e){gQ.call(this),this.a=e}function FCe(e){XY.call(this),this.b=e}function BCe(){DM.call(this,"Range",2)}function lx(e){e.j=W(wfe,ge,325,0,0,1)}function RCe(e){e.a=new Oi,e.c=new Oi}function _Ce(e){e.a=new Vn,e.e=new Vn}function JCe(e){gF(e,null),pF(e,null)}function vbn(e,n,t){return eLn(e,n,t),t}function ybn(e,n){return ss(),n.n.b+=e}function y2(e,n,t){return Vne(n,t,e.c)}function kbn(e,n,t){return It(e.k,t,n)}function jbn(e,n){return It(e.a,n.a,n)}function GCe(e,n){return tLn(e.a,n,null)}function CV(e,n){return H(yn(e.i,n))}function TV(e,n){return H(yn(e.j,n))}function O6(e,n){return aDn(e.c,e.b,n)}function SV(e){return new de(e.c,e.d)}function Ebn(e){return new de(e.c,e.d)}function zr(e){return new de(e.a,e.b)}function F(e,n){return e!=null&&uR(e,n)}function n$(e,n){return Gyn(e.Jc(),n)!=-1}function hx(e){return e.Ob()?e.Pb():null}function Abn(e,n){return new hTe(e.Jc(),n)}function Mbn(e,n){e.q.setHours(n),q9(e,n)}function xbn(e,n,t){e.c._c(n,u(t,136))}function Cbn(e,n,t){e.c.Si(n,u(t,136))}function HCe(e,n){nt(e),e.Fc(u(n,16))}function IV(e,n){return e.a.Ac(n)!=null}function qCe(e){return eh(e,0,e.length)}function zCe(){Hk.call(this,null,null)}function UCe(){px.call(this,null,null)}function XCe(){ot.call(this,"INSTANCE",0)}function KCe(e){this.a=(tn(),new Z3(e))}function Tbn(e){this.b=(tn(),new DD(e))}function PV(e){this.a=e,Vn.call(this)}function k2(){this.a=W(ir,ln,1,8,5,1)}function Sbn(e,n,t,i){Ni(e.a[n.g],t.g,i)}function t$(e,n,t){return e.a[n.g][t.g]}function pl(e,n){return e.a[n.c.p][n.p]}function Ibn(e,n){return e.c[n.c.p][n.p]}function Pbn(e,n){return e.e[n.c.p][n.p]}function Obn(e,n){return e.j[n.p]=FTn(n)}function Nbn(e,n){return $Z(e.f,n.Og())}function Dbn(e,n){return J(H(n.a))<=e}function Lbn(e,n){return J(H(n.a))>=e}function i$(e,n){return e.a.Ac(n)!=null}function $bn(e,n){return e.a<w$(n)?-1:1}function sm(e,n){return e.a*n.a+e.b*n.b}function Fbn(e,n){return $Z(e.b,n.Og())}function Bbn(e,n,t){return t?n!=0:n!=e-1}function WCe(e,n,t){e.a=n^1502,e.b=t^aJ}function Rbn(e,n,t){return e.a=n,e.b=t,e}function Qh(e,n){return e.a*=n,e.b*=n,e}function me(e,n){return En(e.c,n),!0}function N6(e,n,t){return Ni(e.g,n,t),t}function VCe(e,n){e.c&&(VQ(n),MOe(n))}function ax(e,n,t){Wi.call(this,e,n,t)}function Wi(e,n,t){t7.call(this,e,n,t)}function OV(e,n,t){Cx.call(this,e,n,t)}function QCe(e,n,t){Cx.call(this,e,n,t)}function YCe(e,n,t){OV.call(this,e,n,t)}function wo(e,n,t){Wi.call(this,e,n,t)}function ZCe(e,n,t){ax.call(this,e,n,t)}function NV(e,n,t){t7.call(this,e,n,t)}function j2(e,n,t){t7.call(this,e,n,t)}function eTe(e,n,t){NV.call(this,e,n,t)}function P1(e){this.c=e,this.a=this.c.a}function Rn(e){this.i=e,this.f=this.i.j}function DV(){this.Bb|=256,this.Bb|=512}function E2(e,n){this.a=e,EM.call(this,n)}function LV(e,n){return pkn(e,new A1,n).a}function $V(e){if(!e)throw C(new gk)}function FV(e){if(!e)throw C(new bo)}function BV(){BV=_,BV(),bZe=new Wn}function nTe(){nTe=_,fL(),iln=new Vye}function lv(){lv=_,Mfe=new KD(null)}function _bn(e){f7(e,fQe),sS(e,QLn(e))}function tTe(e){e.a=u(xn(e.b.a,4),129)}function iTe(e){e.a=u(xn(e.b.a,4),129)}function rTe(e){e.b.Qb(),--e.d.f.d,Jx(e.d)}function RV(e){this.a=e,u8e.call(this,e.d)}function cTe(e,n){this.a=e,ZD.call(this,n)}function uTe(e,n){this.a=e,ZD.call(this,n)}function oTe(e,n){this.a=e,ZD.call(this,n)}function _V(e,n){this.a=n,ZD.call(this,e)}function sTe(e,n){this.a=n,xF.call(this,e)}function fTe(e,n){this.a=e,xF.call(this,n)}function lTe(e,n){this.a=n,AM.call(this,e)}function hTe(e,n){this.a=n,AM.call(this,e)}function In(e,n){return st(n),new lTe(e,n)}function aTe(e,n){return new QGe(e.a,e.b,n)}function dx(e,n){return e.lastIndexOf(n)}function JV(e,n,t){return e.indexOf(n,t)}function D6(e){return e==null?co:Oc(e)}function Jbn(e){return e==null?null:e.name}function Gbn(e){return e.l+e.m*e3+e.h*f0}function Hbn(e){return mk(e.a)?cNe(e):null}function dTe(e){CD.call(this,u(st(e),35))}function bTe(e){CD.call(this,u(st(e),35))}function Ys(e){ak.call(this,(bn(e),e))}function us(e){ak.call(this,(bn(e),e))}function r$(e){xK.call(this,new qZ(e))}function bx(e){X3.call(this,e),this.a=e}function GV(e){o2.call(this,e),this.a=e}function HV(e){Z3.call(this,e),this.a=e}function qV(e){_D.call(this),_r(this,e)}function wTe(e){this.a=e,ND.call(this,e)}function gTe(){lx(this),iC(this),this.he()}function gn(){gn=_,ud=!1,n5=!0}function Gk(e,n,t){return bB(e,n,n,t),e}function pTe(e,n){return me(n.b,e.a),e.a}function mTe(e,n){return me(n.a,e.a),e.a}function K0(e,n){return me(n.a,e.a),e.a}function Wo(e){return Hn(e.a!=null),e.a}function fm(e){return e.a!=null?e.a:null}function W0(e){return e.$H||(e.$H=++yFn)}function L6(e){return Fc(e.a)||Fc(e.b)}function qbn(e,n){return Qt(e.c.d,n.c.d)}function zbn(e,n){return Qt(e.c.c,n.c.c)}function Ubn(e,n){return Qt(e.n.a,n.n.a)}function Zu(e,n){return u(Kt(e.b,n),16)}function Xbn(e,n){return e.n.b=(bn(n),n)}function Kbn(e,n){return e.n.b=(bn(n),n)}function go(e,n){return!!n&&e.b[n.g]==n}function Wbn(e,n){return Qt(e.e.b,n.e.b)}function Vbn(e,n){return Qt(e.e.a,n.e.a)}function Qbn(e,n,t){return tDe(e,n,t,e.b)}function zV(e,n,t){return tDe(e,n,t,e.c)}function Ybn(e){return os(),!!e&&!e.dc()}function wx(e,n){return++e.b,me(e.a,n)}function UV(e,n){return++e.b,no(e.a,n)}function XV(e,n){cte.call(this,e,n,null)}function gx(e,n){$$(),this.f=n,this.d=e}function Hk(e,n){b6(),this.a=e,this.b=n}function px(e,n){Fa(),this.b=e,this.c=n}function vTe(){l6(),this.b=new Nke(this)}function lm(e){this.d=e,Rn.call(this,e)}function hm(e){this.c=e,Rn.call(this,e)}function qk(e){this.c=e,lm.call(this,e)}function yTe(e,n,t,i){hY.call(this,e,n,t,i)}function KV(e,n,t){u(C7(e,n),22).Ec(t)}function Zbn(e,n,t){BB(e.a,t),RT(e.a,n)}function ewn(e,n){return L$(e.c).Kd().Xb(n)}function c$(e,n){return new ESe(e,e.gc(),n)}function nwn(e){return new Ow(3,e)}function yh(e){return as(e,rg),new Bu(e)}function twn(e){return gM(),ft((FOe(),zYe),e)}function kTe(e){return Cv(),parseInt(e)||-1}function hv(e,n,t){return JV(e,io(n),t)}function av(e,n,t){var i;i=e.dd(n),i.Rb(t)}function Ba(e){var n;n=e.a,e.a=e.b,e.b=n}function WV(e,n){DZ(n,e),this.c=e,this.b=n}function iwn(e,n){return bB(e,n,n+1,""),e}function dv(e){return Hn(e.b!=0),e.a.a.c}function jf(e){return Hn(e.b!=0),e.c.b.c}function mx(){mx=_,UI=new di(VKe,0)}function jTe(e){return e.b=u(GY(e.a),45)}function rwn(e){return e.f!=null?e.f:""+e.g}function u$(e){return e.f!=null?e.f:""+e.g}function ETe(e){e.d=new CTe(e),e.e=new Vn}function ATe(e){if(!e)throw C(new Cs)}function VV(e){if(!e)throw C(new gk)}function ww(e){if(!e)throw C(new bo)}function cwn(e){if(!e)throw C(new BD)}function Hn(e){if(!e)throw C(new Dc)}function MTe(e){MM(),this.b=e,this.a=!0}function o$(e){fw(),this.b=e,this.a=!0}function xTe(e){N_(),Kje(this),this.Df(e)}function CTe(e){JQ.call(this,e,null,null)}function TTe(e){this.c=e,this.a=1,this.b=1}function uwn(e){return oa(),e.e.b+e.f.b/2}function own(e){return oa(),e.e.a+e.f.a/2}function swn(e,n,t){return oa(),t.e.a-e*n}function fwn(e,n,t){return oa(),t.e.b-e*n}function lwn(e,n,t){return xM(),t.Lg(e,n)}function hwn(e,n){return K1(),Ve(e,n.e,n)}function awn(e,n,t){return me(n,XRe(e,t))}function gw(e,n){return u(jl(e.a,n),35)}function Ht(e,n){return!!e.q&&Mu(e.q,n)}function dwn(e,n){return e>0?n*n/e:n*n*100}function bwn(e,n){return e>0?n/(e*e):n*100}function QV(e,n){return e.a=n.a,e.b=n.b,e}function vx(e){return e.a=-e.a,e.b=-e.b,e}function STe(e,n,t){return e.a-=n,e.b-=t,e}function pw(e,n,t){return e.a+=n,e.b+=t,e}function wwn(e,n,t){OC(),e.nf(n)&&t.Ad(e)}function ITe(e){this.c=e,_o(e,0),Jo(e,0)}function PTe(e){ni.call(this),o9(this,e)}function OTe(){ot.call(this,"GROW_TREE",0)}function Vo(e,n,t){mo.call(this,e,n,t,2)}function NTe(e,n){b6(),Hk.call(this,e,n)}function YV(e,n){Fa(),px.call(this,e,n)}function DTe(e,n){Fa(),px.call(this,e,n)}function LTe(e,n){Fa(),YV.call(this,e,n)}function gwn(e,n){return e.c.Ec(u(n,136))}function pwn(e,n){return u(yn(e.e,n),26)}function mwn(e,n){return u(yn(e.e,n),26)}function vwn(e,n,t){y9(Ro(e.a),n,rNe(t))}function ywn(e,n,t){y9(bu(e.a),n,iNe(t))}function s$(e,n){Ss(),Rx.call(this,e,n)}function ZV(e,n){Ss(),Rx.call(this,e,n)}function $Te(e,n){Ss(),Rx.call(this,e,n)}function FTe(e,n){Ss(),s$.call(this,e,n)}function eQ(e,n){Ss(),s$.call(this,e,n)}function BTe(e,n){Ss(),eQ.call(this,e,n)}function RTe(e,n){Ss(),ZV.call(this,e,n)}function nQ(e,n,t){return AS(T7(e,n),t)}function kwn(e,n,t){return n.xl(e.e,e.c,t)}function jwn(e,n,t){return n.yl(e.e,e.c,t)}function f$(e,n){return q1(e.e,u(n,52))}function _Te(e,n){return bn(e),e+w$(n)}function Ewn(e){return e==null?null:Oc(e)}function Awn(e){return e==null?null:Oc(e)}function Mwn(e){return e==null?null:GLn(e)}function xwn(e){return e==null?null:XMn(e)}function Yh(e){e.o==null&&aTn(e)}function Te(e){return B6(e==null||dw(e)),e}function H(e){return B6(e==null||bw(e)),e}function dt(e){return B6(e==null||pr(e)),e}function zk(e){F(e,161)&&u(e,161).mi()}function tQ(){mFe.call(this),this.Bb|=Vr}function Cwn(e,n){this.d=e,P8e(this),this.b=n}function Uk(e,n){this.c=e,rv.call(this,e,n)}function $6(e,n){this.a=e,Uk.call(this,e,n)}function iQ(e,n,t){IC.call(this,e,n,t,null)}function JTe(e,n,t){IC.call(this,e,n,t,null)}function rQ(e,n){BF.call(this,e),this.a=n}function cQ(e,n){BF.call(this,e),this.a=n}function Twn(e,n){return bR(e,n),new NPe(e,n)}function Swn(e,n,t){return e.Le(n,t)<=0?t:n}function Iwn(e,n,t){return e.Le(n,t)<=0?n:t}function GTe(e){return bn(e),e?1231:1237}function Pwn(e,n){n.a?NCn(e,n):i$(e.a,n.b)}function HTe(e,n){Dl||me(e.a,n)}function Own(e,n){return Ak(),Rv(n.d.i,e)}function Nwn(e,n){return Om(),new Lze(n,e)}function Dwn(e,n){return u(jl(e.b,n),144)}function Lwn(e,n){return u(jl(e.c,n),233)}function l$(e){return u(Ce(e.a,e.b),295)}function qTe(e){return new de(e.c,e.d+e.a)}function zTe(e){return ss(),ACe(u(e,203))}function uQ(e,n){return u(yn(e.b,n),278)}function Wl(e,n){return f7(n,Lce),e.f=n,e}function oQ(e,n,t){return t=gs(e,n,3,t),t}function sQ(e,n,t){return t=gs(e,n,6,t),t}function fQ(e,n,t){return t=gs(e,n,9,t),t}function Xk(e,n,t){++e.j,e.rj(),FF(e,n,t)}function UTe(e,n,t){++e.j,e.oj(n,e.Xi(n,t))}function XTe(e,n,t){var i;i=e.dd(n),i.Rb(t)}function KTe(e,n){this.c=e,ob.call(this,n)}function WTe(e,n){this.a=e,Gje.call(this,n)}function Kk(e,n){this.a=e,Gje.call(this,n)}function lQ(e){this.q=new v.Date(Kd(e))}function VTe(){this.a=new rb,this.b=new rb}function bv(){bv=_,jA=new AEe,new MEe}function A2(){A2=_,Tp=new Vt("root")}function mw(){mw=_,Ofe=Je((ts(),P0))}function Wk(e){e.b?Wk(e.b):e.f.c.yc(e.e,e.d)}function h$(e){this.a=(tn(),new OD(st(e)))}function QTe(e){this.a=(as(e,rg),new Bu(e))}function YTe(e){this.a=(as(e,rg),new Bu(e))}function $wn(e){return e==null?null:e.message}function a$(e){return String.fromCharCode(e)}function Fwn(e){return wt(_d(e,32))^wt(e)}function hQ(e,n){return(n&Ft)%e.d.length}function ZTe(e,n,t){return Wre(e.c,e.b,n,t)}function Bwn(e,n,t){return e.apply(n,t)}function aQ(e,n,t){return mm(e,u(n,24),t)}function eSe(e,n,t){return e.a+=eh(n,0,t),e}function dQ(e,n){var t;return t=e.e,e.e=n,t}function bQ(e,n){var t;return t=n,!!e.De(t)}function Rwn(e,n){var t;t=e[hJ],t.call(e,n)}function _wn(e,n){var t;t=e[hJ],t.call(e,n)}function vw(e,n){e.a._c(e.b,n),++e.b,e.c=-1}function nSe(e){ou(e.e),e.d.b=e.d,e.d.a=e.d}function Jwn(e,n,t){Dd(),T8e(e,n.Te(e.a,t))}function $d(e,n){return gn(),e==n?0:e?1:-1}function Ef(e,n){return mM(new Array(n),e)}function di(e,n){Vt.call(this,e),this.a=n}function wQ(e,n){_K.call(this,e),this.a=n}function d$(e,n){_K.call(this,e),this.a=n}function tSe(){yx.call(this),this.a=new xr}function gQ(){this.n=new xr,this.o=new xr}function iSe(){this.b=new xr,this.c=new ve}function rSe(){this.a=new ve,this.b=new ve}function cSe(){this.a=new $A,this.b=new nEe}function pQ(){this.b=new F1,this.a=new F1}function uSe(){this.b=new Ji,this.a=new Ji}function oSe(){this.a=new ve,this.d=new ve}function sSe(){this.b=new Vn,this.a=new Vn}function fSe(){this.b=new DAe,this.a=new ave}function lSe(){this.a=new dye,this.b=new n3e}function yx(){this.n=new Kp,this.i=new om}function Vk(e){return!e.a&&(e.a=new Dn),e.a}function zt(e,n){return e.a+=n.a,e.b+=n.b,e}function fr(e,n){return e.a-=n.a,e.b-=n.b,e}function Gwn(e){return iw(e.j.c,0),e.a=-1,e}function mQ(e,n,t){return t=gs(e,n,11,t),t}function hSe(e,n,t){t!=null&&QC(n,pR(e,t))}function aSe(e,n,t){t!=null&&YC(n,pR(e,t))}function am(e,n,t,i){ue.call(this,e,n,t,i)}function vQ(e,n,t,i){$x.call(this,e,n,t,i)}function yQ(e,n,t,i){ue.call(this,e,n,t,i)}function dSe(e,n,t,i){yQ.call(this,e,n,t,i)}function bSe(e,n,t,i){Ux.call(this,e,n,t,i)}function b$(e,n,t,i){Ux.call(this,e,n,t,i)}function wSe(e,n,t,i){b$.call(this,e,n,t,i)}function kQ(e,n,t,i){Ux.call(this,e,n,t,i)}function hn(e,n,t,i){kQ.call(this,e,n,t,i)}function jQ(e,n,t,i){b$.call(this,e,n,t,i)}function gSe(e,n,t,i){jQ.call(this,e,n,t,i)}function pSe(e,n,t,i){gY.call(this,e,n,t,i)}function yw(e,n){$u.call(this,yy+e+b0+n)}function Hwn(e,n){Vh(e.f)?rTn(e,n):VAn(e,n)}function EQ(e,n){return e.hk().ti().oi(e,n)}function AQ(e,n){return e.hk().ti().qi(e,n)}function qwn(e,n){return e.n.a=(bn(n),n+10)}function zwn(e,n){return e.n.a=(bn(n),n+10)}function Uwn(e,n){return e.e=u(e.d.Kb(n),162)}function Xwn(e,n){return n==e||s4(oS(n),e)}function MQ(e,n,t){return e.lastIndexOf(n,t)}function Ke(e,n){return bn(e),K(e)===K(n)}function mSe(e,n){return bn(e),K(e)===K(n)}function vSe(e,n){return It(e.a,n,"")==null}function Kwn(e,n){return e.b.zd(new _Me(e,n))}function Wwn(e,n){return e.b.zd(new JMe(e,n))}function ySe(e,n){return e.b.zd(new GMe(e,n))}function Vwn(e,n){return Q(n,(ye(),OE),e)}function Qwn(e,n,t){return Qt(e[n.a],e[t.a])}function Ywn(e,n){return Eu(e.a.d.p,n.a.d.p)}function Zwn(e,n){return Eu(n.a.d.p,e.a.d.p)}function egn(e,n){return Ak(),!Rv(n.d.i,e)}function ngn(e,n){Dl||n&&(e.d=n)}function kSe(e,n){wpn.call(this,e,e.length,n)}function jSe(e){this.c=e,ux.call(this,Dj,0)}function ESe(e,n,t){this.a=e,WV.call(this,n,t)}function xQ(e,n){this.c=e,q$.call(this,e,n)}function ASe(e,n,t){this.c=n,this.b=t,this.a=e}function Qk(e){pv(),this.d=e,this.a=new k2}function tgn(e){return e<100?null:new M1(e)}function MSe(e){return e.c?Rc(e.c.a,e,0):-1}function ign(e,n){return Qt(e.c.e.a,n.c.e.a)}function rgn(e,n){return Qt(e.b.e.a,n.b.e.a)}function cgn(e,n){return Qt(e.c-e.s,n.c-n.s)}function ugn(e,n,t){return u(e.c,72).Uk(n,t)}function kx(e,n,t){return u(e.c,72).Vk(n,t)}function ogn(e,n,t){return kwn(e,u(n,344),t)}function CQ(e,n,t){return jwn(e,u(n,344),t)}function sgn(e,n,t){return iGe(e,u(n,344),t)}function xSe(e,n,t){return sMn(e,u(n,344),t)}function CSe(e,n){return F(n,16)&&wze(e.c,n)}function F6(e,n){return n==null?null:Gw(e.b,n)}function dm(e){return e==I0||e==Hh||e==yu}function w$(e){return bw(e)?(bn(e),e):e.se()}function jx(e){return!isNaN(e)&&!isFinite(e)}function g$(e){RCe(this),Yo(this),_r(this,e)}function Mo(e){QL(this),GQ(this.c,0,e.Nc())}function Is(e,n,t){this.a=e,this.b=n,this.c=t}function TSe(e,n,t){this.a=e,this.b=n,this.c=t}function SSe(e,n,t){this.d=e,this.b=t,this.a=n}function ISe(e){this.a=e,$a(),tu(Date.now())}function wv(e){if(!e)throw C(new gc(pce))}function TQ(e,n){if(!e)throw C(new An(n))}function p$(e,n){if(e!=n)throw C(new Cs)}function m$(){m$=_,Afe=new gr,aZe=new Ki}function v$(e){var n;return n=new MN,n.e=e,n}function fgn(e,n){var t;return t=n.ni(e.a),t}function lgn(e,n,t){return Dd(),e.a.Wd(n,t),n}function PSe(e){$o(e.a),JZ(e.c,e.b),e.b=null}function hgn(e){return SS(),ft((sCe(),ten),e)}function agn(e){return to(),ft((cLe(),NZe),e)}function dgn(e){return Co(),ft((rLe(),PZe),e)}function bgn(e){return Nv(),ft((qLe(),wZe),e)}function wgn(e){return $s(),ft((oLe(),kZe),e)}function ggn(e){return il(),ft((uLe(),SZe),e)}function pgn(e){return hb(),ft((XLe(),ren),e)}function mgn(e){return RC(),ft((ODe(),den),e)}function vgn(e){return i9(),ft((sLe(),Ren),e)}function ygn(e){return dr(),ft((S$e(),Hen),e)}function kgn(e){return Hv(),ft((KLe(),Ken),e)}function jgn(e){return Rm(),ft((ULe(),enn),e)}function Egn(e){return pn(),ft((eBe(),rnn),e)}function SQ(e){$x.call(this,e.d,e.c,e.a,e.b)}function y$(e){$x.call(this,e.d,e.c,e.a,e.b)}function IQ(e,n,t){this.b=e,this.c=n,this.a=t}function Ex(e,n,t){this.b=e,this.a=n,this.c=t}function OSe(e,n,t){this.a=e,this.b=n,this.c=t}function NSe(e,n,t){this.a=e,this.b=n,this.c=t}function PQ(e,n,t){this.a=e,this.b=n,this.c=t}function DSe(e,n,t){this.b=e,this.a=n,this.c=t}function Ax(e,n,t){this.e=n,this.b=e,this.d=t}function OQ(e){var n;return n=new oEe,n.b=e,n}function Yk(){Yk=_,YI=new x2e,ZI=new C2e}function Mx(){Mx=_,wnn=new tpe,bnn=new rpe}function os(){os=_,ynn=new hme,knn=new ame}function LSe(){LSe=_,Nfn=W(ir,ln,1,0,5,1)}function $Se(){$Se=_,Qfn=W(ir,ln,1,0,5,1)}function NQ(){NQ=_,Yfn=W(ir,ln,1,0,5,1)}function Agn(e){return Bv(),ft((NDe(),fnn),e)}function Mgn(e){return yr(),ft((fCe(),lnn),e)}function xgn(e){return hT(),ft((zLe(),dnn),e)}function Cgn(e){return If(),ft((YLe(),Ann),e)}function Tgn(e){return Xw(),ft((P$e(),xnn),e)}function Sgn(e){return PC(),ft((pDe(),Dnn),e)}function Ign(e){return Hm(),ft((tFe(),Nnn),e)}function Pgn(e){return E9(),ft((WLe(),Lnn),e)}function Ogn(e){return XC(),ft((ELe(),$nn),e)}function Ngn(e){return gj(),ft((bBe(),Fnn),e)}function Dgn(e){return O7(),ft((mDe(),Bnn),e)}function Lgn(e){return Zd(),ft((ALe(),_nn),e)}function $gn(e){return lb(),ft((aLe(),Pnn),e)}function Fgn(e){return sj(),ft((rFe(),Hnn),e)}function Bgn(e){return eS(),ft((iFe(),Jnn),e)}function Rgn(e){return M7(),ft((gDe(),Gnn),e)}function _gn(e){return l4(),ft((cFe(),qnn),e)}function Jgn(e){return cc(),ft((SBe(),znn),e)}function Ggn(e){return Jv(),ft((fLe(),Unn),e)}function Hgn(e){return J1(),ft((lLe(),Xnn),e)}function qgn(e){return ua(),ft((hLe(),Wnn),e)}function zgn(e){return mC(),ft((vDe(),Vnn),e)}function Ugn(e){return wS(),ft((nBe(),Onn),e)}function Xgn(e){return es(),ft((L$e(),Ynn),e)}function Kgn(e){return EC(),ft((yDe(),Znn),e)}function Wgn(e){return mj(),ft((wBe(),Grn),e)}function Vgn(e){return g9(),ft((pLe(),Hrn),e)}function Qgn(e){return Uw(),ft((VLe(),qrn),e)}function Ygn(e){return x9(),ft((I$e(),zrn),e)}function Zgn(e){return Q1(),ft((TBe(),Urn),e)}function e2n(e){return aa(),ft((QLe(),Xrn),e)}function n2n(e){return S7(),ft((kDe(),Krn),e)}function t2n(e){return rc(),ft((wLe(),Vrn),e)}function i2n(e){return oT(),ft((bLe(),Qrn),e)}function r2n(e){return b9(),ft((dLe(),Yrn),e)}function c2n(e){return Xv(),ft((gLe(),Zrn),e)}function u2n(e){return UC(),ft((mLe(),ecn),e)}function o2n(e){return fT(),ft((vLe(),ncn),e)}function s2n(e){return t0(),ft((ZLe(),ycn),e)}function f2n(e){return e9(),ft((jDe(),Mcn),e)}function l2n(e){return Vl(),ft((EDe(),Ocn),e)}function h2n(e){return vl(),ft((ADe(),Dcn),e)}function a2n(e){return el(),ft((MDe(),Wcn),e)}function d2n(e){return cb(),ft((xDe(),tun),e)}function b2n(e){return Gm(),ft((t$e(),iun),e)}function w2n(e){return G9(),ft((oCe(),run),e)}function g2n(e){return d9(),ft((yLe(),cun),e)}function p2n(e){return w9(),ft((n$e(),Tun),e)}function m2n(e){return wC(),ft((CDe(),Sun),e)}function v2n(e){return tT(),ft((TDe(),Dun),e)}function y2n(e){return WT(),ft((O$e(),$un),e)}function k2n(e){return z7(),ft((kLe(),Bun),e)}function j2n(e){return NC(),ft((SDe(),Fun),e)}function E2n(e){return JT(),ft((e$e(),ron),e)}function A2n(e){return sT(),ft((xLe(),con),e)}function M2n(e){return TT(),ft((MLe(),uon),e)}function x2n(e){return QT(),ft((i$e(),son),e)}function C2n(e){return jT(),ft((jLe(),hon),e)}function T2n(e){return MC(),ft((IDe(),Non),e)}function S2n(e){return DC(),ft((TLe(),Don),e)}function I2n(e){return mT(),ft((CLe(),Lon),e)}function P2n(e){return SM(),ft((QNe(),Jon),e)}function O2n(e){return W7(),ft((SLe(),Bon),e)}function N2n(e){return TM(),ft((VNe(),Ron),e)}function D2n(e){return y7(),ft((PDe(),Gon),e)}function L2n(e){return lj(),ft((D$e(),Hon),e)}function $2n(e){return B9(),ft((N$e(),Fon),e)}function F2n(e){return h6(),ft((YNe(),csn),e)}function B2n(e){return R7(),ft((DDe(),usn),e)}function R2n(e){return th(),ft(($$e(),asn),e)}function _2n(e){return u0(),ft((YFe(),bsn),e)}function J2n(e){return Th(),ft((uFe(),wsn),e)}function G2n(e){return c0(),ft((fFe(),ksn),e)}function H2n(e){return Vi(),ft((F$e(),Xsn),e)}function q2n(e){return Wv(),ft((r$e(),Ksn),e)}function z2n(e){return El(),ft((ILe(),Wsn),e)}function U2n(e){return ha(),ft((c$e(),Vsn),e)}function X2n(e){return YT(),ft((lFe(),Qsn),e)}function K2n(e){return la(),ft((PLe(),Zsn),e)}function W2n(e){return bs(),ft((u$e(),nfn),e)}function V2n(e){return Qw(),ft((aBe(),tfn),e)}function Q2n(e){return R2(),ft((R$e(),ifn),e)}function Y2n(e){return vr(),ft((oFe(),rfn),e)}function Z2n(e){return To(),ft((sFe(),cfn),e)}function epn(e){return ke(),ft((B$e(),ufn),e)}function npn(e){return c9(),ft((OLe(),hfn),e)}function tpn(e){return ts(),ft((s$e(),afn),e)}function ipn(e){return qo(),ft((dBe(),dfn),e)}function rpn(e){return $m(),ft((NLe(),bfn),e)}function cpn(e){return jC(),ft((o$e(),wfn),e)}function upn(e){return AT(),ft((f$e(),gfn),e)}function opn(e){return dT(),ft((l$e(),vfn),e)}function spn(e,n){return bn(e),e+(bn(n),n)}function k$(e,n){this.c=e,this.a=n,this.b=n-e}function FSe(e,n,t){this.a=e,this.c=n,this.b=t}function BSe(e,n,t){this.a=e,this.c=n,this.b=t}function RSe(e,n,t){this.a=e,this.b=n,this.c=t}function DQ(e,n,t){this.a=e,this.b=n,this.c=t}function LQ(e,n,t){this.a=e,this.b=n,this.c=t}function j$(e,n,t){this.a=e,this.b=n,this.c=t}function _Se(e,n,t){this.a=e,this.b=n,this.c=t}function JSe(e,n,t){this.a=e,this.b=n,this.c=t}function Ra(e,n,t){this.e=e,this.a=n,this.c=t}function GSe(e,n,t){Ss(),VY.call(this,e,n,t)}function E$(e,n,t){Ss(),IY.call(this,e,n,t)}function $Q(e,n,t){Ss(),IY.call(this,e,n,t)}function FQ(e,n,t){Ss(),IY.call(this,e,n,t)}function HSe(e,n,t){Ss(),E$.call(this,e,n,t)}function BQ(e,n,t){Ss(),E$.call(this,e,n,t)}function qSe(e,n,t){Ss(),BQ.call(this,e,n,t)}function zSe(e,n,t){Ss(),$Q.call(this,e,n,t)}function USe(e,n,t){Ss(),FQ.call(this,e,n,t)}function fpn(e){return a4(),ft((ZFe(),Ofn),e)}function Zk(e,n){return st(e),st(n),new QAe(e,n)}function bm(e,n){return st(e),st(n),new cIe(e,n)}function lpn(e,n){return st(e),st(n),new uIe(e,n)}function hpn(e,n){return st(e),st(n),new sMe(e,n)}function RQ(e,n){t0n.call(this,e,kT(new Uc(n)))}function XSe(e,n){this.c=e,this.b=n,this.a=!1}function _Q(e){this.d=e,P8e(this),this.b=imn(e.d)}function JQ(e,n,t){this.c=e,NM.call(this,n,t)}function apn(e){return!e.c&&(e.c=new U3),e.c}function dpn(e){return!e.e&&(e.e=new ve),e.e}function gv(e){var n;return n=new ve,WF(n,e),n}function bpn(e){var n;return n=new Ji,WF(n,e),n}function KSe(e){var n;return n=new _D,sB(n,e),n}function e7(e){var n;return n=new ni,sB(n,e),n}function u(e,n){return B6(e==null||uR(e,n)),e}function wpn(e,n,t){WIe.call(this,n,t),this.a=e}function WSe(e,n,t){this.b=e,tCe.call(this,n,t)}function GQ(e,n,t){Die(t,0,e,n,t.length,!1)}function n7(e,n){if(!e)throw C(new An(n))}function wm(e,n){if(!e)throw C(new gc(n))}function HQ(e,n){if(!e)throw C(new ZEe(n))}function gpn(e,n){n&&(e.b=n,e.a=(N1(n),n.a))}function kh(e,n,t,i,r){e.b=n,e.c=t,e.d=i,e.a=r}function qQ(e,n,t,i,r){e.d=n,e.c=t,e.a=i,e.b=r}function zQ(e){var n,t;t=e.d,n=e.a,e.d=n,e.a=t}function UQ(e){var n,t;n=e.b,t=e.c,e.b=t,e.c=n}function ppn(e){return Hn(e.b!=0),Ns(e,e.c.b)}function A$(e){return Hn(e.b!=0),Ns(e,e.a.a)}function mpn(e,n){return oa(),Qt(e.e.a,n.e.a)}function vpn(e,n){return oa(),Qt(e.e.b,n.e.b)}function ypn(e,n){return CM(),Eu(e.d.p,n.d.p)}function kpn(e,n){return Eu(hIe(e.d),hIe(n.d))}function xx(e,n){return n&&Yx(e,n.d)?n:null}function jpn(e,n){return n==(ke(),Tn)?e.c:e.d}function pv(){pv=_,$1e=(ke(),Tn),uO=Ln}function VSe(){this.b=J(H(Ae((Nf(),XH))))}function QSe(){this.a=";,;",this.b="",this.c=""}function XQ(e,n,t){fv.call(this,e,n),this.b=t}function t7(e,n,t){bV.call(this,e,n),this.c=t}function KQ(e){NQ(),ZA.call(this),this._h(e)}function YSe(e,n,t){this.a=e,g2.call(this,n,t)}function ZSe(e,n,t){this.a=e,g2.call(this,n,t)}function Cx(e,n,t){bV.call(this,e,n),this.c=t}function eIe(){Iv(),Bmn.call(this,(C1(),wf))}function nIe(e){return _t(),new jh(0,e)}function tIe(){tIe=_,pX=(tn(),new OD(lH))}function Epn(e){return new de(e.c+e.b,e.d+e.a)}function iIe(e){return e!=null&&!qB(e,J8,G8)}function Apn(e,n){return(ORe(e)<<4|ORe(n))&Qi}function Mpn(e,n){var t;return t=e.c,Eee(e,n),t}function WQ(e,n){return n<0?e.g=-1:e.g=n,e}function Tx(e,n){return g9n(e),e.a*=n,e.b*=n,e}function rIe(e,n,t,i,r){e.c=n,e.d=t,e.b=i,e.a=r}function Mt(e,n){return Ei(e,n,e.c.b,e.c),!0}function VQ(e){e.a.b=e.b,e.b.a=e.a,e.a=e.b=null}function M$(e){this.b=e,this.a=Rd(this.b.a).Md()}function cIe(e,n){this.b=e,this.a=n,ED.call(this)}function uIe(e,n){this.a=e,this.b=n,ED.call(this)}function oIe(e,n){WIe.call(this,n,1040),this.a=e}function sIe(e){WV.call(this,e.length,0),this.a=e}function B6(e){if(!e)throw C(new Y3(null))}function Sx(e){var n;return n=e.slice(),JF(n,e)}function Ix(e){var n;return n=e.n,e.a.b+n.d+n.a}function fIe(e){var n;return n=e.n,e.e.b+n.d+n.a}function QQ(e){var n;return n=e.n,e.e.a+n.b+n.c}function xpn(e){return e.a?e.a:rF(e)}function V0(e,n){return I9(e,new fv(n.a,n.b))}function Cpn(e){return!Lr(e)&&e.c.i.c==e.d.i.c}function Tpn(e,n){return e.c<n.c?-1:e.c==n.c?0:1}function lIe(e){return e.b.c.length-e.e.c.length}function hIe(e){return e.e.c.length-e.g.c.length}function x$(e){return e.e.c.length+e.g.c.length}function i7(e){return e==0||isNaN(e)?e:e<0?-1:1}function aIe(e){return Im(),W(lO,fI,40,e,0,1)}function Spn(e,n,t){return It(e.b,u(t.b,17),n)}function Ipn(e,n,t){return It(e.b,u(t.b,17),n)}function Ppn(e,n,t){return oa(),t.e.b+t.f.b+e*n}function Opn(e,n,t){return oa(),t.e.a+t.f.a+e*n}function Npn(e){return ss(),(ke(),Qu).Gc(e.j)}function Dpn(e,n){return me(e,new de(n.a,n.b))}function mv(e,n,t){var i;i=new xw(t),Cf(e,n,i)}function YQ(e,n,t){var i;return i=e[n],e[n]=t,i}function Px(e,n){var t;return++e.j,t=e.Aj(n),t}function kt(e,n,t){return e.a=-1,KV(e,n.g,t),e}function ZQ(e,n,t,i){ete.call(this,e,n,t,i,0,0)}function Ox(e,n){Rk.call(this,e,n),this.a=this}function dIe(e){NQ(),KQ.call(this,e),this.a=-1}function bIe(){qL.call(this,"COUNT_CHILDREN",0)}function eY(){kh(this,!1,!1,!1,!1)}function wIe(){wIe=_,lfe=W(Zi,ge,15,256,0,1)}function Nx(){Nx=_,new ste((UD(),jH),(XD(),kH))}function Lpn(e){e.a.jd(),u(e.a.kd(),18).gc(),hW()}function gIe(e){return e.e.Pd().gc()*e.c.Pd().gc()}function C$(e,n,t){return new ASe(Hmn(e).Ze(),t,n)}function Dx(){Dx=_,MH=new vF((tn(),tn(),Qr))}function T$(){T$=_,Zse=new _W((tn(),tn(),GI))}function pIe(){pIe=_,ofe=W(s3,ge,221,256,0,1)}function mIe(){mIe=_,ffe=W(Iy,ge,180,128,0,1)}function vIe(){vIe=_,hfe=W(Lb,ge,190,256,0,1)}function yIe(){yIe=_,bfe=W($b,ge,191,256,0,1)}function $pn(e,n){Aee(e,n==null?null:(bn(n),n))}function Fpn(e,n){Cee(e,n==null?null:(bn(n),n))}function Bpn(e,n){Cee(e,n==null?null:(bn(n),n))}function yi(e,n){var t;return t=X$(e,n),t.i=2,t}function kIe(e,n){return e.a+=eh(n,0,n.length),e}function Ce(e,n){return en(n,e.c.length),e.c[n]}function jIe(e,n){return en(n,e.a.length),e.a[n]}function Rpn(e,n){var t;for(t=0;t<n;++t)e[t]=-1}function _pn(e,n){return bn(e),L7(e,(bn(n),n))}function Jpn(e,n){return bn(n),L7(n,(bn(e),e))}function EIe(e){return e.q?e.q:(tn(),tn(),$h)}function Lx(e){for(st(e);e.Ob();)e.Pb(),e.Qb()}function nY(e){if(e.c.e!=e.a)throw C(new Cs)}function tY(e){if(e.e.c!=e.b)throw C(new Cs)}function AIe(e){this.c=e,this.a=new em(this.c.a)}function MIe(e){this.a=e,this.c=new Vn,Kyn(this)}function iY(e){this.c=e,this.b=this.c.d.vc().Jc()}function kw(e){this.a=new nm(e.gc()),_r(this,e)}function rY(e){xK.call(this,new F1),_r(this,e)}function We(e,n){Dd(),BF.call(this,e),this.a=n}function $x(e,n,t,i){qQ(this,e,n,t,i)}function jw(e,n,t,i,r,c){return KJe(e,n,t,i,r,0,c)}function Gpn(e,n,t){return Eu(n.d[e.g],t.d[e.g])}function Hpn(e,n,t){return Eu(e.d[n.p],e.d[t.p])}function qpn(e,n,t){return Eu(e.d[n.p],e.d[t.p])}function zpn(e,n,t){return Eu(e.d[n.p],e.d[t.p])}function Upn(e,n,t){return Eu(e.d[n.p],e.d[t.p])}function Fx(e,n,t){return v.Math.min(t/e,1/n)}function xIe(e,n){return e?0:v.Math.max(0,n-1)}function CIe(e){return e.c-u(Ce(e.a,e.b),295).b}function S$(e,n){return e==null?n==null:Ke(e,n)}function Xpn(e,n){return e==null?n==null:IT(e,n)}function Bx(e,n){return _t(),new kY(e,n)}function jh(e,n){_t(),J0.call(this,e),this.a=n}function Rx(e,n){Ss(),sM.call(this,n),this.a=e}function _x(e){ob.call(this,e.gc()),Ii(this,e)}function R6(e,n,t){this.a=e,Wi.call(this,n,t,2)}function TIe(e){this.b=new ni,this.a=e,this.c=-1}function Qo(e){return e.c?e.c.f:e.e.b}function po(e){return e.c?e.c.g:e.e.a}function wt(e){return Ic(e)?e|0:PAe(e)}function SIe(e){var n;return n=WJe(e),n?SIe(n):e}function Kpn(e,n){return e.a==null&&Eze(e),e.a[n]}function Wpn(e,n){return!e&&(e=[]),e[e.length]=n,e}function ci(e,n){var t;return t=Je(e),Zee(t,n),t}function IIe(e,n,t){var i;for(i=0;i<n;++i)e[i]=t}function Fd(e,n,t){Iw(n,e.c.length),g6(e.c,n,t)}function I$(e,n,t){tRe(0,n,e.length),Ov(e,0,n,t)}function P$(e,n){return F(n,24)&&go(e,u(n,24))}function PIe(e,n){return F(n,24)&&h9n(e,u(n,24))}function pc(e,n){return oRe(e,n,O5n(e,e.b.Ae(n)))}function Vpn(e,n){return e.a.get(n)!==void 0}function cY(e){return Array.isArray(e)&&e.Rm===Kn}function O$(e){return Ho(e,26)*Y9+Ho(e,27)*Z9}function Qpn(e,n){N$(e,fr(new de(n.a,n.b),e.c))}function N$(e,n){zt(e.c,n),e.b.c+=n.a,e.b.d+=n.b}function Jx(e){e.b?Jx(e.b):e.d.dc()&&e.f.c.Ac(e.e)}function Gx(e,n,t){var i;e&&(i=e.i,i.c=n,i.b=t)}function Hx(e,n,t){var i;e&&(i=e.i,i.d=n,i.a=t)}function Ypn(e,n,t){return-Eu(e.f[n.p],e.f[t.p])}function Zpn(e,n,t){return Hi(e,new tm(n.a,t.a))}function emn(e,n,t){fqe(t,e,1),me(n,new VMe(t,e))}function nmn(e,n,t){S9(t,e,1),me(n,new txe(t,e))}function uY(e,n,t){return t=gs(e,u(n,52),7,t),t}function oY(e,n,t){return t=gs(e,u(n,52),3,t),t}function Au(e,n,t){return e.a=-1,KV(e,n.g+1,t),e}function OIe(e,n,t){this.a=e,ax.call(this,n,t,22)}function NIe(e,n,t){this.a=e,ax.call(this,n,t,14)}function DIe(e,n,t,i){Ss(),CNe.call(this,e,n,t,i)}function LIe(e,n,t,i){Ss(),CNe.call(this,e,n,t,i)}function tmn(e,n){(n.Bb&cu)!=0&&!e.a.o&&(e.a.o=n)}function D$(e,n){this.b=new ni,this.a=e,this.c=n}function $Ie(){this.b=new KN,this.c=new bOe(this)}function sY(){this.d=new EN,this.e=new dOe(this)}function FIe(){ss(),this.k=new Vn,this.d=new Ji}function fY(){tZ(),this.g=new ni,this.f=new ni}function Bd(e){T1(),this.a=0,this.b=e-1,this.c=1}function BIe(e){return _t(),new lF(10,e,0)}function RIe(e){var n;return n=e.f,n||(e.f=e.Cc())}function gm(e){var n;return n=e.i,n||(e.i=e.bc())}function qx(e){if(e.e.j!=e.d)throw C(new Cs)}function Rd(e){return e.c?e.c:e.c=e.Qd()}function L$(e){return e.d?e.d:e.d=e.Rd()}function _6(e,n){return m7n(T7(e,n))?n.wi():null}function imn(e){return F(e,16)?u(e,16).cd():e.Jc()}function lY(e){return e.Oc(W(ir,ln,1,e.gc(),5,1))}function _Ie(){_Ie=_,HYe=new sIe(W(ir,ln,1,0,5,1))}function $$(){$$=_,kfn=new Cr((Et(),Uo),0)}function JIe(){qL.call(this,"LOOKAHEAD_LAYOUT",1)}function GIe(e){lx(this),this.g=e,iC(this),this.he()}function hY(e,n,t,i){this.a=e,IC.call(this,e,n,t,i)}function Mn(e){this.a=(_Ie(),HYe),this.d=u(st(e),50)}function Eh(e,n){return _1(IGe(Ic(e)?nf(e):e,n))}function Q0(e,n){return _1(Hie(Ic(e)?nf(e):e,n))}function _d(e,n){return _1(txn(Ic(e)?nf(e):e,n))}function rmn(e,n){return $d((bn(e),e),(bn(n),n))}function F$(e,n){return Qt((bn(e),e),(bn(n),n))}function HIe(e,n){return st(n),e.a.Hd(n)&&!e.b.Hd(n)}function cmn(e,n){return zu(e.l&n.l,e.m&n.m,e.h&n.h)}function umn(e,n){return zu(e.l|n.l,e.m|n.m,e.h|n.h)}function omn(e,n){return zu(e.l^n.l,e.m^n.m,e.h^n.h)}function qIe(e){return e!=null&&_$(e)&&e.Rm!==Kn}function aY(e){return!Array.isArray(e)&&e.Rm===Kn}function Ew(e,n){return K7(e,(bn(n),new B8e(n)))}function pm(e,n){return K7(e,(bn(n),new R8e(n)))}function zIe(e){return vo(),u(e,12).e.c.length!=0}function UIe(e){return vo(),u(e,12).g.c.length!=0}function smn(e,n){return Om(),Qt(n.a.o.a,e.a.o.a)}function J6(e){return Ic(e)?""+e:bze(e)}function vv(e,n){if(e<0||e>=n)throw C(new wEe)}function fmn(e,n,t){e.a.Mb(t)&&(e.b=!0,n.Ad(t))}function dY(e){e.d||(e.d=e.b.Jc(),e.c=e.b.gc())}function lmn(e){return e.e?BZ(e.e):null}function XIe(e,n,t){return tKe(e,u(n,12),u(t,12))}function hmn(e,n,t){n.of(t,J(H(yn(e.b,t)))*e.a)}function KIe(e,n,t){return w4(),dB(e,n)&&dB(e,t)}function amn(e,n){n.Tg("General 'Rotator",1),TLn(e)}function _a(e,n,t,i){var r;r=e.i,r.i=n,r.a=t,r.b=i}function bY(e){var n;for(n=e;n.f;)n=n.f;return n}function wY(e,n){this.e=e,this.d=(n&64)!=0?n|ch:n}function WIe(e,n){this.c=0,this.d=e,this.b=n|64|ch}function zx(e){this.b=new Bu(11),this.a=(tb(),e)}function B$(e){this.b=null,this.a=(tb(),e||jfe)}function VIe(e){this.a=U_e(e.a),this.b=new Mo(e.b)}function QIe(e){this.b=e,lm.call(this,e),tTe(this)}function YIe(e){this.b=e,qk.call(this,e),iTe(this)}function Aw(e,n,t){this.a=e,am.call(this,n,t,5,6)}function hr(e,n,t,i,r){_F.call(this,e,n,t,i,r,-1)}function G6(e,n,t,i,r){j7.call(this,e,n,t,i,r,-1)}function ue(e,n,t,i){Wi.call(this,e,n,t),this.b=i}function Ux(e,n,t,i){t7.call(this,e,n,t),this.b=i}function ZIe(e){Jxe.call(this,e,!1),this.a=!1}function ePe(){qL.call(this,"LAYOUT_NEXT_LEVEL",3)}function gY(e,n,t,i){this.b=e,Wi.call(this,n,t,i)}function nPe(e,n){this.b=e,u8e.call(this,e.b),this.a=n}function yv(e,n){var t;return t=e.a.gc(),DZ(n,t),t-n}function R$(e,n){return n.Sh()?q1(e.b,u(n,52)):n}function dmn(e,n){return Ke(e.substr(0,n.length),n)}function Ah(e){return new Mn(new _V(e.a.length,e.a))}function Xx(e){return new de(e.c+e.b/2,e.d+e.a/2)}function bmn(e){return zu(~e.l&zo,~e.m&zo,~e.h&wa)}function _$(e){return typeof e===Ij||typeof e===$_}function Mu(e,n){return pr(n)?sF(e,n):!!pc(e.f,n)}function Kx(e,n){return _t(),new OY(e,n,0)}function J$(e,n){return _t(),new OY(6,e,n)}function Ir(e,n){for(bn(n);e.Ob();)n.Ad(e.Pb())}function Jd(e,n,t){ih(),this.e=e,this.d=n,this.a=t}function X(e,n,t,i){tRe(n,t,e.length),wmn(e,n,t,i)}function mm(e,n,t){return Sf(e.a,n),YQ(e.b,n.g,t)}function Hi(e,n){var t;return t=e.a.yc(n,e),t==null}function pY(e,n){var t;for(t=0;t<n;++t)e[t]=!1}function wmn(e,n,t,i){var r;for(r=n;r<t;++r)e[r]=i}function mY(e,n,t){this.c=e,this.a=n,tn(),this.b=t}function gmn(e,n,t){vv(t,e.a.c.length),ls(e.a,t,n)}function r7(e,n){return e.a.yc(n,(gn(),ud))==null}function pmn(e,n){return e>0?v.Math.log(e/n):-100}function G$(e){return new We(null,jmn(e,e.length))}function ou(e){e.f=new yCe(e),e.i=new kCe(e),++e.g}function tPe(e){if(!e)throw C(new Dc);return e.d}function vY(e,n){if(e==null)throw C(new Qp(n))}function yY(e,n){return n?_r(e,n):!1}function H6(e){return To(),!e.Gc(Aa)&&!e.Gc(jd)}function q6(e){ww(e.b!=-1),Ga(e.c,e.a=e.b),e.b=-1}function Yf(e,n,t){return p8n(e,n.g,t),Sf(e.c,n),e}function mmn(e,n,t){NLn(e.a,e.b,e.d,e.c,u(n,170),t)}function c7(e,n){HCe(e,F(n,163)?n:u(n,2001).Pl())}function vmn(e){return V2(e,(Vi(),Ec)),e.d=!0,e}function H$(e){return!e.j&&B1n(e,CPn(e.g,e.b)),e.j}function vm(e){var n;return n=a9(e),Hn(n!=null),n}function ymn(e){var n;return n=tkn(e),Hn(n!=null),n}function kmn(e,n,t){var i;return i=Lw(e,n),AF(e,n,t),i}function q$(e,n){this.d=e,Rn.call(this,e),this.e=n}function kY(e,n){J0.call(this,1),this.a=e,this.b=n}function iPe(e,n){return Su(e,n)<0?-1:Su(e,n)>0?1:0}function jmn(e,n){return l9n(n,e.length),new oIe(e,n)}function z6(e){return e.e==0?e:new Jd(-e.e,e.d,e.a)}function Emn(e){return e==Ai?hE:e==lr?"-INF":""+e}function Amn(e){return e==Ai?hE:e==lr?"-INF":""+e}function Mmn(e,n){return Qt(e.c.c+e.c.b,n.c.c+n.c.b)}function Wx(e,n){Ei(e.d,n,e.b.b,e.b),++e.a,e.c=null}function rPe(e,n){return e.c?rPe(e.c,n):me(e.b,n),e}function Y0(e,n){Si(Fu(e.Mc(),new Dme),new qke(n))}function kv(e,n,t,i,r){OR(e,u(Kt(n.k,t),16),t,i,r)}function cPe(e,n,t,i,r){for(;n<t;)i[r++]=Nr(e,n++)}function uPe(e,n,t){var i;for(i=0;i<n;++i)Ni(e,i,t)}function Vx(e){e.s=NaN,e.c=NaN,YHe(e,e.e),YHe(e,e.j)}function oPe(e){e.a=null,e.e=null,ou(e.b),e.d=0,++e.c}function z$(e){return v.Math.abs(e.d.e-e.e.e)-e.a}function xmn(e,n){return Qt(e.e.a+e.f.a,n.e.a+n.f.a)}function Cmn(e,n){return Qt(e.e.b+e.f.b,n.e.b+n.f.b)}function Tmn(e,n,t){return u(e.c.fd(n,u(t,136)),45)}function Smn(){return gM(),I(S(qYe,1),ae,538,0,[AH])}function sPe(){sPe=_,VYe=new bK(!1),QYe=new bK(!0)}function O1(){O1=_,mn=aCn(),nn(),Kg&&xEn()}function Un(e){return(e.i==null&&rh(e),e.i).length}function Imn(e,n){ym(e,new xw(n.f!=null?n.f:""+n.g))}function Pmn(e,n){ym(e,new xw(n.f!=null?n.f:""+n.g))}function Ii(e,n){return e.Qi()&&(n=JOe(e,n)),e.Di(n)}function U$(e,n){return n=e.Wk(null,n),hGe(e,null,n)}function fPe(e,n,t){return _t(),new aNe(e,n,t)}function Omn(e,n){++e.j,PR(e,e.i,n),dCn(e,u(n,344))}function w(e,n,t){var i;return i=X$(e,n),bFe(t,i),i}function X$(e,n){var t;return t=new Vee,t.j=e,t.d=n,t}function st(e){if(e==null)throw C(new Up);return e}function lPe(e){XY.call(this),this.a=e,me(e.a,this)}function hPe(){F1.call(this),this.a=!0,this.b=!0}function Mw(e){this.d=(bn(e),e),this.a=0,this.c=Dj}function K$(e,n){this.d=ckn(e),this.c=n,this.a=.5*n}function aPe(e,n){return u(Rd(e.a).Kd().Xb(n),45).jd()}function U6(e){var n;return n=e.g,n||(e.g=new hK(e))}function Qx(e){var n;return n=e.k,n||(e.k=new aK(e))}function jY(e){var n;return n=e.k,n||(e.k=new aK(e))}function Nmn(e){var n;return n=e.i,n||(e.i=new t8e(e))}function W$(e){var n;return n=e.j,n||(e.j=new E8e(e))}function dPe(e){var n;return n=e.f,n||(e.f=new RV(e))}function V$(e){var n;return n=e.d,n||(e.d=new TD(e))}function EY(e){return F(e,607)?e:new POe(e)}function bPe(e,n){return g7(n,e.c.b.c.gc()),new VAe(e,n)}function AY(e,n){return Pn(n,e.length+1),e.substr(n)}function Ni(e,n,t){return cwn(t==null||hOn(e,t)),e[n]=t}function MY(e,n){var t;return t=e.a.gc(),g7(n,t),t-1-n}function wPe(e,n){var t;t=console[e],t.call(console,n)}function yn(e,n){return pr(n)?xu(e,n):$c(pc(e.f,n))}function xY(e){e?Wte(e,($a(),tZe)):L3n(($a(),e))}function gPe(e){zK(),this.b=new ve,this.a=e,ODn(this,e)}function pPe(e){this.b=new ve,this.a=new ve,this.c=e}function au(e){this.c=new xr,this.a=new ve,this.b=e}function CY(e){this.d=e,this.c=e.a.d.a,this.b=e.a.e.g}function TY(e){this.b=e,this.a=u(Zs(this.b.a.e),227)}function SY(e){for(;e.a.b!=0;)aLn(e,u(xOe(e.a),9))}function Q$(e,n){for(bn(n);e.c<e.d;)e.Qe(n,e.c++)}function Dmn(e,n){return Om(),u(dc(e,n.d),16).Ec(n)}function Lmn(e,n){return u(k(n,(ye(),xg)),15).a<e}function $mn(e,n,t,i){return t==0||(t-i)/t<e.e||n>=e.g}function Y$(e,n,t){var i;return i=uB(e,n,t),kre(e,i)}function ym(e,n){var t;t=e.a.length,Lw(e,t),AF(e,t,n)}function mPe(e,n){var t;++e.j,t=e.Cj(),e.pj(e.Xi(t,n))}function Fmn(e,n,t){u(n.b,68),Tu(n.a,new DQ(e,t,n))}function IY(e,n,t){sM.call(this,n),this.a=e,this.b=t}function PY(e,n,t){this.a=e,_K.call(this,n),this.b=t}function vPe(e,n,t){this.a=e,wZ.call(this,8,n,null,t)}function Bmn(e){this.a=(bn(jt),jt),this.b=e,new nW}function yPe(e){this.c=e,this.a=new ni,this.b=new ni}function OY(e,n,t){J0.call(this,e),this.a=n,this.b=t}function xw(e){if(e==null)throw C(new Up);this.a=e}function Rmn(e){return!e.a&&(e.a=new Wi(Ed,e,4)),e.a}function Z0(e){return!e.d&&(e.d=new Wi(hc,e,1)),e.d}function jv(e,n){return e.a+=String.fromCharCode(n),e}function Gd(e,n){return e.a+=String.fromCharCode(n),e}function Zs(e){if(e==null)throw C(new Up);return e}function _mn(e){return Vg?sF(Vg,e):!1}function kPe(e){return e?e.dc():!e.Jc().Ob()}function jPe(e){return Zs(e),F(e,472)?u(e,472):Oc(e)}function EPe(e){return F(e,103)&&(u(e,19).Bb&cu)!=0}function X6(e){return v.Math.sqrt(e.a*e.a+e.b*e.b)}function Yx(e,n){return ER(e.c,e.f,n,e.b,e.a,e.e,e.d)}function eb(e,n){return vv(n,e.a.c.length),Ce(e.a,n)}function Zh(e,n){return K(e)===K(n)||e!=null&&qt(e,n)}function Jmn(e,n){N$(u(n.b,68),e),Tu(n.a,new NK(e))}function N1(e){e.c?N1(e.c):(z1(e),e.d=!0)}function K6(e){e.c?e.c.Ye():(e.d=!0,mSn(e))}function APe(e){RY(e.a),e.b=W(ir,ln,1,e.b.length,5,1)}function $o(e){ww(e.c!=-1),e.d.ed(e.c),e.b=e.c,e.c=-1}function MPe(e){e.b=!1,e.c=!1,e.d=!1,e.a=!1}function xPe(e){this.c=e,this.b=this.c.a,this.a=this.c.e}function $i(){FEe.call(this),iw(this.j.c,0),this.a=-1}function CPe(){ot.call(this,"DELAUNAY_TRIANGULATION",0)}function Gmn(e,n){var t;t=e.Fh(n),t>=0?e.hi(t):Mie(e,n)}function TPe(e){var n,t;return n=e.c.i.c,t=e.d.i.c,n==t}function ar(e){return!e.a&&e.c?e.c.b:e.a}function Hmn(e){return 0>=e?new PW:$9n(e-1)}function bn(e){if(e==null)throw C(new Up);return e}function qmn(e){if(e.p!=6)throw C(new bo);return e.f}function zmn(e){if(e.p!=6)throw C(new bo);return e.k}function Umn(e){if(e.p!=3)throw C(new bo);return e.e}function Xmn(e){if(e.p!=4)throw C(new bo);return e.e}function Kmn(e){if(e.p!=4)throw C(new bo);return e.j}function Wmn(e){if(e.p!=3)throw C(new bo);return e.j}function NY(e){return!e.b&&(e.b=new uM(new zD)),e.b}function nb(e){return e.c==-2&&P1n(e,hMn(e.g,e.b)),e.c}function Ev(e,n){var t;return t=X$("",e),t.n=n,t.i=1,t}function Zx(e,n,t,i){q0.call(this,e,t),this.a=n,this.f=i}function DY(e,n,t,i){q0.call(this,e,n),this.d=t,this.a=i}function SPe(e,n){this.b=e,q$.call(this,e,n),tTe(this)}function IPe(e,n){this.b=e,xQ.call(this,e,n),iTe(this)}function PPe(){tie.call(this,uf,(tv(),Pwe)),MNn(this)}function OPe(){tie.call(this,g0,(yAe(),uln)),pDn(this)}function NPe(e,n){Tbn.call(this,F9n(st(e),st(n))),this.a=n}function LY(e,n){e.c<0||e.b.b<e.c?Hr(e.b,n):e.a.vf(n)}function Vmn(e,n){it((!e.a&&(e.a=new Kk(e,e)),e.a),n)}function Nr(e,n){return Pn(n,e.length),e.charCodeAt(n)}function Qmn(e,n){return Eu(n.j.c.length,e.j.c.length)}function It(e,n,t){return pr(n)?mc(e,n,t):ro(e.f,n,t)}function $Y(e){return tn(),e?e.Me():(tb(),tb(),Efe)}function Ymn(e){return as(e,__),_C(Ur(Ur(5,e),e/10|0))}function Zmn(e,n,t){return Dm(),t.Kg(e,u(n.jd(),147))}function DPe(e,n){return Nx(),new ste(new bTe(e),new dTe(n))}function du(e,n){return K(e)===K(n)||e!=null&&qt(e,n)}function dc(e,n){return P$(e.a,n)?e.b[u(n,24).g]:null}function e3n(e){return String.fromCharCode.apply(null,e)}function LPe(e){return!e.d&&(e.d=new X3(e.c.Bc())),e.d}function Av(e){return!e.a&&(e.a=new uAe(e.c.vc())),e.a}function $Pe(e){return!e.b&&(e.b=new Z3(e.c.ec())),e.b}function u7(e){return e.j.c.length=0,RY(e.c),Gwn(e.a),e}function FPe(e,n){var t;return t=new au(e),En(n.c,t),t}function Z$(e){return!e.n&&(e.n=new ue(zc,e,1,7)),e.n}function n3n(e){return!e.b&&(e.b=new hn(Yn,e,4,7)),e.b}function FY(e){return!e.c&&(e.c=new hn(Yn,e,5,8)),e.c}function BY(e){return!e.c&&(e.c=new ue(Xo,e,9,9)),e.c}function Dt(e,n,t,i){return QFe(e,n,t,!1),pT(e,i),e}function Mh(e,n){for(;n-- >0;)e=e<<1|(e<0?1:0);return e}function BPe(e,n){e.u.Gc((To(),Aa))&&oCn(e,n),t6n(e,n)}function RPe(e,n){Pne(e,J(sa(n,"x")),J(sa(n,"y")))}function _Pe(e,n){Pne(e,J(sa(n,"x")),J(sa(n,"y")))}function t3n(){return h6(),I(S(B0e,1),ae,528,0,[VE])}function i3n(){return SM(),I(S(_on,1),ae,547,0,[CU])}function r3n(){return TM(),I(S(p0e,1),ae,477,0,[xU])}function eF(){eF=_,XYe=new RW(I(S(p0,1),IS,45,0,[]))}function c3n(e){return e!=null&&s6(YO,e.toLowerCase())}function u3n(e,n){return new hOe(u(st(e),51),u(st(n),51))}function o3n(e,n,t){var i;i=u(e.d.Kb(t),162),i&&i.Nb(n)}function RY(e){var n;for(n=e.Jc();n.Ob();)n.Pb(),n.Qb()}function M2(e){var n;return n=e.b,!n&&(e.b=n=new n8e(e)),n}function Mv(e){return e.e==Y4&&L1n(e,M7n(e.g,e.b)),e.e}function o7(e){return e.f==Y4&&F1n(e,bEn(e.g,e.b)),e.f}function W6(e){this.d=e,this.a=this.d.b,this.b=this.d.c}function _Y(e,n){this.b=e,this.c=n,this.a=new em(this.b)}function nF(e,n,t){this.a=Ece,this.d=e,this.b=n,this.c=t}function JPe(e,n){this.d=(bn(e),e),this.a=16449,this.c=n}function s3n(e,n){return Qt(e.d.c+e.d.b/2,n.d.c+n.d.b/2)}function f3n(e,n){return Qt(e.g.c+e.g.b/2,n.g.c+n.g.b/2)}function l3n(e,n){return DW(),Qt((bn(e),e),(bn(n),n))}function Bt(e,n){return z1(e),new We(e,new YZ(n,e.a))}function Fu(e,n){return z1(e),new We(e,new FZ(n,e.a))}function Cw(e,n){return z1(e),new rQ(e,new YDe(n,e.a))}function eC(e,n){return z1(e),new cQ(e,new ZDe(n,e.a))}function h3n(e,n,t){vNn(e.a,t),Fyn(t),qCn(e.b,t),_Nn(n,t)}function nC(e,n,t,i){this.a=e,this.c=n,this.b=t,this.d=i}function JY(e,n,t,i){this.c=e,this.b=n,this.a=t,this.d=i}function GPe(e,n,t,i){this.c=e,this.b=n,this.d=t,this.a=i}function tC(e,n,t,i){this.a=e,this.e=n,this.d=t,this.c=i}function HPe(e,n,t,i){this.a=e,this.d=n,this.c=t,this.b=i}function Af(e,n,t,i){this.c=e,this.d=n,this.b=t,this.a=i}function km(e,n,t,i){ot.call(this,e,n),this.a=t,this.b=i}function qPe(e,n,t,i){qBe.call(this,e,t,i,!1),this.f=n}function tF(e,n,t){var i,r;return i=lce(e),r=n.qi(t,i),r}function ea(e){var n,t;return t=(n=new G0,n),Lv(t,e),t}function iF(e){var n,t;return t=(n=new G0,n),cie(t,e),t}function zPe(e){return!e.b&&(e.b=new ue(Xi,e,12,3)),e.b}function rF(e){var n;return n=R9n(e),n||null}function a3n(e){os();var n;n=u(e.g,9),n.n.a=e.d.c+n.d.b}function UPe(e){this.a=new ve,this.e=W(bt,ge,54,e,0,2)}function cF(e){this.f=e,this.c=this.f.e,e.f>0&&JJe(this)}function XPe(e,n,t,i){this.a=e,this.c=n,this.d=t,this.b=i}function KPe(e,n,t,i){this.a=e,this.b=n,this.d=t,this.c=i}function WPe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function VPe(e,n,t,i){this.a=e,this.b=n,this.c=t,this.d=i}function Hd(e,n,t,i){this.e=e,this.a=n,this.c=t,this.d=i}function QPe(e,n,t,i){Ss(),XDe.call(this,n,t,i),this.a=e}function YPe(e,n,t,i){Ss(),XDe.call(this,n,t,i),this.a=e}function ZPe(e,n){this.a=e,Cwn.call(this,e,u(e.d,16).dd(n))}function d3n(e,n){return Qt(po(e)*Qo(e),po(n)*Qo(n))}function b3n(e,n){return Qt(po(e)*Qo(e),po(n)*Qo(n))}function jm(e){var n;return n=e.f,n||(e.f=new rv(e,e.c))}function tn(){tn=_,Qr=new sn,$h=new Bn,GI=new dn}function tb(){tb=_,jfe=new Nn,NH=new Nn,Efe=new qn}function xv(e){if(Go(e.d),e.d.d!=e.c)throw C(new Cs)}function GY(e){return Hn(e.b<e.d.gc()),e.d.Xb(e.c=e.b++)}function Yo(e){e.a.a=e.c,e.c.b=e.a,e.a.b=e.c.a=null,e.b=0}function HY(e,n){return e.b=n.b,e.c=n.c,e.d=n.d,e.a=n.a,e}function w3n(e,n,t){return me(e.a,(bR(n,t),new q0(n,t))),e}function eOe(e){return B6(e==null||_$(e)&&e.Rm!==Kn),e}function iC(e){return e.n&&(e.e!==gKe&&e.he(),e.j=null),e}function g3n(e){return e.length>0?xf(e):new ve}function p3n(e,n){return u(k(e,(se(),v3)),16).Ec(n),n}function m3n(e,n){return Ve(e,u(k(n,(ye(),xg)),15),n)}function v3n(e){return vb(e)&&Se(Te(he(e,(ye(),j0))))}function y3n(e,n,t){return l6(),Ckn(u(yn(e.e,n),517),t)}function k3n(e,n,t){e.i=0,e.e=0,n!=t&&JBe(e,n,t)}function j3n(e,n,t){e.i=0,e.e=0,n!=t&&GBe(e,n,t)}function nOe(e,n,t,i){this.b=e,this.c=i,ux.call(this,n,t)}function tOe(e,n){this.g=e,this.d=I(S(Bh,1),n1,9,0,[n])}function iOe(e,n){e.d&&!e.d.a&&(Uje(e.d,n),iOe(e.d,n))}function rOe(e,n){e.e&&!e.e.a&&(Uje(e.e,n),rOe(e.e,n))}function cOe(e,n){return B2(e.j,n.s,n.c)+B2(n.e,e.s,e.c)}function E3n(e){return u(e.jd(),147).Og()+":"+Oc(e.kd())}function A3n(e,n){return-Qt(po(e)*Qo(e),po(n)*Qo(n))}function M3n(e,n){return Zo(e),Zo(n),YEe(u(e,24),u(n,24))}function qd(e,n,t){var i,r;i=w$(t),r=new nM(i),Cf(e,n,r)}function qY(e,n){new ni,this.a=new Lo,this.b=e,this.c=n}function uOe(e){this.b=new ve,er(this.b,this.b),this.a=e}function oOe(e){this.b=new v3e,this.a=e,v.Math.random()}function sOe(){BR(this,new sK),this.wb=(O1(),mn),tv()}function fOe(){Lc.call(this,"There is no more element.")}function lOe(e,n,t,i){bV.call(this,n,t),this.b=e,this.a=i}function uF(e,n,t,i,r,c){j7.call(this,e,n,t,i,r,c?-2:-1)}function rC(e){return!e.a&&(e.a=new ue(mt,e,10,11)),e.a}function Wt(e){return!e.q&&(e.q=new ue(bf,e,11,10)),e.q}function ce(e){return!e.s&&(e.s=new ue(ho,e,21,17)),e.s}function cC(e,n){if(e==null)throw C(new Qp(n));return e}function hOe(e,n){sdn.call(this,new B$(e)),this.a=e,this.b=n}function zY(e){this.b=e,this.c=e,e.e=null,e.c=null,this.a=1}function x3n(e){pM(),v.setTimeout(function(){throw e},0)}function C3n(e){return st(e),iJe(new Mn(In(e.a.Jc(),new U)))}function uC(e){return tn(),F(e,59)?new tL(e):new bx(e)}function oF(e){return F(e,18)?new kw(u(e,18)):bpn(e.Jc())}function T3n(e){return new cTe(e,e.e.Pd().gc()*e.c.Pd().gc())}function S3n(e){return new uTe(e,e.e.Pd().gc()*e.c.Pd().gc())}function UY(e){return e&&e.hashCode?e.hashCode():W0(e)}function sF(e,n){return n==null?!!pc(e.f,null):Vpn(e.i,n)}function I3n(e,n){var t;return t=IV(e.a,n),t&&(n.d=null),t}function aOe(e,n,t){return e.f?e.f.cf(n,t):!1}function s7(e,n,t,i){Ni(e.c[n.g],t.g,i),Ni(e.c[t.g],n.g,i)}function fF(e,n,t,i){Ni(e.c[n.g],n.g,t),Ni(e.b[n.g],n.g,i)}function P3n(e){e.Tg("No crossing minimization",1),e.Ug()}function dOe(e){this.c=e,this.b=new La(u(st(new U5),51))}function bOe(e){this.c=e,this.b=new La(u(st(new XN),51))}function wOe(e){this.b=e,this.a=new La(u(st(new FN),51))}function gOe(){this.b=new Ji,this.d=new ni,this.e=new aM}function pOe(){this.d=new ni,this.b=new Vn,this.c=new ve}function XY(){this.c=new xr,this.d=new xr,this.e=new xr}function ib(){this.a=new Lo,this.b=(as(3,rg),new Bu(3))}function oC(e){this.c=e.c,this.d=e.d,this.b=e.b,this.a=e.a}function mOe(e,n,t,i,r,c){this.a=e,nB.call(this,n,t,i,r,c)}function vOe(e,n,t,i,r,c){this.a=e,nB.call(this,n,t,i,r,c)}function Ja(e,n){this.e=e,this.a=ir,this.b=Pze(n),this.c=n}function yOe(e,n){return F(n,147)&&Ke(e.b,u(n,147).Og())}function O3n(e,n){return e.a?n.Dh().Jc():u(n.Dh(),72).Gi()}function N3n(e,n,t){return J(H(t.a))<=e&&J(H(t.b))>=n}function D3n(e,n,t){return t>=0&&Ke(e.substr(t,n.length),n)}function D1(e,n,t,i,r,c,o){return new TF(e.e,n,t,i,r,c,o)}function ef(e,n,t){return Tr(n,t,e.length),e.substr(n,t-n)}function sC(e,n){var t;return t=Nd(e.Pm),n==null?t:t+": "+n}function kOe(e,n){var t;return t=e.b.Oc(n),hDe(t,e.b.gc()),t}function f7(e,n){if(e==null)throw C(new Qp(n));return e}function xc(e){return e.u||(Fo(e),e.u=new WTe(e,e)),e.u}function eo(e){var n;return n=u(xn(e,16),29),n||e.fi()}function L3n(e){e&&sC(e,e.ge())}function KY(){KY=_,AZe=new Ia,xZe=new sY,MZe=new z3}function Cv(){Cv=_;var e,n;n=!s7n(),e=new Ze,TH=n?new Xe:e}function $3n(){return PC(),I(S(Qle,1),ae,422,0,[Vle,vq])}function F3n(){return O7(),I(S(uhe,1),ae,419,0,[EP,che])}function B3n(){return M7(),I(S(fhe,1),ae,476,0,[she,MP])}function R3n(){return mC(),I(S(Ehe,1),ae,420,0,[_q,jhe])}function _3n(){return EC(),I(S(Fhe,1),ae,423,0,[Vq,Wq])}function J3n(){return S7(),I(S(E1e,1),ae,421,0,[Iz,Pz])}function G3n(){return e9(),I(S(Acn,1),ae,519,0,[l8,f8])}function H3n(){return Vl(),I(S(Pcn,1),ae,510,0,[Ub,f1])}function q3n(){return vl(),I(S(Ncn,1),ae,509,0,[C0,$l])}function z3n(){return el(),I(S(Kcn,1),ae,516,0,[Dg,wd])}function U3n(){return cb(),I(S(nun,1),ae,454,0,[gd,xp])}function X3n(){return wC(),I(S(mde,1),ae,425,0,[Zz,pde])}function K3n(){return tT(),I(S(vde,1),ae,487,0,[wO,Sp])}function W3n(){return NC(),I(S(kde,1),ae,426,0,[yde,cU])}function V3n(){return MC(),I(S(l0e,1),ae,478,0,[jU,f0e])}function Q3n(){return y7(),I(S(m0e,1),ae,428,0,[TU,xO])}function Y3n(){return RC(),I(S($fe,1),ae,424,0,[zH,XI])}function Z3n(){return Bv(),I(S(snn,1),ae,503,0,[vE,rq])}function evn(){return R7(),I(S(_0e,1),ae,427,0,[TO,R0e])}function fC(e,n,t,i){return t>=0?e.Rh(n,t,i):e.zh(null,t,i)}function l7(e){return e.b.b==0?e.a.uf():A$(e.b)}function nvn(e){if(e.p!=5)throw C(new bo);return wt(e.f)}function tvn(e){if(e.p!=5)throw C(new bo);return wt(e.k)}function WY(e){return K(e.a)===K((lB(),bX))&&hDn(e),e.a}function jOe(e,n){v1n(this,new de(e.a,e.b)),y1n(this,e7(n))}function EOe(e,n){yx.call(this),uee(this),this.a=e,this.c=n}function VY(e,n,t){Ss(),sM.call(this,n),this.a=e,this.b=t}function lF(e,n,t){_t(),J0.call(this,e),this.b=n,this.a=t}function rb(){fdn.call(this,new nm(_w(12))),$V(!0),this.a=2}function AOe(){qL.call(this,"FIXED_INTEGER_RATIO_BOXES",2)}function cb(){cb=_,gd=new rV(n3,0),xp=new rV(t3,1)}function Vl(){Vl=_,Ub=new nV(t3,0),f1=new nV(n3,1)}function ivn(e,n){e.c=n,e.c>0&&e.b>0&&(e.g=Fx(e.c,e.b,e.a))}function rvn(e,n){e.b=n,e.c>0&&e.b>0&&(e.g=Fx(e.c,e.b,e.a))}function MOe(e){var n;n=e.c.d.b,e.b=n,e.a=e.c.d,n.a=e.c.d.b=e}function h7(e){var n;S9n(e.a),SCe(e.a),n=new dk(e.a),zB(n)}function xu(e,n){return n==null?$c(pc(e.f,null)):w6(e.i,n)}function xOe(e){return e.b==0?null:(Hn(e.b!=0),Ns(e,e.a.a))}function Br(e){return Math.max(Math.min(e,Ft),-2147483648)|0}function COe(e,n,t,i,r){return new _R(e,(Nv(),FH),n,t,i,r)}function lC(e,n){return dDe(n),A9n(e,W(bt,Pt,30,n,15,1),n)}function cvn(e,n){return oa(),u(k(n,(Wc(),gh)),15).a==e}function uvn(e,n){yze(e,!0),Tu(e.e.Pf(),new IQ(e,!0,n))}function hC(e,n){return cC(e,"set1"),cC(n,"set2"),new dMe(e,n)}function ovn(e,n){var t=CH[e.charCodeAt(0)];return t??e}function svn(e,n){var t;return t=y9n(e.f,n),zt(vx(t),e.f.d)}function TOe(e,n){var t,i;return t=n,i=new ei,dXe(e,t,i),i.d}function hF(e,n,t,i){var r;r=new tSe,n.a[t.g]=r,mm(e.b,i,r)}function QY(e,n,t){var i;i=e.Fh(n),i>=0?e.$h(i,t):nre(e,n,t)}function x2(e,n,t){dC(),e&&It(hX,e,n),e&&It(yA,e,t)}function SOe(e,n,t){this.i=new ve,this.b=e,this.g=n,this.a=t}function aC(e,n,t){this.c=new ve,this.e=e,this.f=n,this.b=t}function YY(e,n,t){this.a=new ve,this.e=e,this.f=n,this.c=t}function IOe(e){yx.call(this),uee(this),this.a=e,this.c=!0}function POe(e){this.a=u(st(e),277),this.b=(tn(),new HV(e))}function OOe(e,n){lx(this),this.f=n,this.g=e,iC(this),this.he()}function a7(e,n){var t;t=e.q.getHours(),e.q.setDate(n),q9(e,t)}function NOe(e,n){var t;for(st(n),t=e.a;t;t=t.c)n.Wd(t.g,t.i)}function DOe(e){var n;return n=new kM(_w(e.length)),Zee(n,e),n}function fvn(e){function n(){}return n.prototype=e||{},new n}function lvn(e,n){return mBe(e,n)?(vFe(e),!0):!1}function na(e,n){if(n==null)throw C(new Up);return l7n(e,n)}function hvn(e){if(e.ye())return null;var n=e.n;return $I[n]}function Tw(e){return e.Db>>16!=3?null:u(e.Cb,26)}function ml(e){return e.Db>>16!=9?null:u(e.Cb,26)}function LOe(e){return e.Db>>16!=6?null:u(e.Cb,85)}function $Oe(e,n){var t;return t=e.Fh(n),t>=0?e.Th(t):UR(e,n)}function aF(e,n,t){var i;i=RBe(e,n,t),e.b=new nT(i.c.length)}function vl(){vl=_,C0=new tV(mJ,0),$l=new tV("UP",1)}function FOe(){FOe=_,zYe=lt((gM(),I(S(qYe,1),ae,538,0,[AH])))}function BOe(e){this.a=e,this.b=W(kcn,ge,2008,e.e.length,0,2)}function ROe(){this.a=new vh,this.e=new Ji,this.g=0,this.i=0}function avn(e){return!e.a&&(e.a=new ue(mt,e,10,11)),e.a.i>0}function dF(e,n){return v.Math.abs(e)<v.Math.abs(n)?e:n}function dvn(e,n){return Mx(),gn(),u(n.a,15).a<e}function bvn(e,n){return Mx(),gn(),u(n.b,15).a<e}function _Oe(e,n){return e.b+=n.b,e.c+=n.c,e.d+=n.d,e.a+=n.a,e}function ZY(e){var n;return n=e.d,n=e._i(e.f),it(e,n),n.Ob()}function JOe(e,n){var t;return t=new rY(n),wGe(t,e),new Mo(t)}function wvn(e){if(e.p!=0)throw C(new bo);return C6(e.f,0)}function gvn(e){if(e.p!=0)throw C(new bo);return C6(e.k,0)}function GOe(e){return e.Db>>16!=7?null:u(e.Cb,241)}function Tv(e){return e.Db>>16!=6?null:u(e.Cb,241)}function eZ(e){return e.Db>>16!=7?null:u(e.Cb,174)}function HOe(e){return e.Db>>16!=3?null:u(e.Cb,158)}function pi(e){return e.Db>>16!=11?null:u(e.Cb,26)}function Sw(e){return e.Db>>16!=17?null:u(e.Cb,29)}function nZ(e){var n;return z1(e),n=new Ji,Bt(e,new z8e(n))}function qOe(e,n){var t=e.a=e.a||[];return t[n]||(t[n]=e.te(n))}function pvn(e,n){var t;t=e.q.getHours(),e.q.setMonth(n),q9(e,t)}function Rr(e,n){e.c&&no(e.c.g,e),e.c=n,e.c&&me(e.c.g,e)}function or(e,n){e.c&&no(e.c.a,e),e.c=n,e.c&&me(e.c.a,e)}function Er(e,n){e.d&&no(e.d.e,e),e.d=n,e.d&&me(e.d.e,e)}function Bc(e,n){e.i&&no(e.i.j,e),e.i=n,e.i&&me(e.i.j,e)}function mc(e,n,t){return n==null?ro(e.f,null,t):ab(e.i,n,t)}function V6(e,n,t,i,r,c){return new ca(e.e,n,e.Jj(),t,i,r,c)}function mvn(e){return IB(),gn(),u(e.a,82).d.e!=0}function zOe(e,n){this.a=e,this.c=zr(this.a),this.b=new oC(n)}function UOe(e,n,t){this.a=n,this.c=e,this.b=(st(t),new Mo(t))}function XOe(e,n,t){this.a=n,this.c=e,this.b=(st(t),new Mo(t))}function Iw(e,n){if(e<0||e>n)throw C(new $u(Oce+e+Nce+n))}function dC(){dC=_,hX=new Vn,yA=new Vn,N0n(lZe,new B5e)}function KOe(){KOe=_,tcn=Au(new $i,(dr(),fc),(yr(),b3))}function WOe(){WOe=_,icn=Au(new $i,(dr(),fc),(yr(),b3))}function VOe(){VOe=_,rcn=Au(new $i,(dr(),fc),(yr(),b3))}function tZ(){tZ=_,ccn=Au(new $i,(dr(),fc),(yr(),b3))}function QOe(){QOe=_,ocn=Au(new $i,(dr(),fc),(yr(),b3))}function iZ(){iZ=_,scn=Au(new $i,(dr(),fc),(yr(),b3))}function YOe(){YOe=_,xcn=kt(new $i,(dr(),fc),(yr(),By))}function ss(){ss=_,Scn=kt(new $i,(dr(),fc),(yr(),By))}function ZOe(){ZOe=_,Icn=kt(new $i,(dr(),fc),(yr(),By))}function bF(){bF=_,Lcn=kt(new $i,(dr(),fc),(yr(),By))}function eNe(){eNe=_,Iun=Au(new $i,(Gm(),a8),(G9(),_1e))}function zd(e,n,t,i){this.c=e,this.d=i,gF(this,n),pF(this,t)}function Em(e){this.c=new ni,this.b=e.b,this.d=e.c,this.a=e.a}function wF(e){this.a=v.Math.cos(e),this.b=v.Math.sin(e)}function gF(e,n){e.a&&no(e.a.k,e),e.a=n,e.a&&me(e.a.k,e)}function pF(e,n){e.b&&no(e.b.f,e),e.b=n,e.b&&me(e.b.f,e)}function nNe(e,n){Fmn(e,e.b,e.c),u(e.b.b,68),n&&u(n.b,68).b}function vvn(e,n){Nne(e,n),F(e.Cb,88)&&Vw(Fo(u(e.Cb,88)),2)}function mF(e,n){F(e.Cb,88)&&Vw(Fo(u(e.Cb,88)),4),Ru(e,n)}function bC(e,n){F(e.Cb,184)&&(u(e.Cb,184).tb=null),Ru(e,n)}function tNe(e,n){var t;return t=u(Gw(jm(e.a),n),18),t?t.gc():0}function iNe(e){var n,t;return t=(tv(),n=new G0,n),Lv(t,e),t}function rNe(e){var n,t;return t=(tv(),n=new G0,n),Lv(t,e),t}function cNe(e){for(var n;;)if(n=e.Pb(),!e.Ob())return n}function d7(e){return ih(),Su(e,0)>=0?U1(e):z6(U1(qa(e)))}function yvn(e,n){WCe(e,wt(mr(Q0(n,24),DS)),wt(mr(n,DS)))}function kvn(e,n){return Qt(u(e.c,65).c.e.b,u(n.c,65).c.e.b)}function jvn(e,n){return Qt(u(e.c,65).c.e.a,u(n.c,65).c.e.a)}function Cu(e,n){return nc(),KF(n)?new Ox(n,e):new Rk(n,e)}function uNe(e,n,t){return new _R(e,(Nv(),$H),null,!1,n,t)}function oNe(e,n,t){return new _R(e,(Nv(),BH),n,t,null,!1)}function sNe(e,n,t){var i;SRe(n,t,e.c.length),i=t-n,MW(e.c,n,i)}function L1(e,n,t){SRe(n,t,e.gc()),this.c=e,this.a=n,this.b=t-n}function Ye(e,n){this.b=(bn(e),e),this.a=(n&cg)==0?n|64|ch:n}function en(e,n){if(e<0||e>=n)throw C(new $u(Oce+e+Nce+n))}function Pn(e,n){if(e<0||e>=n)throw C(new dW(Oce+e+Nce+n))}function Evn(e,n){var t,i;t=n.c,i=t!=null,i&&ym(e,new xw(n.c))}function Avn(e,n,t){var i;i=new qr(t.d),zt(i,e),Pne(n,i.a,i.b)}function rZ(e){var n;return z1(e),n=(tb(),tb(),NH),JC(e,n)}function yl(e){return _c(I(S(br,1),ge,8,0,[e.i.n,e.n,e.a]))}function Mvn(){return i9(),I(S(Qfe,1),ae,384,0,[WH,KH,VH])}function xvn(){return $s(),I(S(oo,1),ae,130,0,[Sfe,uo,Ife])}function Cvn(){return il(),I(S(bg,1),ae,237,0,[Yc,Hu,Zc])}function Tvn(){return Co(),I(S(IZe,1),ae,461,0,[dh,od,Lf])}function Svn(){return to(),I(S(OZe,1),ae,462,0,[fl,sd,$f])}function Ivn(){return g9(),I(S(b1e,1),ae,352,0,[jz,d1e,eO])}function Pvn(){return Jv(),I(S(Bq,1),ae,302,0,[$q,Fq,AE])}function Ovn(){return J1(),I(S(Rq,1),ae,329,0,[ME,khe,kg])}function Nvn(){return ua(),I(S(Knn,1),ae,316,0,[xE,gp,w3])}function Dvn(){return lb(),I(S(lq,1),ae,368,0,[Rb,fd,Bb])}function Lvn(){return b9(),I(S(C1e,1),ae,348,0,[Dz,Nz,RE])}function $vn(){return oT(),I(S(x1e,1),ae,381,0,[A1e,Oz,M1e])}function Fvn(){return rc(),I(S(Wrn,1),ae,452,0,[u8,Po,qu])}function Bvn(){return Xv(),I(S(S1e,1),ae,349,0,[Lz,T1e,o8])}function Rvn(){return UC(),I(S(O1e,1),ae,351,0,[P1e,$z,I1e])}function _vn(){return fT(),I(S(N1e,1),ae,382,0,[Fz,M5,Ng])}function Jvn(){return d9(),I(S(V1e,1),ae,385,0,[W1e,_z,GE])}function Gvn(){return z7(),I(S(Ade,1),ae,386,0,[gO,jde,Ede])}function Hvn(){return jT(),I(S(Ude,1),ae,387,0,[zde,mU,qde])}function qvn(){return XC(),I(S(the,1),ae,350,0,[nhe,jP,yq])}function zvn(){return Zd(),I(S(Rnn,1),ae,449,0,[Tq,h5,bp])}function Uvn(){return TT(),I(S(Hde,1),ae,436,0,[p8,vO,hU])}function Xvn(){return sT(),I(S(Gde,1),ae,304,0,[lU,Jde,_de])}function Kvn(){return mT(),I(S(g0e,1),ae,430,0,[b0e,w0e,AU])}function Wvn(){return DC(),I(S(d0e,1),ae,429,0,[EU,a0e,h0e])}function Vvn(){return W7(),I(S(MU,1),ae,435,0,[EO,AO,MO])}function Qvn(){return El(),I(S(Fbe,1),ae,279,0,[N5,Gg,D5])}function Yvn(){return la(),I(S(Wbe,1),ae,347,0,[FO,d1,O8])}function Zvn(){return c9(),I(S(nwe,1),ae,300,0,[hA,tX,ewe])}function e4n(){return $m(),I(S(rwe,1),ae,281,0,[iwe,qg,HO])}function C2(e){return l6(),F(e.g,9)?u(e.g,9):null}function n4n(e){return e.a==(Iv(),tN)&&T1n(e,$In(e.g,e.b)),e.a}function Am(e){return e.d==(Iv(),tN)&&N1n(e,LOn(e.g,e.b)),e.d}function t4n(e,n){var t;return t=(bn(e),e).g,VV(!!t),bn(n),t(n)}function fNe(e,n,t){var i;i=new X3e,i.b=n,i.a=t,++n.b,me(e.d,i)}function i4n(e,n,t){var i;return i=X9(e,n,!1),i.b<=n&&i.a<=t}function lNe(e,n){var t,i;return i=yv(e,n),t=e.a.dd(i),new hMe(e,t)}function r4n(e){return e.Db>>16!=6?null:u(WR(e),241)}function c4n(e){if(e.p!=2)throw C(new bo);return wt(e.f)&Qi}function u4n(e){if(e.p!=2)throw C(new bo);return wt(e.k)&Qi}function Ud(e){return st(e),F(e,18)?new Mo(u(e,18)):gv(e.Jc())}function vF(e){Dx(),this.a=(tn(),F(e,59)?new tL(e):new bx(e))}function mr(e,n){return _1(cmn(Ic(e)?nf(e):e,Ic(n)?nf(n):n))}function Ql(e,n){return _1(umn(Ic(e)?nf(e):e,Ic(n)?nf(n):n))}function yF(e,n){return _1(omn(Ic(e)?nf(e):e,Ic(n)?nf(n):n))}function cZ(e,n){return PIe(e.a,n)?YQ(e.b,u(n,24).g,null):null}function o4n(e){return Ur(Eh(tu(Ho(e,32)),32),tu(Ho(e,32)))}function s4n(e){var n;return n=u(Sx(e.b),10),new Is(e.a,n,e.c)}function f4n(e,n){var t;t=J(H(e.a.mf((Et(),NO)))),$Xe(e,n,t)}function hNe(e,n){Jd.call(this,1,2,I(S(bt,1),Pt,30,15,[e,n]))}function uZ(e,n){odn.call(this,new nm(_w(e))),as(n,lKe),this.a=n}function aNe(e,n,t){J0.call(this,25),this.b=e,this.a=n,this.c=t}function fs(e){_t(),J0.call(this,e),this.c=!1,this.a=!1}function dNe(){this.c=new LCe,this.a=new VDe,this.b=new lEe,CMe()}function wC(){wC=_,Zz=new cV("DFS",0),pde=new cV("BFS",1)}function oZ(e){return e.b==null||e.b.length==0?"n_"+e.a:"n_"+e.b}function b7(e){return u(Al(e,W(Bh,n1,9,e.c.length,0,1)),199)}function sZ(e,n){return e&&e.equals?e.equals(n):K(e)===K(n)}function l4n(e,n){return r9(),e.c==n.c?Qt(n.d,e.d):Qt(e.c,n.c)}function h4n(e,n){return r9(),e.c==n.c?Qt(e.d,n.d):Qt(e.c,n.c)}function a4n(e,n){return r9(),e.c==n.c?Qt(e.d,n.d):Qt(n.c,e.c)}function d4n(e,n){return r9(),e.c==n.c?Qt(n.d,e.d):Qt(n.c,e.c)}function b4n(e,n){e.b=e.b|n.b,e.c=e.c|n.c,e.d=e.d|n.d,e.a=e.a|n.a}function kF(e,n,t){var i;i=e.d[n.p],e.d[n.p]=e.d[t.p],e.d[t.p]=i}function w4n(e,n,t){var i;e.n&&n&&t&&(i=new M5e,me(e.e,i))}function g4n(e,n){var t;t=u(yn(e.g,n),60),Tu(n.d,new ZMe(e,t))}function p4n(e,n){var t,i;return t=dJe(e),i=dJe(n),t<i?-1:t>i?1:0}function bNe(e,n){var t,i;return t=zF(n),i=t,u(yn(e.c,i),15).a}function wNe(e,n){var t;for(t=e+"";t.length<n;)t="0"+t;return t}function Xd(e){return e.c==null||e.c.length==0?"n_"+e.g:"n_"+e.c}function m4n(e){return!!e.u&&bu(e.u.a).i!=0&&!(e.n&&lR(e.n))}function fZ(e,n){return n==0?!!e.o&&e.o.f!=0:rR(e,n)}function M(e){return Hn(e.a<e.c.c.length),e.b=e.a++,e.c.c[e.b]}function jF(e,n){if(Hi(e.a,n),n.d)throw C(new Lc(DKe));n.d=e}function lZ(e,n){this.a=new ve,this.d=new ve,this.f=e,this.c=n}function gNe(){Dm(),this.b=new Vn,this.a=new Vn,this.c=new ve}function pNe(e,n,t){this.d=e,this.j=n,this.e=t,this.o=-1,this.p=3}function mNe(e,n,t){this.d=e,this.k=n,this.f=t,this.o=-1,this.p=5}function vNe(e,n,t,i,r,c){CZ.call(this,e,n,t,i,r),c&&(this.o=-2)}function yNe(e,n,t,i,r,c){lee.call(this,e,n,t,i,r),c&&(this.o=-2)}function kNe(e,n,t,i,r,c){hee.call(this,e,n,t,i,r),c&&(this.o=-2)}function jNe(e,n,t,i,r,c){SZ.call(this,e,n,t,i,r),c&&(this.o=-2)}function ENe(e,n,t,i,r,c){bee.call(this,e,n,t,i,r),c&&(this.o=-2)}function ANe(e,n,t,i,r,c){TZ.call(this,e,n,t,i,r),c&&(this.o=-2)}function MNe(e,n,t,i,r,c){aee.call(this,e,n,t,i,r),c&&(this.o=-2)}function xNe(e,n,t,i,r,c){dee.call(this,e,n,t,i,r),c&&(this.o=-2)}function CNe(e,n,t,i){sM.call(this,t),this.b=e,this.c=n,this.d=i}function TNe(e,n){this.f=e,this.a=(Iv(),nN),this.c=nN,this.b=n}function SNe(e,n){this.g=e,this.d=(Iv(),tN),this.a=tN,this.b=n}function hZ(e,n){!e.c&&(e.c=new Pi(e,0)),ES(e.c,(Zt(),q8),n)}function v4n(e,n){return bTn(e,n,F(n,103)&&(u(n,19).Bb&Vr)!=0)}function y4n(e,n){return iPe(tu(e.q.getTime()),tu(n.q.getTime()))}function INe(e){return C$(e.e.Pd().gc()*e.c.Pd().gc(),16,new r8e(e))}function k4n(e){return!!e.a&&Ro(e.a.a).i!=0&&!(e.b&&hR(e.b))}function PNe(e){return e.a?e.e.length==0?e.a.a:e.a.a+(""+e.e):e.c}function Q6(e){for(;e.d>0&&e.a[--e.d]==0;);e.a[e.d++]==0&&(e.e=0)}function ONe(e){return Hn(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c}function NNe(e,n){var t;return t=1-n,e.a[t]=eT(e.a[t],t),eT(e,n)}function DNe(e,n){var t,i;return i=mr(e,uc),t=Eh(n,32),Ql(t,i)}function j4n(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Gc(t)}function LNe(e,n,t){var i;return i=u(e.Zb().xc(n),18),!!i&&i.Kc(t)}function $Ne(e,n,t){var i;i=(st(e),new Mo(e)),tEn(new UOe(i,n,t))}function w7(e,n,t){var i;i=(st(e),new Mo(e)),iEn(new XOe(i,n,t))}function E4n(e,n,t){e.a=n,e.c=t,e.b.a.$b(),Yo(e.d),iw(e.e.a.c,0)}function Xc(e,n,t,i,r,c){return QFe(e,n,t,c),Ane(e,i),Mne(e,r),e}function FNe(e,n,t,i){return e.a+=""+ef(n==null?co:Oc(n),t,i),e}function Ar(e,n){this.a=e,W5.call(this,e),Iw(n,e.gc()),this.b=n}function BNe(e,n){var t;e.e=new cW,t=Yw(n),ur(t,e.c),sze(e,t,0)}function mi(e,n,t,i){var r;r=new tK,r.a=n,r.b=t,r.c=i,Mt(e.a,r)}function be(e,n,t,i){var r;r=new tK,r.a=n,r.b=t,r.c=i,Mt(e.b,r)}function A4n(e,n){return new j$(n,STe(zr(n.e),e,e),(gn(),!0))}function M4n(e,n){return Im(),u(k(n,(Wc(),Cp)),15).a>=e.gc()}function x4n(e){return ss(),!Lr(e)&&!(!Lr(e)&&e.c.i.c==e.d.i.c)}function Yl(e){return u(Al(e,W(r5,B4,17,e.c.length,0,1)),324)}function gC(e){return new Bu((as(e,__),_C(Ur(Ur(5,e),e/10|0))))}function C4n(e){return C$(e.e.Pd().gc()*e.c.Pd().gc(),273,new i8e(e))}function T4n(e){URe((!e.a&&(e.a=new ue(mt,e,10,11)),e.a),new T4e)}function aZ(){var e,n,t;return n=(t=(e=new G0,e),t),me(Jwe,n),n}function Kd(e){var n;return Ic(e)?(n=e,n==-0?0:n):_6n(e)}function RNe(e,n){return F(n,45)?gR(e.a,u(n,45)):!1}function _Ne(e,n){return F(n,45)?gR(e.a,u(n,45)):!1}function JNe(e,n){return F(n,45)?gR(e.a,u(n,45)):!1}function S4n(e,n){return e.a<=e.b?(n.Bd(e.a++),!0):!1}function g7(e,n){if(e<0||e>=n)throw C(new $u(_xn(e,n)));return e}function GNe(e,n,t){if(e<0||n<e||n>t)throw C(new $u(oxn(e,n,t)))}function I4n(e,n,t){e.d&&no(e.d.e,e),e.d=n,e.d&&Fd(e.d.e,t,e)}function Y6(e,n){x$n(n,e),UQ(e.d),UQ(u(k(e,(ye(),XP)),213))}function EF(e,n){C$n(n,e),zQ(e.d),zQ(u(k(e,(ye(),XP)),213))}function dZ(e){var n;return N1(e),n=new Jt,l2(e.a,new G8e(n)),n}function pC(e){var n;return N1(e),n=new Xt,l2(e.a,new H8e(n)),n}function P4n(e){return M2(e).dc()?!1:(mbn(e,new ee),!0)}function O4n(e){if(!("stack"in e))try{throw e}catch{}return e}function N4n(e,n,t){var i;i=S7n();try{return Bwn(e,n,t)}finally{H5n(i)}}function ub(e,n){var t,i;return t=na(e,n),i=null,t&&(i=t.ne()),i}function Sv(e,n){var t,i;return t=Lw(e,n),i=null,t&&(i=t.qe()),i}function Z6(e,n){var t,i;return t=na(e,n),i=null,t&&(i=t.qe()),i}function ta(e,n){var t,i;return t=na(e,n),i=null,t&&(i=aie(t)),i}function D4n(e,n,t){var i;return i=i4(t),pS(e.n,i,n),pS(e.o,n,t),n}function bZ(e,n,t){this.d=new n7e(this),this.e=e,this.i=n,this.f=t}function wZ(e,n,t,i){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1}function HNe(e,n,t,i){return F(t,59)?new yTe(e,n,t,i):new hY(e,n,t,i)}function qNe(e){return u(Al(e,W(cnn,sWe,12,e.c.length,0,1)),2007)}function zNe(e){this.a=W(ir,ln,1,Wee(v.Math.max(8,e))<<1,5,1)}function UNe(e){fB.call(this,e,(Nv(),LH),null,!1,null,!1)}function XNe(e){var n;n=e.Dh(),this.a=F(n,72)?u(n,72).Gi():n.Jc()}function L4n(e){return new Ye(m9n(u(e.a.kd(),18).gc(),e.a.jd()),16)}function Pw(e){return F(e,18)?u(e,18).dc():!e.Jc().Ob()}function KNe(e){if(e.e.g!=e.b)throw C(new Cs);return!!e.c&&e.d>0}function tt(e){return Hn(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c}function gZ(e,n){bn(n),Ni(e.a,e.c,n),e.c=e.c+1&e.a.length-1,yJe(e)}function $1(e,n){bn(n),e.b=e.b-1&e.a.length-1,Ni(e.a,e.b,n),yJe(e)}function WNe(){WNe=_,L1e=DPe(fe(1),fe(4)),D1e=DPe(fe(1),fe(2))}function VNe(){VNe=_,Ron=lt((TM(),I(S(p0e,1),ae,477,0,[xU])))}function QNe(){QNe=_,Jon=lt((SM(),I(S(_on,1),ae,547,0,[CU])))}function YNe(){YNe=_,csn=lt((h6(),I(S(B0e,1),ae,528,0,[VE])))}function $4n(){return Hv(),I(S(Xen,1),ae,408,0,[Fb,gg,wg,fp])}function F4n(){return hb(),I(S(ien,1),ae,409,0,[wE,bE,HH,qH])}function B4n(){return Nv(),I(S(HI,1),ae,310,0,[LH,$H,FH,BH])}function R4n(){return hT(),I(S(ann,1),ae,367,0,[sq,gP,pP,yE])}function _4n(){return Rm(),I(S(nle,1),ae,383,0,[$y,ele,nq,tq])}function J4n(){return If(),I(S(Enn,1),ae,413,0,[vg,u5,o5,fq])}function G4n(e){var n;return e.j==(ke(),Xn)&&(n=QHe(e),go(n,Ln))}function H4n(){return E9(),I(S(ehe,1),ae,301,0,[_y,Yle,jE,Zle])}function q4n(){return Uw(),I(S(Az,1),ae,203,0,[nO,Ez,Mp,Ap])}function z4n(){return aa(),I(S(j1e,1),ae,269,0,[bd,k1e,Tz,Sz])}function ZNe(e,n){return u(Wo(Ew(u(Kt(e.k,n),16).Mc(),hp)),113)}function eDe(e,n){return u(Wo(pm(u(Kt(e.k,n),16).Mc(),hp)),113)}function U4n(e,n){var t;t=n.a,Rr(t,n.c.d),Er(t,n.d.d),Bw(t.a,e.n)}function pZ(e,n){var t;return t=u(jl(e.b,n),66),!t&&(t=new ni),t}function Mm(e){return l6(),F(e.g,156)?u(e.g,156):null}function X4n(e){e.a=null,e.e=null,iw(e.b.c,0),iw(e.f.c,0),e.c=null}function nDe(e,n,t,i){this.e=null,this.c=e,this.d=n,this.a=t,this.b=i}function mZ(e,n,t,i,r){this.i=e,this.a=n,this.e=t,this.j=i,this.f=r}function tDe(e,n,t,i){var r;return r=i[n.g][t.g],J(H(k(e.a,r)))}function iDe(e,n){var t;for(t=e.j.c.length;t<n;t++)me(e.j,e.Mg())}function K4n(e,n){return sm(new de(n.e.a+n.f.a/2,n.e.b+n.f.b/2),e)}function W4n(){return w9(),I(S(gde,1),ae,353,0,[Yz,bO,Qz,Vz])}function V4n(){return JT(),I(S(Rde,1),ae,354,0,[fU,Fde,Bde,$de])}function Q4n(){return t0(),I(S(vcn,1),ae,404,0,[_E,s8,cO,rO])}function Y4n(){return QT(),I(S(oon,1),ae,401,0,[wU,aU,bU,dU])}function Z4n(){return Gm(),I(S(B1e,1),ae,398,0,[fO,h8,a8,d8])}function e5n(){return Wv(),I(S($be,1),ae,278,0,[cA,$O,Dbe,Lbe])}function n5n(){return jC(),I(S(gA,1),ae,288,0,[cwe,owe,rX,uwe])}function t5n(){return ts(),I(S(F8,1),ae,380,0,[dA,P0,aA,Hg])}function i5n(){return ha(),I(S(eX,1),ae,222,0,[ZU,uA,L5,L3])}function r5n(){return bs(),I(S(efn,1),ae,292,0,[sA,Jh,vd,oA])}function c5n(){return AT(),I(S(hwe,1),ae,327,0,[cX,swe,lwe,fwe])}function u5n(){return dT(),I(S(mfn,1),ae,407,0,[uX,dwe,awe,bwe])}function o5n(e){return dC(),Mu(hX,e)?u(yn(hX,e),342).Pg():null}function Ps(e,n,t){return n<0?UR(e,t):u(t,69).uk().zk(e,e.ei(),n)}function s5n(e,n,t){var i;return i=i4(t),pS(e.f,i,n),It(e.g,n,t),n}function f5n(e,n,t){var i;return i=i4(t),pS(e.p,i,n),It(e.q,n,t),n}function rDe(e){var n,t;return n=(x1(),t=new yD,t),e&&sS(n,e),n}function vZ(e){var n;return n=e.$i(e.i),e.i>0&&pu(e.g,0,n,0,e.i),n}function Zf(e){var n;for(n=0;e.Ob();)e.Pb(),n=Ur(n,1);return _C(n)}function cDe(e,n){var t;return t=new Zp,e.Ed(t),t.a+="..",n.Fd(t),t.a}function uDe(e,n){IM();var t;return t=u(yn(QO,e),58),!t||t.dk(n)}function l5n(e,n,t){if(t){var i=t.me();e.a[n]=i(t)}else delete e.a[n]}function T2(e,n){return n.e==0||e.e==0?Py:(g4(),ZR(e,n))}function h5n(e){if(e.p!=1)throw C(new bo);return wt(e.f)<<24>>24}function a5n(e){if(e.p!=1)throw C(new bo);return wt(e.k)<<24>>24}function d5n(e){if(e.p!=7)throw C(new bo);return wt(e.k)<<16>>16}function b5n(e){if(e.p!=7)throw C(new bo);return wt(e.f)<<16>>16}function mC(){mC=_,_q=new QW(P4,0),jhe=new QW("TOP_LEFT",1)}function e9(){e9=_,l8=new eV("UPPER",0),f8=new eV("LOWER",1)}function w5n(e,n,t){var i;i=u(yn(e.g,t),60),me(e.a.c,new Wr(n,i))}function g5n(e,n,t,i,r){var c;c=TTn(r,t,i),me(n,Oxn(r,c)),xMn(e,r,n)}function oDe(e,n,t){e.i=0,e.e=0,n!=t&&(GBe(e,n,t),JBe(e,n,t))}function p5n(e,n,t){return F$(H($c(pc(e.f,n))),H($c(pc(e.f,t))))}function m5n(e,n){return u(n==null?$c(pc(e.f,null)):w6(e.i,n),290)}function sDe(e,n){return K(n)===K(e)?"(this Map)":n==null?co:Oc(n)}function yZ(e,n){return e==(pn(),Mi)&&n==Mi?4:e==Mi||n==Mi?8:32}function vC(e,n,t){return vS(e,n,t,F(n,103)&&(u(n,19).Bb&Vr)!=0)}function v5n(e,n,t){return v4(e,n,t,F(n,103)&&(u(n,19).Bb&Vr)!=0)}function y5n(e,n,t){return yTn(e,n,t,F(n,103)&&(u(n,19).Bb&Vr)!=0)}function xh(e,n){nc();var t;return t=u(e,69).tk(),RMn(t,n),t.vl(n)}function ia(e,n){ih(),Jd.call(this,e,1,I(S(bt,1),Pt,30,15,[n]))}function Ow(e,n){_t(),J0.call(this,e),this.a=n,this.c=-1,this.b=-1}function fDe(e,n){XY.call(this),this.a=e,this.b=n,me(this.a.b,this)}function n9(e){return Hn(e.a<e.c.a.length),e.b=e.a,A$e(e),e.c.b[e.b]}function bu(e){return e.n||(Fo(e),e.n=new OIe(e,hc,e),xc(e)),e.n}function lDe(e,n){var t;for(t=n;t;)pw(e,t.i,t.j),t=pi(t);return e}function hDe(e,n){var t;for(t=0;t<n;++t)Ni(e,t,new MK(u(e[t],45)))}function kZ(e,n){var t;t=e.q.getHours(),e.q.setFullYear(n+ed),q9(e,t)}function aDe(e,n){zv();var t;return t=e.j.g-n.j.g,t!=0?t:0}function AF(e,n,t){if(t){var i=t.me();t=i(t)}else t=void 0;e.a[n]=t}function dDe(e){if(e<0)throw C(new nAe("Negative array size: "+e))}function bDe(e){F(e,206)&&!Se(Te(e.mf((Et(),OO))))&&POn(u(e,26))}function MF(e){return e.c&&e.d?oZ(e.c)+"->"+oZ(e.d):"e_"+W0(e)}function k5n(e,n){var t;return t=n!=null?xu(e,n):$c(pc(e.f,n)),ix(t)}function j5n(e,n){var t;return t=n!=null?xu(e,n):$c(pc(e.f,n)),ix(t)}function E5n(e,n){return $a(),it(ce(e.a),n)}function A5n(e,n){return $a(),it(ce(e.a),n)}function Wd(e,n,t){this.e=e,this.a=ir,this.b=Pze(n),this.c=n,this.d=t}function xF(e){this.e=e,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function wDe(e){this.c=e,this.a=u(rf(e),159),this.b=this.a.hk().ti()}function Nw(e,n,t,i){pNe.call(this,1,t,i),this.c=e,this.b=n}function CF(e,n,t,i){mNe.call(this,1,t,i),this.c=e,this.b=n}function TF(e,n,t,i,r,c,o){nB.call(this,n,i,r,c,o),this.c=e,this.a=t}function F1(){Vn.call(this),ETe(this),this.d.b=this.d,this.d.a=this.d}function jZ(e){this.d=e,this.b=this.d.a.entries(),this.a=this.b.next()}function yC(e){Vte(),WCe(this,wt(mr(Q0(e,24),DS)),wt(mr(e,DS)))}function xo(e,n){var t;return n.b.Kb(a$e(e,n.c.Ve(),(t=new X8e(n),t)))}function M5n(e,n){var t;return dDe(n),t=e.slice(0,n),t.length=n,JF(t,e)}function kC(e){var n;return e?new rY(e):(n=new vh,sB(n,e),n)}function x5n(e,n){var t;for(t=e.d-1;t>=0&&e.a[t]===n[t];t--);return t<0}function C5n(e,n){var t,i;i=!1;do t=NBe(e,n),i=i|t;while(t);return i}function Ei(e,n,t,i){var r;r=new Oi,r.c=n,r.b=t,r.a=i,i.b=t.a=r,++e.b}function jC(){jC=_,cwe=new bIe,owe=new JIe,rX=new AOe,uwe=new ePe}function EC(){EC=_,Vq=new YW(ul,0),Wq=new YW("ALTERNATING",1)}function gDe(){gDe=_,Gnn=lt((M7(),I(S(fhe,1),ae,476,0,[she,MP])))}function pDe(){pDe=_,Dnn=lt((PC(),I(S(Qle,1),ae,422,0,[Vle,vq])))}function mDe(){mDe=_,Bnn=lt((O7(),I(S(uhe,1),ae,419,0,[EP,che])))}function vDe(){vDe=_,Vnn=lt((mC(),I(S(Ehe,1),ae,420,0,[_q,jhe])))}function yDe(){yDe=_,Znn=lt((EC(),I(S(Fhe,1),ae,423,0,[Vq,Wq])))}function kDe(){kDe=_,Krn=lt((S7(),I(S(E1e,1),ae,421,0,[Iz,Pz])))}function jDe(){jDe=_,Mcn=lt((e9(),I(S(Acn,1),ae,519,0,[l8,f8])))}function EDe(){EDe=_,Ocn=lt((Vl(),I(S(Pcn,1),ae,510,0,[Ub,f1])))}function ADe(){ADe=_,Dcn=lt((vl(),I(S(Ncn,1),ae,509,0,[C0,$l])))}function MDe(){MDe=_,Wcn=lt((el(),I(S(Kcn,1),ae,516,0,[Dg,wd])))}function xDe(){xDe=_,tun=lt((cb(),I(S(nun,1),ae,454,0,[gd,xp])))}function CDe(){CDe=_,Sun=lt((wC(),I(S(mde,1),ae,425,0,[Zz,pde])))}function TDe(){TDe=_,Dun=lt((tT(),I(S(vde,1),ae,487,0,[wO,Sp])))}function SDe(){SDe=_,Fun=lt((NC(),I(S(kde,1),ae,426,0,[yde,cU])))}function IDe(){IDe=_,Non=lt((MC(),I(S(l0e,1),ae,478,0,[jU,f0e])))}function PDe(){PDe=_,Gon=lt((y7(),I(S(m0e,1),ae,428,0,[TU,xO])))}function ODe(){ODe=_,den=lt((RC(),I(S($fe,1),ae,424,0,[zH,XI])))}function NDe(){NDe=_,fnn=lt((Bv(),I(S(snn,1),ae,503,0,[vE,rq])))}function DDe(){DDe=_,usn=lt((R7(),I(S(_0e,1),ae,427,0,[TO,R0e])))}function T5n(){return Vi(),I(S(I8,1),ae,86,0,[_l,Tc,Ec,Rl,zs])}function S5n(){return ke(),I(S(Yr,1),fu,64,0,[qc,Cn,Ln,Xn,Tn])}function I5n(e,n,t){return u(n==null?ro(e.f,null,t):ab(e.i,n,t),290)}function P5n(e){return(e.k==(pn(),Mi)||e.k==Ui)&&Ht(e,(se(),qy))}function EZ(e){e.b!=e.c&&(e.a=W(ir,ln,1,8,5,1),e.b=0,e.c=0)}function LDe(e,n){var t;return t=n.jd(),new q0(t,e.e.pc(t,u(n.kd(),18)))}function $De(e,n){var t;for(t=n;t;)pw(e,-t.i,-t.j),t=pi(t);return e}function AZ(e,n){var t,i;for(t=n,i=0;t>0;)i+=e.a[t],t-=t&-t;return i}function ls(e,n,t){var i;return i=(en(n,e.c.length),e.c[n]),e.c[n]=t,i}function Dr(e,n){var t,i;for(bn(n),i=e.Jc();i.Ob();)t=i.Pb(),n.Ad(t)}function FDe(e,n){var t,i;return t=n.jd(),i=e.De(t),!!i&&du(i.e,n.kd())}function O5n(e,n){var t;return t=e.a.get(n),t??W(ir,ln,1,0,5,1)}function p7(e){e.i=0,xk(e.b,null),xk(e.c,null),e.a=null,e.e=null,++e.g}function MZ(e,n,t){e.a.c.length=0,gDn(e,n,t),e.a.c.length==0||GPn(e,n)}function BDe(e,n){this.c=0,this.b=n,iCe.call(this,e,17493),this.a=this.c}function RDe(e){ZXe(),Kje(this),this.a=new ni,une(this,e),Mt(this.a,e)}function _De(){QL(this),this.b=new de(Ai,Ai),this.a=new de(lr,lr)}function SF(e){AC(),!Dl&&(this.c=e,this.e=!0,this.a=new ve)}function AC(){AC=_,Dl=!0,pZe=!1,mZe=!1,yZe=!1,vZe=!1}function MC(){MC=_,jU=new sV(Wce,0),f0e=new sV("TARGET_WIDTH",1)}function Dw(e,n){return(z1(e),iv(new We(e,new YZ(n,e.a)))).zd(l3)}function N5n(){return dr(),I(S(Yfe,1),ae,363,0,[Ff,Fh,vu,lu,fc])}function D5n(){return WT(),I(S(Lun,1),ae,364,0,[iU,eU,rU,nU,tU])}function L5n(){return B9(),I(S($on,1),ae,369,0,[Ip,T3,E8,j8,WE])}function $5n(){return lj(),I(S(j0e,1),ae,330,0,[v0e,SU,k0e,IU,y0e])}function F5n(){return Xw(),I(S(Mnn,1),ae,371,0,[kE,yP,kP,vP,mP])}function B5n(){return x9(),I(S(Cz,1),ae,303,0,[w1e,Mz,xz,r8,E5])}function R5n(){return es(),I(S($he,1),ae,165,0,[IE,Xy,ya,Ky,k0])}function _5n(){return th(),I(S(Fl,1),ae,160,0,[on,Ri,al,h1,ja])}function J5n(){return R2(),I(S(D8,1),ae,257,0,[yd,fA,Vbe,N8,Qbe])}function G5n(e){return pM(),function(){return N4n(e,this,arguments)}}function Lr(e){return!e.c||!e.d?!1:!!e.c.i&&e.c.i==e.d.i}function xZ(e,n){return F(n,144)?Ke(e.c,u(n,144).c):!1}function Fo(e){return e.t||(e.t=new Fje(e),y9(new eAe(e),0,e.t)),e.t}function JDe(e){var n;return e.c||(n=e.r,F(n,88)&&(e.c=u(n,29))),e.c}function IF(e,n){var t;return t=u(jl(e.d,n),21),t||u(jl(e.e,n),21)}function GDe(e){this.b=e,Rn.call(this,e),this.a=u(xn(this.b.a,4),129)}function HDe(e){this.b=e,hm.call(this,e),this.a=u(xn(this.b.a,4),129)}function Mf(e,n,t,i,r){KDe.call(this,n,i,r),this.c=e,this.b=t}function CZ(e,n,t,i,r){KDe.call(this,n,i,r),this.c=e,this.a=t}function TZ(e,n,t,i,r){mNe.call(this,n,i,r),this.c=e,this.a=t}function SZ(e,n,t,i,r){pNe.call(this,n,i,r),this.c=e,this.a=t}function IZ(e){j0n.call(this,e==null?co:Oc(e),F(e,80)?u(e,80):null)}function H5n(e){e&&K6n((aW(),nfe)),--FI,e&&BI!=-1&&(I0n(BI),BI=-1)}function q5n(e,n){var t,i;t=u(I8n(e.c,n),18),t&&(i=t.gc(),t.$b(),e.d-=i)}function PF(e){var n,t,i;return n=e&zo,t=e>>22&zo,i=e<0?wa:0,zu(n,t,i)}function qDe(e){var n,t;return n=e.c.i,t=e.d.i,n.k==(pn(),Ui)&&t.k==Ui}function zDe(e){var n;return n=e.length,Ke(wn.substr(wn.length-n,n),e)}function $n(e){if(zn(e))return e.c=e.a,e.a.Pb();throw C(new Dc)}function xm(e,n){return n==0||e.e==0?e:n>0?f_e(e,n):Wqe(e,-n)}function PZ(e,n){return n==0||e.e==0?e:n>0?Wqe(e,n):f_e(e,-n)}function z5n(e){return e.e=3,e.d=e.Yb(),e.e!=2?(e.e=0,!0):!1}function OF(e){var n;return n=new ib,iu(n,e),Q(n,(ye(),jc),null),n}function NF(e,n,t){var i;return i=e.Fh(n),i>=0?e.Ih(i,t,!0):yb(e,n,t)}function U5n(e,n,t){return Qt(sm(r4(e),zr(n.b)),sm(r4(e),zr(t.b)))}function X5n(e,n,t){return Qt(sm(r4(e),zr(n.e)),sm(r4(e),zr(t.e)))}function K5n(e,n){return v.Math.min(B1(n.a,e.d.d.c),B1(n.b,e.d.d.c))}function UDe(e,n,t){var i;i=new PV(e.a),l9(i,e.a.a),ro(i.f,n,t),e.a.a=i}function OZ(e,n,t,i){var r;for(r=0;r<zI;r++)Gx(e.a[r][n.g],t,i[n.g])}function NZ(e,n,t,i){var r;for(r=0;r<JH;r++)Hx(e.a[n.g][r],t,i[n.g])}function Kt(e,n){var t;return t=u(e.c.xc(n),18),!t&&(t=e.ic(n)),e.pc(n,t)}function W5n(e){var n;return n=(st(e),e?new Mo(e):gv(e.Jc())),hj(n),kT(n)}function xf(e){var n,t;return st(e),n=Ymn(e.length),t=new Bu(n),Zee(t,e),t}function t9(e){var n,t;++e.j,n=e.g,t=e.i,e.g=null,e.i=0,e.Mi(t,n),e.Li()}function m7(e,n){e.Zi(e.i+1),N6(e,e.i,e.Xi(e.i,n)),e.Ki(e.i++,n),e.Li()}function Cm(e,n){return pr(n)?n==null?Bie(e.f,null):lBe(e.i,n):Bie(e.f,n)}function Ga(e,n){var t;return t=(en(n,e.c.length),e.c[n]),MW(e.c,n,1),t}function DF(e,n,t,i){var r;return r=W(bt,Pt,30,n,15,1),zAn(r,e,n,t,i),r}function ra(e,n){return e.a?At(e.a,e.b):e.a=new us(e.d),S6(e.a,n),e}function DZ(e,n){if(e<0||e>n)throw C(new $u(kie(e,n,"index")));return e}function LZ(e){var n;return n=e.e+e.f,isNaN(n)&&jx(e.d)?e.d:n}function $Z(e,n){var t,i;return t=(bn(e),e),i=(bn(n),n),t==i?0:t<i?-1:1}function V5n(e,n){var t;t=e.q.getHours()+(n/60|0),e.q.setMinutes(n),q9(e,t)}function XDe(e,n,t){sM.call(this,t),this.b=e,this.c=n,this.d=(VB(),gX)}function KDe(e,n,t){this.d=e,this.k=n?1:0,this.f=t?1:0,this.o=-1,this.p=0}function kl(e){this.c=e,this.a=new x(this.c.a),this.b=new x(this.c.b)}function xC(){this.e=new ve,this.c=new ve,this.d=new ve,this.b=new ve}function WDe(){this.g=new XK,this.b=new XK,this.a=new ve,this.k=new ve}function VDe(){this.a=new QK,this.b=new gEe,this.d=new tD,this.e=new nD}function QDe(e,n,t){this.a=e,this.c=n,this.d=t,me(n.e,this),me(t.b,this)}function YDe(e,n){tCe.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function ZDe(e,n){iCe.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function FZ(e,n){ux.call(this,n.xd(),n.wd()&-6),bn(e),this.a=e,this.b=n}function CC(e,n,t){this.a=e,this.b=n,this.c=t,me(e.t,this),me(n.i,this)}function v7(){this.b=new ni,this.a=new ni,this.b=new ni,this.a=new ni}function Iv(){Iv=_;var e,n;nN=(tv(),n=new fM,n),tN=(e=new GD,e)}function el(){el=_,Dg=new iV("REGULAR",0),wd=new iV("CRITICAL",1)}function y7(){y7=_,TU=new fV("FIXED",0),xO=new fV("CENTER_NODE",1)}function eLe(){eLe=_,zle=new di("separateLayerConnections",(hT(),sq))}function TC(){TC=_,A8=new Vt("org.eclipse.elk.labels.labelManager")}function BZ(e){if(e.a){if(e.e)return BZ(e.e)}else return e;return null}function Q5n(e,n){return e.p<n.p?1:e.p>n.p?-1:0}function nLe(e,n){return Mu(e.a,n)?(Cm(e.a,n),!0):!1}function Y5n(e){var n,t;return n=e.jd(),t=u(e.kd(),18),Zk(t.Lc(),new e8e(n))}function LF(e){var n;return n=e.b,n.b==0?null:u(wu(n,0),65).b}function Z5n(e,n){var t;return t=PDn(e,n),e.b=new nT(t.c.length),WNn(e,t)}function e6n(e){var n;return z1(e),n=new WSe(e,e.a.e,e.a.d|4),new rQ(e,n)}function tLe(e){var n;for(N1(e),n=0;e.a.zd(new u2);)n=Ur(n,1);return n}function iLe(e){var n;return e.a||(n=e.r,F(n,159)&&(e.a=u(n,159))),e.a}function n6n(e,n,t){var i;return++e.e,--e.f,i=u(e.d[n].ed(t),136),i.kd()}function Tm(e,n,t){return g7(n,e.e.Pd().gc()),g7(t,e.c.Pd().gc()),e.a[n][t]}function SC(e,n){return bn(n),e.c<e.d?(e.Qe(n,e.c++),!0):!1}function t6n(e,n){var t;e.C&&(t=u(dc(e.b,n),127).n,t.d=e.C.d,t.a=e.C.a)}function RZ(e){var n,t,i,r;r=e.d,n=e.a,t=e.b,i=e.c,e.d=t,e.a=i,e.b=r,e.c=n}function _Z(e,n,t){var i,r;for(i=0,r=0;r<n.length;r++)i+=e.sg(n[r],i,t)}function IC(e,n,t,i){this.f=e,this.e=n,this.d=t,this.b=i,this.c=i?i.d:null}function i6n(e,n){n.Tg("Label management",1),ix(k(e,(TC(),A8))),n.Ug()}function rLe(){rLe=_,PZe=lt((Co(),I(S(IZe,1),ae,461,0,[dh,od,Lf])))}function cLe(){cLe=_,NZe=lt((to(),I(S(OZe,1),ae,462,0,[fl,sd,$f])))}function uLe(){uLe=_,SZe=lt((il(),I(S(bg,1),ae,237,0,[Yc,Hu,Zc])))}function oLe(){oLe=_,kZe=lt(($s(),I(S(oo,1),ae,130,0,[Sfe,uo,Ife])))}function sLe(){sLe=_,Ren=lt((i9(),I(S(Qfe,1),ae,384,0,[WH,KH,VH])))}function fLe(){fLe=_,Unn=lt((Jv(),I(S(Bq,1),ae,302,0,[$q,Fq,AE])))}function lLe(){lLe=_,Xnn=lt((J1(),I(S(Rq,1),ae,329,0,[ME,khe,kg])))}function hLe(){hLe=_,Wnn=lt((ua(),I(S(Knn,1),ae,316,0,[xE,gp,w3])))}function aLe(){aLe=_,Pnn=lt((lb(),I(S(lq,1),ae,368,0,[Rb,fd,Bb])))}function dLe(){dLe=_,Yrn=lt((b9(),I(S(C1e,1),ae,348,0,[Dz,Nz,RE])))}function bLe(){bLe=_,Qrn=lt((oT(),I(S(x1e,1),ae,381,0,[A1e,Oz,M1e])))}function wLe(){wLe=_,Vrn=lt((rc(),I(S(Wrn,1),ae,452,0,[u8,Po,qu])))}function gLe(){gLe=_,Zrn=lt((Xv(),I(S(S1e,1),ae,349,0,[Lz,T1e,o8])))}function pLe(){pLe=_,Hrn=lt((g9(),I(S(b1e,1),ae,352,0,[jz,d1e,eO])))}function mLe(){mLe=_,ecn=lt((UC(),I(S(O1e,1),ae,351,0,[P1e,$z,I1e])))}function vLe(){vLe=_,ncn=lt((fT(),I(S(N1e,1),ae,382,0,[Fz,M5,Ng])))}function yLe(){yLe=_,cun=lt((d9(),I(S(V1e,1),ae,385,0,[W1e,_z,GE])))}function kLe(){kLe=_,Bun=lt((z7(),I(S(Ade,1),ae,386,0,[gO,jde,Ede])))}function jLe(){jLe=_,hon=lt((jT(),I(S(Ude,1),ae,387,0,[zde,mU,qde])))}function ELe(){ELe=_,$nn=lt((XC(),I(S(the,1),ae,350,0,[nhe,jP,yq])))}function ALe(){ALe=_,_nn=lt((Zd(),I(S(Rnn,1),ae,449,0,[Tq,h5,bp])))}function MLe(){MLe=_,uon=lt((TT(),I(S(Hde,1),ae,436,0,[p8,vO,hU])))}function xLe(){xLe=_,con=lt((sT(),I(S(Gde,1),ae,304,0,[lU,Jde,_de])))}function CLe(){CLe=_,Lon=lt((mT(),I(S(g0e,1),ae,430,0,[b0e,w0e,AU])))}function TLe(){TLe=_,Don=lt((DC(),I(S(d0e,1),ae,429,0,[EU,a0e,h0e])))}function SLe(){SLe=_,Bon=lt((W7(),I(S(MU,1),ae,435,0,[EO,AO,MO])))}function ILe(){ILe=_,Wsn=lt((El(),I(S(Fbe,1),ae,279,0,[N5,Gg,D5])))}function PLe(){PLe=_,Zsn=lt((la(),I(S(Wbe,1),ae,347,0,[FO,d1,O8])))}function OLe(){OLe=_,hfn=lt((c9(),I(S(nwe,1),ae,300,0,[hA,tX,ewe])))}function NLe(){NLe=_,bfn=lt(($m(),I(S(rwe,1),ae,281,0,[iwe,qg,HO])))}function PC(){PC=_,Vle=new KW("QUADRATIC",0),vq=new KW("SCANLINE",1)}function k7(e){return!e.g&&(e.g=new YA),!e.g.c&&(e.g.c=new $je(e)),e.g.c}function r6n(e){return!e.g&&(e.g=new YA),!e.g.a&&(e.g.a=new Lje(e)),e.g.a}function c6n(e){return!e.g&&(e.g=new YA),!e.g.b&&(e.g.b=new Nje(e)),e.g.b}function u6n(e){return!e.g&&(e.g=new YA),!e.g.d&&(e.g.d=new Dje(e)),e.g.d}function o6n(e,n,t,i){return t&&(i=t.Oh(n,vi(t.Ah(),e.c.sk()),null,i)),i}function s6n(e,n,t,i){return t&&(i=t.Qh(n,vi(t.Ah(),e.c.sk()),null,i)),i}function $F(e,n,t,i){var r;return r=W(bt,Pt,30,n+1,15,1),EOn(r,e,n,t,i),r}function W(e,n,t,i,r,c){var o;return o=hJe(r,i),r!=10&&I(S(e,c),n,t,r,o),o}function f6n(e,n,t){var i,r;for(r=new _v(n,e),i=0;i<t;++i)FT(r);return r}function FF(e,n,t){var i,r;if(t!=null)for(i=0;i<n;++i)r=t[i],e.Oi(i,r)}function JZ(e,n){var t;return t=new ei,t.c=!0,t.d=n.kd(),dXe(e,n.jd(),t)}function l6n(e,n){var t;t=e.q.getHours()+(n/3600|0),e.q.setSeconds(n),q9(e,t)}function GZ(e,n){var t,i;return t=n,i=uC(gv(new qF(e,t))),Lx(new qF(e,t)),i}function nl(e,n){return!e.o&&(e.o=new mo((su(),qh),b1,e,0)),XB(e.o,n)}function HZ(e,n,t){u(e.b,68),u(e.b,68),u(e.b,68),Tu(e.a,new OSe(t,n,e))}function h6n(e,n,t,i){bUe(e,n,t,v4(e,n,i,F(n,103)&&(u(n,19).Bb&Vr)!=0))}function Tr(e,n,t){if(e<0||n>t||n<e)throw C(new dW(LS+e+Pce+n+Tce+t))}function DLe(e,n,t){this.d=new aM,this.c=new Vn,this.a=e,this.e=n,this.c=t}function BF(e){e?(this.c=e,this.b=null):(this.c=null,this.b=new ve)}function RF(e,n){NM.call(this,e,n),this.a=W(pFn,IS,438,2,0,1),this.b=!0}function qZ(e){KBe.call(this,e,0),ETe(this),this.d.b=this.d,this.d.a=this.d}function zZ(e){this.e=e,this.b=this.e.a.entries(),this.a=W(ir,ln,1,0,5,1)}function Bu(e){QL(this),n7(e>=0,"Initial capacity must not be negative")}function B1(e,n){var t,i;return t=e.a-n.a,i=e.b-n.b,v.Math.sqrt(t*t+i*i)}function UZ(e,n,t){var i;i=e.b[t.c.p][t.p],i.b+=n.b,i.c+=n.c,i.a+=n.a,++i.a}function LLe(){LLe=_,ucn=Au(kt(new $i,(dr(),Ff),(yr(),cq)),fc,b3)}function a6n(){return Hm(),I(S(l5,1),ae,231,0,[f5,Ry,s5,yg,dp,ap])}function d6n(){return eS(),I(S(ohe,1),ae,284,0,[Iq,Sq,Oq,Pq,Nq,AP])}function b6n(){return sj(),I(S(bhe,1),ae,282,0,[xP,hhe,dhe,lhe,ahe,Dq])}function w6n(){return l4(),I(S(yhe,1),ae,283,0,[Jy,ghe,vhe,mhe,phe,whe])}function g6n(){return Th(),I(S(z0e,1),ae,256,0,[$U,QE,YE,PO,SO,IO])}function p6n(){return vr(),I(S(Ybe,1),ae,102,0,[kd,Jl,$5,I0,Hh,yu])}function m6n(){return To(),I(S(BO,1),ae,280,0,[jd,Aa,lA,$8,L8,$3])}function v6n(){return c0(),I(S(_U,1),ae,299,0,[RU,T8,C8,BU,M8,x8])}function y6n(){return YT(),I(S(Hbe,1),ae,328,0,[nX,_be,Gbe,Bbe,Jbe,Rbe])}function XZ(e){var n;return!e.a&&e.b!=-1&&(n=e.c.Ah(),e.a=un(n,e.b)),e.a}function it(e,n){return e.Qi()&&e.Gc(n)?!1:(e.Fi(n),!0)}function tl(e,n){return f7(n,"Horizontal alignment cannot be null"),e.b=n,e}function $Le(e,n,t){_t();var i;return i=Y1(e,n),t&&i&&_mn(e)&&(i=null),i}function Ha(e,n,t){var i,r;for(r=e.Jc();r.Ob();)i=u(r.Pb(),36),p4(i,n,t)}function KZ(e,n){var t,i;for(i=n.Jc();i.Ob();)t=u(i.Pb(),36),Jze(e,t,0,0)}function k6n(e){var n,t;for(t=rt(e.a,0);t.b!=t.d.c;)n=u(tt(t),65),Tie(n)}function FLe(e,n){return $Me(e.e,n)||i0(e.e,n,new L_e(n)),u(jl(e.e,n),113)}function Bo(e,n,t,i){return bn(e),bn(n),bn(t),bn(i),new mY(e,n,new ku)}function mo(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=new gY(this,n,t,i)}function _F(e,n,t,i,r,c){wZ.call(this,n,i,r,c),this.c=e,this.b=t}function j7(e,n,t,i,r,c){wZ.call(this,n,i,r,c),this.c=e,this.a=t}function E7(e,n){var t,i,r;return r=e.r,i=e.d,t=X9(e,n,!0),t.b!=r||t.a!=i}function A7(e,n,t){var i,r;return r=(i=d4(e.b,n),i),r?AS(T7(e,r),t):null}function j6n(e,n,t){var i,r,c;i=na(e,t),r=null,i&&(r=aie(i)),c=r,O_e(n,t,c)}function E6n(e,n,t){var i,r,c;i=na(e,t),r=null,i&&(r=aie(i)),c=r,O_e(n,t,c)}function WZ(e,n,t){var i;e.d[n.g]=t,i=e.g.c,i[n.g]=v.Math.max(i[n.g],t+1)}function Pv(e,n){var t;return t=e.Fh(n),t>=0?e.Ih(t,!0,!0):yb(e,n,!0)}function A6n(e,n){var t;return t=yn(e.k,n),cre(e,n),o_(e,n),Wie(e,n,t),null}function M6n(e){var n;if(!e.a)throw C(new fOe);return n=e.a,e.a=pi(e.a),n}function x6n(e){if(e.b<=0)throw C(new Dc);return--e.b,e.a-=e.c.c,fe(e.a)}function C6n(e,n,t){var i;return i=RBe(e,n,t),e.b=new nT(i.c.length),dre(e,i)}function Sm(e){var n;return st(e),F(e,204)?(n=u(e,204),n):new w8e(e)}function T6n(e){for(;!e.a;)if(!ySe(e.c,new q8e(e)))return!1;return!0}function S6n(e,n){e.a.Le(n.d,e.b)>0&&(me(e.c,new XQ(n.c,n.d,e.d)),e.b=n.d)}function VZ(e,n){if(e.g==null||n>=e.i)throw C(new zL(n,e.i));return e.g[n]}function BLe(e){var n;if(e.ll())for(n=e.i-1;n>=0;--n)B(e,n);return vZ(e)}function I6n(e){OC(),u(e.mf((Et(),Rg)),182).Ec((To(),lA)),e.of(VU,null)}function OC(){OC=_,fsn=new W4e,hsn=new V4e,lsn=qyn((Et(),VU),fsn,md,hsn)}function NC(){NC=_,yde=new oV("LEAF_NUMBER",0),cU=new oV("NODE_SIZE",1)}function RLe(){RLe=_,yS(),Wwe=Ai,kln=lr,Vwe=new hk(Ai),jln=new hk(lr)}function P6n(e){return F(e,180)?""+u(e,180).a:e==null?null:Oc(e)}function O6n(e){return F(e,180)?""+u(e,180).a:e==null?null:Oc(e)}function Os(e,n,t,i,r){return n<0?yb(e,t,i):u(t,69).uk().wk(e,e.ei(),n,i,r)}function Ov(e,n,t,i){var r;i=(tb(),i||jfe),r=e.slice(n,t),jie(r,e,n,t,-n,i)}function _Le(e,n){var t,i;return i=n/e.c.Pd().gc()|0,t=n%e.c.Pd().gc(),Tm(e,i,t)}function QZ(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[0];)t=n;return t}function JLe(e){var n,t;if(!e.b)return null;for(t=e.b;n=t.a[1];)t=n;return t}function GLe(e,n,t){if(Uv(e,t),t!=null&&!e.dk(t))throw C(new BD);return t}function JF(e,n){return P7(n)!=10&&I(Zo(n),n.Qm,n.__elementTypeId$,P7(n),e),e}function YZ(e,n){ux.call(this,n.xd(),n.wd()&-16449),bn(e),this.a=e,this.c=n}function ZZ(e,n,t,i,r){_Ce(this),this.b=e,this.d=n,this.f=t,this.g=i,this.c=r}function HLe(e,n){if(n.a)throw C(new Lc(DKe));Hi(e.a,n),n.a=e,!e.j&&(e.j=n)}function Co(){Co=_,dh=new wL(n3,0),od=new wL(P4,1),Lf=new wL(t3,2)}function Nv(){Nv=_,LH=new DM("All",0),$H=new CCe,FH=new BCe,BH=new TCe}function qLe(){qLe=_,wZe=lt((Nv(),I(S(HI,1),ae,310,0,[LH,$H,FH,BH])))}function zLe(){zLe=_,dnn=lt((hT(),I(S(ann,1),ae,367,0,[sq,gP,pP,yE])))}function ULe(){ULe=_,enn=lt((Rm(),I(S(nle,1),ae,383,0,[$y,ele,nq,tq])))}function XLe(){XLe=_,ren=lt((hb(),I(S(ien,1),ae,409,0,[wE,bE,HH,qH])))}function KLe(){KLe=_,Ken=lt((Hv(),I(S(Xen,1),ae,408,0,[Fb,gg,wg,fp])))}function WLe(){WLe=_,Lnn=lt((E9(),I(S(ehe,1),ae,301,0,[_y,Yle,jE,Zle])))}function VLe(){VLe=_,qrn=lt((Uw(),I(S(Az,1),ae,203,0,[nO,Ez,Mp,Ap])))}function QLe(){QLe=_,Xrn=lt((aa(),I(S(j1e,1),ae,269,0,[bd,k1e,Tz,Sz])))}function YLe(){YLe=_,Ann=lt((If(),I(S(Enn,1),ae,413,0,[vg,u5,o5,fq])))}function ZLe(){ZLe=_,ycn=lt((t0(),I(S(vcn,1),ae,404,0,[_E,s8,cO,rO])))}function e$e(){e$e=_,ron=lt((JT(),I(S(Rde,1),ae,354,0,[fU,Fde,Bde,$de])))}function n$e(){n$e=_,Tun=lt((w9(),I(S(gde,1),ae,353,0,[Yz,bO,Qz,Vz])))}function t$e(){t$e=_,iun=lt((Gm(),I(S(B1e,1),ae,398,0,[fO,h8,a8,d8])))}function i$e(){i$e=_,son=lt((QT(),I(S(oon,1),ae,401,0,[wU,aU,bU,dU])))}function r$e(){r$e=_,Ksn=lt((Wv(),I(S($be,1),ae,278,0,[cA,$O,Dbe,Lbe])))}function c$e(){c$e=_,Vsn=lt((ha(),I(S(eX,1),ae,222,0,[ZU,uA,L5,L3])))}function u$e(){u$e=_,nfn=lt((bs(),I(S(efn,1),ae,292,0,[sA,Jh,vd,oA])))}function o$e(){o$e=_,wfn=lt((jC(),I(S(gA,1),ae,288,0,[cwe,owe,rX,uwe])))}function s$e(){s$e=_,afn=lt((ts(),I(S(F8,1),ae,380,0,[dA,P0,aA,Hg])))}function f$e(){f$e=_,gfn=lt((AT(),I(S(hwe,1),ae,327,0,[cX,swe,lwe,fwe])))}function l$e(){l$e=_,vfn=lt((dT(),I(S(mfn,1),ae,407,0,[uX,dwe,awe,bwe])))}function M7(){M7=_,she=new VW(ul,0),MP=new VW("IMPROVE_STRAIGHTNESS",1)}function DC(){DC=_,EU=new FL(YWe,0),a0e=new FL(voe,1),h0e=new FL(ul,2)}function GF(e){e.a=W(bt,Pt,30,e.b+1,15,1),e.c=W(bt,Pt,30,e.b,15,1),e.d=0}function x7(e){var n;for(n=e.p+1;n<e.c.a.c.length;++n)--u(Ce(e.c.a,n),9).p}function HF(e){var n;n=e.hj(),n!=null&&e.d!=-1&&u(n,94).uh(e),e.i&&e.i.mj()}function qa(e){var n;return Ic(e)&&(n=0-e,!isNaN(n))?n:_1(qv(e))}function eee(e){var n;if(!oB(e))throw C(new Dc);return e.e=1,n=e.d,e.d=null,n}function qF(e,n){var t;this.f=e,this.b=n,t=u(yn(e.b,n),262),this.c=t?t.b:null}function no(e,n){var t;return t=Rc(e,n,0),t==-1?!1:(Ga(e,t),!0)}function h$e(e,n){var t;return t=u(Cm(e.e,n),393),t?(VQ(t),t.e):null}function Rc(e,n,t){for(;t<e.c.length;++t)if(du(n,e.c[t]))return t;return-1}function a$e(e,n,t){var i;return N1(e),i=new ph,i.a=n,e.a.Nb(new HMe(i,t)),i.a}function N6n(e){var n;return N1(e),n=W(jr,wc,30,0,15,1),l2(e.a,new J8e(n)),n}function D6n(e,n){return Qt(J(H(k(e,(se(),Gb)))),J(H(k(n,Gb))))}function L6n(e,n){return new j$(n,pw(zr(n.e),n.f.a+e,n.f.b+e),(gn(),!1))}function $6n(e,n){return pv(),me(e,new Wr(n,fe(n.e.c.length+n.g.c.length)))}function F6n(e,n){return pv(),me(e,new Wr(n,fe(n.e.c.length+n.g.c.length)))}function LC(e,n){return du(n,Ce(e.f,0))||du(n,Ce(e.f,1))||du(n,Ce(e.f,2))}function C7(e,n){if(n<0)throw C(new $u(dVe+n));return iDe(e,n+1),Ce(e.j,n)}function B6n(e,n,t,i,r){return bn(e),bn(n),bn(t),bn(i),bn(r),new mY(e,n,i)}function nee(e,n){l6();var t,i;return t=Mm(e),i=Mm(n),!!t&&!!i&&!__e(t.k,i.k)}function T7(e,n){var t,i;return t=u(n,680),i=t.ui(),!i&&t.xi(i=new Wxe(e,n)),i}function vc(e,n){var t,i;return t=u(n,682),i=t.Yk(),!i&&t.al(i=new SNe(e,n)),i}function zF(e){var n,t;return t=u(Ce(e.j,0),12),n=u(k(t,(se(),Ut)),12),n}function Ro(e){return e.b||(e.b=new NIe(e,hc,e),!e.a&&(e.a=new Kk(e,e))),e.b}function i9(){i9=_,WH=new pL("XY",0),KH=new pL("X",1),VH=new pL("Y",2)}function S7(){S7=_,Iz=new ZW("INPUT_ORDER",0),Pz=new ZW("PORT_DEGREE",1)}function d$e(){os(),this.b=new Vn,this.f=new Vn,this.g=new Vn,this.e=new Vn}function $C(e){lx(this),this.g=e?sC(e,e.ge()):null,this.f=e,iC(this),this.he()}function ca(e,n,t,i,r,c,o){nB.call(this,n,i,r,c,o),this.c=e,this.b=t}function b$e(e,n,t,i){if(!e)throw C(new An(J9(n,I(S(ir,1),ln,1,5,[t,i]))))}function Ch(e,n,t){var i,r;for(i=10,r=0;r<t-1;r++)n<i&&(e.a+="0"),i*=10;e.a+=n}function w$e(e,n){Nfe=new X5,cen=n,Ny=e,u(Ny.b,68),HZ(Ny,Nfe,null),UUe(Ny)}function FC(e){var n,t;return t=e.length,n=W(Ks,uh,30,t,15,1),cPe(e,0,t,n,0),n}function I7(e){pIe();var n,t;return n=e+128,t=ofe[n],!t&&(t=ofe[n]=new O8e(e)),t}function g$e(e){return p$(e.d.a.e.g,e.b),Hn(e.c!=e.d.a.d),e.a=e.c,e.c=e.c.a,e.a}function p$e(e){ww(!!e.c),p$(e.f.g,e.d),e.c.Qb(),e.c=null,e.b=Gee(e),e.d=e.f.g}function tee(e){var n;return e.Lh()||(n=Un(e.Ah())-e.gi(),e.Xh().Kk(n)),e.wh()}function iee(e){var n;return n=Pm(xn(e,32)),n==null&&(Uu(e),n=Pm(xn(e,32))),n}function UF(e,n){var t;return t=vi(e.d,n),t>=0?$T(e,t,!0,!0):yb(e,n,!0)}function R6n(e,n){dm(u(u(e.f,26).mf((Et(),S8)),102))&&URe(BY(u(e.f,26)),n)}function m$e(e,n){_o(e,n==null||jx((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function v$e(e,n){fb(e,n==null||jx((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function y$e(e,n){sb(e,n==null||jx((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function k$e(e,n){Jo(e,n==null||jx((bn(n),n))||isNaN((bn(n),n))?0:(bn(n),n))}function j$e(e){(this.q?this.q:(tn(),tn(),$h)).zc(e.q?e.q:(tn(),tn(),$h))}function XF(e,n,t){var i;return i=e.g[n],N6(e,n,e.Xi(n,t)),e.Pi(n,t,i),e.Li(),i}function BC(e,n){var t;return t=e.bd(n),t>=0?(e.ed(t),!0):!1}function KF(e){var n;return e.d!=e.r&&(n=rf(e),e.e=!!n&&n.jk()==ZQe,e.d=n),e.e}function WF(e,n){var t;for(st(e),st(n),t=!1;n.Ob();)t=t|e.Ec(n.Pb());return t}function jl(e,n){var t;return t=u(yn(e.e,n),393),t?(VCe(e,t),t.e):null}function VF(e){var n;return n=e.b.c.length==0?null:Ce(e.b,0),n!=null&&cB(e,0),n}function Pc(e,n){var t,i;return z1(e),i=new FZ(n,e.a),t=new jSe(i),new We(e,t)}function to(){to=_,fl=new gL("TOP",0),sd=new gL(P4,1),$f=new gL($ce,2)}function ua(){ua=_,xE=new EL(ul,0),gp=new EL("TOP",1),w3=new EL($ce,2)}function r9(){r9=_,Qen=new VN,Yen=new JA,Wen=new QN,Ven=new YN,Zen=new ZN}function Dv(){Dv=_,ife=zu(zo,zo,524287),ZYe=zu(0,0,Fj),rfe=PF(1),PF(2),cfe=PF(0)}function Lw(e,n){var t=e.a[n],i=(yB(),SH)[typeof t];return i?i(t):wne(typeof t)}function E$e(e){var n,t;return n=e/60|0,t=e%60,t==0?""+n:""+n+":"+(""+t)}function _6n(e){return Ste(e,(Dv(),cfe))<0?-Gbn(qv(e)):e.l+e.m*e3+e.h*f0}function J6n(e){switch(e.g){case 0:return Ft;case 1:return Mr;default:return 0}}function P7(e){return e.__elementTypeCategory$==null?10:e.__elementTypeCategory$}function G6n(e,n){return F(n,103)&&(u(n,19).Bb&Vr)!=0?new UL(n,e):new _v(n,e)}function H6n(e,n){return F(n,103)&&(u(n,19).Bb&Vr)!=0?new UL(n,e):new _v(n,e)}function q6n(e,n,t){return sm(new de(t.e.a+t.f.a/2,t.e.b+t.f.b/2),e)==(bn(n),n)}function z6n(e,n){var t,i,r;r=n.c.i,t=u(yn(e.f,r),60),i=t.d.c-t.e.c,Lee(n.a,i,0)}function ree(e,n){var t;for(++e.d,++e.c[n],t=n+1;t<e.a.length;)++e.a[t],t+=t&-t}function U6n(e,n){var t;for(t=0;e.e!=e.i.gc();)mmn(n,Gn(e),fe(t)),t!=Ft&&++t}function A$e(e){var n;for(++e.a,n=e.c.a.length;e.a<n;++e.a)if(e.c.b[e.a])return}function X6n(e){var n,t;if(e.a){t=null;do n=e.a,e.a=null,t=qGe(n,t);while(e.a);e.a=t}}function K6n(e){var n,t;if(e.b){t=null;do n=e.b,e.b=null,t=qGe(n,t);while(e.b);e.b=t}}function cee(e){if(!e.c)throw C(new Dc);return e.e=e.a=e.c,e.c=e.c.c,++e.d,e.a.f}function M$e(e){if(!e.e)throw C(new Dc);return e.c=e.a=e.e,e.e=e.e.e,--e.d,e.a.f}function W6n(e,n){var t;return t=db(e.e.c,n.e.c),t==0?Qt(e.e.d,n.e.d):t}function V6n(e,n){var t,i;for(i=n.c,t=i+1;t<=n.f;t++)e.a[t]>e.a[i]&&(i=t);return i}function x$e(e){var n;return n=u(k(e,(se(),_b)),318),n?n.a==e:!1}function C$e(e){var n;return n=u(k(e,(se(),_b)),318),n?n.i==e:!1}function T$e(e,n){return n==(m$(),m$(),aZe)?e.toLocaleLowerCase():e.toLowerCase()}function S$e(){S$e=_,Hen=lt((dr(),I(S(Yfe,1),ae,363,0,[Ff,Fh,vu,lu,fc])))}function I$e(){I$e=_,zrn=lt((x9(),I(S(Cz,1),ae,303,0,[w1e,Mz,xz,r8,E5])))}function P$e(){P$e=_,xnn=lt((Xw(),I(S(Mnn,1),ae,371,0,[kE,yP,kP,vP,mP])))}function O$e(){O$e=_,$un=lt((WT(),I(S(Lun,1),ae,364,0,[iU,eU,rU,nU,tU])))}function N$e(){N$e=_,Fon=lt((B9(),I(S($on,1),ae,369,0,[Ip,T3,E8,j8,WE])))}function D$e(){D$e=_,Hon=lt((lj(),I(S(j0e,1),ae,330,0,[v0e,SU,k0e,IU,y0e])))}function L$e(){L$e=_,Ynn=lt((es(),I(S($he,1),ae,165,0,[IE,Xy,ya,Ky,k0])))}function $$e(){$$e=_,asn=lt((th(),I(S(Fl,1),ae,160,0,[on,Ri,al,h1,ja])))}function F$e(){F$e=_,Xsn=lt((Vi(),I(S(I8,1),ae,86,0,[_l,Tc,Ec,Rl,zs])))}function B$e(){B$e=_,ufn=lt((ke(),I(S(Yr,1),fu,64,0,[qc,Cn,Ln,Xn,Tn])))}function R$e(){R$e=_,ifn=lt((R2(),I(S(D8,1),ae,257,0,[yd,fA,Vbe,N8,Qbe])))}function RC(){RC=_,zH=new zW("EADES",0),XI=new zW("FRUCHTERMAN_REINGOLD",1)}function O7(){O7=_,EP=new WW("READING_DIRECTION",0),che=new WW("ROTATION",1)}function _$e(e){this.g=e,this.f=new ve,this.a=v.Math.min(this.g.c.c,this.g.d.c)}function J$e(e){this.b=new ve,this.a=new ve,this.c=new ve,this.d=new ve,this.e=e}function G$e(e,n,t,i){_t(),J0.call(this,26),this.c=e,this.a=n,this.d=t,this.b=i}function H$e(e,n,t){yx.call(this),uee(this),this.a=e,this.c=t,this.b=n.d,this.f=n.e}function Q6n(e,n,t){var i,r;for(r=new x(t);r.a<r.c.c.length;)i=M(r),zte(e,n,i)}function Y6n(e,n,t){var i;return i=e.a.e[u(n.a,9).p]-e.a.e[u(t.a,9).p],Br(i7(i))}function QF(e,n){var t;return t=u(yn(e.a,n),150),t||(t=new uk,It(e.a,n,t)),t}function Cf(e,n,t){var i;if(n==null)throw C(new Up);return i=na(e,n),l5n(e,n,t),i}function un(e,n){var t;return t=(e.i==null&&rh(e),e.i),n>=0&&n<t.length?t[n]:null}function q$e(e,n){return bn(n),dY(e),e.d.Ob()?(n.Ad(e.d.Pb()),!0):!1}function _C(e){return Su(e,Ft)>0?Ft:Su(e,Mr)<0?Mr:wt(e)}function Z6n(e,n){return Im(),-Eu(u(k(e,(Wc(),Cp)),15).a,u(k(n,Cp),15).a)}function e9n(){return pn(),I(S(iq,1),ae,249,0,[Mi,qi,Ui,Nu,hu,Ll,mE,Fy])}function n9n(){return a4(),I(S(VO,1),ae,244,0,[lX,KO,WO,XO,fX,UO,zO,sX])}function t9n(){return u0(),I(S(dsn,1),ae,285,0,[G0e,nr,Gr,I3,Pr,gi,S3,Bl])}function i9n(){return wS(),I(S(Wle,1),ae,275,0,[aq,wq,hq,mq,bq,dq,pq,gq])}function z$e(e,n){return!!f9(e,n,wt(Jr(Oh,Mh(wt(Jr(n==null?0:si(n),Nh)),15))))}function r9n(e,n){var t;return t=n>0?n-1:n,aAe(Kdn(hFe(WQ(new Wp,t),e.n),e.j),e.k)}function yc(e){var n,t;t=(n=new HD,n),it((!e.q&&(e.q=new ue(bf,e,11,10)),e.q),t)}function c9n(e,n){var t,i;return t=u(Gw(e.d,n),18),t?(i=n,e.e.pc(i,t)):null}function JC(e,n){var t;return z1(e),t=new nOe(e,e.a.xd(),e.a.wd()|4,n),new We(e,t)}function YF(e){var n;ww(!!e.c),n=e.c.a,Ns(e.d,e.c),e.b==e.c?e.b=n:--e.a,e.c=null}function U$e(e){return e.a>=-.01&&e.a<=Il&&(e.a=0),e.b>=-.01&&e.b<=Il&&(e.b=0),e}function u9n(e){var n;return n=J(H(k(e,(ye(),o1)))),n<0&&(n=0,Q(e,o1,n)),n}function o9n(e,n){dm(u(k(u(e.e,9),(ye(),Ti)),102))&&(tn(),ur(u(e.e,9).j,n))}function GC(e,n){var t,i;for(i=e.Jc();i.Ob();)t=u(i.Pb(),70),Q(t,(se(),y3),n)}function s9n(e,n,t){var i;i=v.Math.max(0,e.b/2-.5),S9(t,i,1),me(n,new KMe(t,i))}function f9n(e,n,t,i){var r;e.j=-1,Lie(e,die(e,n,t),(nc(),r=u(n,69).tk(),r.vl(i)))}function X$e(e,n,t,i,r,c){var o;o=OF(i),Rr(o,r),Er(o,c),Ve(e.a,i,new Ex(o,n,t.f))}function K$e(e,n){Yt(e,(Sh(),pU),n.f),Yt(e,lon,n.e),Yt(e,gU,n.d),Yt(e,fon,n.c)}function l9n(e,n){if(0>e||e>n)throw C(new bW("fromIndex: 0, toIndex: "+e+Tce+n))}function ob(e){if(e<0)throw C(new An("Illegal Capacity: "+e));this.g=this.$i(e)}function W$e(e){this.d=e,this.c=e.c.vc().Jc(),this.b=null,this.a=null,this.e=(gM(),AH)}function $w(e,n){var t;for(t=e;pi(t);)if(t=pi(t),t==n)return!0;return!1}function h9n(e,n){return n&&e.b[n.g]==n?(Ni(e.b,n.g,null),--e.c,!0):!1}function Ns(e,n){var t;return t=n.c,n.a.b=n.b,n.b.a=n.a,n.a=n.b=null,n.c=null,--e.b,t}function V$e(e,n){var t;if(t=vj(e.Ah(),n),!t)throw C(new An(rd+n+GG));return t}function S2(e){w4();var n,t;for(t=joe,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return t}function a9n(e){var n;for(n=0;n<e.c.length;n++)(en(n,e.c.length),u(e.c[n],12)).p=n}function d9n(e){var n,t;for(n=e.a.d.j,t=e.c.d.j;n!=t;)Sf(e.b,n),n=vT(n);Sf(e.b,n)}function b9n(e,n){var t,i,r;for(i=n.a.jd(),t=u(n.a.kd(),18).gc(),r=0;r<t;r++)e.Ad(i)}function Tu(e,n){var t,i,r,c;for(bn(n),i=e.c,r=0,c=i.length;r<c;++r)t=i[r],n.Ad(t)}function ZF(e,n){var t,i,r,c;for(i=e.d,r=0,c=i.length;r<c;++r)t=i[r],pl(e.g,t).a=n}function w9n(e,n,t){var i,r,c;for(r=n[t],i=0;i<r.length;i++)c=r[i],e.e[c.c.p][c.p]=i}function Q$e(e,n,t){var i,r;i=n;do r=J(e.p[i.p])+t,e.p[i.p]=r,i=e.a[i.p];while(i!=n)}function g9n(e){var n;return n=v.Math.sqrt(e.a*e.a+e.b*e.b),n>0&&(e.a/=n,e.b/=n),e}function HC(e){this.b=(st(e),new Mo(e)),this.a=new ve,this.d=new ve,this.e=new xr}function uee(e){e.b=(Co(),od),e.f=(to(),sd),e.d=(as(2,rg),new Bu(2)),e.e=new xr}function il(){il=_,Yc=new bL("BEGIN",0),Hu=new bL(P4,1),Zc=new bL("END",2)}function El(){El=_,N5=new _L(P4,0),Gg=new _L("HEAD",1),D5=new _L("TAIL",2)}function Im(){Im=_,Pun=nh(nh(nh(d6(new $i,(Gm(),h8)),(G9(),Rz)),G1e),U1e)}function oa(){oa=_,Nun=nh(nh(nh(d6(new $i,(Gm(),d8)),(G9(),q1e)),R1e),H1e)}function Y$e(){Y$e=_,zI=(il(),I(S(bg,1),ae,237,0,[Yc,Hu,Zc])).length,JH=zI}function Z$e(e,n){for(;n[0]<e.length&&Kl(` \r
8
8
  `,io(Nr(e,n[0])))>=0;)++n[0]}function Lv(e,n){var t,i;i=e.a,t=Q8n(e,n,null),i!=n&&!e.e&&(t=j4(e,n,t)),t&&t.mj()}function hs(e){var n;return e.w?e.w:(n=r4n(e),n&&!n.Sh()&&(e.w=n),n)}function p9n(e){var n;return e==null?null:(n=u(e,195),cMn(n,n.length))}function B(e,n){if(e.g==null||n>=e.i)throw C(new zL(n,e.i));return e.Ui(n,e.g[n])}function m9n(e,n){tn();var t,i;for(i=new ve,t=0;t<e;++t)En(i.c,n);return new tL(i)}function eFe(e){return z1(e),wm(!0,"n may not be negative"),new We(e,new jFe(e.a))}function oee(e){return((e.i&2)!=0?"interface ":(e.i&1)!=0?"":"class ")+(Yh(e),e.o)}function see(e,n){return gl(),Tf(Z1),v.Math.abs(e-n)<=Z1||e==n||isNaN(e)&&isNaN(n)}function fee(e,n){return gl(),Tf(Z1),v.Math.abs(e-n)<=Z1||e==n||isNaN(e)&&isNaN(n)}function v9n(e,n){return K1(),Eu(e.b.c.length-e.e.c.length,n.b.c.length-n.e.c.length)}function I2(e,n){return Zdn(s9(e,n,wt(Jr(Oh,Mh(wt(Jr(n==null?0:si(n),Nh)),15)))))}function y9n(e,n){var t;return t=fr(zr(u(yn(e.g,n),8)),SV(u(yn(e.f,n),460).b)),t}function nFe(e,n,t){var i=function(){return e.apply(i,arguments)};return n.apply(i,t),i}function Pm(e){var n;return B6(e==null||Array.isArray(e)&&(n=P7(e),!(n>=14&&n<=16))),e}function tFe(){tFe=_,Nnn=lt((Hm(),I(S(l5,1),ae,231,0,[f5,Ry,s5,yg,dp,ap])))}function iFe(){iFe=_,Jnn=lt((eS(),I(S(ohe,1),ae,284,0,[Iq,Sq,Oq,Pq,Nq,AP])))}function rFe(){rFe=_,Hnn=lt((sj(),I(S(bhe,1),ae,282,0,[xP,hhe,dhe,lhe,ahe,Dq])))}function cFe(){cFe=_,qnn=lt((l4(),I(S(yhe,1),ae,283,0,[Jy,ghe,vhe,mhe,phe,whe])))}function uFe(){uFe=_,wsn=lt((Th(),I(S(z0e,1),ae,256,0,[$U,QE,YE,PO,SO,IO])))}function oFe(){oFe=_,rfn=lt((vr(),I(S(Ybe,1),ae,102,0,[kd,Jl,$5,I0,Hh,yu])))}function sFe(){sFe=_,cfn=lt((To(),I(S(BO,1),ae,280,0,[jd,Aa,lA,$8,L8,$3])))}function fFe(){fFe=_,ksn=lt((c0(),I(S(_U,1),ae,299,0,[RU,T8,C8,BU,M8,x8])))}function lFe(){lFe=_,Qsn=lt((YT(),I(S(Hbe,1),ae,328,0,[nX,_be,Gbe,Bbe,Jbe,Rbe])))}function k9n(){return Qw(),I(S(lc,1),ae,96,0,[_f,Ea,Jf,Hf,Gh,hf,ks,Gf,lf])}function c9(){c9=_,hA=new GL(gse,0),tX=new GL("PARENT",1),ewe=new GL("ROOT",2)}function hFe(e,n){return e.n=n,e.n?(e.f=new ve,e.e=new ve):(e.f=null,e.e=null),e}function sb(e,n){var t;t=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,3,t,e.f))}function qC(e,n){var t;t=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,0,t,e.a))}function zC(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,1,t,e.b))}function P2(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,3,t,e.b))}function O2(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,4,t,e.c))}function fb(e,n){var t;t=e.g,e.g=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,4,t,e.g))}function _o(e,n){var t;t=e.i,e.i=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,5,t,e.i))}function Jo(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,6,t,e.j))}function N2(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,1,t,e.j))}function D2(e,n){var t;t=e.k,e.k=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Nw(e,2,t,e.k))}function eB(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new CF(e,2,t,e.d))}function za(e,n){var t;t=e.s,e.s=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new CF(e,4,t,e.s))}function Fw(e,n){var t;t=e.t,e.t=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new CF(e,5,t,e.t))}function $v(e,n){var t;t=e.F,e.F=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,5,t,n))}function N7(e,n){var t;return t=u(yn((IM(),QO),e),58),t?t.ek(n):W(ir,ln,1,n,5,1)}function sa(e,n){var t,i;return t=n in e.a,t&&(i=na(e,n).pe(),i)?i.a:null}function j9n(e,n){var t,i,r;return t=(i=(x1(),r=new iK,r),n&&ore(i,n),i),Mee(t,e),t}function aFe(e,n,t){var i;return i=i4(t),It(e.c,i,n),It(e.d,n,t),It(e.e,n,Tw(n)),n}function Zn(e,n,t,i,r,c){var o;return o=X$(e,n),bFe(t,o),o.i=r?8:0,o.f=i,o.e=r,o.g=c,o}function lee(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=e,this.a=t}function hee(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=e,this.a=t}function aee(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=e,this.a=t}function dee(e,n,t,i,r){this.d=n,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=e,this.a=t}function bee(e,n,t,i,r){this.d=n,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=e,this.a=t}function dFe(e,n){var t,i,r,c;for(i=n,r=0,c=i.length;r<c;++r)t=i[r],HLe(e.a,t);return e}function Ds(e){var n,t,i,r;for(t=e,i=0,r=t.length;i<r;++i)n=t[i],st(n);return new bCe(e)}function wee(e){var n;return n=fr(zr(e.d.d),e.c.d),o4(n,e.c.e.a,e.c.e.b),zt(n,e.c.d)}function gee(e){var n;return n=fr(zr(e.c.d),e.d.d),o4(n,e.d.e.a,e.d.e.b),zt(n,e.d.d)}function E9n(e){var n=/function(?:\s+([\w$]+))?\s*\(/,t=n.exec(e);return t&&t[1]||J_}function bFe(e,n){if(e){n.n=e;var t=hvn(n);if(!t){$I[e]=[n];return}t.Pm=n}}function A9n(e,n,t){var i,r;return r=e.length,i=v.Math.min(t,r),Die(e,0,n,0,i,!0),n}function wFe(e,n,t){if(Uv(e,t),!e.il()&&t!=null&&!e.dk(t))throw C(new BD);return t}function ft(e,n){var t;return bn(n),t=e[":"+n],n7(!!t,"Enum constant undefined: "+n),t}function M9n(e,n){var t,i;return t=e.c,i=n.e[e.p],i>0?u(Ce(t.a,i-1),9):null}function Tf(e){if(!(e>=0))throw C(new An("tolerance ("+e+") must be >= 0"));return e}function u9(){return DU||(DU=new Ize,Lm(DU,I(S(h3,1),ln,148,0,[new oK]))),DU}function UC(){UC=_,P1e=new SL("NO",0),$z=new SL(Wce,1),I1e=new SL("LOOK_BACK",2)}function XC(){XC=_,nhe=new vL("ARD",0),jP=new vL("MSD",1),yq=new vL("MANUAL",2)}function rc(){rc=_,u8=new xL(ty,0),Po=new xL("INPUT",1),qu=new xL("OUTPUT",2)}function D7(e,n){var t;if(t=e.gc(),n<0||n>t)throw C(new yw(n,t));return new xQ(e,n)}function o9(e,n){var t,i,r,c;for(i=n,r=0,c=i.length;r<c;++r)t=i[r],Ei(e,t,e.c.b,e.c)}function gFe(e,n){var t;return F(n,45)?e.c.Kc(n):(t=XB(e,n),ST(e,n),t)}function bc(e,n,t){return n0(e,n),Ru(e,t),za(e,0),Fw(e,1),Va(e,!0),Wa(e,!0),e}function nB(e,n,t,i,r){this.d=e,this.n=n,this.g=t,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function pFe(e,n,t,i){this.$j(),this.a=n,this.b=e,this.c=null,this.c=new pSe(this,n,t,i)}function mFe(){DV.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=Df}function vFe(e){ww(e.c>=0),d7n(e.d,e.c)<0&&(e.a=e.a-1&e.d.a.length-1,e.b=e.d.c),e.c=-1}function KC(e,n){e.b=v.Math.max(e.b,n.d),e.e+=n.r+(e.a.c.length==0?0:e.c),me(e.a,n)}function x9n(e,n){n.Tg("Hierarchical port constraint processing",1),K7n(e),H$n(e),n.Ug()}function WC(e){var n,t;for(t=e.c.Bc().Jc();t.Ob();)n=u(t.Pb(),18),n.$b();e.c.$b(),e.d=0}function yFe(e,n){var t,i;for(t=0,i=e.gc();t<i;++t)if(du(n,e.Xb(t)))return t;return-1}function C9n(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;i<r;++i)n=t[i],uPe(n,n.length,null)}function T9n(){yMe();for(var e=vH,n=0;n<arguments.length;n++)e.push(arguments[n])}function S9n(e){var n,t;for(t=new x(pJe(e));t.a<t.c.c.length;)n=u(M(t),685),n.Zf()}function pee(e){var n,t;if(e==0)return 32;for(t=0,n=1;(n&e)==0;n<<=1)++t;return t}function as(e,n){if(e<0)throw C(new An(n+" cannot be negative but was: "+e));return e}function kFe(e){OW(),this.g=new Vn,this.f=new Vn,this.b=new Vn,this.c=new rb,this.i=e}function mee(){this.f=new xr,this.d=new ZK,this.c=new xr,this.a=new ve,this.b=new ve}function jFe(e){ux.call(this,e.yd(64)?MV(0,tf(e.xd(),1)):Dj,e.wd()),this.b=1,this.a=e}function I9n(e,n){var t,i,r;r=n.c.i,t=u(yn(e.f,r),60),i=t.d.c-t.e.c,Tu(n.b,new Gke(i))}function VC(e,n){return Ydn(f9(e.a,n,wt(Jr(Oh,Mh(wt(Jr(n==null?0:si(n),Nh)),15)))))}function P9n(){return qo(),I(S(twe,1),ae,266,0,[F5,wA,RO,B8,_O,GO,JO,iX,bA])}function O9n(){return gj(),I(S(rhe,1),ae,267,0,[Eq,ihe,Mq,xq,Aq,Cq,EE,jq,kq])}function N9n(){return mj(),I(S(a1e,1),ae,268,0,[kz,f1e,l1e,vz,s1e,h1e,ZP,mz,yz])}function EFe(){EFe=_,eZe=I(S(bt,1),Pt,30,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function vee(){vee=_,fcn=kt(kt(kt(new $i,(dr(),Ff),(yr(),lp)),Fh,mg),vu,pg)}function AFe(){AFe=_,lcn=kt(kt(kt(new $i,(dr(),Ff),(yr(),lp)),Fh,mg),vu,pg)}function yee(){yee=_,hcn=kt(kt(kt(new $i,(dr(),Ff),(yr(),lp)),Fh,mg),vu,pg)}function MFe(){MFe=_,acn=kt(kt(kt(new $i,(dr(),Ff),(yr(),lp)),Fh,mg),vu,pg)}function xFe(){xFe=_,dcn=kt(kt(kt(new $i,(dr(),Ff),(yr(),lp)),Fh,mg),vu,pg)}function CFe(){CFe=_,bcn=kt(kt(kt(new $i,(dr(),Ff),(yr(),lp)),Fh,mg),vu,pg)}function TFe(){TFe=_,pcn=Au(kt(kt(new $i,(dr(),vu),(yr(),sP)),lu,iP),fc,oP)}function D9n(e,n){return Im(),u(k(n,(Wc(),Cp)),15).a<e.gc()&&u(k(n,Cp),15).a>=0}function kee(e,n){e.r>0&&e.c<e.r&&(e.c+=n,e.i&&e.i.d>0&&e.g!=0&&kee(e.i,n/e.r*e.i.d))}function jee(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,1,t,e.c))}function tB(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,4,t,e.c))}function Eee(e,n){var t;t=e.c,e.c=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,1,t,e.c))}function Aee(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,1,t,e.d))}function Fv(e,n){var t;t=e.k,e.k=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,2,t,e.k))}function iB(e,n){var t;t=e.D,e.D=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,2,t,e.D))}function QC(e,n){var t;t=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,8,t,e.f))}function YC(e,n){var t;t=e.i,e.i=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,7,t,e.i))}function Mee(e,n){var t;t=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,8,t,e.a))}function xee(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,0,t,e.b))}function Cee(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,0,t,e.b))}function L9n(e,n,t){var i;e.b=n,e.a=t,i=(e.a&512)==512?new DEe:new uK,e.c=aIn(i,e.b,e.a)}function SFe(e,n){return da(e.e,n)?(nc(),KF(n)?new Ox(n,e):new Rk(n,e)):new Zxe(n,e)}function $9n(e){var n,t;return 0>e?new PW:(n=e+1,t=new BDe(n,e),new cQ(null,t))}function F9n(e,n){tn();var t;return t=new nm(1),pr(e)?mc(t,e,n):ro(t.f,e,n),new DD(t)}function B9n(e,n){var t;t=new X5,u(n.b,68),u(n.b,68),u(n.b,68),Tu(n.a,new LQ(e,t,n))}function Tee(e,n){var t;t=e.d,e.d=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,11,t,e.d))}function IFe(e,n){var t,i;for(i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),uj(e,t.jd(),t.kd())}function ZC(e,n){var t;t=e.j,e.j=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,13,t,e.j))}function PFe(e,n){var t;return F(n,8)?(t=u(n,8),e.a==t.a&&e.b==t.b):!1}function R9n(e){var n;return n=k(e,(se(),Ut)),F(n,174)?VRe(u(n,174)):null}function OFe(e){var n;return e=v.Math.max(e,2),n=Wee(e),e>n?(n<<=1,n>0?n:Q9):n}function See(e){var n;return e.b==null?(Fa(),Fa(),EA):(n=e.sl()?e.rl():e.ql(),n)}function L2(e){var n;return p$(e.f.g,e.d),Hn(e.b),e.c=e.a,n=u(e.a.Pb(),45),e.b=Gee(e),n}function rB(e,n){var t=e.a,i=0;for(var r in t)t.hasOwnProperty(r)&&(n[i++]=r);return n}function Sf(e,n){var t;return bn(n),t=n.g,e.b[t]?!1:(Ni(e.b,t,n),++e.c,!0)}function NFe(e,n){var t;return t=n==null?-1:Rc(e.b,n,0),t<0?!1:(cB(e,t),!0)}function cB(e,n){var t;t=Ga(e.b,e.b.c.length-1),n<e.b.c.length&&(ls(e.b,n,t),lHe(e,n))}function _9n(e,n){(AC(),Dl?null:n.c).length==0&&HTe(n,new _i),mc(e.a,Dl?null:n.c,n)}function Iee(e,n){var t;t=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,21,t,e.b))}function eT(e,n){var t,i;return t=1-n,i=e.a[t],e.a[t]=i.a[n],i.a[n]=e,e.b=!0,i.b=!1,i}function J9n(e,n){var t,i;return t=u(k(e,(ye(),Sg)),8),i=u(k(n,Sg),8),Qt(t.b,i.b)}function DFe(e){sY.call(this),this.b=J(H(k(e,(ye(),Bf)))),this.a=u(k(e,ka),222)}function LFe(e,n,t){bZ.call(this,e,n,t),this.a=new Vn,this.b=new Vn,this.d=new f7e(this)}function $Fe(e){this.e=e,this.d=new kM(_w(gm(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function nT(e){this.b=e,this.a=W(bt,Pt,30,e+1,15,1),this.c=W(bt,Pt,30,e,15,1),this.d=0}function uB(e,n,t){var i;return i=new ve,lre(e,n,i,t,!0,!0),e.b=new nT(i.c.length),i}function G9n(e,n){var t,i;i=new ve,t=n;do En(i.c,t),t=u(yn(e.k,t),17);while(t);return i}function FFe(e,n){var t;return t=u(yn(e.c,n),456),t||(t=new dEe,t.c=n,It(e.c,t.c,t)),t}function oB(e){switch(FV(e.e!=3),e.e){case 2:return!1;case 0:return!0}return z5n(e)}function R1(){R1=_,d3=new Vt(Gce),VI=new Vt(nWe),Ly=new Vt(tWe),gE=new Vt(iWe)}function Bv(){Bv=_,vE=new XW("TO_INTERNAL_LTR",0),rq=new XW("TO_INPUT_DIRECTION",1)}function tT(){tT=_,wO=new uV("P1_NODE_PLACEMENT",0),Sp=new uV("P2_EDGE_ROUTING",1)}function lb(){lb=_,Rb=new mL("START",0),fd=new mL("MIDDLE",1),Bb=new mL("END",2)}function Om(){Om=_,oq=new di("edgelabelcenterednessanalysis.includelabel",(gn(),ud))}function H9n(e,n){Si(Bt(new We(null,new Ye(new Xh(e.b),1)),new kxe(e,n)),new Exe(e,n))}function q9n(e,n){n.Tg(mWe,1),Si(Pc(new We(null,new Ye(e.b,16)),new bD),new UA),n.Ug()}function si(e){return pr(e)?Ua(e):bw(e)?um(e):dw(e)?GTe(e):aY(e)?e.Hb():cY(e)?W0(e):UY(e)}function sB(e,n){var t;return F(n,18)?(t=u(n,18),e.Fc(t)):WF(e,u(st(n),20).Jc())}function Ru(e,n){var t;t=e.zb,e.zb=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,1,t,e.zb))}function xi(e,n){var t,i;t=(i=new GD,i),t.n=n,it((!e.s&&(e.s=new ue(ho,e,21,17)),e.s),t)}function li(e,n){var t,i;i=(t=new tQ,t),i.n=n,it((!e.s&&(e.s=new ue(ho,e,21,17)),e.s),i)}function Pee(e){var n,t;for(t=new Rn(e);t.e!=t.i.gc();)n=u(Gn(t),26),_o(n,0),Jo(n,0)}function BFe(e){var n,t;for(t=e.c.a.ec().Jc();t.Ob();)n=u(t.Pb(),218),b1n(n,new VIe(n.f))}function Oee(e){var n,t;for(t=e.c.a.ec().Jc();t.Ob();)n=u(t.Pb(),218),w1n(n,new EGe(n.e))}function iT(e,n){var t;t=e.xb,e.xb=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,3,t,e.xb))}function rT(e,n){var t;t=e.yb,e.yb=n,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,1,2,t,e.yb))}function Vd(e,n){var t,i;for(t=e.Nc(),Ov(t,0,t.length,n),i=0;i<t.length;i++)e.fd(i,t[i])}function RFe(e,n,t){var i,r,c;for(c=e.a.length-1,r=e.b,i=0;i<t;r=r+1&c,++i)Ni(n,i,e.a[r])}function _r(e,n){var t,i,r;for(bn(n),t=!1,r=n.Jc();r.Ob();)i=r.Pb(),t=t|e.Ec(i);return t}function _Fe(e){var n,t,i;for(n=0,i=e.Jc();i.Ob();)t=i.Pb(),n+=t!=null?si(t):0,n=~~n;return n}function JFe(e){var n;return e==0?"UTC":(e<0?(e=-e,n="UTC+"):n="UTC-",n+E$e(e))}function Nee(e){return e.a<54?e.f<0?-1:e.f>0?1:0:(!e.c&&(e.c=d7(tu(e.f))),e.c).e}function GFe(e,n){n?e.B==null&&(e.B=e.D,e.D=null):e.B!=null&&(e.D=e.B,e.B=null)}function z9n(e,n){typeof window===Ij&&typeof window.$gwt===Ij&&(window.$gwt[e]=n)}function U9n(e,n,t){var i,r,c;for(i=0,r=0;r<t;r++)c=n[r],e[r]=c<<1|i,i=c>>>31;i!=0&&(e[t]=i)}function fB(e,n,t,i,r,c){var o;this.c=e,o=new ve,wte(e,o,n,e.b,t,i,r,c),this.a=new Ar(o,0)}function HFe(){this.c=new jM(0),this.b=new jM(koe),this.d=new jM(qWe),this.a=new jM(zWe)}function qFe(e,n){return J(H(Wo(K7(Fu(new We(null,new Ye(e.c.b,16)),new Vke(e)),n))))}function Dee(e,n){return J(H(Wo(K7(Fu(new We(null,new Ye(e.c.b,16)),new Wke(e)),n))))}function X9n(e,n){var t,i;return t=u(he(e,(W1(),pO)),15),i=u(he(n,pO),15),Eu(t.a,i.a)}function K9n(e,n){var t;n.Tg("General Compactor",1),t=Rkn(u(he(e,(W1(),oU)),386)),t.Bg(e)}function W9n(e,n,t){t.Tg("DFS Treeifying phase",1),r7n(e,n),DSn(e,n),e.a=null,e.b=null,t.Ug()}function Lee(e,n,t){var i,r;for(r=rt(e,0);r.b!=r.d.c;)i=u(tt(r),8),i.a+=n,i.b+=t;return e}function s9(e,n,t){var i;for(i=e.b[t&e.f];i;i=i.b)if(t==i.a&&Zh(n,i.g))return i;return null}function f9(e,n,t){var i;for(i=e.c[t&e.f];i;i=i.d)if(t==i.f&&Zh(n,i.i))return i;return null}function V9n(e,n,t,i){var r;r=new Vp,qd(r,"x",XT(e,n,i.a)),qd(r,"y",KT(e,n,i.b)),ym(t,r)}function Q9n(e,n,t,i){var r;r=new Vp,qd(r,"x",XT(e,n,i.a)),qd(r,"y",KT(e,n,i.b)),ym(t,r)}function Di(e,n,t,i,r,c,o,f,l,h,a,d,g){return rHe(e,n,t,i,r,c,o,f,l,h,a,d,g),JB(e,!1),e}function Ls(e,n,t,i,r,c,o){ot.call(this,e,n),this.d=t,this.e=i,this.c=r,this.b=c,this.a=xf(o)}function zFe(e,n){return gl(),Tf(Il),v.Math.abs(0-n)<=Il||n==0||isNaN(0)&&isNaN(n)?0:e/n}function Y9n(e,n){return Hv(),e==Fb&&n==gg||e==gg&&n==Fb||e==fp&&n==wg||e==wg&&n==fp}function Z9n(e,n){return Hv(),e==Fb&&n==wg||e==Fb&&n==fp||e==gg&&n==fp||e==gg&&n==wg}function eyn(){return cc(),I(S(Lq,1),ae,261,0,[CP,qs,Gy,TP,b5,wp,Hy,a5,d5,SP])}function nyn(){return Q1(),I(S(y1e,1),ae,243,0,[tO,FE,BE,p1e,m1e,g1e,v1e,iO,A5,c8])}function lB(){lB=_,H8=new SEe,bX=I(S(ho,1),up,179,0,[]),Zfn=I(S(bf,1),Bse,62,0,[])}function vo(){vo=_,ole=new uD,cle=new cD,ule=new oD,rle=new sD,sle=new fD,fle=new K5}function tyn(e,n){n.Tg(mWe,1),zB(h0n(new dk((sv(),new tC(e,!1,!1,new HA))))),n.Ug()}function hB(e){var n;return n=dZ(e),x6(n.a,0)?(fw(),fw(),DH):(fw(),new o$(n.b))}function aB(e){var n;return n=dZ(e),x6(n.a,0)?(fw(),fw(),DH):(fw(),new o$(n.c))}function iyn(e){var n;return n=pC(e),x6(n.a,0)?(MM(),MM(),dZe):(MM(),new MTe(n.b))}function ryn(e){return e.b.c.i.k==(pn(),Ui)?u(k(e.b.c.i,(se(),Ut)),12):e.b.c}function UFe(e){return e.b.d.i.k==(pn(),Ui)?u(k(e.b.d.i,(se(),Ut)),12):e.b.d}function XFe(e){switch(e.g){case 2:return ke(),Tn;case 4:return ke(),Ln;default:return e}}function KFe(e){switch(e.g){case 1:return ke(),Xn;case 3:return ke(),Cn;default:return e}}function cyn(e,n){var t;return t=Yte(e),Sie(new de(t.c,t.d),new de(t.b,t.a),e.Kf(),n,e.$f())}function l9(e,n){var t,i;for(bn(n),i=n.vc().Jc();i.Ob();)t=u(i.Pb(),45),e.yc(t.jd(),t.kd())}function uyn(e,n,t){var i;for(i=t.Jc();i.Ob();)if(!vC(e,n,i.Pb()))return!1;return!0}function oyn(e,n){var t;for(st(n);e.Ob();)if(t=e.Pb(),!Jee(u(t,9)))return!1;return!0}function syn(e,n,t,i,r){var c;return t&&(c=vi(n.Ah(),e.c),r=t.Oh(n,-1-(c==-1?i:c),null,r)),r}function fyn(e,n,t,i,r){var c;return t&&(c=vi(n.Ah(),e.c),r=t.Qh(n,-1-(c==-1?i:c),null,r)),r}function WFe(e){var n;if(e.b==-2){if(e.e==0)n=-1;else for(n=0;e.a[n]==0;n++);e.b=n}return e.b}function lyn(e){if(bn(e),e.length==0)throw C(new Xl("Zero length BigInteger"));IPn(this,e)}function $ee(e){this.i=e.gc(),this.i>0&&(this.g=this.$i(this.i+(this.i/8|0)+1),e.Oc(this.g))}function VFe(e,n,t){this.g=e,this.d=n,this.e=t,this.a=new ve,Wxn(this),tn(),ur(this.a,null)}function Fee(e,n){n.q=e,e.d=v.Math.max(e.d,n.r),e.b+=n.d+(e.a.c.length==0?0:e.c),me(e.a,n)}function hyn(e,n){return n<e.b.gc()?u(e.b.Xb(n),9):n==e.b.gc()?e.a:u(Ce(e.e,n-e.b.gc()-1),9)}function L7(e,n){return gn(),pr(e)?$Z(e,dt(n)):bw(e)?F$(e,H(n)):dw(e)?rmn(e,Te(n)):e.Dd(n)}function ayn(e){var n,t,i;return e.j==(ke(),Cn)&&(n=QHe(e),t=go(n,Ln),i=go(n,Tn),i||i&&t)}function dyn(e){var n,t,i;for(i=0,t=new x(e.b);t.a<t.c.c.length;)n=u(M(t),25),n.p=i,++i}function Bw(e,n){var t,i;for(i=rt(e,0);i.b!=i.d.c;)t=u(tt(i),8),t.a+=n.a,t.b+=n.b;return e}function dB(e,n){var t,i,r,c;return r=e.c,t=e.c+e.b,c=e.d,i=e.d+e.a,n.a>r&&n.a<t&&n.b>c&&n.b<i}function cT(e,n){var t;F(n,92)?(u(e.c,78).Ek(),t=u(n,92),IFe(e,t)):u(e.c,78).Wb(n)}function $7(e,n){var t,i;for(bn(n),i=e.vc().Jc();i.Ob();)t=u(i.Pb(),45),n.Wd(t.jd(),t.kd())}function Pi(e,n){Cx.call(this,eln,e,n),this.b=this,this.a=Xu(e.Ah(),un(this.e.Ah(),this.c))}function Rw(e){this.f=e,this.e=new jZ(this.f.i),this.a=this.e,this.b=Gee(this),this.d=this.f.g}function bB(e,n,t,i){var r;r=e.a.length,t>r?t=r:Pn(n,t+1),e.a=ef(e.a,0,n)+(""+i)+AY(e.a,t)}function QFe(e,n,t,i){F(e.Cb,184)&&(u(e.Cb,184).tb=null),Ru(e,t),n&&hCn(e,n),i&&e.el(!0)}function YFe(){YFe=_,bsn=lt((u0(),I(S(dsn,1),ae,285,0,[G0e,nr,Gr,I3,Pr,gi,S3,Bl])))}function ZFe(){ZFe=_,Ofn=lt((a4(),I(S(VO,1),ae,244,0,[lX,KO,WO,XO,fX,UO,zO,sX])))}function eBe(){eBe=_,rnn=lt((pn(),I(S(iq,1),ae,249,0,[Mi,qi,Ui,Nu,hu,Ll,mE,Fy])))}function nBe(){nBe=_,Onn=lt((wS(),I(S(Wle,1),ae,275,0,[aq,wq,hq,mq,bq,dq,pq,gq])))}function tBe(){return G9(),I(S(OFn,1),ae,264,0,[Rz,G1e,U1e,X1e,z1e,J1e,K1e,R1e,q1e,H1e,_1e])}function Bee(){Bee=_,mcn=nh(wCe(kt(kt(new $i,(dr(),vu),(yr(),sP)),lu,iP),fc),oP)}function iBe(){iBe=_,jcn=nh(wCe(kt(kt(new $i,(dr(),vu),(yr(),sP)),lu,iP),fc),oP)}function byn(){var e;return RH||(RH=new tEe,e=new SF(""),lbn(e,(ov(),Tfe)),_9n(RH,e)),RH}function rBe(e){return mw(),e.A.Gc((ts(),Hg))&&!e.B.Gc((qo(),wA))?n_e(e):null}function cBe(e,n){var t;return t=Are(u9(),e),t?(Yt(n,(Et(),_g),t),!0):!1}function ds(e,n){var t;for(t=0;t<n.j.c.length;t++)u(C7(e,t),22).Fc(u(C7(n,t),18));return e}function wyn(e,n){var t,i;for(i=new x(n.b);i.a<i.c.c.length;)t=u(M(i),25),e.a[t.p]=jMn(t)}function Gt(e,n){var t,i,r;if(t=e.qh(),t!=null&&e.th())for(i=0,r=t.length;i<r;++i)t[i].bj(n)}function gyn(e,n,t){return e==(t0(),cO)?new N3e:Ho(n,1)!=0?new yW(t.length):new bAe(t.length)}function pyn(e,n,t){return Qt(sm(r4(e),new de(n.e.a,n.e.b)),sm(r4(e),new de(t.e.a,t.e.b)))}function Qd(e,n,t){var i,r;return r=u(F6(e.d,n),15),i=u(F6(e.b,t),15),!r||!i?null:Tm(e,r.a,i.a)}function _1(e){var n;return n=e.h,n==0?e.l+e.m*e3:n==wa?e.l+e.m*e3-f0:e}function myn(e){var n;if(e.a==e.b.a)throw C(new Dc);return n=e.a,e.c=n,e.a=u(Zs(e.a.e),227),n}function uBe(e){var n;e.d==null?(++e.e,e.f=0,vRe(null)):(++e.e,n=e.d,e.d=null,e.f=0,vRe(n))}function vyn(e,n){var t,i;for(i=new x(n);i.a<i.c.c.length;)t=u(M(i),70),me(e.d,t),EMn(e,t)}function Rv(e,n){var t,i;for(t=e,i=ar(t).e;i;){if(t=i,t==n)return!0;i=ar(t).e}return!1}function yyn(e,n,t){var i,r;return i=e.a.f[n.p],r=e.a.f[t.p],i<r?-1:i==r?0:1}function _w(e){return e<3?(as(e,bKe),e+1):e<Q9?Br(v.Math.ceil(e/.75)):Ft}function tu(e){return Bj<e&&e<f0?e<0?v.Math.ceil(e):v.Math.floor(e):_1(pSn(e))}function oBe(e,n){e.a=Ur(e.a,1),e.c=v.Math.min(e.c,n),e.b=v.Math.max(e.b,n),e.d=Ur(e.d,n)}function kyn(e,n){var t;n.Tg("Edge and layer constraint edge reversal",1),t=qIn(e),ALn(t),n.Ug()}function jyn(e,n){var t,i;for(i=new Rn(e);i.e!=i.i.gc();)t=u(Gn(i),26),Ts(t,t.i+n.b,t.j+n.d)}function sBe(e,n){e.c&&(Rze(e,n,!0),Si(new We(null,new Ye(n,16)),new t7e(e))),Rze(e,n,!1)}function Kc(e,n){var t,i;return t=(i=new fK,i),t.G=n,!e.rb&&(e.rb=new Aw(e,bl,e)),it(e.rb,t),t}function Lt(e,n){var t,i;return t=(i=new fM,i),t.G=n,!e.rb&&(e.rb=new Aw(e,bl,e)),it(e.rb,t),t}function xn(e,n){var t;return(e.Db&n)!=0?(t=vR(e,n),t==-1?e.Eb:Pm(e.Eb)[t]):null}function uT(e){var n;if(e.g>1||e.Ob())return++e.a,e.g=0,n=e.i,e.Ob(),n;throw C(new Dc)}function Eyn(e){PCe();var n;return LMe(Bz,e)||(n=new W3e,n.a=e,aQ(Bz,e,n)),u(dc(Bz,e),636)}function fBe(e){switch(e.a.g){case 1:return new Hxe;case 3:return new vJe;default:return new $ye}}function Ree(e,n){switch(n){case 1:return!!e.n&&e.n.i!=0;case 2:return e.k!=null}return fZ(e,n)}function F7(e){var n;return e<128?(mIe(),n=ffe[e],!n&&(n=ffe[e]=new EK(e)),n):new EK(e)}function Ayn(e){var n,t,i;for(n=1,i=e.Jc();i.Ob();)t=i.Pb(),n=31*n+(t==null?0:si(t)),n=~~n;return n}function B7(e){var n,t,i;for(i=0,t=new em(e.a);t.a<t.c.a.length;)n=n9(t),e.b.Gc(n)&&++i;return i}function nf(e){var n,t,i,r;return r=e,i=0,r<0&&(r+=f0,i=wa),t=Br(r/e3),n=Br(r-t*e3),zu(n,t,i)}function lBe(e,n){var t;return t=e.a.get(n),t===void 0?++e.d:(_wn(e.a,n),--e.c,++e.b.g),t}function iu(e,n){var t;return n&&(t=n.lf(),t.dc()||(e.q?l9(e.q,t):e.q=new nCe(t))),e}function Myn(e,n){var t,i,r;return t=n.p-e.p,t==0?(i=e.f.a*e.f.b,r=n.f.a*n.f.b,Qt(i,r)):t}function xyn(e,n){var t;try{n.be()}catch(i){if(i=Fi(i),F(i,80))t=i,En(e.c,t);else throw C(i)}}function Cyn(e){return e.b.c.length!=0&&u(Ce(e.b,0),70).a?u(Ce(e.b,0),70).a:rF(e)}function hBe(){this.a=u(Ae((Nf(),KI)),15).a,this.c=J(H(Ae(WI))),this.b=J(H(Ae(UH)))}function _v(e,n){this.b=e,this.e=n,this.d=n.j,this.f=(nc(),u(e,69).vk()),this.k=Xu(n.e.Ah(),e)}function Yd(e,n,t){this.b=(bn(e),e),this.d=(bn(n),n),this.e=(bn(t),t),this.c=this.d+(""+this.e)}function _ee(e,n,t,i,r){qBe.call(this,e,t,i,r),this.f=W(Bh,n1,9,n.a.c.length,0,1),Al(n.a,this.f)}function h9(e,n,t,i,r){Ni(e.c[n.g],t.g,i),Ni(e.c[t.g],n.g,i),Ni(e.b[n.g],t.g,r),Ni(e.b[t.g],n.g,r)}function Tyn(e,n){var t,i;return t=e.j,i=n.j,t!=i?t.g-i.g:e.p==n.p?0:t==(ke(),Cn)?e.p-n.p:n.p-e.p}function Jee(e){var n;return n=u(k(e,(se(),eu)),64),e.k==(pn(),Ui)&&(n==(ke(),Tn)||n==Ln)}function aBe(){aBe=_,tfn=lt((Qw(),I(S(lc,1),ae,96,0,[_f,Ea,Jf,Hf,Gh,hf,ks,Gf,lf])))}function dBe(){dBe=_,dfn=lt((qo(),I(S(twe,1),ae,266,0,[F5,wA,RO,B8,_O,GO,JO,iX,bA])))}function bBe(){bBe=_,Fnn=lt((gj(),I(S(rhe,1),ae,267,0,[Eq,ihe,Mq,xq,Aq,Cq,EE,jq,kq])))}function wBe(){wBe=_,Grn=lt((mj(),I(S(a1e,1),ae,268,0,[kz,f1e,l1e,vz,s1e,h1e,ZP,mz,yz])))}function oT(){oT=_,A1e=new ML("EQUALLY",0),Oz=new ML("NORTH",1),M1e=new ML("NORTH_SOUTH",2)}function Jv(){Jv=_,$q=new kL("ONE_SIDED",0),Fq=new kL("TWO_SIDED",1),AE=new kL("OFF",2)}function sT(){sT=_,lU=new DL(ul,0),Jde=new DL("POLAR_COORDINATE",1),_de=new DL("ID",2)}function If(){If=_,vg=new _M(P4,0),u5=new _M(n3,1),o5=new _M(t3,2),fq=new _M("TOP",3)}function hb(){hb=_,wE=new LM("UP",0),bE=new LM(mJ,1),HH=new LM(n3,2),qH=new LM(t3,3)}function Gv(){Gv=_,Dy=new di("debugSVG",(gn(),!1)),Dfe=new di("overlapsExisted",!0)}function fT(){fT=_,Fz=new IL("OFF",0),M5=new IL("SINGLE_EDGE",1),Ng=new IL("MULTI_EDGE",2)}function R7(){R7=_,TO=new lV("MINIMUM_SPANNING_TREE",0),R0e=new lV("MAXIMUM_SPANNING_TREE",1)}function gBe(e){e.r=new Ji,e.w=new Ji,e.t=new ve,e.i=new ve,e.d=new Ji,e.a=new om,e.c=new Vn}function _7(e){this.n=new ve,this.e=new ni,this.j=new ni,this.k=new ve,this.f=new ve,this.p=e}function pBe(e){switch(e.g){case 0:return new $4e;case 1:return new F4e;case 2:default:return null}}function Syn(){return AC(),Dl?new SF(null):KHe(byn(),"com.google.common.base.Strings")}function Iyn(e){var n;if(e){if(n=e,n.dc())throw C(new Dc);return n.Xb(n.gc()-1)}return cNe(e.Jc())}function wB(e){var n;return(!e.a||(e.Bb&1)==0&&e.a.Sh())&&(n=rf(e),F(n,159)&&(e.a=u(n,159))),e.a}function Pyn(e,n,t){var i,r,c,o;return c=null,o=n,r=ub(o,VG),i=new Cxe(e,t),c=(HJe(i.a,i.b,r),r),c}function J7(e,n){var t,i;return i=(t=new jD,t),Ru(i,n),it((!e.A&&(e.A=new wo(Yu,e,7)),e.A),i),i}function gB(e,n,t,i){return t==1?(!e.n&&(e.n=new ue(zc,e,1,7)),Xr(e.n,n,i)):uie(e,n,t,i)}function Oyn(e,n,t,i){u(t.b,68),u(t.b,68),u(i.b,68),u(i.b,68),u(i.b,68),Tu(i.a,new DQ(e,n,i))}function Nyn(e,n){e.d==(Vi(),Ec)||e.d==zs?u(n.a,60).c.Ec(u(n.b,60)):u(n.b,60).c.Ec(u(n.a,60))}function lT(e,n,t){var i,r,c,o;o=ar(e),i=o.d,r=o.c,c=e.n,n&&(c.a=c.a-i.b-r.a),t&&(c.b=c.b-i.d-r.b)}function Dyn(e,n,t){var i,r;r=u(k(e,(ye(),jc)),79),r&&(i=new Lo,PB(i,0,r),Bw(i,t),_r(n,i))}function er(e,n){var t,i;return t=n.Nc(),i=t.length,i==0?!1:(GQ(e.c,e.c.length,t),!0)}function G7(e,n){var t,i;for(bn(n),i=n.Jc();i.Ob();)if(t=i.Pb(),!e.Gc(t))return!1;return!0}function mBe(e,n){if(n==null)return!1;for(;e.a!=e.b;)if(qt(n,gT(e)))return!0;return!1}function Gee(e){return e.a.Ob()?!0:e.a!=e.e?!1:(e.a=new zZ(e.f.f),e.a.Ob())}function Fi(e){var n;return F(e,80)?e:(n=e&&e.__java$exception,n||(n=new uRe(e),Qje(n)),n)}function pB(e){if(F(e,193))return u(e,125);if(e)return null;throw C(new Qp(sQe))}function Lyn(e){switch(u(k(e,(ye(),Hc)),165).g){case 2:case 4:return!0;default:return!1}}function $yn(e,n){var t,i;return t=e.c,i=n.e[e.p],i<t.a.c.length-1?u(Ce(t.a,i+1),9):null}function Fyn(e){var n,t;for(tNn(e),t=new x(e.d);t.a<t.c.c.length;)n=u(M(t),107),n.i&&YMn(n)}function vBe(e,n){var t,i;for(i=new x(e.b);i.a<i.c.c.length;)t=u(M(i),70),Q(t,(se(),y3),n)}function Byn(e,n,t){var i,r;for(r=new x(e.b);r.a<r.c.c.length;)i=u(M(r),26),Ts(i,i.i+n,i.j+t)}function mB(e){var n,t,i;for(n=new ni,i=rt(e.d,0);i.b!=i.d.c;)t=u(tt(i),65),Mt(n,t.c);return n}function Hee(e){var n,t,i,r;for(n=1,t=0,r=e.gc();t<r;++t)i=e.Ti(t),n=31*n+(i==null?0:si(i));return n}function yBe(e){var n,t;return t=(n=new jD,n),Ru(t,"T"),it((!e.d&&(e.d=new wo(Yu,e,11)),e.d),t),t}function kBe(e,n){var t;return t=yh(n.a.gc()),Si(JC(new We(null,new Ye(n,1)),e.i),new yxe(e,t)),t}function jBe(e,n,t,i){var r;return g7(n,e.e.Pd().gc()),g7(t,e.c.Pd().gc()),r=e.a[n][t],Ni(e.a[n],t,i),r}function I(e,n,t,i,r){return r.Pm=e,r.Qm=n,r.Rm=Kn,r.__elementTypeId$=t,r.__elementTypeCategory$=i,r}function Ryn(e,n){var t,i,r;return t=e.l+n.l,i=e.m+n.m+(t>>22),r=e.h+n.h+(i>>22),zu(t&zo,i&zo,r&wa)}function EBe(e,n){var t,i,r;return t=e.l-n.l,i=e.m-n.m+(t>>22),r=e.h-n.h+(i>>22),zu(t&zo,i&zo,r&wa)}function _yn(e){var n;Za(e,!0),n=e1,Ht(e,(ye(),y5))&&(n+=u(k(e,y5),15).a),Q(e,y5,fe(n))}function vB(e){var n,t,i,r;for(r=new ve,i=e.Jc();i.Ob();)t=u(i.Pb(),26),n=Yw(t),er(r,n);return r}function ABe(e,n,t){var i;ou(e.a),Tu(t.i,new W7e(e)),i=new fx(u(yn(e.a,n.b),68)),j_e(e,i,n),t.f=i}function MBe(e,n){return!e||!n||e==n?!1:g_e(e.d.c,n.d.c+n.d.b)&&g_e(n.d.c,e.d.c+e.d.b)}function Jyn(e,n,t,i,r){return w4(),v.Math.min(lXe(e,n,t,i,r),lXe(t,i,e,n,vx(new de(r.a,r.b))))}function xBe(e,n){if(!e)throw C(new An(J9("value already present: %s",I(S(ir,1),ln,1,5,[n]))))}function qee(e){var n,t;return t=(x1(),n=new VA,n),e&&it((!e.a&&(e.a=new ue(bi,e,6,6)),e.a),t),t}function Nm(e,n){var t,i;if(i=0,e<64&&e<=n)for(n=n<64?n:63,t=e;t<=n;t++)i=Ql(i,Eh(1,t));return i}function Gyn(e,n){var t,i;for(cC(n,"predicate"),i=0;e.Ob();i++)if(t=e.Pb(),n.Lb(t))return i;return-1}function zee(e,n){switch(n){case 0:!e.o&&(e.o=new mo((su(),qh),b1,e,0)),e.o.c.$b();return}JR(e,n)}function CBe(e){switch(e.g){case 1:return vd;case 2:return Jh;case 3:return oA;default:return sA}}function Uee(e){tn();var n,t,i;for(i=0,t=e.Jc();t.Ob();)n=t.Pb(),i=i+(n!=null?si(n):0),i=i|0;return i}function Hyn(e){var n;return n=new jn,n.a=e,n.b=Wyn(e),n.c=W(Ie,ge,2,2,6,1),n.c[0]=JFe(e),n.c[1]=JFe(e),n}function hT(){hT=_,sq=new RM(ul,0),gP=new RM(kWe,1),pP=new RM(jWe,2),yE=new RM("BOTH",3)}function Hv(){Hv=_,Fb=new FM("Q1",0),gg=new FM("Q4",1),wg=new FM("Q2",2),fp=new FM("Q3",3)}function J1(){J1=_,ME=new jL("ONLY_WITHIN_GROUP",0),khe=new jL(AJ,1),kg=new jL("ENFORCED",2)}function Zd(){Zd=_,Tq=new yL(ul,0),h5=new yL("INCOMING_ONLY",1),bp=new yL("OUTGOING_ONLY",2)}function Dm(){Dm=_,ssn=new H4e,osn=new q4e}function yB(){yB=_,SH={boolean:c0n,number:pdn,string:mdn,object:oHe,function:oHe,undefined:V1n}}function TBe(){TBe=_,Urn=lt((Q1(),I(S(y1e,1),ae,243,0,[tO,FE,BE,p1e,m1e,g1e,v1e,iO,A5,c8])))}function SBe(){SBe=_,znn=lt((cc(),I(S(Lq,1),ae,261,0,[CP,qs,Gy,TP,b5,wp,Hy,a5,d5,SP])))}function qyn(e,n,t,i){return new RW(I(S(p0,1),IS,45,0,[(bR(e,n),new q0(e,n)),(bR(t,i),new q0(t,i))]))}function zyn(e,n){var t,i;return t=u(u(yn(e.g,n.a),49).a,68),i=u(u(yn(e.g,n.b),49).a,68),gUe(t,i)}function Xee(e,n,t){var i;if(i=e.gc(),n>i)throw C(new yw(n,i));return e.Qi()&&(t=JOe(e,t)),e.Ci(n,t)}function IBe(e){var n,t,i;return t=e.n,i=e.o,n=e.d,new Af(t.a-n.b,t.b-n.d,i.a+(n.b+n.c),i.b+(n.d+n.a))}function Uyn(e,n){return!e||!n||e==n?!1:db(e.b.c,n.b.c+n.b.b)<0&&db(n.b.c,e.b.c+e.b.b)<0}function kB(e,n,t){return e>=128?!1:e<64?C6(mr(Eh(1,e),t),0):C6(mr(Eh(1,e-64),n),0)}function H7(e,n,t){switch(t.g){case 2:e.b=n;break;case 1:e.c=n;break;case 4:e.d=n;break;case 3:e.a=n}}function PBe(e,n){for(;e.g==null&&!e.c?ZY(e):e.g==null||e.i!=0&&u(e.g[e.i-1],50).Ob();)n.Bi(cS(e))}function q7(e,n,t){return t==null?(!e.q&&(e.q=new Vn),Cm(e.q,n)):(!e.q&&(e.q=new Vn),It(e.q,n,t)),e}function Q(e,n,t){return t==null?(!e.q&&(e.q=new Vn),Cm(e.q,n)):(!e.q&&(e.q=new Vn),It(e.q,n,t)),e}function OBe(e){var n,t;return t=new xC,iu(t,e),Q(t,(R1(),d3),e),n=new Vn,JOn(e,t,n),mLn(e,t,n),t}function Xyn(e){w4();var n,t,i;for(t=W(br,ge,8,2,0,1),i=0,n=0;n<2;n++)i+=.5,t[n]=xjn(i,e);return t}function NBe(e,n){var t,i,r,c;for(t=!1,i=e.a[n].length,c=0;c<i-1;c++)r=c+1,t=t|c7n(e,n,c,r);return t}function Kyn(e){var n,t,i,r;for(t=e.a,i=0,r=t.length;i<r;++i)n=t[i],BBe(e,n,(ke(),Xn)),BBe(e,n,Cn)}function qv(e){var n,t,i;return n=~e.l+1&zo,t=~e.m+(n==0?1:0)&zo,i=~e.h+(n==0&&t==0?1:0)&wa,zu(n,t,i)}function DBe(e){var n,t;return n=e.t-e.k[e.o.p]*e.d+e.j[e.o.p]>e.f,t=e.u+e.e[e.o.p]*e.d>e.f*e.s*e.d,n||t}function Kee(e){var n;return(!e.c||(e.Bb&1)==0&&(e.c.Db&64)!=0)&&(n=rf(e),F(n,88)&&(e.c=u(n,29))),e.c}function Wee(e){var n;if(e<0)return Mr;if(e==0)return 0;for(n=Q9;(n&e)==0;n>>=1);return n}function Wyn(e){var n;return e==0?"Etc/GMT":(e<0?(e=-e,n="Etc/GMT-"):n="Etc/GMT+",n+E$e(e))}function LBe(e){var n,t;return t=bj(e.h),t==32?(n=bj(e.m),n==32?bj(e.l)+32:n+20-10):t-12}function a9(e){var n;return n=e.a[e.b],n==null?null:(Ni(e.a,e.b,null),e.b=e.b+1&e.a.length-1,n)}function Vee(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function Qee(e,n){this.c=e,this.d=n,this.b=this.d/this.c.c.Pd().gc()|0,this.a=this.d%this.c.c.Pd().gc()}function $Be(e,n){this.b=e,g2.call(this,(u(B(ce((O1(),mn).o),10),19),n.i),n.g),this.a=(lB(),bX)}function Yee(e,n,t){this.q=new v.Date,this.q.setFullYear(e+ed,n,t),this.q.setHours(0,0,0,0),q9(this,0)}function FBe(e,n,t){var i,r;return i=new RF(n,t),r=new ei,e.b=Zqe(e,e.b,i,r),r.b||++e.c,e.b.b=!1,r.d}function Zee(e,n){tn();var t,i,r,c,o;for(o=!1,i=n,r=0,c=i.length;r<c;++r)t=i[r],o=o|e.Ec(t);return o}function Vyn(e,n,t,i,r){var c,o;if(o=e.length,c=t.length,n<0||i<0||r<0||n+r>o||i+r>c)throw C(new HK)}function BBe(e,n,t){var i,r,c,o;for(o=m9(n,t),c=0,r=o.Jc();r.Ob();)i=u(r.Pb(),12),It(e.c,i,fe(c++))}function G1(e){var n,t;for(t=new x(e.a.b);t.a<t.c.c.length;)n=u(M(t),82),n.g.c=-n.g.c-n.g.b;lS(e)}function H1(e){var n,t;for(t=new x(e.a.b);t.a<t.c.c.length;)n=u(M(t),60),n.d.c=-n.d.c-n.d.b;ure(e)}function Qyn(e){var n,t,i;return n=u(e.e&&e.e(),10),i=(t=n.slice(),u(JF(t,n),10)),new Is(n,i,n.length)}function jB(e){var n,t,i;n=~e.l+1&zo,t=~e.m+(n==0?1:0)&zo,i=~e.h+(n==0&&t==0?1:0)&wa,e.l=n,e.m=t,e.h=i}function _c(e){var n,t,i,r,c;for(n=new xr,i=e,r=0,c=i.length;r<c;++r)t=i[r],n.a+=t.a,n.b+=t.b;return n}function EB(e,n,t){var i,r,c,o;return c=null,o=n,r=ub(o,"labels"),i=new Fxe(e,t),c=(sqe(i.a,i.b,r),r),c}function RBe(e,n,t){var i;return i=new ve,lre(e,n,i,(ke(),Ln),!0,!1),lre(e,t,i,Tn,!1,!1),i}function Yyn(e,n,t,i){var r;return r=Vie(e,n,t,i),!r&&(r=ekn(e,t,i),r&&!W2(e,n,r))?null:r}function Zyn(e,n,t,i){var r;return r=Qie(e,n,t,i),!r&&(r=FB(e,t,i),r&&!W2(e,n,r))?null:r}function _Be(e,n){var t;for(t=0;t<e.a.a.length;t++)if(!u(jIe(e.a,t),178).Lb(n))return!1;return!0}function e8n(e,n,t){if(st(n),t.Ob())for(gV(n,jPe(t.Pb()));t.Ob();)gV(n,e.a),gV(n,jPe(t.Pb()));return n}function ene(e){tn();var n,t,i;for(i=1,t=e.Jc();t.Ob();)n=t.Pb(),i=31*i+(n!=null?si(n):0),i=i|0;return i}function n8n(e,n,t,i,r){var c;return c=Hie(e,n),t&&jB(c),r&&(e=Ojn(e,n),i?cd=qv(e):cd=zu(e.l,e.m,e.h)),c}function fa(e){var n;return N1(e),n=new ph,e.a.zd(n)?(lv(),new KD(bn(n.a))):(lv(),lv(),Mfe)}function e0(e){var n,t;for(t=new x(e.a.b);t.a<t.c.c.length;)n=u(M(t),82),n.f.$b();adn(e.b,e),_qe(e)}function t8n(e,n){switch(n.g){case 0:F(e.b,632)||(e.b=new hBe);break;case 1:F(e.b,633)||(e.b=new VSe)}}function nne(e,n){switch(n){case 7:return!!e.e&&e.e.i!=0;case 8:return!!e.d&&e.d.i!=0}return Gne(e,n)}function JBe(e,n,t){e.g=GR(e,n,(ke(),Ln),e.b),e.d=GR(e,t,Ln,e.b),!(e.g.c==0||e.d.c==0)&&AGe(e)}function GBe(e,n,t){e.g=GR(e,n,(ke(),Tn),e.j),e.d=GR(e,t,Tn,e.j),!(e.g.c==0||e.d.c==0)&&AGe(e)}function HBe(e,n){return sm(r4(u(k(n,(Wc(),Xb)),86)),new de(e.c.e.a-e.b.e.a,e.c.e.b-e.b.e.b))<=0}function i8n(e,n,t){return!iv(Bt(new We(null,new Ye(e.c,16)),new W3(new jxe(n,t)))).zd((Dd(),l3))}function AB(e,n,t){this.g=e,this.e=new xr,this.f=new xr,this.d=new ni,this.b=new ni,this.a=n,this.c=t}function MB(e,n,t,i){this.b=new ve,this.n=new ve,this.i=i,this.j=t,this.s=e,this.t=n,this.r=0,this.d=0}function qBe(e,n,t,i){this.b=new Vn,this.g=new Vn,this.d=(g9(),eO),this.c=e,this.e=n,this.d=t,this.a=i}function tne(e,n,t){switch(n){case 0:!e.o&&(e.o=new mo((su(),qh),b1,e,0)),cT(e.o,t);return}qR(e,n,t)}function zBe(e){switch(e.g){case 0:return new G4e;default:throw C(new An(dI+(e.f!=null?e.f:""+e.g)))}}function UBe(e){switch(e.g){case 0:return new J4e;default:throw C(new An(dI+(e.f!=null?e.f:""+e.g)))}}function zv(){zv=_,Xle=new mpe,Kle=new vpe,mnn=new gpe,pnn=new ype,gnn=new ppe,Ule=(bn(gnn),new Jn)}function d9(){d9=_,W1e=new OL(ul,0),_z=new OL("MIDDLE_TO_MIDDLE",1),GE=new OL("AVOID_OVERLAP",2)}function ine(e){var n,t,i;for(n=new Lo,i=rt(e,0);i.b!=i.d.c;)t=u(tt(i),8),av(n,0,new qr(t));return n}function Ua(e){var n,t;for(n=0,t=0;t<e.length;t++)n=(n<<5)-n+(Pn(t,e.length),e.charCodeAt(t))|0;return n}function r8n(e){var n,t;n=u(k(e,(se(),Io)),9),n&&(t=n.c,no(t.a,n),t.a.c.length==0&&no(ar(n).b,t))}function XBe(e){return Dl?W(gZe,IKe,567,0,0,1):u(Al(e.a,W(gZe,IKe,567,e.a.c.length,0,1)),841)}function rne(e){var n;return e.b<=0?!1:(n=Kl("MLydhHmsSDkK",io(Nr(e.c,0))),n>1||n>=0&&e.b<3)}function c8n(){_t();var e;return yX||(e=nwn(Y1("M",!0)),e=Bx(Y1("M",!1),e),yX=e,yX)}function cne(e){switch(e.g){case 1:return qWe;default:case 2:return 0;case 3:return zWe;case 4:return koe}}function Uv(e,n){if(!e.Ji()&&n==null)throw C(new An("The 'no null' constraint is violated"));return n}function KBe(e,n){n7(e>=0,"Negative initial capacity"),n7(n>=0,"Non-positive load factor"),ou(this)}function WBe(e,n){var t,i,r;for(r=e.b;r;){if(t=e.a.Le(n,r.d),t==0)return r;i=t<0?0:1,r=r.a[i]}return null}function xB(e,n){var t;return n===e?!0:F(n,229)?(t=u(n,229),qt(e.Zb(),t.Zb())):!1}function une(e,n){return Fqe(e,n)?(Ve(e.b,u(k(n,(se(),va)),22),n),Mt(e.a,n),!0):!1}function u8n(e,n){return Ht(e,(se(),oi))&&Ht(n,oi)?u(k(n,oi),15).a-u(k(e,oi),15).a:0}function o8n(e,n){return Ht(e,(se(),oi))&&Ht(n,oi)?u(k(e,oi),15).a-u(k(n,oi),15).a:0}function s8n(e,n){var t,i;return t=u(he(e,(Tl(),XE)),15).a,i=u(he(n,XE),15).a,t==i||t<i?-1:t>i?1:0}function f8n(e){return me(e.c,(Dm(),ssn)),fee(e.a,J(H(Ae((KB(),YP)))))?new I5e:new nje(e)}function l8n(e){for(;!e.d||!e.d.Ob();)if(e.b&&!r6(e.b))e.d=u(vm(e.b),50);else return null;return e.d}function VBe(e,n,t){return e.d[n.p][t.p]||(ujn(e,n,t),e.d[n.p][t.p]=!0,e.d[t.p][n.p]=!0),e.a[n.p][t.p]}function $2(e,n,t){var i,r;return r=(i=new HD,i),bc(r,n,t),it((!e.q&&(e.q=new ue(bf,e,11,10)),e.q),r),r}function CB(e){var n,t,i,r;for(r=k0n(Sfn,e),t=r.length,i=W(Ie,ge,2,t,6,1),n=0;n<t;++n)i[n]=r[n];return i}function Lm(e,n){var t,i,r,c,o;for(i=n,r=0,c=i.length;r<c;++r)t=i[r],o=new yPe(e),t.tf(o),ZOn(o);ou(e.f)}function one(e,n){var t;n*2+1>=e.b.c.length||(one(e,2*n+1),t=2*n+2,t<e.b.c.length&&one(e,t),lHe(e,n))}function h8n(e,n){var t,i;for(i=rt(e,0);i.b!=i.d.c;)t=u(tt(i),218),t.e.length>0&&(n.Ad(t),t.i&&B7n(t))}function sne(e,n,t){var i;for(i=t-1;i>=0&&e[i]===n[i];i--);return i<0?0:hL(mr(e[i],uc),mr(n[i],uc))?-1:1}function a8n(e,n){var t;return!e||e==n||!Ht(n,(se(),Jb))?!1:(t=u(k(n,(se(),Jb)),9),t!=e)}function TB(e){switch(e.i){case 2:return!0;case 1:return!1;case-1:++e.c;default:return e.Yl()}}function QBe(e){switch(e.i){case-2:return!0;case-1:return!1;case 1:--e.c;default:return e.Zl()}}function d8n(e,n){var t,i;for(i=e.Zb().Bc().Jc();i.Ob();)if(t=u(i.Pb(),18),t.Gc(n))return!0;return!1}function YBe(e,n,t){var i,r,c,o;for(bn(t),o=!1,c=e.dd(n),r=t.Jc();r.Ob();)i=r.Pb(),c.Rb(i),o=!0;return o}function ZBe(e,n,t){var i,r;this.g=e,this.c=n,this.a=this,this.d=this,r=OFe(t),i=W(UYe,Lj,227,r,0,1),this.b=i}function SB(e,n){var t,i;return i=u(xn(e.a,4),129),t=W(aX,cH,415,n,0,1),i!=null&&pu(i,0,t,0,i.length),t}function eRe(e,n){var t;return t=new i_((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,n),e.e!=null||(t.c=e),t}function b8n(e,n){var t;return e===n?!0:F(n,92)?(t=u(n,92),fie(Rd(e),t.vc())):!1}function nRe(e,n,t){var i,r;for(r=t.Jc();r.Ob();)if(i=u(r.Pb(),45),e.ze(n,i.kd()))return!0;return!1}function Zo(e){return pr(e)?Ie:bw(e)?zi:dw(e)?Ci:aY(e)||cY(e)?e.Pm:e.Pm||Array.isArray(e)&&S(KYe,1)||KYe}function IB(){IB=_,YH=DOe(I(S(I8,1),ae,86,0,[(Vi(),Ec),Tc])),ZH=DOe(I(S(I8,1),ae,86,0,[zs,Rl]))}function aT(){aT=_,Kbe=new X0(15),Ysn=new Cr((Et(),_h),Kbe),P8=O3,qbe=Esn,zbe=S0,Xbe=Dp,Ube=Bg}function la(){la=_,FO=new JL(gse,0),d1=new JL("INCLUDE_CHILDREN",1),O8=new JL("SEPARATE_CHILDREN",2)}function z7(){z7=_,gO=new NL(ul,0),jde=new NL("RADIAL_COMPACTION",1),Ede=new NL("WEDGE_COMPACTION",2)}function b9(){b9=_,Dz=new CL("STACKED",0),Nz=new CL("REVERSE_STACKED",1),RE=new CL("SEQUENCED",2)}function $s(){$s=_,Sfe=new dL("CONCURRENT",0),uo=new dL("IDENTITY_FINISH",1),Ife=new dL("UNORDERED",2)}function dT(){dT=_,uX=new ex("ELK",0),dwe=new ex("JSON",1),awe=new ex("DOT",2),bwe=new ex("SVG",3)}function w9(){w9=_,Yz=new UM(AJ,0),bO=new UM(KWe,1),Qz=new UM("FAN",2),Vz=new UM("CONSTRAINT",3)}function Xv(){Xv=_,Lz=new TL("CONSERVATIVE",0),T1e=new TL("CONSERVATIVE_SOFT",1),o8=new TL("SLOPPY",2)}function PB(e,n,t){var i,r,c;for(i=new ni,c=rt(t,0);c.b!=c.d.c;)r=u(tt(c),8),Mt(i,new qr(r));YBe(e,n,i)}function w8n(e){var n,t,i;for(n=0,i=W(br,ge,8,e.b,0,1),t=rt(e,0);t.b!=t.d.c;)i[n++]=u(tt(t),8);return i}function g8n(e,n){var t,i;return t=u(e.d.Ac(n),18),t?(i=e.e.hc(),i.Fc(t),e.e.d-=t.gc(),t.$b(),i):null}function fne(e,n){var t,i;if(i=e.c[n],i!=0)for(e.c[n]=0,e.d-=i,t=n+1;t<e.a.length;)e.a[t]-=i,t+=t&-t}function lne(e){var n;if(n=e.a.c.length,n>0)return vv(n-1,e.a.c.length),Ga(e.a,n-1);throw C(new Zje)}function p8n(e,n,t){if(n<0)throw C(new $u(dVe+n));n<e.j.c.length?ls(e.j,n,t):(iDe(e,n),me(e.j,t))}function tRe(e,n,t){if(e>n)throw C(new An(LS+e+PKe+n));if(e<0||n>t)throw C(new bW(LS+e+Pce+n+Tce+t))}function iRe(e){if(!e.a||(e.a.i&8)==0)throw C(new gc("Enumeration class expected for layout option "+e.f))}function rRe(e){OOe.call(this,"The given string does not match the expected format for individual spacings.",e)}function cRe(){ldn.call(this,new qZ(_w(16))),as(2,lKe),this.b=2,this.a=new DY(null,null,0,null),wk(this.a,this.a)}function uRe(e){rAe(),lx(this),iC(this),this.e=e,Kqe(this,e),this.g=e==null?co:Oc(e),this.a="",this.b=e,this.a=""}function Kv(e,n){e.D==null&&e.B!=null&&(e.D=e.B,e.B=null),iB(e,n==null?null:(bn(n),n)),e.C&&e.fl(null)}function m8n(e,n){var t,i;for(t=e.a.length-1,e.c=e.c-1&t;n!=e.c;)i=n+1&t,Ni(e.a,n,e.a[i]),n=i;Ni(e.a,e.c,null)}function v8n(e,n){var t,i;for(t=e.a.length-1;n!=e.b;)i=n-1&t,Ni(e.a,n,e.a[i]),n=i;Ni(e.a,e.b,null),e.b=e.b+1&t}function hne(e,n,t){var i,r;return Iw(n,e.c.length),i=t.Nc(),r=i.length,r==0?!1:(GQ(e.c,n,i),!0)}function ane(e){var n;return n=(!e.a&&(e.a=new ue(Ma,e,9,5)),e.a),n.i!=0?v0n(u(B(n,0),684)):null}function y8n(e,n){var t;return t=Ur(e,n),hL(yF(e,n),0)|cx(yF(e,t),0)?t:Ur(Dj,yF(_d(t,63),1))}function k8n(e,n){var t;t=Ae((KB(),YP))!=null&&n.Rg()!=null?J(H(n.Rg()))/J(H(Ae(YP))):1,It(e.b,n,t)}function Jw(e){var n;++e.j,e.i==0?e.g=null:e.i<e.g.length&&(n=e.g,e.g=e.$i(e.i),pu(n,0,e.g,0,e.i))}function F2(e){return(e.c!=e.b.b||e.i!=e.g.b)&&(iw(e.a.c,0),er(e.a,e.b),er(e.a,e.g),e.c=e.b.b,e.i=e.g.b),e.a}function j8n(e){var n,t;if(e==null)return null;for(n=0,t=e.length;n<t;n++)if(!iIe(e[n]))return e[n];return null}function oRe(e,n,t){var i,r,c,o;for(r=t,c=0,o=r.length;c<o;++c)if(i=r[c],e.b.ze(n,i.jd()))return i;return null}function bT(e){var n,t,i,r,c;for(c=1,t=e,i=0,r=t.length;i<r;++i)n=t[i],c=31*c+(n!=null?si(n):0),c=c|0;return c}function lt(e){var n,t,i,r,c;for(n={},i=e,r=0,c=i.length;r<c;++r)t=i[r],n[":"+(t.f!=null?t.f:""+t.g)]=t;return n}function E8n(e){var n;for(st(e),TQ(!0,"numberToAdvance must be nonnegative"),n=0;n<0&&zn(e);n++)$n(e);return n}function sRe(e){var n,t,i;for(i=0,t=new Mn(In(e.a.Jc(),new U));zn(t);)n=u($n(t),17),n.c.i==n.d.i||++i;return i}function fRe(e,n){var t,i,r;t=e,r=0;do{if(t==n)return r;if(i=t.e,!i)throw C(new gk);t=ar(i),++r}while(!0)}function lRe(e,n){var t,i,r;for(r=n-e.f,i=new x(e.d);i.a<i.c.c.length;)t=u(M(i),320),l_e(t,t.e,t.f+r);e.f=n}function OB(e,n){return!e||n&&!e.j||F(e,127)&&u(e,127).a.b==0?0:e.ff()}function wT(e,n){return!e||n&&!e.k||F(e,127)&&u(e,127).a.a==0?0:e.gf()}function Xa(e){switch(e.c){case 0:return T$(),Zse;case 1:return new zp(wHe(new em(e)));default:return new UEe(e)}}function hRe(e){switch(e.gc()){case 0:return T$(),Zse;case 1:return new zp(e.Jc().Pb());default:return new _W(e)}}function aRe(e,n){var t;for(t=0;t<n.length;t++)if(e==(Pn(t,n.length),n.charCodeAt(t)))return!0;return!1}function A8n(e,n){return n<e.length&&(Pn(n,e.length),e.charCodeAt(n)!=63)&&(Pn(n,e.length),e.charCodeAt(n)!=35)}function dRe(e,n,t,i){var r,c;e.a=n,c=i?0:1,e.f=(r=new RGe(e.c,e.a,t,c),new vze(t,e.a,r,e.e,e.b,e.c==(t0(),s8)))}function n0(e,n){var t,i,r;i=e.Wk(n,null),r=null,n&&(r=(tv(),t=new G0,t),Lv(r,e.r)),i=xl(e,r,i),i&&i.mj()}function M8n(e,n){var t,i;for(i=Ho(e.d,1)!=0,t=!0;t;)t=!1,t=n.c.kg(n.e,i),t=t|yj(e,n,i,!1),i=!i;Oee(e)}function bRe(e,n){var t,i,r,c,o,f,l,h;return l=n.i,h=n.j,i=e.f,r=i.i,c=i.j,o=l-r,f=h-c,t=v.Math.sqrt(o*o+f*f),t}function dne(e,n){var t,i,r;return i=!1,t=n.q.d,n.d<e.b&&(r=rre(n.q,e.b),n.q.d>r&&(VJe(n.q,r),i=t!=n.q.d)),i}function wRe(e,n){var t;for(t=0;t<n.length;t++)if(e==(Pn(t,n.length),n.charCodeAt(t)))return!0;return!1}function x8n(e){var n,t;for(t=new x(e.r);t.a<t.c.c.length;)if(n=u(M(t),9),e.n[n.p]<=0)return n;return null}function C8n(e){var n;return n=new _$e(e),w7(e.a,Zen,new Uc(I(S(pE,1),ln,377,0,[n]))),n.d&&me(n.f,n.d),n.f}function bne(e,n){var t,i;return i=PT(e),i||(t=(A_(),dqe(n)),i=new Hje(t),it(i.Cl(),e)),i}function T8n(e){var n,t;if(e==null)return!1;for(n=0,t=e.length;n<t;n++)if(!iIe(e[n]))return!1;return!0}function S8n(e){var n;if(!(e.c.c<0?e.a>=e.c.b:e.a<=e.c.b))throw C(new Dc);return n=e.a,e.a+=e.c.c,++e.b,fe(n)}function U7(e,n){var t,i;return t=u(e.c.Ac(n),18),t?(i=e.hc(),i.Fc(t),e.d-=t.gc(),t.$b(),e.mc(i)):e.jc()}function I8n(e,n){st(e);try{return e.Ac(n)}catch(t){if(t=Fi(t),F(t,211)||F(t,172))return null;throw C(t)}}function Gw(e,n){st(e);try{return e.xc(n)}catch(t){if(t=Fi(t),F(t,211)||F(t,172))return null;throw C(t)}}function Su(e,n){var t;return Ic(e)&&Ic(n)&&(t=e-n,!isNaN(t))?t:Ste(Ic(e)?nf(e):e,Ic(n)?nf(n):n)}function NB(e,n,t){return v.Math.abs(n-e)<oI||v.Math.abs(t-e)<oI?!0:n-e>oI?e-t>oI:t-e>oI}function wne(e){throw yB(),C(new WEe("Unexpected typeof result '"+e+"'; please report this bug to the GWT team"))}function gne(){this.a=new B4e,this.f=new G7e(this),this.b=new H7e(this),this.i=new q7e(this),this.e=new z7e(this)}function t0(){t0=_,_E=new qM("BARYCENTER",0),s8=new qM(vWe,1),cO=new qM(yWe,2),rO=new qM("MEDIAN",3)}function g9(){g9=_,jz=new AL("DUMMY_NODE_OVER",0),d1e=new AL("DUMMY_NODE_UNDER",1),eO=new AL("EQUAL",2)}function Wv(){Wv=_,cA=new WM(gse,0),$O=new WM("CONTAINER",1),Dbe=new WM("PARENT",2),Lbe=new WM("ROOT",3)}function P8n(e,n,t){var i;i=new BHe(e,n),Ve(e.r,n.$f(),i),t&&!H6(e.u)&&(i.c=new IOe(e.d),Tu(n.Pf(),new Y8e(i)))}function DB(e){var n;return n=new xV(e.a),iu(n,e),Q(n,(se(),Ut),e),n.o.a=e.g,n.o.b=e.f,n.n.a=e.i,n.n.b=e.j,n}function gT(e){var n;return Hn(e.a!=e.b),n=e.d.a[e.a],ATe(e.b==e.d.c&&n!=null),e.c=e.a,e.a=e.a+1&e.d.a.length-1,n}function gRe(e){var n;if(e.c!=0)return e.c;for(n=0;n<e.a.length;n++)e.c=e.c*33+(e.a[n]&-1);return e.c=e.c*e.e,e.c}function O8n(e){var n,t,i,r;for(r=new Ji,i=new x(e);i.a<i.c.c.length;)t=u(M(i),26),n=jIn(t),_r(r,n);return r}function N8n(e,n,t){var i,r;for(r=n.a.a.ec().Jc();r.Ob();)if(i=u(r.Pb(),60),aOe(e,i,t))return!0;return!1}function D8n(e,n,t,i){var r,c;for(c=e.Jc();c.Ob();)r=u(c.Pb(),70),r.n.a=n.a+(i.a-r.o.a)/2,r.n.b=n.b,n.b+=r.o.b+t}function pne(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,1,r,n),t?t.lj(i):t=i),t}function q1(e,n){var t,i,r,c;return c=(r=e?PT(e):null,uHe((i=n,r&&r.El(),i))),c==n&&(t=PT(e),t&&t.El()),c}function pRe(e,n,t){var i,r;return r=e.b,e.b=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,3,r,n),t?t.lj(i):t=i),t}function mRe(e,n,t){var i,r;return r=e.f,e.f=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,0,r,n),t?t.lj(i):t=i),t}function mne(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function L8n(e,n){var t,i,r;for(r=1,t=e,i=n>=0?n:-n;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return n<0?1/r:r}function vRe(e){var n,t;if(e!=null)for(t=0;t<e.length;++t)n=e[t],n&&(u(n.g,374),n.i)}function $8n(e){var n;return n=sx(pcn),u(k(e,(se(),Du)),22).Gc((cc(),b5))&&kt(n,(dr(),vu),(yr(),hP)),n}function LB(e){return(ke(),fo).Gc(e.j)?J(H(k(e,(se(),w5)))):_c(I(S(br,1),ge,8,0,[e.i.n,e.n,e.a])).b}function yRe(e,n){var t;return t=new Ml(e),Uh(t,(pn(),qi)),Q(t,(se(),Ut),n),Q(t,(ye(),Ti),(vr(),yu)),t}function kRe(e,n,t){var i,r;for(r=e.Jc();r.Ob();){if(i=u(r.Pb(),9),i==n)return-1;if(i==t)return 1}return 0}function F8n(e,n,t){var i,r,c,o;for(i=t/e.gc(),r=0,o=e.Jc();o.Ob();)c=u(o.Pb(),186),lRe(c,c.f+i*r),GEn(c,n,i),++r}function B8n(e){var n,t,i;for(i=new x(e.b);i.a<i.c.c.length;)t=u(M(i),218),n=t.c.ig()?t.f:t.a,n&&LNn(n,t.j)}function R8n(e){var n,t,i;for(i=0,t=new x(e.a);t.a<t.c.c.length;)n=u(M(t),173),i=v.Math.max(i,n.g);return i}function jRe(e){switch(e.g){case 0:return new N4e;case 1:return new L4e;case 2:return new D4e;default:return null}}function vne(e,n){switch(n){case 1:!e.n&&(e.n=new ue(zc,e,1,7)),nt(e.n);return;case 2:Fv(e,null);return}zee(e,n)}function ERe(e,n){st(e);try{return e._b(n)}catch(t){if(t=Fi(t),F(t,211)||F(t,172))return!1;throw C(t)}}function yne(e,n){st(e);try{return e.Gc(n)}catch(t){if(t=Fi(t),F(t,211)||F(t,172))return!1;throw C(t)}}function _8n(e,n){st(e);try{return e.Kc(n)}catch(t){if(t=Fi(t),F(t,211)||F(t,172))return!1;throw C(t)}}function ARe(e,n){var t;e.a.c.length>0&&(t=u(Ce(e.a,e.a.c.length-1),565),une(t,n))||me(e.a,new RDe(n))}function MRe(e,n){var t;e.c.length!=0&&(t=u(Al(e,W(Bh,n1,9,e.c.length,0,1)),199),yV(t,new j2e),SHe(t,n))}function xRe(e,n){var t;e.c.length!=0&&(t=u(Al(e,W(Bh,n1,9,e.c.length,0,1)),199),yV(t,new E2e),SHe(t,n))}function J8n(e,n,t,i,r){n==0||i==0||(n==1?r[i]=fte(r,t,i,e[0]):i==1?r[n]=fte(r,e,n,t[0]):PCn(e,t,r,n,i))}function fe(e){var n,t;return e>-129&&e<128?(wIe(),n=e+128,t=lfe[n],!t&&(t=lfe[n]=new jK(e)),t):new jK(e)}function Vv(e){var n,t;return e>-129&&e<128?(yIe(),n=e+128,t=bfe[n],!t&&(t=bfe[n]=new AK(e)),t):new AK(e)}function CRe(e){var n;return n=new A1,n.a+="VerticalSegment ",ju(n,e.e),n.a+=" ",At(n,LV(new nL,new x(e.k))),n.a}function G8n(e){os();var n,t;n=e.d.c-e.e.c,t=u(e.g,156),Tu(t.b,new Lke(n)),Tu(t.c,new $ke(n)),Dr(t.i,new Fke(n))}function H8n(e,n){var t;e.c=n,e.a=Hkn(n),e.a<54&&(e.f=(t=n.d>1?DNe(n.a[0],n.a[1]):DNe(n.a[0],0),Kd(n.e>0?t:qa(t))))}function $B(e,n){var t,i,r;for(t=0,r=Jc(e,n).Jc();r.Ob();)i=u(r.Pb(),12),t+=k(i,(se(),Io))!=null?1:0;return t}function B2(e,n,t){var i,r,c;for(i=0,c=rt(e,0);c.b!=c.d.c&&(r=J(H(tt(c))),!(r>t));)r>=n&&++i;return i}function kne(e,n,t){var i,r;return r=e.sb,e.sb=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,4,r,n),t?t.lj(i):t=i),t}function q8n(e){var n;return n=u(jl(e.c.c,""),233),n||(n=new Em(nv(ev(new Hp,""),"Other")),i0(e.c.c,"",n)),n}function p9(e){var n;return(e.Db&64)!=0?Pf(e):(n=new Ys(Pf(e)),n.a+=" (name: ",ac(n,e.zb),n.a+=")",n.a)}function jne(e,n,t){var i,r;return r=e.r,e.r=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,8,r,e.r),t?t.lj(i):t=i),t}function z8n(e,n,t){var i,r;return i=new ca(e.e,4,13,(r=n.c,r||(nn(),Hl)),null,Qa(e,n),!1),t?t.lj(i):t=i,t}function U8n(e,n,t){var i,r;return i=new ca(e.e,3,13,null,(r=n.c,r||(nn(),Hl)),Qa(e,n),!1),t?t.lj(i):t=i,t}function Ka(e,n){var t,i;return t=u(n,681),i=t.cl(),!i&&t.dl(i=F(n,88)?new Kxe(e,u(n,29)):new TNe(e,u(n,159))),i}function X7(e,n,t){var i;e.Zi(e.i+1),i=e.Xi(n,t),n!=e.i&&pu(e.g,n,e.g,n+1,e.i-n),Ni(e.g,n,i),++e.i,e.Ki(n,t),e.Li()}function X8n(e,n,t,i,r,c,o,f){var l;for(l=t;c<o;)l>=i||n<t&&f.Le(e[n],e[l])<=0?Ni(r,c++,e[n++]):Ni(r,c++,e[l++])}function K8n(e,n){var t,i,r,c;if(n.cj(e.a),c=u(xn(e.a,8),2e3),c!=null)for(t=c,i=0,r=t.length;i<r;++i)null.Sm()}function W8n(e,n){var t;return n.a&&(t=n.a.a.length,e.a?At(e.a,e.b):e.a=new us(e.d),FNe(e.a,n.a,n.d.length,t)),e}function K7(e,n){var t;return t=new ph,e.a.zd(t)?(lv(),new KD(bn(a$e(e,t.a,n)))):(N1(e),lv(),lv(),Mfe)}function TRe(e){var n;return Su(e,0)<0&&(e=_1(bmn(Ic(e)?nf(e):e))),n=wt(_d(e,32)),64-(n!=0?bj(n):bj(wt(e))+32)}function qt(e,n){return pr(e)?Ke(e,n):bw(e)?mSe(e,n):dw(e)?(bn(e),K(e)===K(n)):aY(e)?e.Fb(n):cY(e)?gCe(e,n):sZ(e,n)}function V8n(e){return e?(e.i&1)!=0?e==ao?Ci:e==bt?Zi:e==Qg?t5:e==jr?zi:e==Yb?Lb:e==_p?$b:e==Ao?s3:Iy:e:null}function m9(e,n){switch(n.g){case 2:case 1:return Jc(e,n);case 3:case 4:return ns(Jc(e,n))}return tn(),tn(),Qr}function Ene(e,n,t,i){switch(n){case 1:return!e.n&&(e.n=new ue(zc,e,1,7)),e.n;case 2:return e.k}return mte(e,n,t,i)}function Fs(e,n,t){if(n<0)Mie(e,t);else{if(!t.pk())throw C(new An(rd+t.ve()+py));u(t,69).uk().Ck(e,e.ei(),n)}}function SRe(e,n,t){if(e<0||n>t)throw C(new $u(LS+e+Pce+n+", size: "+t));if(e>n)throw C(new An(LS+e+PKe+n))}function Wa(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,2,t,n))}function Va(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,3,t,n))}function Ane(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,8,t,n))}function Mne(e,n){var t;t=(e.Bb&512)!=0,n?e.Bb|=512:e.Bb&=-513,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,9,t,n))}function IRe(e){var n;return(e.Db&64)!=0?Pf(e):(n=new Ys(Pf(e)),n.a+=" (source: ",ac(n,e.d),n.a+=")",n.a)}function pT(e,n){var t;t=(e.Bb&256)!=0,n?e.Bb|=256:e.Bb&=-257,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,8,t,n))}function Q8n(e,n,t){var i,r;return r=e.a,e.a=n,(e.Db&4)!=0&&(e.Db&1)==0&&(i=new hr(e,1,5,r,e.a),t?Gte(t,i):t=i),t}function v9(e,n){var t;return e.b==-1&&e.a&&(t=e.a.nk(),e.b=t?e.c.Eh(e.a.Jj(),t):vi(e.c.Ah(),e.a)),e.c.vh(e.b,n)}function PRe(e,n){var t,i;for(i=new Rn(e);i.e!=i.i.gc();)if(t=u(Gn(i),29),K(n)===K(t))return!0;return!1}function Y8n(e){SS();var n,t,i,r;for(t=tR(),i=0,r=t.length;i<r;++i)if(n=t[i],Rc(n.a,e,0)!=-1)return n;return GH}function ORe(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e>=48&&e<=57?e-48:0}function NRe(e){return e-=e>>1&1431655765,e=(e>>2&858993459)+(e&858993459),e=(e>>4)+e&252645135,e+=e>>8,e+=e>>16,e&63}function xne(e){var n,t;return n=e.k,n==(pn(),Ui)?(t=u(k(e,(se(),eu)),64),t==(ke(),Cn)||t==Xn):!1}function DRe(e){var n;return n=dZ(e),x6(n.a,0)?(fw(),fw(),DH):(fw(),new o$(lL(n.a,0)?LZ(n)/Kd(n.a):0))}function Z8n(e,n){var t;if(t=vj(e,n),F(t,335))return u(t,38);throw C(new An(rd+n+"' is not a valid attribute"))}function y9(e,n,t){var i;if(i=e.gc(),n>i)throw C(new yw(n,i));if(e.Qi()&&e.Gc(t))throw C(new An(cE));e.Ei(n,t)}function LRe(e,n){var t,i;for(i=new Rn(e);i.e!=i.i.gc();)if(t=u(Gn(i),143),K(n)===K(t))return!0;return!1}function ekn(e,n,t){var i,r,c;return c=(r=d4(e.b,n),r),c&&(i=u(AS(T7(e,c),""),29),i)?Vie(e,i,n,t):null}function FB(e,n,t){var i,r,c;return c=(r=d4(e.b,n),r),c&&(i=u(AS(T7(e,c),""),29),i)?Qie(e,i,n,t):null}function nkn(e){var n,t,i;for(i=0,t=e.length,n=0;n<t;n++)e[n]==32||e[n]==13||e[n]==10||e[n]==9||(e[i++]=e[n]);return i}function tkn(e){var n;return n=e.a[e.c-1&e.a.length-1],n==null?null:(e.c=e.c-1&e.a.length-1,Ni(e.a,e.c,null),n)}function $Re(e){var n,t;for(t=e.p.a.ec().Jc();t.Ob();)if(n=u(t.Pb(),217),n.f&&e.b[n.c]<-1e-10)return n;return null}function Cne(e,n){switch(e.b.g){case 0:case 1:return n;case 2:case 3:return new Af(n.d,0,n.a,n.b);default:return null}}function Qt(e,n){return e<n?-1:e>n?1:e==n?e==0?Qt(1/e,1/n):0:isNaN(e)?isNaN(n)?0:1:-1}function ikn(e,n){n.Tg("Sort end labels",1),Si(Bt(Pc(new We(null,new Ye(e.b,16)),new u2e),new o2e),new s2e),n.Ug()}function Vi(){Vi=_,_l=new $k(ty,0),Tc=new $k(t3,1),Ec=new $k(n3,2),Rl=new $k(mJ,3),zs=new $k("UP",4)}function $m(){$m=_,iwe=new HL("PARALLEL_NODE",0),qg=new HL("HIERARCHICAL_NODE",1),HO=new HL("ROOT_NODE",2)}function W7(){W7=_,EO=new RL("P1_STRUCTURE",0),AO=new RL("P2_PROCESSING_ORDER",1),MO=new RL("P3_EXECUTION",2)}function mT(){mT=_,b0e=new BL("EQUAL_BETWEEN_STRUCTURES",0),w0e=new BL("TO_ASPECT_RATIO",1),AU=new BL(ul,2)}function ha(){ha=_,ZU=new VM(ty,0),uA=new VM("POLYLINE",1),L5=new VM("ORTHOGONAL",2),L3=new VM("SPLINES",3)}function FRe(){FRe=_,Oun=nh(nh(d6(nh(nh(d6(kt(new $i,(Gm(),h8),(G9(),Rz)),a8),z1e),X1e),d8),J1e),K1e)}function rkn(e){switch(u(k(e,(se(),v0)),316).g){case 1:Q(e,v0,(ua(),w3));break;case 2:Q(e,v0,(ua(),gp))}}function ckn(e){switch(e){case 0:return new jEe;case 1:return new yEe;case 2:return new kEe;default:throw C(new gk)}}function BRe(e){switch(e.g){case 2:return Tc;case 1:return Ec;case 4:return Rl;case 3:return zs;default:return _l}}function Tne(e){switch(e.g){case 1:return Tn;case 2:return Cn;case 3:return Ln;case 4:return Xn;default:return qc}}function V7(e){switch(e.g){case 1:return Xn;case 2:return Tn;case 3:return Cn;case 4:return Ln;default:return qc}}function vT(e){switch(e.g){case 1:return Ln;case 2:return Xn;case 3:return Tn;case 4:return Cn;default:return qc}}function k9(e,n,t){var i,r;return e.Nj()?(r=e.Oj(),i=XR(e,n,t),e.Hj(e.Gj(7,fe(t),i,n,r)),i):XR(e,n,t)}function BB(e,n){var t,i,r;e.d==null?(++e.e,--e.f):(r=n.jd(),t=n.yi(),i=(t&Ft)%e.d.length,n6n(e,i,yqe(e,i,t,r)))}function Qv(e,n){var t;t=(e.Bb&jo)!=0,n?e.Bb|=jo:e.Bb&=-8193,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,15,t,n))}function Yv(e,n){var t;t=(e.Bb&Df)!=0,n?e.Bb|=Df:e.Bb&=-1025,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,10,t,n))}function Zv(e,n){var t;t=(e.Bb&cg)!=0,n?e.Bb|=cg:e.Bb&=-4097,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,12,t,n))}function e4(e,n){var t;t=(e.Bb&i1)!=0,n?e.Bb|=i1:e.Bb&=-2049,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,11,t,n))}function ukn(e,n){var t;return t=Qt(e.b.c,n.b.c),t!=0||(t=Qt(e.a.a,n.a.a),t!=0)?t:Qt(e.a.b,n.a.b)}function okn(e){var n,t;for(t=Gd(new A1,91),n=!0;e.Ob();)n||(t.a+=Ju),n=!1,ju(t,e.Pb());return(t.a+="]",t).a}function skn(e){var n,t,i;for(n=new ve,i=new x(e.b);i.a<i.c.c.length;)t=u(M(i),592),er(n,u(t.Af(),18));return n}function RB(e,n){var t,i;for(i=new x(n);i.a<i.c.c.length;)t=u(M(i),49),no(e.b.b,t.b),I3n(u(t.a,194),u(t.b,82))}function fkn(e){var n,t;for(t=bqe(hs(e)).Jc();t.Ob();)if(n=dt(t.Pb()),H9(e,n))return k5n((OMe(),Jfn),n);return null}function lkn(e,n,t){var i,r;for(r=e.a.ec().Jc();r.Ob();)if(i=u(r.Pb(),9),G7(t,u(Ce(n,i.p),18)))return i;return null}function hkn(e,n,t){var i,r;for(r=F(n,103)&&(u(n,19).Bb&Vr)!=0?new UL(n,e):new _v(n,e),i=0;i<t;++i)FT(r);return r}function akn(e,n){var t,i,r,c,o;for(o=Xu(e.e.Ah(),n),c=0,t=u(e.g,122),r=0;r<e.i;++r)i=t[r],o.$l(i.Jk())&&++c;return c}function yT(e){var n,t;return t=u(k(e,(ye(),ys)),86),t==(Vi(),_l)?(n=J(H(k(e,$P))),n>=1?Tc:Rl):t}function dkn(e){switch(u(k(e,(ye(),ka)),222).g){case 1:return new Qme;case 3:return new t3e;default:return new Vme}}function z1(e){if(e.c)z1(e.c);else if(e.d)throw C(new gc("Stream already terminated, can't be modified or used"))}function bkn(e){var n;if(!e.a)throw C(new gc("Cannot offset an unassigned cut."));n=e.c-e.b,e.b+=n,iOe(e,n),rOe(e,n)}function RRe(e,n,t){var i,r;if(e.c)nie(e.c,n,t);else for(r=new x(e.b);r.a<r.c.c.length;)i=u(M(r),167),RRe(i,n,t)}function Sne(e,n){var t,i,r;for(bn(n),t=!1,i=new x(e);i.a<i.c.c.length;)r=M(i),n.Gc(r)&&(q6(i),t=!0);return t}function ab(e,n,t){var i;return i=e.a.get(n),e.a.set(n,t===void 0?null:t),i===void 0?(++e.c,++e.b.g):++e.d,i}function wkn(e,n,t){var i,r;return i=u(n.mf(e.a),35),r=u(t.mf(e.a),35),i!=null&&r!=null?L7(i,r):i!=null?-1:r!=null?1:0}function Jc(e,n){var t;return e.i||Aie(e),t=u(dc(e.g,n),49),t?new L1(e.j,u(t.a,15).a,u(t.b,15).a):(tn(),tn(),Qr)}function Q7(e,n){this.e=n,this.a=TRe(e),this.a<54?this.f=Kd(e):this.c=(ih(),Su(e,0)>=0?U1(e):z6(U1(qa(e))))}function _Re(e,n,t,i,r,c){this.e=new ve,this.f=(rc(),u8),me(this.e,e),this.d=n,this.a=t,this.b=i,this.f=r,this.c=c}function JRe(e,n,t,i,r){_Ce(this),this.b=e,this.d=W(Bh,n1,9,n.a.c.length,0,1),this.f=t,Al(n.a,this.d),this.g=i,this.c=r}function gkn(e,n,t){var i;i=t,!i&&(i=WQ(new Wp,0)),i.Tg(cWe,2),K_e(e.b,n,i.dh(1)),oDn(e,n,i.dh(1)),c$n(n,i.dh(1)),i.Ug()}function Ine(e,n,t){var i;return i=0,n&&(m2(e.a)?i+=n.f.a/2:i+=n.f.b/2),t&&(m2(e.a)?i+=t.f.a/2:i+=t.f.b/2),i}function Pne(e,n,t){var i,r;return i=(x1(),r=new WA,r),qC(i,n),zC(i,t),e&&it((!e.a&&(e.a=new Wi(As,e,5)),e.a),i),i}function _B(e){var n;return(e.Db&64)!=0?Pf(e):(n=new Ys(Pf(e)),n.a+=" (identifier: ",ac(n,e.k),n.a+=")",n.a)}function kT(e){var n;switch(e.gc()){case 0:return Dx(),MH;case 1:return new h$(st(e.Xb(0)));default:return n=e,new vF(n)}}function Ur(e,n){var t;return Ic(e)&&Ic(n)&&(t=e+n,Bj<t&&t<f0)?t:_1(Ryn(Ic(e)?nf(e):e,Ic(n)?nf(n):n))}function Jr(e,n){var t;return Ic(e)&&Ic(n)&&(t=e*n,Bj<t&&t<f0)?t:_1(XNn(Ic(e)?nf(e):e,Ic(n)?nf(n):n))}function tf(e,n){var t;return Ic(e)&&Ic(n)&&(t=e-n,Bj<t&&t<f0)?t:_1(EBe(Ic(e)?nf(e):e,Ic(n)?nf(n):n))}function pkn(e,n,t){var i;try{e8n(e,n,t)}catch(r){throw r=Fi(r),F(r,596)?(i=r,C(new IZ(i))):C(r)}return n}function One(e){var n;return n=W(Ks,uh,30,2,15,1),e-=Vr,n[0]=(e>>10)+Rj&Qi,n[1]=(e&1023)+56320&Qi,eh(n,0,n.length)}function Li(e){var n,t,i;for(n=new ve,i=new x(e.j);i.a<i.c.c.length;)t=u(M(i),12),me(n,t.e);return st(n),new I6(n)}function Zl(e){var n,t,i;for(n=new ve,i=new x(e.j);i.a<i.c.c.length;)t=u(M(i),12),me(n,t.b);return st(n),new I6(n)}function fi(e){var n,t,i;for(n=new ve,i=new x(e.j);i.a<i.c.c.length;)t=u(M(i),12),me(n,t.g);return st(n),new I6(n)}function mkn(e){var n;return n=Kw(e),n>34028234663852886e22?Ai:n<-34028234663852886e22?lr:n}function n4(e,n){var t;t=(e.Bb&ch)!=0,n?e.Bb|=ch:e.Bb&=-16385,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,16,t,n))}function JB(e,n){var t;t=(e.Bb&cu)!=0,n?e.Bb|=cu:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,18,t,n))}function Nne(e,n){var t;t=(e.Bb&cu)!=0,n?e.Bb|=cu:e.Bb&=-32769,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,18,t,n))}function Dne(e,n){var t;t=(e.Bb&Vr)!=0,n?e.Bb|=Vr:e.Bb&=-65537,(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new Mf(e,1,20,t,n))}function Lne(e,n){e.n.c.length==0&&me(e.n,new aC(e.s,e.t,e.i)),me(e.b,n),bte(u(Ce(e.n,e.n.c.length-1),208),n),kUe(e,n)}function vkn(e,n,t){var i;t.Tg("Straight Line Edge Routing",1),t.bh(n,Poe),i=u(he(n,(A2(),Tp)),26),DUe(e,i),t.bh(n,lI)}function ykn(e){var n,t;for(t=GCn(hs(Sw(e))).Jc();t.Ob();)if(n=dt(t.Pb()),H9(e,n))return j5n((NMe(),Gfn),n);return null}function GRe(e){var n,t,i,r;for(n=new YTe(e.Pd().gc()),r=0,i=Sm(e.Pd().Jc());i.Ob();)t=i.Pb(),w3n(n,t,fe(r++));return KMn(n.a)}function Je(e){var n,t,i,r;return t=(n=u(Vf((i=e.Pm,r=i.f,r==ut?i:r)),10),new Is(n,u(Ef(n,n.length),10),0)),Sf(t,e),t}function kkn(e){var n,t,i;for(t=0,i=e.length;t<i;t++)if(e[t]==null)throw C(new Qp("at index "+t));return n=e,new Uc(n)}function jT(){jT=_,zde=new $L("ASPECT_RATIO_DRIVEN",0),mU=new $L("MAX_SCALE_DRIVEN",1),qde=new $L("AREA_DRIVEN",2)}function GB(){Vte();var e,n,t;t=gFn+++Date.now(),e=Br(v.Math.floor(t*Jj))&DS,n=Br(t-e*Cce),this.a=e^1502,this.b=n^aJ}function jkn(e){return IB(),gn(),!!(qRe(u(e.a,82).j,u(e.b,86))||u(e.a,82).d.e!=0&&qRe(u(e.a,82).j,u(e.b,86)))}function HB(e,n){var t,i,r;for(r=0,i=u(n.Kb(e),20).Jc();i.Ob();)t=u(i.Pb(),17),Se(Te(k(t,(se(),u1))))||++r;return r}function Ekn(e,n){var t,i,r;i=C2(n),r=J(H(qw(i,(ye(),Bf)))),t=v.Math.max(0,r/2-.5),S9(n,t,1),me(e,new nxe(n,t))}function HRe(e,n){var t,i;for(t=rt(e,0);t.b!=t.d.c;){if(i=pk(H(tt(t))),i==n)return;if(i>n){ONe(t);break}}Wx(t,n)}function _e(e,n){var t,i,r,c,o;if(t=n.f,i0(e.c.d,t,n),n.g!=null)for(r=n.g,c=0,o=r.length;c<o;++c)i=r[c],i0(e.c.e,i,n)}function Akn(e,n,t,i){var r,c,o;for(r=n+1;r<t;++r)for(c=r;c>n&&i.Le(e[c-1],e[c])>0;--c)o=e[c],Ni(e,c,e[c-1]),Ni(e,c-1,o)}function Bs(e,n,t,i){if(n<0)nre(e,t,i);else{if(!t.pk())throw C(new An(rd+t.ve()+py));u(t,69).uk().Ak(e,e.ei(),n,i)}}function Mkn(e,n){var t;if(t=vj(e.Ah(),n),F(t,103))return u(t,19);throw C(new An(rd+n+"' is not a valid reference"))}function Oc(e){var n;return Array.isArray(e)&&e.Rm===Kn?Nd(Zo(e))+"@"+(n=si(e)>>>0,n.toString(16)):e.toString()}function xkn(e,n){return e.h==Fj&&e.m==0&&e.l==0?(n&&(cd=zu(0,0,0)),pCe((Dv(),rfe))):(n&&(cd=zu(e.l,e.m,e.h)),zu(0,0,0))}function Ckn(e,n){switch(n.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function qRe(e,n){switch(n.g){case 2:return e.b;case 1:return e.c;case 4:return e.d;case 3:return e.a;default:return!1}}function $ne(e,n,t,i){switch(n){case 3:return e.f;case 4:return e.g;case 5:return e.i;case 6:return e.j}return Ene(e,n,t,i)}function zRe(e,n,t){switch(n.g){case 1:e.b-=t.b/2;break;case 3:e.b+=t.b/2;break;case 4:e.a-=t.a/2;break;case 2:e.a+=t.a/2}}function Tkn(e,n){return Ke(n.b&&n.c?Xd(n.b)+"->"+Xd(n.c):"e_"+si(n),e.b&&e.c?Xd(e.b)+"->"+Xd(e.c):"e_"+si(e))}function Skn(e,n){return Ke(n.b&&n.c?Xd(n.b)+"->"+Xd(n.c):"e_"+si(n),e.b&&e.c?Xd(e.b)+"->"+Xd(e.c):"e_"+si(e))}function db(e,n){return gl(),Tf(Z1),v.Math.abs(e-n)<=Z1||e==n||isNaN(e)&&isNaN(n)?0:e<n?-1:e>n?1:$d(isNaN(e),isNaN(n))}function ET(e,n){if(n==e.d)return e.e;if(n==e.e)return e.d;throw C(new An("Node "+n+" not part of edge "+e))}function Ikn(e){return e.e==null?e:(!e.c&&(e.c=new i_((e.f&256)!=0,e.i,e.a,e.d,(e.f&16)!=0,e.j,e.g,null)),e.c)}function Pkn(e){return e.k!=(pn(),Mi)?!1:Dw(new We(null,new Mw(new Mn(In(fi(e).a.Jc(),new U)))),new Sme)}function Go(e){var n;if(e.b){if(Go(e.b),e.b.d!=e.c)throw C(new Cs)}else e.d.dc()&&(n=u(e.f.c.xc(e.e),18),n&&(e.d=n))}function Okn(e){mw();var n,t,i,r;for(n=e.o.b,i=u(u(Kt(e.r,(ke(),Xn)),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r=t.e,r.b+=n}function URe(e,n){bv();var t,i,r,c;for(i=BLe(e),r=n,Ov(i,0,i.length,r),t=0;t<i.length;t++)c=dEn(e,i[t],t),t!=c&&k9(e,t,c)}function Nkn(e,n){var t,i,r;for(i=tPn(e,n),r=i[i.length-1]/2,t=0;t<i.length;t++)if(i[t]>=r)return n.c+t;return n.c+n.b.gc()}function qB(e,n,t){var i,r;for(i=0,r=e.length;i<r;i++)if(kB((Pn(i,e.length),e.charCodeAt(i)),n,t))return!0;return!1}function Dkn(e){var n;return e==null?!0:(n=e.length,n>0&&(Pn(n-1,e.length),e.charCodeAt(n-1)==58)&&!qB(e,J8,G8))}function j9(e){var n;this.a=(n=u(e.e&&e.e(),10),new Is(n,u(Ef(n,n.length),10),0)),this.b=W(ir,ln,1,this.a.a.length,5,1)}function Fne(e){KB(),this.c=xf(I(S(LFn,1),ln,830,0,[_rn])),this.b=new Vn,this.a=e,It(this.b,YP,1),Tu(Jrn,new eje(this))}function es(){es=_,IE=new Ik(ul,0),Xy=new Ik("FIRST",1),ya=new Ik(kWe,2),Ky=new Ik("LAST",3),k0=new Ik(jWe,4)}function E9(){E9=_,_y=new JM("LAYER_SWEEP",0),Yle=new JM("MEDIAN_LAYER_SWEEP",1),jE=new JM(SJ,2),Zle=new JM(ul,3)}function AT(){AT=_,cX=new ZM(voe,0),swe=new ZM("GROUP_DEC",1),lwe=new ZM("GROUP_MIXED",2),fwe=new ZM("GROUP_INC",3)}function Lkn(e){var n,t,i,r,c;return c=Qte(e),t=jk(e.c),i=!t,i&&(r=new Id,Cf(c,"knownLayouters",r),n=new Sje(r),Dr(e.c,n)),c}function Bne(e,n,t,i,r){var c,o,f;for(o=r;n.b!=n.c;)c=u(vm(n),9),f=u(Jc(c,i).Xb(0),12),e.d[f.p]=o++,En(t.c,f);return o}function Rne(e,n){var t,i,r,c,o,f;for(i=0,t=0,c=n,o=0,f=c.length;o<f;++o)r=c[o],r>0&&(i+=r,++t);return t>1&&(i+=e.d*(t-1)),i}function _ne(e){var n,t,i;for(i=new Na,i.a+="[",n=0,t=e.gc();n<t;)ac(i,D6(e.Ti(n))),++n<t&&(i.a+=Ju);return i.a+="]",i.a}function zB(e){var n,t,i;for(i=J(H(e.a.mf((Et(),NO)))),t=new x(e.a.Qf());t.a<t.c.c.length;)n=u(M(t),685),$Xe(e,n,i)}function $kn(e){var n,t,i,r;for(n=(e.j==null&&(e.j=(Cv(),r=TH.ke(e),QEn(r))),e.j),t=0,i=n.length;t<i;++t);}function UB(e,n){var t,i;for(i=new x(n);i.a<i.c.c.length;)t=u(M(i),49),me(e.b.b,u(t.b,82)),jF(u(t.a,194),u(t.b,82))}function Fkn(e,n,t){var i,r;for(r=e.a.b,i=r.c.length;i<t;i++)Fd(r,0,new au(e.a));or(n,u(Ce(r,r.c.length-t),25)),e.b[n.p]=t}function Bkn(e,n,t,i,r){ss(),Of(yf(vf(mf(kf(new Vs,0),r.d.e-e),n),r.d)),Of(yf(vf(mf(kf(new Vs,0),t-r.a.e),r.a),i))}function XRe(e,n){var t;return e.d?Mu(e.b,n)?u(yn(e.b,n),43):(t=n.bg(),It(e.b,n,t),t):n.bg()}function Jne(e,n){var t;return K(e)===K(n)?!0:F(n,91)?(t=u(n,91),e.e==t.e&&e.d==t.d&&x5n(e,t.a)):!1}function Fm(e){switch(ke(),e.g){case 4:return Cn;case 1:return Ln;case 3:return Xn;case 2:return Tn;default:return qc}}function Gne(e,n){switch(n){case 3:return e.f!=0;case 4:return e.g!=0;case 5:return e.i!=0;case 6:return e.j!=0}return Ree(e,n)}function Rkn(e){switch(e.g){case 1:return new a4e;case 2:return new VTe;default:throw C(new An(EG+(e.f!=null?e.f:""+e.g)))}}function _kn(e){switch(e.g){case 0:return new y4e;case 1:return new k4e;default:throw C(new An(EG+(e.f!=null?e.f:""+e.g)))}}function KRe(e){switch(e.g){case 0:return new v4e;case 1:return new j4e;default:throw C(new An(xJ+(e.f!=null?e.f:""+e.g)))}}function WRe(e){switch(e.g){case 0:return new rW;case 1:return new EEe;default:throw C(new An(dI+(e.f!=null?e.f:""+e.g)))}}function ns(e){var n,t;return F(e,312)?(t=W5n(u(e,312)),n=t,n):F(e,432)?u(e,432).a:F(e,59)?new XEe(e):new TW(e)}function Jkn(e){var n=e.e;function t(i){return!i||i.length==0?"":" "+i.join(`
9
9
  `)}return n&&(n.stack||t(e[G_]))}function Gkn(e){var n,t;if(e.b)return e.b;for(t=Dl?null:e.d;t;){if(n=Dl?null:t.b,n)return n;t=Dl?null:t.d}return ov(),Tfe}function Hkn(e){var n,t,i;return e.e==0?0:(n=e.d<<5,t=e.a[e.d-1],e.e<0&&(i=WFe(e),i==e.d-1&&(--t,t=t|0)),n-=bj(t),n)}function qkn(e){var n,t,i;return e<JI.length?JI[e]:(t=e>>5,n=e&31,i=W(bt,Pt,30,t+1,15,1),i[t]=1<<n,new Jd(1,t+1,i))}function VRe(e){var n,t,i;return t=e.ih(),t?(n=e.Bh(),F(n,174)&&(i=VRe(u(n,174)),i!=null)?i+"."+t:t):null}function Hw(e,n,t){var i,r;for(r=e.Jc();r.Ob();)if(i=r.Pb(),K(n)===K(i)||n!=null&&qt(n,i))return t&&r.Qb(),!0;return!1}function zkn(e,n){var t,i,r,c;for(r=new Bu(n.gc()),i=n.Jc();i.Ob();)t=i.Pb(),c=h_(e,u(t,57)),c&&En(r.c,c);return r}function Hne(e){var n,t,i,r;for(n=new Id,r=new o2(e.b.Jc());r.b.Ob();)i=u(r.b.Pb(),690),t=exn(i),kmn(n,n.a.length,t);return n.a}function qne(e,n,t){var i,r;if(++e.j,t.dc())return!1;for(r=t.Jc();r.Ob();)i=r.Pb(),e.oj(n,e.Xi(n,i)),++n;return!0}function QRe(e,n){var t,i;if(n){for(t=0;t<e.i;++t)if(i=u(e.g[t],373),i.kj(n))return!1;return it(e,n)}else return!1}function vi(e,n){var t,i,r;if(t=(e.i==null&&rh(e),e.i),i=n.Jj(),i!=-1){for(r=t.length;i<r;++i)if(t[i]==n)return i}return-1}function Ukn(e){var n,t,i,r,c;for(t=u(e.g,679),i=e.i-1;i>=0;--i)for(n=t[i],r=0;r<i;++r)if(c=t[r],dUe(e,n,c)){Jm(e,i);break}}function YRe(e,n){var t,i,r,c;n&&(r=sa(n,"x"),t=new kje(e),N2(t.a,(bn(r),r)),c=sa(n,"y"),i=new jje(e),D2(i.a,(bn(c),c)))}function ZRe(e,n){var t,i,r,c;n&&(r=sa(n,"x"),t=new Aje(e),P2(t.a,(bn(r),r)),c=sa(n,"y"),i=new Mje(e),O2(i.a,(bn(c),c)))}function Xkn(e,n){var t;return t=u(xo(e,Bo(new ai,new ri,new ic,I(S(oo,1),ae,130,0,[($s(),uo)]))),16),t.Oc(aIe(t.gc()))}function zne(e){var n;return!e.c&&(e.c=new ON),ur(e.d,new DN),xIn(e),n=pIn(e),Si(new We(null,new Ye(e.d,16)),new Z8e(e)),n}function Kkn(e,n){n.Tg("End label post-processing",1),Si(Bt(Pc(new We(null,new Ye(e.b,16)),new Yge),new Zge),new e2e),n.Ug()}function bb(e,n){switch(n.g){case 1:return bm(e.j,(vo(),cle));case 2:return bm(e.j,(vo(),ole));default:return tn(),tn(),Qr}}function Une(e,n){switch(n){case 3:sb(e,0);return;case 4:fb(e,0);return;case 5:_o(e,0);return;case 6:Jo(e,0);return}vne(e,n)}function e_e(e,n){var t,i;if(i=new K3(e.a.$c(n,!0)),i.a.gc()<=1)throw C(new Up);return t=i.a.ec().Jc(),t.Pb(),u(t.Pb(),40)}function Wkn(e,n,t){var i,r;return i=J(e.p[n.i.p])+J(e.d[n.i.p])+n.n.b+n.a.b,r=J(e.p[t.i.p])+J(e.d[t.i.p])+t.n.b+t.a.b,r-i}function Xne(e,n){var t;return e.i>0&&(n.length<e.i&&(t=N7(Zo(n).c,e.i),n=t),pu(e.g,0,n,0,e.i)),n.length>e.i&&Ni(n,e.i,null),n}function MT(e){var n;return(e.Db&64)!=0?p9(e):(n=new Ys(p9(e)),n.a+=" (instanceClassName: ",ac(n,e.D),n.a+=")",n.a)}function xT(e){var n,t,i,r;for(r=0,t=0,i=e.length;t<i;t++)n=(Pn(t,e.length),e.charCodeAt(t)),n<64&&(r=Ql(r,Eh(1,n)));return r}function XB(e,n){var t,i,r;return e.f>0?(e.Zj(),i=n==null?0:si(n),r=(i&Ft)%e.d.length,t=yqe(e,r,i,n),t!=-1):!1}function Y7(e,n){var t,i,r,c;for(c=Xu(e.e.Ah(),n),t=u(e.g,122),r=0;r<e.i;++r)if(i=t[r],c.$l(i.Jk()))return!1;return!0}function Vkn(e,n,t,i){var r,c;if(c=t-n,c<3)for(;c<3;)e*=10,++c;else{for(r=1;c>3;)r*=10,--c;e=(e+(r>>1))/r|0}return i.i=e,!0}function Qkn(e,n,t){var i,r;for(i=mr(t,uc),r=0;Su(i,0)!=0&&r<n;r++)i=Ur(i,mr(e[r],uc)),e[r]=wt(i),i=Q0(i,32);return wt(i)}function CT(e,n){EV();var t,i;return t=Vk((wM(),wM(),Sy)),i=null,n==t&&(i=u(xu(tfe,e),616)),i||(i=new gPe(e),n==t&&mc(tfe,e,i)),i}function n_e(e){mw();var n;return n=new qr(u(e.e.mf((Et(),Dp)),8)),e.B.Gc((qo(),F5))&&(n.a<=0&&(n.a=20),n.b<=0&&(n.b=20)),n}function Ykn(e){OC(),u(e.mf((Et(),md)),182).Gc((qo(),JO))&&(u(e.mf(Rg),182).Ec((To(),$3)),u(e.mf(md),182).Kc(JO))}function t_e(e){var n,t;n=e.d==(Hm(),s5),t=Jte(e),n&&!t||!n&&t?Q(e.a,(ye(),bh),(Th(),YE)):Q(e.a,(ye(),bh),(Th(),QE))}function Zkn(e){var n,t,i,r;for(i=Mxn(e),ur(i,onn),r=e.d,r.c.length=0,t=new x(i);t.a<t.c.c.length;)n=u(M(t),455),er(r,n.b)}function _u(e,n,t){var i,r,c;return e.Nj()?(i=e.i,c=e.Oj(),X7(e,i,n),r=e.Gj(3,null,n,i,c),t?t.lj(r):t=r):X7(e,e.i,n),t}function e7n(e,n,t){var i,r;return i=new ca(e.e,4,10,(r=n.c,F(r,88)?u(r,29):(nn(),gf)),null,Qa(e,n),!1),t?t.lj(i):t=i,t}function n7n(e,n,t){var i,r;return i=new ca(e.e,3,10,null,(r=n.c,F(r,88)?u(r,29):(nn(),gf)),Qa(e,n),!1),t?t.lj(i):t=i,t}function rl(e,n){var t,i,r;return e.f>0&&(e.Zj(),i=n==null?0:si(n),r=(i&Ft)%e.d.length,t=Oie(e,r,i,n),t)?t.kd():null}function i_e(e,n){var t,i,r;return F(n,45)?(t=u(n,45),i=t.jd(),r=Gw(e.Pc(),i),Zh(r,t.kd())&&(r!=null||e.Pc()._b(i))):!1}function U1(e){ih();var n,t;return t=wt(e),n=wt(_d(e,32)),n!=0?new hNe(t,n):t>10||t<0?new ia(1,t):cZe[t]}function Kne(e){Uw();var n;return(e.q?e.q:(tn(),tn(),$h))._b((ye(),E0))?n=u(k(e,E0),203):n=u(k(ar(e),p5),203),n}function KB(){KB=_,xM(),YP=(ye(),x0),Jrn=xf(I(S(LU,1),moe,147,0,[LE,Bf,Ep,M0,Pg,dz,k5,j5,bz,t8,Ig,dd,Og]))}function r_e(e,n,t){Y$e(),pEe.call(this),this.a=jw(TZe,[ge,Dce],[593,216],0,[zI,JH],2),this.c=new om,this.g=e,this.f=n,this.d=t}function c_e(e){this.e=W(bt,Pt,30,e.length,15,1),this.c=W(ao,cl,30,e.length,16,1),this.b=W(ao,cl,30,e.length,16,1),this.f=0}function t7n(e){var n,t;for(e.j=W(jr,wc,30,e.p.c.length,15,1),t=new x(e.p);t.a<t.c.c.length;)n=u(M(t),9),e.j[n.p]=n.o.b/e.i}function u_e(e,n){var t,i;e.a=Ur(e.a,1),e.c=v.Math.min(e.c,n),e.b=v.Math.max(e.b,n),e.d+=n,t=n-e.f,i=e.e+t,e.f=i-e.e-t,e.e=i}function Z7(e,n){var t,i;for(i=n.length,t=0;t<i;t+=2)Iu(e,(Pn(t,n.length),n.charCodeAt(t)),(Pn(t+1,n.length),n.charCodeAt(t+1)))}function A9(e,n){var t;jLn(n),t=u(k(e,(ye(),GP)),284),t&&Q(e,GP,nEn(t)),Ba(e.c),Ba(e.f),RZ(e.d),RZ(u(k(e,XP),213))}function WB(e,n){var t;return Ic(e)&&Ic(n)&&(t=e%n,Bj<t&&t<f0)?t:_1((Zre(Ic(e)?nf(e):e,Ic(n)?nf(n):n,!0),cd))}function o_e(e,n){e.Vj();try{e.d._c(e.e++,n),e.f=e.d.j,e.g=-1}catch(t){throw t=Fi(t),F(t,99)?C(new Cs):C(t)}}function VB(){VB=_,gX=new Q5e,Nwe=new Y5e,Dwe=new Z5e,Lwe=new e6e,$we=new n6e,Fwe=new t6e,Bwe=new i6e,Rwe=new r6e,_we=new c6e}function Wne(){Wne=_,Zbe=new X0(15),sfn=new Cr((Et(),_h),Zbe),lfn=new Cr(a1,15),ffn=new Cr(QU,fe(0)),ofn=new Cr(S5,N4)}function TT(){TT=_,p8=new LL("P1_WIDTH_APPROXIMATION",0),vO=new LL("P2_PACKING",1),hU=new LL("P3_WHITESPACE_ELIMINATION",2)}function ts(){ts=_,dA=new YM("PORTS",0),P0=new YM("PORT_LABELS",1),aA=new YM("NODE_LABELS",2),Hg=new YM("MINIMUM_SIZE",3)}function i7n(e,n){n.Tg("Min Size Postprocessing",1),Yt(e,(Sh(),Lg),v.Math.max(J(H(he(e,Lg))),J(H(he(e,v8))))),n.Ug()}function s_e(e){if(e.b==null){for(;e.a.Ob();)if(e.b=e.a.Pb(),!u(e.b,52).Gh())return!0;return e.b=null,!1}else return!0}function qw(e,n){var t,i;return i=null,Ht(e,(ye(),VP))&&(t=u(k(e,VP),105),t.nf(n)&&(i=t.mf(n))),i==null&&(i=k(ar(e),n)),i}function f_e(e,n){var t,i,r,c;return t=n>>5,n&=31,r=e.d+t+(n==0?0:1),i=W(bt,Pt,30,r,15,1),ZAn(i,e.a,t,n),c=new Jd(e.e,r,i),Q6(c),c}function r7n(e,n){var t,i,r,c;for(c=n.b.b,e.a=new ni,e.b=W(bt,Pt,30,c,15,1),t=0,r=rt(n.b,0);r.b!=r.d.c;)i=u(tt(r),40),i.g=t++}function l_e(e,n,t){var i,r,c,o;for(c=n-e.e,o=t-e.f,r=new x(e.a);r.a<r.c.c.length;)i=u(M(r),173),nj(i,i.s+c,i.t+o);e.e=n,e.f=t}function Vne(e,n,t){var i,r,c,o,f;return o=e.k,f=n.k,i=t[o.g][f.g],r=H(qw(e,i)),c=H(qw(n,i)),v.Math.max((bn(r),r),(bn(c),c))}function Qne(e,n,t){var i,r;i=u(xu(_5,n),121),r=u(xu(K8,n),121),t?(mc(_5,e,i),mc(K8,e,r)):(mc(K8,e,i),mc(_5,e,r))}function t4(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i>=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function ej(e,n,t){var i,r,c;for(r=null,c=e.b;c;){if(i=e.a.Le(n,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function h_e(e,n,t){var i,r,c,o;for(r=u(yn(e.b,t),171),i=0,o=new x(n.j);o.a<o.c.c.length;)c=u(M(o),113),r[c.d.p]&&++i;return i}function c7n(e,n,t,i){var r,c,o;return r=!1,qDn(e.f,t,i)&&(P7n(e.f,e.a[n][t],e.a[n][i]),c=e.a[n],o=c[i],c[i]=c[t],c[t]=o,r=!0),r}function u7n(e,n){var t,i,r;for(i=new Mn(In(fi(e).a.Jc(),new U));zn(i);)if(t=u($n(i),17),r=t.d.i,r.c==n)return!1;return!0}function o7n(e){var n;n=e.a;do n=u($n(new Mn(In(fi(n).a.Jc(),new U))),17).d.i,n.k==(pn(),qi)&&me(e.e,n);while(n.k==(pn(),qi))}function s7n(){return Error.stackTraceLimit>0?(v.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function QB(e){var n;e.c!=0&&(n=u(Ce(e.a,e.b),295),n.b==1?(++e.b,e.b<e.a.c.length&&I8e(u(Ce(e.a,e.b),295))):--n.b,--e.c)}function YB(e,n){for(var t=0;!n[t]||n[t]=="";)t++;for(var i=n[t++];t<n.length;t++)!n[t]||n[t]==""||(i+=e+n[t]);return i}function a_e(e){var n,t;return n=u(xn(e.a,4),129),n!=null?(t=W(aX,cH,415,n.length,0,1),pu(n,0,t,0,n.length),t):Nfn}function d_e(e){var n,t,i,r,c;if(e==null)return null;for(c=new ve,t=CB(e),i=0,r=t.length;i<r;++i)n=t[i],me(c,Pu(n,!0));return c}function b_e(e){var n,t,i,r,c;if(e==null)return null;for(c=new ve,t=CB(e),i=0,r=t.length;i<r;++i)n=t[i],me(c,Pu(n,!0));return c}function w_e(e){var n,t,i,r,c;if(e==null)return null;for(c=new ve,t=CB(e),i=0,r=t.length;i<r;++i)n=t[i],me(c,Pu(n,!0));return c}function eh(e,n,t){var i,r,c,o;for(c=n+t,Tr(n,c,e.length),o="",r=n;r<c;)i=v.Math.min(r+1e4,c),o+=e3n(e.slice(r,i)),r=i;return o}function f7n(e,n){return gl(),gl(),Tf(Z1),(v.Math.abs(e-n)<=Z1||e==n||isNaN(e)&&isNaN(n)?0:e<n?-1:e>n?1:$d(isNaN(e),isNaN(n)))>0}function Yne(e,n){return gl(),gl(),Tf(Z1),(v.Math.abs(e-n)<=Z1||e==n||isNaN(e)&&isNaN(n)?0:e<n?-1:e>n?1:$d(isNaN(e),isNaN(n)))<0}function g_e(e,n){return gl(),gl(),Tf(Z1),(v.Math.abs(e-n)<=Z1||e==n||isNaN(e)&&isNaN(n)?0:e<n?-1:e>n?1:$d(isNaN(e),isNaN(n)))<=0}function Zne(e){switch(e.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function aa(){aa=_,bd=new HM(ul,0),k1e=new HM("NODES_AND_EDGES",1),Tz=new HM("PREFER_EDGES",2),Sz=new HM("PREFER_NODES",3)}function ete(e,n,t,i,r,c){this.a=e,this.c=n,this.b=t,this.f=i,this.d=r,this.e=c,this.c>0&&this.b>0&&(this.g=Fx(this.c,this.b,this.a))}function l7n(e,n){var t=e.a,i;n=String(n),t.hasOwnProperty(n)&&(i=t[n]);var r=(yB(),SH)[typeof i],c=r?r(i):wne(typeof i);return c}function i4(e){var n,t,i;if(i=null,n=hh in e.a,t=!n,t)throw C(new Ul("Every element must have an id."));return i=zm(na(e,hh)),i}function wb(e){var n,t;for(t=HGe(e),n=null;e.c==2;)Rt(e),n||(n=(_t(),_t(),new P6(2)),o0(n,t),t=n),t.Hm(HGe(e));return t}function ST(e,n){var t,i,r;return e.Zj(),i=n==null?0:si(n),r=(i&Ft)%e.d.length,t=Oie(e,r,i,n),t?(gFe(e,t),t.kd()):null}function p_e(e,n){return e.e>n.e?1:e.e<n.e?-1:e.d>n.d?e.e:e.d<n.d?-n.e:e.e*sne(e.a,n.a,e.d)}function m_e(e){return e>=48&&e<48+v.Math.min(10,10)?e-48:e>=97&&e<97?e-97+10:e>=65&&e<65?e-65+10:-1}function h7n(e,n){if(n.c==e)return n.d;if(n.d==e)return n.c;throw C(new An("Input edge is not connected to the input port."))}function nh(e,n){if(e.a<0)throw C(new gc("Did not call before(...) or after(...) before calling add(...)."));return KV(e,e.a,n),e}function v_e(e,n){var t,i,r;if(e.c)sb(e.c,n);else for(t=n-Qo(e),r=new x(e.a);r.a<r.c.c.length;)i=u(M(r),167),v_e(i,Qo(i)+t)}function y_e(e,n){var t,i,r;if(e.c)fb(e.c,n);else for(t=n-po(e),r=new x(e.d);r.a<r.c.c.length;)i=u(M(r),167),y_e(i,po(i)+t)}function nte(e){return dC(),F(e,166)?u(yn(yA,lZe),296).Qg(e):Mu(yA,Zo(e))?u(yn(yA,Zo(e)),296).Qg(e):null}function Uu(e){var n,t;return(e.Db&32)==0&&(t=(n=u(xn(e,16),29),Un(n||e.fi())-Un(e.fi())),t!=0&&Bm(e,32,W(ir,ln,1,t,5,1))),e}function Bm(e,n,t){var i;(e.Db&n)!=0?t==null?ICn(e,n):(i=vR(e,n),i==-1?e.Eb=t:Ni(Pm(e.Eb),i,t)):t!=null&&VSn(e,n,t)}function a7n(e,n,t,i){var r,c;n.c.length!=0&&(r=qTn(t,i),c=Yxn(n),Si(JC(new We(null,new Ye(c,1)),new ive),new HPe(e,t,r,i)))}function d7n(e,n){var t,i,r,c;return i=e.a.length-1,t=n-e.b&i,c=e.c-n&i,r=e.c-e.b&i,ATe(t<r),t>=c?(m8n(e,n),-1):(v8n(e,n),1)}function b7n(e,n){var t,i;for(t=(Pn(n,e.length),e.charCodeAt(n)),i=n+1;i<e.length&&(Pn(i,e.length),e.charCodeAt(i)==t);)++i;return i-n}function tte(e){var n,t;switch(t=e.Nc(),t.length){case 0:return Dx(),MH;case 1:return n=t[0],new h$(st(n));default:return new vF(kkn(t))}}function ite(e){switch(typeof e){case L_:return Ua(e);case gce:return um(e);case Vm:return GTe(e);default:return e==null?0:W0(e)}}function w7n(e){if(IT(z4,e))return gn(),n5;if(IT(FG,e))return gn(),ud;throw C(new An("Expecting true or false"))}function g7n(e,n){return e.e<n.e?-1:e.e>n.e?1:e.f<n.f?-1:e.f>n.f?1:si(e)-si(n)}function k_e(e,n){var t;return K(n)===K(e)?!0:!F(n,22)||(t=u(n,22),t.gc()!=e.gc())?!1:e.Hc(t)}function IT(e,n){return bn(e),n==null?!1:Ke(e,n)?!0:e.length==n.length&&Ke(e.toLowerCase(),n.toLowerCase())}function zw(e){var n,t;return Su(e,-129)>0&&Su(e,128)<0?(vIe(),n=wt(e)+128,t=hfe[n],!t&&(t=hfe[n]=new kK(e)),t):new kK(e)}function p7n(e){var n,t;for(t=new x(e.a.b);t.a<t.c.c.length;)if(n=u(M(t),70),Se(Te(k(n,(ye(),jp)))))return!0;return!1}function m7n(e){var n;return e.b||Wdn(e,(n=fgn(e.e,e.a),!n||!Ke(FG,rl((!n.b&&(n.b=new Vo((nn(),Zr),nu,n)),n.b),"qualified")))),e.c}function Rm(){Rm=_,$y=new BM(ul,0),ele=new BM("INSIDE_PORT_SIDE_GROUPS",1),nq=new BM("GROUP_MODEL_ORDER",2),tq=new BM(AJ,3)}function PT(e){var n,t,i;if(i=e.Gh(),!i)for(n=0,t=e.Mh();t;t=t.Mh()){if(++n>sJ)return t.Nh();if(i=t.Gh(),i||t==e)break}return i}function v7n(e,n,t){var i,r,c;return i=u(B(Ro(e.a),n),87),c=(r=i.c,r||(nn(),Hl)),(c.Sh()?q1(e.b,u(c,52)):c)==t?mS(i):Lv(i,t),c}function j_e(e,n,t){var i,r,c;for(c=new x(t.a);c.a<c.c.c.length;)r=u(M(c),225),i=new fx(u(yn(e.a,r.b),68)),me(n.a,i),j_e(e,i,r)}function E_e(e,n,t){var i,r,c;i=n.c.p,c=n.p,e.b[i][c]=new tOe(e,n),t&&(e.a[i][c]=new i7e(n),r=u(k(n,(se(),Jb)),9),r&&Ve(e.d,r,n))}function y7n(e,n){(!n&&console.groupCollapsed!=null?console.groupCollapsed:console.group??console.log).call(console,e)}function k7n(e,n,t,i){i==e,u(t.b,68),u(t.b,68),u(i.b,68),u(i.b,68).c.b,HZ(i,n,e)}function rte(e,n,t){n.b=v.Math.max(n.b,-t.a),n.c=v.Math.max(n.c,t.a-e.a),n.d=v.Math.max(n.d,-t.b),n.a=v.Math.max(n.a,t.b-e.b)}function cte(e,n,t){this.c=e,this.f=new ve,this.e=new xr,this.j=new eY,this.n=new eY,this.b=n,this.g=new Af(n.c,n.d,n.b,n.a),this.a=t}function ZB(e){var n,t,i,r;for(this.a=new vh,this.d=new Ji,this.e=0,t=e,i=0,r=t.length;i<r;++i)n=t[i],!this.f&&(this.f=n),jF(this,n)}function A_e(e){ih(),e.length==0?(this.e=0,this.d=1,this.a=I(S(bt,1),Pt,30,15,[0])):(this.e=1,this.d=e.length,this.a=e,Q6(this))}function M9(e,n,t){pEe.call(this),this.a=W(TZe,Dce,216,(il(),I(S(bg,1),ae,237,0,[Yc,Hu,Zc])).length,0,1),this.b=e,this.d=n,this.c=t}function j7n(e){var n,t,i,r,c,o;for(o=u(k(e,(se(),Ut)),12),Q(o,w5,e.i.n.b),n=Yl(e.e),i=n,r=0,c=i.length;r<c;++r)t=i[r],Er(t,o)}function E7n(e){var n,t,i,r,c,o;for(t=u(k(e,(se(),Ut)),12),Q(t,w5,e.i.n.b),n=Yl(e.g),r=n,c=0,o=r.length;c<o;++c)i=r[c],Rr(i,t)}function A7n(e,n){bF();var t,i;for(i=new Mn(In(Zl(e).a.Jc(),new U));zn(i);)if(t=u($n(i),17),t.d.i==n||t.c.i==n)return t;return null}function M7n(e,n){var t,i;return t=n.ni(e.a),t&&(i=dt(rl((!t.b&&(t.b=new Vo((nn(),Zr),nu,t)),t.b),$t)),i!=null)?i:n.ve()}function M_e(e,n){var t,i;return t=n.ni(e.a),t&&(i=dt(rl((!t.b&&(t.b=new Vo((nn(),Zr),nu,t)),t.b),$t)),i!=null)?i:n.ve()}function x7n(e,n){var t,i;return t=Eu(e.a.c.p,n.a.c.p),t!=0?t:(i=Eu(e.a.d.i.p,n.a.d.i.p),i!=0?i:Eu(n.a.d.p,e.a.d.p))}function C7n(e,n,t){var i,r,c,o;return c=n.j,o=t.j,c!=o?c.g-o.g:(i=e.f[n.p],r=e.f[t.p],i==0&&r==0?0:i==0?-1:r==0?1:Qt(i,r))}function T7n(e,n){var t,i,r,c;for(i=0,r=n.gc();i<r;++i)t=n.Rl(i),F(t,103)&&(u(t,19).Bb&cu)!=0&&(c=n.Sl(i),c!=null&&h_(e,u(c,57)))}function S7n(){var e;return FI!=0&&(e=Date.now(),e-WYe>2e3&&(WYe=e,BI=v.setTimeout(u0n,10))),FI++==0?(X6n((aW(),nfe)),!0):!1}function I7n(e,n,t){var i;(pZe?(Gkn(e),!0):mZe||yZe?(ov(),!0):vZe&&(ov(),!1))&&(i=new ISe(n),i.b=t,PMn(e,i))}function eR(e,n){var t;t=!e.A.Gc((ts(),P0))||e.q==(vr(),yu),e.u.Gc((To(),Aa))?t?ZLn(e,n):AXe(e,n):e.u.Gc(jd)&&(t?kLn(e,n):RXe(e,n))}function x_e(e){var n;K(he(e,(Et(),Pp)))===K((la(),FO))&&(pi(e)?(n=u(he(pi(e),Pp),347),Yt(e,Pp,n)):Yt(e,Pp,O8))}function P7n(e,n,t){var i,r;$R(e.e,n,t,(ke(),Tn)),$R(e.i,n,t,Ln),e.a&&(r=u(k(n,(se(),Ut)),12),i=u(k(t,Ut),12),kF(e.g,r,i))}function C_e(e,n,t){return new Af(v.Math.min(e.a,n.a)-t/2,v.Math.min(e.b,n.b)-t/2,v.Math.abs(e.a-n.a)+t,v.Math.abs(e.b-n.b)+t)}function T_e(e){var n;this.d=new ve,this.j=new xr,this.g=new xr,n=e.g.b,this.f=u(k(ar(n),(ye(),ys)),86),this.e=J(H(DT(n,Pg)))}function S_e(e){this.d=new ve,this.e=new F1,this.c=W(bt,Pt,30,(ke(),I(S(Yr,1),fu,64,0,[qc,Cn,Ln,Xn,Tn])).length,15,1),this.b=e}function ute(e,n,t){var i;switch(i=t[e.g][n],e.g){case 1:case 3:return new de(0,i);case 2:case 4:return new de(i,0);default:return null}}function O7n(e,n){var t;if(t=I2(e.o,n),t==null)throw C(new Ul("Node did not exist in input."));return cre(e,n),o_(e,n),Wie(e,n,t),null}function I_e(e,n){var t,i;for(i=e.a.length,n.length<i&&(n=mM(new Array(i),n)),t=0;t<i;++t)Ni(n,t,e.a[t]);return n.length>i&&Ni(n,i,null),n}function Al(e,n){var t,i;for(i=e.c.length,n.length<i&&(n=mM(new Array(i),n)),t=0;t<i;++t)Ni(n,t,e.c[t]);return n.length>i&&Ni(n,i,null),n}function nR(e,n,t,i){var r;if(r=e.length,n>=r)return r;for(n=n>0?n:0;n<r&&!kB((Pn(n,e.length),e.charCodeAt(n)),t,i);n++);return n}function P_e(e,n,t){var i,r;r=u(l7(n.f),214);try{r.kf(e,t),LY(n.f,r)}catch(c){throw c=Fi(c),F(c,101)?(i=c,C(i)):C(c)}}function O_e(e,n,t){var i,r,c,o,f,l;return i=null,f=tce(u9(),n),c=null,f&&(r=null,l=ece(f,t),o=null,l!=null&&(o=e.of(f,l)),r=o,c=r),i=c,i}function N7n(e,n,t,i){var r,c,o;return r=new ca(e.e,1,13,(o=n.c,o||(nn(),Hl)),(c=t.c,c||(nn(),Hl)),Qa(e,n),!1),i?i.lj(r):i=r,i}function D7n(e){var n;if(e==null)return null;if(n=mTn(Pu(e,!0)),n==null)throw C(new YD("Invalid hexBinary value: '"+e+"'"));return n}function OT(e,n,t){var i;n.a.length>0&&(me(e.b,new XSe(n.a,t)),i=n.a.length,0<i?n.a=ef(n.a,0,0):0>i&&(n.a+=qCe(W(Ks,uh,30,-i,15,1))))}function N_e(e,n,t){var i,r,c;if(!t[n.d])for(t[n.d]=!0,r=new x(F2(n));r.a<r.c.c.length;)i=u(M(r),217),c=ET(i,n),N_e(e,c,t)}function D_e(e,n){var t,i,r,c;for(t=0,r=new x(n.a);r.a<r.c.c.length;)i=u(M(r),9),c=i.o.a+i.d.c+i.d.b+e.j,t=v.Math.max(t,c);return t}function i0(e,n,t){var i,r,c;return r=u(yn(e.e,n),393),r?(c=dQ(r,t),VCe(e,r),c):(i=new JQ(e,n,t),It(e.e,n,i),MOe(i),null)}function L7n(e,n){var t;if(t=yn(e.q,n),t==null)throw C(new Ul("Port did not exist in input."));return cre(e,n),o_(e,n),Wie(e,n,t),null}function tR(){return SS(),I(S(nen,1),ae,168,0,[ZZe,YZe,een,qZe,HZe,zZe,KZe,XZe,UZe,QZe,VZe,WZe,JZe,_Ze,GZe,BZe,FZe,RZe,LZe,DZe,$Ze,GH])}function r4(e){switch(e.g){case 4:return new de(0,-1);case 1:return new de(1,0);case 2:return new de(-1,0);default:return new de(0,1)}}function iR(e){switch(e.g){case 1:return Vi(),zs;case 4:return Vi(),Ec;case 2:return Vi(),Tc;case 3:return Vi(),Rl}return Vi(),_l}function $7n(e){var n;switch(n=e.fj(null),n){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function th(){th=_,on=new Lk("PARENTS",0),Ri=new Lk("NODES",1),al=new Lk("EDGES",2),h1=new Lk("PORTS",3),ja=new Lk("LABELS",4)}function R2(){R2=_,yd=new Fk("DISTRIBUTED",0),fA=new Fk("JUSTIFIED",1),Vbe=new Fk("BEGIN",2),N8=new Fk(P4,3),Qbe=new Fk("END",4)}function F7n(e,n,t){var i;switch(i=t.q.getFullYear()-ed+ed,i<0&&(i=-i),n){case 1:e.a+=i;break;case 2:Ch(e,i%100,2);break;default:Ch(e,i,n)}}function rt(e,n){var t,i;if(Iw(n,e.b),n>=e.b>>1)for(i=e.c,t=e.b;t>n;--t)i=i.b;else for(i=e.a.a,t=0;t<n;++t)i=i.a;return new SSe(e,n,i)}function L_e(e){this.b=new ve,this.e=new ve,this.d=e,this.a=!iv(Bt(new We(null,new Mw(new kl(e.b))),new W3(new Ime))).zd((Dd(),l3))}function B7n(e){var n;e.g&&(e.c.ig()?e.f:e.a)&&(n=e.c.ig()?e.f:e.a,hre(n.a,e.o,!0),hre(n.a,e.o,!1),Q(e.o,(ye(),Ti),(vr(),I0)))}function $_e(e,n){var t,i,r;r=n.d.i,i=r.k,!(i==(pn(),Mi)||i==Ll)&&(t=new Mn(In(fi(r).a.Jc(),new U)),zn(t)&&It(e.k,n,u($n(t),17)))}function R7n(e,n){return oa(),Qt((e.a.b==0?new de(e.c.e.a,e.c.e.b):u(dv(e.a),8)).b,(n.a.b==0?new de(n.c.e.a,n.c.e.b):u(dv(n.a),8)).b)}function _7n(e,n){return oa(),Qt((e.a.b==0?new de(e.c.e.a,e.c.e.b):u(dv(e.a),8)).a,(n.a.b==0?new de(n.c.e.a,n.c.e.b):u(dv(n.a),8)).a)}function J7n(e,n){return oa(),Qt((e.a.b==0?new de(e.b.e.a,e.b.e.b):u(jf(e.a),8)).a,(n.a.b==0?new de(n.b.e.a,n.b.e.b):u(jf(n.a),8)).a)}function G7n(e,n){return oa(),Qt((e.a.b==0?new de(e.b.e.a,e.b.e.b):u(jf(e.a),8)).b,(n.a.b==0?new de(n.b.e.a,n.b.e.b):u(jf(n.a),8)).b)}function rR(e,n){var t,i,r;return i=un(e.Ah(),n),t=n-e.gi(),t<0?(r=e.Fh(i),r>=0?e.Th(r):UR(e,i)):t<0?UR(e,i):u(i,69).uk().zk(e,e.ei(),t)}function F_e(e){var n,t,i;for(i=(!e.o&&(e.o=new mo((su(),qh),b1,e,0)),e.o),t=i.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),45),n.kd();return k7(i)}function Ae(e){var n;if(F(e.a,4)){if(n=nte(e.a),n==null)throw C(new gc(wVe+e.b+"'. "+bVe+(Yh(kA),kA.k)+fse));return n}else return e.a}function H7n(e){var n;if(e==null)return null;if(n=o$n(Pu(e,!0)),n==null)throw C(new YD("Invalid base64Binary value: '"+e+"'"));return n}function Gn(e){var n;try{return n=e.i.Xb(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=Fi(t),F(t,99)?(e.Vj(),C(new Dc)):C(t)}}function cR(e){var n;try{return n=e.c.Ti(e.e),e.Vj(),e.g=e.e++,n}catch(t){throw t=Fi(t),F(t,99)?(e.Vj(),C(new Dc)):C(t)}}function NT(e){var n,t,i,r;for(r=0,t=0,i=e.length;t<i;t++)n=(Pn(t,e.length),e.charCodeAt(t)),n>=64&&n<128&&(r=Ql(r,Eh(1,n-64)));return r}function DT(e,n){var t,i;return i=null,Ht(e,(Et(),N3))&&(t=u(k(e,N3),105),t.nf(n)&&(i=t.mf(n))),i==null&&ar(e)&&(i=k(ar(e),n)),i}function q7n(e,n){var t;return t=u(k(e,(ye(),jc)),79),n$(n,nnn)?t?Yo(t):(t=new Lo,Q(e,jc,t)):t&&Q(e,jc,null),t}function z7n(e,n){var t,i,r;for(r=new Bu(n.gc()),i=n.Jc();i.Ob();)t=u(i.Pb(),294),t.c==t.f?h4(e,t,t.c):cxn(e,t)||En(r.c,t);return r}function B_e(e,n){var t,i,r;for(t=e.o,r=u(u(Kt(e.r,n),22),83).Jc();r.Ob();)i=u(r.Pb(),115),i.e.a=Xjn(i,t.a),i.e.b=t.b*J(H(i.b.mf(UI)))}function U7n(e,n){var t,i,r,c;return r=e.k,t=J(H(k(e,(se(),Gb)))),c=n.k,i=J(H(k(n,Gb))),c!=(pn(),Ui)?-1:r!=Ui?1:t==i?0:t<i?-1:1}function X7n(e,n){var t,i;return t=u(u(yn(e.g,n.a),49).a,68),i=u(u(yn(e.g,n.b),49).a,68),B1(n.a,n.b)-B1(n.a,SV(t.b))-B1(n.b,SV(i.b))}function c4(e,n){var t,i;if(++e.j,n!=null&&(t=(i=e.a.Cb,F(i,100)?u(i,100).qh():null),vCn(n,t))){Bm(e.a,4,t);return}Bm(e.a,4,u(n,129))}function LT(e){switch(DW(),this.c=new ve,this.d=e,e.g){case 0:case 2:this.a=$Y(Zfe),this.b=Ai;break;case 3:case 1:this.a=Zfe,this.b=lr}}function K7n(e){var n;dm(u(k(e,(ye(),Ti)),102))&&(n=e.b,OHe((en(0,n.c.length),u(n.c[0],25))),OHe(u(Ce(n,n.c.length-1),25)))}function W7n(e,n){n.Tg("Self-Loop post-processing",1),Si(Bt(Bt(Pc(new We(null,new Ye(e.b,16)),new Tpe),new Spe),new Ipe),new Ppe),n.Ug()}function R_e(e,n,t){var i,r;if(e.c)_o(e.c,e.c.i+n),Jo(e.c,e.c.j+t);else for(r=new x(e.b);r.a<r.c.c.length;)i=u(M(r),167),R_e(i,n,t)}function V7n(e){var n,t,i;for(i=e.c.a,e.p=(st(i),new Mo(i)),t=new x(i);t.a<t.c.c.length;)n=u(M(t),9),n.p=Txn(n).a;tn(),ur(e.p,new M3e)}function Q7n(e,n){var t,i;if(e.j.length!=n.j.length)return!1;for(t=0,i=e.j.length;t<i;t++)if(!Ke(e.j[t],n.j[t]))return!1;return!0}function __e(e,n){tn();var t,i,r,c;for(t=e,c=n,F(e,22)&&!F(n,22)&&(t=n,c=e),r=t.Jc();r.Ob();)if(i=r.Pb(),c.Gc(i))return!1;return!0}function Y7n(e,n,t,i){if(n.a<i.a)return!0;if(n.a==i.a){if(n.b<i.b)return!0;if(n.b==i.b&&e.b>t.b)return!0}return!1}function J_e(e){var n;return n=new A1,n.a+="n",e.k!=(pn(),Mi)&&At(At((n.a+="(",n),u$(e.k).toLowerCase()),")"),At((n.a+="_",n),ij(e)),n.a}function x9(){x9=_,w1e=new Pk(voe,0),Mz=new Pk(SJ,1),xz=new Pk("LINEAR_SEGMENTS",2),r8=new Pk("BRANDES_KOEPF",3),E5=new Pk(RWe,4)}function _m(e,n,t,i){var r;return t>=0?e.Ph(n,t,i):(e.Mh()&&(i=(r=e.Ch(),r>=0?e.xh(i):e.Mh().Qh(e,-1-r,null,i))),e.zh(n,t,i))}function ote(e,n){switch(n){case 7:!e.e&&(e.e=new hn(Xi,e,7,4)),nt(e.e);return;case 8:!e.d&&(e.d=new hn(Xi,e,8,5)),nt(e.d);return}Une(e,n)}function Yt(e,n,t){return t==null?(!e.o&&(e.o=new mo((su(),qh),b1,e,0)),ST(e.o,n)):(!e.o&&(e.o=new mo((su(),qh),b1,e,0)),uj(e.o,n,t)),e}function wu(e,n){var t;t=e.dd(n);try{return t.Pb()}catch(i){throw i=Fi(i),F(i,112)?C(new $u("Can't get element "+n)):C(i)}}function G_e(e,n){var t;switch(t=u(dc(e.b,n),127).n,n.g){case 1:e.t>=0&&(t.d=e.t);break;case 3:e.t>=0&&(t.a=e.t)}e.C&&(t.b=e.C.b,t.c=e.C.c)}function Z7n(e){var n;n=e.a;do n=u($n(new Mn(In(Li(n).a.Jc(),new U))),17).c.i,n.k==(pn(),qi)&&e.b.Ec(n);while(n.k==(pn(),qi));e.b=ns(e.b)}function H_e(e,n){var t,i,r;for(r=e,i=new Mn(In(Li(n).a.Jc(),new U));zn(i);)t=u($n(i),17),t.c.i.c&&(r=v.Math.max(r,t.c.i.c.p));return r}function ejn(e,n){var t,i,r;for(r=0,i=u(u(Kt(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.d+t.b.Kf().b+t.d.a,i.Ob()&&(r+=e.w);return r}function njn(e,n){var t,i,r;for(r=0,i=u(u(Kt(e.r,n),22),83).Jc();i.Ob();)t=u(i.Pb(),115),r+=t.d.b+t.b.Kf().a+t.d.c,i.Ob()&&(r+=e.w);return r}function q_e(e){var n,t,i,r;if(i=0,r=Yw(e),r.c.length==0)return 1;for(t=new x(r);t.a<t.c.c.length;)n=u(M(t),26),i+=q_e(n);return i}function z_e(e){var n,t;for(this.b=new ve,this.c=e,this.a=!1,t=new x(e.a);t.a<t.c.c.length;)n=u(M(t),9),this.a=this.a|n.k==(pn(),Mi)}function tjn(e,n,t){var i,r,c,o;return i=e.bd(n),i!=-1&&(e.Nj()?(c=e.Oj(),o=Px(e,i),r=e.Gj(4,o,null,i,c),t?t.lj(r):t=r):Px(e,i)),t}function Xr(e,n,t){var i,r,c,o;return i=e.bd(n),i!=-1&&(e.Nj()?(c=e.Oj(),o=Jm(e,i),r=e.Gj(4,o,null,i,c),t?t.lj(r):t=r):Jm(e,i)),t}function ijn(e,n,t,i){var r,c,o;t.Uh(n)&&(nc(),KF(n)?(r=u(t.Jh(n),163),T7n(e,r)):(c=(o=n,o?u(i,52).di(o):null),c&&H1n(t.Jh(n),c)))}function $T(e,n,t,i){var r,c,o;return c=un(e.Ah(),n),r=n-e.gi(),r<0?(o=e.Fh(c),o>=0?e.Ih(o,t,!0):yb(e,c,t)):u(c,69).uk().wk(e,e.ei(),r,t,i)}function rjn(e,n,t,i){var r,c;c=n.nf((Et(),Np))?u(n.mf(Np),22):e.j,r=Y8n(c),r!=(SS(),GH)&&(t&&!Zne(r)||lie(vTn(e,r,i),n))}function uR(e,n){return pr(e)?!!GYe[n]:e.Qm?!!e.Qm[n]:bw(e)?!!JYe[n]:dw(e)?!!_Ye[n]:!1}function cjn(e){switch(e.g){case 1:return hb(),wE;case 3:return hb(),bE;case 2:return hb(),qH;case 4:return hb(),HH;default:return null}}function ujn(e,n,t){if(e.e)switch(e.b){case 1:k3n(e.c,n,t);break;case 0:j3n(e.c,n,t)}else oDe(e.c,n,t);e.a[n.p][t.p]=e.c.i,e.a[t.p][n.p]=e.c.e}function U_e(e){var n,t;if(e==null)return null;for(t=W(Bh,ge,199,e.length,0,2),n=0;n<t.length;n++)t[n]=u(M5n(e[n],e[n].length),199);return t}function X_e(e){var n;n=u(k(e,(Wc(),lde)),104),Q(e,(ui(),x5),new de(0,0)),zze(new v7,e,n.b-J(H(k(e,qz))),n.d-J(H(k(e,zz))))}function FT(e){var n;if(TB(e))return qx(e),e.sl()&&(n=L9(e.e,e.b,e.c,e.a,e.j),e.j=n),e.g=e.a,++e.a,++e.c,e.i=0,e.j;throw C(new Dc)}function K_e(e,n,t){t.Tg("Compound graph preprocessor",1),e.a=new rb,yXe(e,n,null),DNn(e,n),rSn(e),Q(n,(se(),Che),e.a),e.a=null,ou(e.b),t.Ug()}function W_e(e,n,t){var i,r,c;for(r=new Mn(In((n?Li(e):fi(e)).a.Jc(),new U));zn(r);)i=u($n(r),17),c=n?i.c.i:i.d.i,c.k==(pn(),hu)&&or(c,t)}function V_e(e,n,t){var i,r,c;return i=n.i.j.c.length,Ht(n,(se(),oi))&&Ht(t,oi)?(r=kb(n,t,e.b,i),c=kb(t,n,e.b,i),r<c?-1:r>c?1:0):0}function Uw(){Uw=_,nO=new GM(ul,0),Ez=new GM("PORT_POSITION",1),Mp=new GM("NODE_SIZE_WHERE_SPACE_PERMITS",2),Ap=new GM("NODE_SIZE",3)}function ojn(e,n){var t,i,r;for(n.Tg("Untreeify",1),t=u(k(e,(ui(),nde)),16),r=t.Jc();r.Ob();)i=u(r.Pb(),65),Mt(i.b.d,i),Mt(i.c.b,i);n.Ug()}function Th(){Th=_,$U=new k6("AUTOMATIC",0),QE=new k6(n3,1),YE=new k6(t3,2),PO=new k6("TOP",3),SO=new k6($ce,4),IO=new k6(P4,5)}function _2(e,n,t){var i,r;if(r=e.gc(),n>=r)throw C(new yw(n,r));if(e.Qi()&&(i=e.bd(t),i>=0&&i!=n))throw C(new An(cE));return e.Vi(n,t)}function Qa(e,n){var t,i,r;if(r=TJe(e,n),r>=0)return r;if(e.ml()){for(i=0;i<e.i;++i)if(t=e.nl(u(e.g[i],57)),K(t)===K(n))return i}return-1}function ste(e,n){if(this.a=u(st(e),254),this.b=u(st(n),254),e.Cd(n)>0||e==(XD(),kH)||n==(UD(),jH))throw C(new An("Invalid range: "+cDe(e,n)))}function fte(e,n,t,i){g4();var r,c;for(r=0,c=0;c<t;c++)r=Ur(Jr(mr(n[c],uc),mr(i,uc)),mr(wt(r),uc)),e[c]=wt(r),r=_d(r,32);return wt(r)}function lte(e,n,t){var i,r;for(r=0,i=0;i<JH;i++)r=v.Math.max(r,OB(e.a[n.g][i],t));return n==(il(),Hu)&&e.b&&(r=v.Math.max(r,e.b.b)),r}function BT(e,n){var t,i;if(VV(n>0),(n&-n)==n)return Br(n*Ho(e,31)*4656612873077393e-25);do t=Ho(e,31),i=t%n;while(t-i+(n-1)<0);return Br(i)}function sjn(e,n){var t,i,r;for(t=K0(new Od,e),r=new x(n);r.a<r.c.c.length;)i=u(M(r),124),Of(yf(vf(kf(mf(new Vs,0),0),t),i));return t}function nj(e,n,t){var i,r;for(Byn(e,n-e.s,t-e.t),r=new x(e.n);r.a<r.c.c.length;)i=u(M(r),208),k1n(i,i.e+n-e.s),j1n(i,i.f+t-e.t);e.s=n,e.t=t}function fjn(e,n,t){switch(t.g){case 1:e.a=n.a/2,e.b=0;break;case 2:e.a=n.a,e.b=n.b/2;break;case 3:e.a=n.a/2,e.b=n.b;break;case 4:e.a=0,e.b=n.b/2}}function tj(e,n,t,i){var r,c;for(r=n;r<e.c.length;r++)if(c=(en(r,e.c.length),u(e.c[r],12)),t.Mb(c))En(i.c,c);else return r;return e.c.length}function ljn(e){var n,t,i;for(i=u(Kt(e.a,(Xw(),yP)),16).Jc();i.Ob();)t=u(i.Pb(),107),n=yte(t),kv(e,t,n[0],(lb(),Bb),0),kv(e,t,n[1],Rb,1)}function hjn(e){var n,t,i;for(i=u(Kt(e.a,(Xw(),kP)),16).Jc();i.Ob();)t=u(i.Pb(),107),n=yte(t),kv(e,t,n[0],(lb(),Bb),0),kv(e,t,n[1],Rb,1)}function oR(e){switch(e.g){case 0:return null;case 1:return new HFe;case 2:return new cW;default:throw C(new An(EG+(e.f!=null?e.f:""+e.g)))}}function Q_e(e){var n;return n=J(H(he(e,(Et(),Jg))))*v.Math.sqrt((!e.a&&(e.a=new ue(mt,e,10,11)),e.a).i),new de(n,n/J(H(he(e,P5))))}function sR(e){var n;return e.f&&e.f.Sh()&&(n=u(e.f,52),e.f=u(q1(e,n),84),e.f!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,9,8,n,e.f))),e.f}function fR(e){var n;return e.i&&e.i.Sh()&&(n=u(e.i,52),e.i=u(q1(e,n),84),e.i!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,9,7,n,e.i))),e.i}function tc(e){var n;return e.b&&(e.b.Db&64)!=0&&(n=e.b,e.b=u(q1(e,n),19),e.b!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,9,21,n,e.b))),e.b}function RT(e,n){var t,i,r;e.d==null?(++e.e,++e.f):(i=n.yi(),bSn(e,e.f+1),r=(i&Ft)%e.d.length,t=e.d[r],!t&&(t=e.d[r]=e.bk()),t.Ec(n),++e.f)}function hte(e,n,t){var i;return n.rk()?!1:n.Gk()!=-2?(i=n.gk(),i==null?t==null:qt(i,t)):n.ok()==e.e.Ah()&&t==null}function _T(){var e;as(16,bKe),e=OFe(16),this.b=W(EH,Lj,309,e,0,1),this.c=W(EH,Lj,309,e,0,1),this.a=null,this.e=null,this.i=0,this.f=e-1,this.g=0}function Ml(e){gQ.call(this),this.k=(pn(),Mi),this.j=(as(6,rg),new Bu(6)),this.b=(as(2,rg),new Bu(2)),this.d=new JD,this.f=new ZK,this.a=e}function ajn(e){var n,t,i,r,c;for(t=0,r=new x(e.a);r.a<r.c.c.length;)i=u(M(r),124),i.d=t++;return n=bMn(e),c=null,n.c.length>1&&(c=sjn(e,n)),c}function djn(e){var n,t,i;for(n=0,i=new x(e.c.a);i.a<i.c.c.length;)t=u(M(i),9),n+=Zf(new Mn(In(fi(t).a.Jc(),new U)));return n/e.c.a.c.length}function lR(e){var n,t;for(t=new Rn(e);t.e!=t.i.gc();)if(n=u(Gn(t),87),n.e||(!n.d&&(n.d=new Wi(hc,n,1)),n.d).i!=0)return!0;return!1}function hR(e){var n,t;for(t=new Rn(e);t.e!=t.i.gc();)if(n=u(Gn(t),87),n.e||(!n.d&&(n.d=new Wi(hc,n,1)),n.d).i!=0)return!0;return!1}function Y_e(e,n,t,i){var r,c,o;for(r=u(Kt(i?e.a:e.b,n),22),o=r.Jc();o.Ob();)if(c=u(o.Pb(),26),bS(e,t,c))return!0;return!1}function bjn(e,n){for(var t,i;e.Ob();)if(!n.Ob()||(t=e.Pb(),i=n.Pb(),!(K(t)===K(i)||t!=null&&qt(t,i))))return!1;return!n.Ob()}function wjn(e){var n,t;e.c.length<=1||(n=uze(e,(ke(),Xn)),UGe(e,u(n.a,15).a,u(n.b,15).a),t=uze(e,Tn),UGe(e,u(t.a,15).a,u(t.b,15).a))}function gjn(e,n,t){var i,r;for(r=e.a.b,i=r.c.length;i<t;i++)Fd(r,r.c.length,new au(e.a));or(n,(en(t-1,r.c.length),u(r.c[t-1],25))),e.b[n.p]=t}function Z_e(e,n){var t,i,r;for(e.b[n.g]=1,i=rt(n.d,0);i.b!=i.d.c;)t=u(tt(i),65),r=t.c,e.b[r.g]==1?Mt(e.a,t):e.b[r.g]==2?e.b[r.g]=1:Z_e(e,r)}function aR(){aR=_,F0e=(r_(),N0e),$0e=new X0(8),new Cr((Et(),_h),$0e),new Cr(a1,8),rsn=P0e,D0e=Von,L0e=Qon,isn=new Cr(eA,(gn(),!1))}function pjn(e,n,t){var i;t.Tg("Shrinking tree compaction",1),Se(Te(k(n,(Gv(),Dy))))?(B9n(e,n.f),w$e(n.f,(i=n.c,i))):w$e(n.f,n.c),t.Ug()}function ate(e,n,t,i){switch(n){case 7:return!e.e&&(e.e=new hn(Xi,e,7,4)),e.e;case 8:return!e.d&&(e.d=new hn(Xi,e,8,5)),e.d}return $ne(e,n,t,i)}function dR(e){var n;return e.a&&e.a.Sh()&&(n=u(e.a,52),e.a=u(q1(e,n),143),e.a!=n&&(e.Db&4)!=0&&(e.Db&1)==0&&Gt(e,new hr(e,9,5,n,e.a))),e.a}function r0(e){return e<48||e>102?-1:e<=57?e-48:e<65?-1:e<=70?e-65+10:e<97?-1:e-97+10}function bR(e,n){if(e==null)throw C(new Qp("null key in entry: null="+n));if(n==null)throw C(new Qp("null value in entry: "+e+"=null"))}function eJe(e,n){var t;return t=I(S(jr,1),wc,30,15,[OB(e.a[0],n),OB(e.a[1],n),OB(e.a[2],n)]),e.d&&(t[0]=v.Math.max(t[0],t[2]),t[2]=t[0]),t}function nJe(e,n){var t;return t=I(S(jr,1),wc,30,15,[wT(e.a[0],n),wT(e.a[1],n),wT(e.a[2],n)]),e.d&&(t[0]=v.Math.max(t[0],t[2]),t[2]=t[0]),t}function dte(e,n,t){dm(u(k(n,(ye(),Ti)),102))||(MZ(e,n,Ya(n,t)),MZ(e,n,Ya(n,(ke(),Xn))),MZ(e,n,Ya(n,Cn)),tn(),ur(n.j,new e7e(e)))}function tJe(e){var n,t;for(e.c||wDn(e),t=new Lo,n=new x(e.a),M(n);n.a<n.c.c.length;)Mt(t,u(M(n),410).a);return Hn(t.b!=0),Ns(t,t.c.b),t}function mjn(e,n,t){var i,r,c,o,f;for(f=e.r+n,e.r+=n,e.d+=t,i=t/e.n.c.length,r=0,o=new x(e.n);o.a<o.c.c.length;)c=u(M(o),208),lTn(c,f,i,r),++r}function vjn(e){var n,t,i;for(e.b.a.$b(),e.a=W(qI,ln,60,e.c.c.a.b.c.length,0,1),n=0,i=new x(e.c.c.a.b);i.a<i.c.c.length;)t=u(M(i),60),t.f=n++}function yjn(e){var n,t,i;for(e.b.a.$b(),e.a=W(QH,ln,82,e.c.a.a.b.c.length,0,1),n=0,i=new x(e.c.a.a.b);i.a<i.c.c.length;)t=u(M(i),82),t.i=n++}function kjn(e){var n,t,i,r,c;for(i=new x(e.b);i.a<i.c.c.length;)for(t=u(M(i),25),n=0,c=new x(t.a);c.a<c.c.c.length;)r=u(M(c),9),r.p=n++}function jjn(e,n,t){var i,r,c,o;for(o=0,i=t/e.a.c.length,c=new x(e.a);c.a<c.c.c.length;)r=u(M(c),173),nj(r,r.s,r.t+o*i),mjn(r,e.d-r.r+n,i),++o}function iJe(e){var n;if(n=E8n(e),!zn(e))throw C(new $u("position (0) must be less than the number of elements that remained ("+n+")"));return $n(e)}function Ejn(e,n){var t;return e.a||(t=W(jr,wc,30,0,15,1),l2(e.b.a,new _8e(t)),Vje(t,nFe(rn.prototype.Ke,rn,[])),e.a=new kSe(t,e.d)),SC(e.a,n)}function rJe(e){switch(e.g){case 1:return ke(),Tn;case 4:return ke(),Cn;case 3:return ke(),Ln;case 2:return ke(),Xn;default:return ke(),qc}}function Ajn(e,n,t){n.k==(pn(),Mi)&&t.k==qi&&(e.d=$B(n,(ke(),Xn)),e.b=$B(n,Cn)),t.k==Mi&&n.k==qi&&(e.d=$B(t,(ke(),Cn)),e.b=$B(t,Xn))}function wR(e,n){var t,i,r;for(r=Jc(e,n),i=r.Jc();i.Ob();)if(t=u(i.Pb(),12),k(t,(se(),Io))!=null||L6(new kl(t.b)))return!0;return!1}function Mjn(e,n,t){t.Tg("Linear segments node placement",1),e.b=u(k(n,(se(),vp)),317),q$n(e,n),gNn(e,n),FNn(e,n),y$n(e),e.a=null,e.b=null,t.Ug()}function bte(e,n){return _o(n,e.e+e.d+(e.c.c.length==0?0:e.b)),Jo(n,e.f),e.a=v.Math.max(e.a,n.f),e.d+=n.g+(e.c.c.length==0?0:e.b),me(e.c,n),!0}function xjn(e,n){var t,i,r,c,o,f;for(r=n.length-1,o=0,f=0,i=0;i<=r;i++)c=n[i],t=$Mn(r,i)*mne(1-e,r-i)*mne(e,i),o+=c.a*t,f+=c.b*t;return new de(o,f)}function cJe(e,n){var t,i,r,c,o;for(t=n.gc(),e.Zi(e.i+t),c=n.Jc(),o=e.i,e.i+=t,i=o;i<e.i;++i)r=c.Pb(),N6(e,i,e.Xi(i,r)),e.Ki(i,r),e.Li();return t!=0}function Cjn(e,n,t){var i,r,c;return e.Nj()?(i=e.Cj(),c=e.Oj(),++e.j,e.oj(i,e.Xi(i,n)),r=e.Gj(3,null,n,i,c),t?t.lj(r):t=r):UTe(e,e.Cj(),n),t}function Tjn(e,n,t){var i,r,c;return i=u(B(bu(e.a),n),87),c=(r=i.c,F(r,88)?u(r,29):(nn(),gf)),((c.Db&64)!=0?q1(e.b,c):c)==t?mS(i):Lv(i,t),c}function Sjn(e){var n;return e==null?null:new I1((n=Pu(e,!0),n.length>0&&(Pn(0,n.length),n.charCodeAt(0)==43)?(Pn(1,n.length+1),n.substr(1)):n))}function Ijn(e){var n;return e==null?null:new I1((n=Pu(e,!0),n.length>0&&(Pn(0,n.length),n.charCodeAt(0)==43)?(Pn(1,n.length+1),n.substr(1)):n))}function wte(e,n,t,i,r,c,o,f){var l,h;i&&(l=i.a[0],l&&wte(e,n,t,l,r,c,o,f),ER(e,t,i.d,r,c,o,f)&&n.Ec(i),h=i.a[1],h&&wte(e,n,t,h,r,c,o,f))}function C9(e,n){var t,i,r,c;for(c=e.gc(),n.length<c&&(n=mM(new Array(c),n)),r=n,i=e.Jc(),t=0;t<c;++t)Ni(r,t,i.Pb());return n.length>c&&Ni(n,c,null),n}function Pjn(e,n){var t,i;if(i=e.gc(),n==null){for(t=0;t<i;t++)if(e.Xb(t)==null)return t}else for(t=0;t<i;t++)if(qt(n,e.Xb(t)))return t;return-1}function gR(e,n){var t,i,r;return t=n.jd(),r=n.kd(),i=e.xc(t),!(!(K(r)===K(i)||r!=null&&qt(r,i))||i==null&&!e._b(t))}function Ojn(e,n){var t,i,r;return n<=22?(t=e.l&(1<<n)-1,i=r=0):n<=44?(t=e.l,i=e.m&(1<<n-22)-1,r=0):(t=e.l,i=e.m,r=e.h&(1<<n-44)-1),zu(t,i,r)}function Njn(e,n){switch(n.g){case 1:return e.f.n.d+e.t;case 3:return e.f.n.a+e.t;case 2:return e.f.n.c+e.s;case 4:return e.f.n.b+e.s;default:return 0}}function Djn(e,n){var t,i;switch(i=n.c,t=n.a,e.b.g){case 0:t.d=e.e-i.a-i.d;break;case 1:t.d+=e.e;break;case 2:t.c=e.e-i.a-i.d;break;case 3:t.c=e.e+i.d}}function JT(){JT=_,fU=new XM(ul,0),Fde=new XM(MWe,1),Bde=new XM("EDGE_LENGTH_BY_POSITION",2),$de=new XM("CROSSING_MINIMIZATION_BY_POSITION",3)}function pR(e,n){var t,i;if(t=u(I2(e.n,n),26),t)return t;if(i=u(I2(e.p,n),125),i)return i;throw C(new Ul("Referenced shape does not exist: "+n))}function uJe(e,n){if(e.g==-1)throw C(new bo);e.Vj();try{e.d.fd(e.g,n),e.f=e.d.j}catch(t){throw t=Fi(t),F(t,99)?C(new Cs):C(t)}}function gte(e,n){var t,i;if(F(n,254)){i=u(n,254);try{return t=e.Cd(i),t==0}catch(r){if(r=Fi(r),F(r,211))return!1;throw C(r)}}return!1}function Ljn(e,n){if(e.c==n)return e.d;if(e.d==n)return e.c;throw C(new An("Node 'one' must be either source or target of edge 'edge'."))}function $jn(e,n){if(e.c.i==n)return e.d.i;if(e.d.i==n)return e.c.i;throw C(new An("Node "+n+" is neither source nor target of edge "+e))}function Fjn(e,n,t){t.Tg("Self-Loop ordering",1),Si(Fu(Bt(Bt(Pc(new We(null,new Ye(n.b,16)),new Epe),new Ape),new Mpe),new xpe),new xke(e)),t.Ug()}function mR(e,n,t,i,r,c){var o,f,l,h,a;for(o=FEn(n,t,c),f=t==(ke(),Cn)||t==Tn?-1:1,h=e[t.g],a=0;a<h.length;a++)l=h[a],l>0&&(l+=r),h[a]=o,o+=f*(l+i)}function Bjn(e){var n;for(n=0;n<e.a.c.length;n++)if(Ht(u(Ce(e.a,n),9),(ye(),oz))&&Se(Te(k(u(Ce(e.a,n),9),oz))))return!0;return!1}function oJe(e){var n,t,i;for(i=e.f,e.n=W(jr,wc,30,i,15,1),e.d=W(jr,wc,30,i,15,1),n=0;n<i;n++)t=u(Ce(e.c.b,n),25),e.n[n]=D_e(e,t),e.d[n]=Nqe(e,t)}function sJe(e,n,t,i){var r;this.c=e,this.d=n,r=new ni,Ei(r,t,r.c.b,r.c),this.a=r,this.b=u(k(i,(Wc(),Xb)),86),this.e=J(H(k(i,dde))),nKe(this)}function vR(e,n){var t,i,r;for(r=0,i=2;i<n;i<<=1)(e.Db&i)!=0&&++r;if(r==0){for(t=n<<=1;t<=128;t<<=1)if((e.Db&t)!=0)return 0;return-1}else return r}function fJe(e,n){var t,i,r,c,o;for(o=Xu(e.e.Ah(),n),c=null,t=u(e.g,122),r=0;r<e.i;++r)i=t[r],o.$l(i.Jk())&&(!c&&(c=new QA),it(c,i));c&&_Xe(e,c)}function lJe(e){var n,t,i;if(!e)return null;if(e.dc())return"";for(i=new Na,t=e.Jc();t.Ob();)n=t.Pb(),ac(i,dt(n)),i.a+=" ";return XL(i,i.a.length-1)}function hJe(e,n){var t=new Array(n),i;switch(e){case 14:case 15:i=0;break;case 16:i=!1;break;default:return t}for(var r=0;r<n;++r)t[r]=i;return t}function gb(e){var n,t,i;for(t=new x(e.a.b);t.a<t.c.c.length;)n=u(M(t),60),n.c.$b();Vh(e.d)?i=e.a.c:i=e.a.d,Tu(i,new Q8e(e)),e.c.bf(e),Yqe(e)}function aJe(e){var n,t,i,r;for(t=new x(e.e.c);t.a<t.c.c.length;){for(n=u(M(t),291),r=new x(n.b);r.a<r.c.c.length;)i=u(M(r),445),Xre(i);_He(n)}}function dJe(e){var n,t,i;for(i=Ft,t=new x(e.a);t.a<t.c.c.length;)n=u(M(t),9),Ht(n,(se(),oi))&&(i=v.Math.min(i,u(k(n,oi),15).a));return i}function GT(e){var n,t,i,r,c;for(i=0,c=0,r=0,t=new x(e.a);t.a<t.c.c.length;)n=u(M(t),173),c=v.Math.max(c,n.r),i+=n.d+(r>0?e.c:0),++r;e.b=i,e.d=c}function bJe(e,n){var t;return t=I(S(jr,1),wc,30,15,[lte(e,(il(),Yc),n),lte(e,Hu,n),lte(e,Zc,n)]),e.f&&(t[0]=v.Math.max(t[0],t[2]),t[2]=t[0]),t}function wJe(e){var n;Ht(e,(ye(),qb))&&(n=u(k(e,qb),22),n.Gc((Qw(),_f))?(n.Kc(_f),n.Ec(Jf)):n.Gc(Jf)&&(n.Kc(Jf),n.Ec(_f)))}function gJe(e){var n;Ht(e,(ye(),qb))&&(n=u(k(e,qb),22),n.Gc((Qw(),Hf))?(n.Kc(Hf),n.Ec(hf)):n.Gc(hf)&&(n.Kc(hf),n.Ec(Hf)))}function yR(e,n,t,i){var r,c,o,f;return e.a==null&&LMn(e,n),o=n.b.j.c.length,c=t.d.p,f=i.d.p,r=f-1,r<0&&(r=o-1),c<=r?e.a[r]-e.a[c]:e.a[o-1]-e.a[c]+e.a[r]}function Rjn(e){var n;for(n=0;n<e.a.c.length;n++)if(Ht(u(Ce(e.a,n),9),(ye(),sz))&&!Se(Te(k(u(Ce(e.a,n),9),sz))))return!1;return!0}function _jn(e,n,t){var i,r,c,o,f;for(c=e.c,f=t?n:e,i=t?e:n,r=f.p+1;r<i.p;++r)if(o=u(Ce(c.a,r),9),!(o.k==(pn(),Ll)||AEn(o)))return!1;return!0}function Jjn(e){var n,t;if(!e.b)for(e.b=gC(u(e.f,26).jh().i),t=new Rn(u(e.f,26).jh());t.e!=t.i.gc();)n=u(Gn(t),157),me(e.b,new QD(n));return e.b}function Gjn(e){var n,t;if(!e.e)for(e.e=gC(BY(u(e.f,26)).i),t=new Rn(BY(u(e.f,26)));t.e!=t.i.gc();)n=u(Gn(t),125),me(e.e,new Pje(n));return e.e}function pJe(e){var n,t;if(!e.a)for(e.a=gC(rC(u(e.f,26)).i),t=new Rn(rC(u(e.f,26)));t.e!=t.i.gc();)n=u(Gn(t),26),me(e.a,new gx(e,n));return e.a}function pb(e){var n;if(!e.C&&(e.D!=null||e.B!=null))if(n=dLn(e),n)e.fl(n);else try{e.fl(null)}catch(t){if(t=Fi(t),!F(t,63))throw C(t)}return e.C}function Hjn(e){switch(e.q.g){case 5:qJe(e,(ke(),Cn)),qJe(e,Xn);break;case 4:YUe(e,(ke(),Cn)),YUe(e,Xn);break;default:YGe(e,(ke(),Cn)),YGe(e,Xn)}}function qjn(e){switch(e.q.g){case 5:zJe(e,(ke(),Ln)),zJe(e,Tn);break;case 4:ZUe(e,(ke(),Ln)),ZUe(e,Tn);break;default:ZGe(e,(ke(),Ln)),ZGe(e,Tn)}}function J2(e,n){var t,i,r;for(r=new xr,i=e.Jc();i.Ob();)t=u(i.Pb(),36),p4(t,r.a,0),r.a+=t.f.a+n,r.b=v.Math.max(r.b,t.f.b);return r.b>0&&(r.b+=n),r}function HT(e,n){var t,i,r;for(r=new xr,i=e.Jc();i.Ob();)t=u(i.Pb(),36),p4(t,0,r.b),r.b+=t.f.b+n,r.a=v.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=n),r}function mJe(e,n){var t,i;if(n.length==0)return 0;for(t=Y$(e.a,n[0],(ke(),Tn)),t+=Y$(e.a,n[n.length-1],Ln),i=0;i<n.length;i++)t+=AMn(e,i,n);return t}function vJe(){_9(),this.c=new ve,this.i=new ve,this.e=new vh,this.f=new vh,this.g=new vh,this.j=new ve,this.a=new ve,this.b=new Vn,this.k=new Vn}function kR(e,n){var t,i;return e.Db>>16==6?e.Cb.Qh(e,5,dl,n):(i=tc(u(un((t=u(xn(e,16),29),t||e.fi()),e.Db>>16),19)),e.Cb.Qh(e,i.n,i.f,n))}function zjn(e){Cv();var n=e.e;if(n&&n.stack){var t=n.stack,i=n+`
10
10
  `;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(`
@@ -27,4 +27,4 @@ import{ny as HFn,R as qFn,r as cn,j as le,eJ as Nhn,Y as zFn,kT as UFn,$ as XFn,
27
27
  `),c.length!=2)throw C(new An("Exactly two numbers are expected, "+c.length+" were found."));try{this.a=Kw(Ww(c[0])),this.b=Kw(Ww(c[1]))}catch(o){throw o=Fi(o),F(o,131)?(i=o,C(new An(hWe+i))):C(o)}},s.Ib=function(){return"("+this.a+","+this.b+")"},s.a=0,s.b=0;var br=w(Qj,"KVector",8);b(79,66,{3:1,4:1,20:1,31:1,56:1,18:1,66:1,16:1,79:1,414:1},Lo,yM,PTe),s.Nc=function(){return w8n(this)},s.ag=function(n){var t,i,r,c,o,f;r=ng(n,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
28
28
  `),Yo(this);try{for(i=0,o=0,c=0,f=0;i<r.length;)r[i]!=null&&Ww(r[i]).length>0&&(o%2==0?c=Kw(r[i]):f=Kw(r[i]),o>0&&o%2!=0&&Mt(this,new de(c,f)),++o),++i}catch(l){throw l=Fi(l),F(l,131)?(t=l,C(new An("The given string does not match the expected format for vectors."+t))):C(l)}},s.Ib=function(){var n,t,i;for(n=new us("("),t=rt(this,0);t.b!=t.d.c;)i=u(tt(t),8),At(n,i.a+","+i.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var q0e=w(Qj,"KVectorChain",79);b(256,24,{3:1,35:1,24:1,256:1},k6);var $U,SO,IO,QE,YE,PO,z0e=Zn(Gu,"Alignment",256,ut,g6n,J2n),wsn;b(976,1,Pl,Xye),s.tf=function(n){tUe(n)};var U0e,FU,gsn,X0e,K0e,psn,W0e,msn,vsn,V0e,Q0e,ysn;w(Gu,"BoxLayouterOptions",976),b(977,1,{},m5e),s.uf=function(){var n;return n=new k5e,n},s.vf=function(n){},w(Gu,"BoxLayouterOptions/BoxFactory",977),b(299,24,{3:1,35:1,24:1,299:1},j6);var M8,BU,x8,C8,T8,RU,_U=Zn(Gu,"ContentAlignment",299,ut,v6n,G2n),ksn;b(689,1,Pl,oK),s.tf=function(n){_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,pVe),""),"Layout Algorithm"),"Select a specific layout algorithm."),(u0(),I3)),Ie),Je((th(),on))))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,mVe),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),Bl),$Fn),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Yue),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),Y0e),gi),z0e),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,D4),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,ase),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),Bl),q0e),Je(al)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,rI),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),ebe),S3),_U),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,tE),""),"Debug Mode"),"Whether additional debug information shall be generated."),(gn(),!1)),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,dG),""),"Direction"),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),nbe),gi),I8),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,nE),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),rbe),gi),eX),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,lse),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,iI),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),ube),gi),Wbe),ci(on,I(S(Fl,1),ae,160,0,[Ri]))))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,sg),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),pbe),Bl),ile),ci(on,I(S(Fl,1),ae,160,0,[Ri]))))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,cy),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,uI),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,uy),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,EJ),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),jbe),gi),Ybe),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,cI),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),Bl),br),ci(Ri,I(S(Fl,1),ae,160,0,[h1,ja]))))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,zj),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),Gr),Zi),ci(Ri,I(S(Fl,1),ae,160,0,[al]))))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,BS),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),Gr),Zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,ry),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,foe),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),fbe),Bl),q0e),Je(al)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,doe),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),nr),Ci),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,boe),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),nr),Ci),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,fFn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),Bl),GFn),ci(on,I(S(Fl,1),ae,160,0,[ja]))))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,vVe),""),"Softwrapping Fuzziness"),"Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line."),0),Pr),zi),Je(ja)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,goe),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),lbe),Bl),tle),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Vue),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),nr),Ci),ci(Ri,I(S(Fl,1),ae,160,0,[al,h1,ja]))))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,yVe),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),Pr),zi),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,kVe),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,jVe),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Uj),""),aVe),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),nr),Ci),Je(on)))),mi(n,Uj,Tb,null),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,EVe),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,AVe),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),fe(100)),Gr),Zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,MVe),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,xVe),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),fe(4e3)),Gr),Zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,CVe),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),fe(400)),Gr),Zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,TVe),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,SVe),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,IVe),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,PVe),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,hse),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),Z0e),gi),hwe),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,OVe),"json"),"Shape Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports."),sbe),gi),nwe),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,NVe),"json"),"Edge Coords"),"For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels."),obe),gi),$be),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Bue),Nl),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Rue),Nl),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,_ue),Nl),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Jue),Nl),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,jJ),Nl),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,aG),Nl),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Gue),Nl),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,zue),Nl),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Hue),Nl),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,que),Nl),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,og),Nl),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Uue),Nl),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),Pr),zi),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Xue),Nl),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),Pr),zi),ci(on,I(S(Fl,1),ae,160,0,[Ri]))))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,Kue),Nl),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),Bl),pfn),ci(Ri,I(S(Fl,1),ae,160,0,[al,h1,ja]))))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,poe),Nl),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),Obe),Bl),tle),Je(on)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,wG),$Ve),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),Gr),Zi),ci(on,I(S(Fl,1),ae,160,0,[Ri]))))),mi(n,wG,bG,Nsn),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,bG),$Ve),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),mbe),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,noe),FVe),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),abe),Bl),ile),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,$4),FVe),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),dbe),S3),lc),ci(Ri,I(S(Fl,1),ae,160,0,[ja]))))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,roe),bI),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),ybe),gi),D8),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,coe),bI),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),gi),D8),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,uoe),bI),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),gi),D8),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,ooe),bI),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),gi),D8),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,soe),bI),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),gi),D8),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,ep),_G),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),bbe),S3),F8),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,r3),_G),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),gbe),S3),twe),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,c3),_G),"Node Size Minimum"),"The minimal size to which a node can be reduced."),wbe),Bl),br),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,L4),_G),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),nr),Ci),Je(on)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,hoe),hG),"Edge Label Placement"),"Gives a hint on where to put edge labels."),tbe),gi),Fbe),Je(ja)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,RS),hG),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),nr),Ci),Je(ja)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,lFn),"font"),"Font Name"),"Font name used for a label."),I3),Ie),Je(ja)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,DVe),"font"),"Font Size"),"Font size used for a label."),Gr),Zi),Je(ja)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,woe),JG),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),Bl),br),Je(h1)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,aoe),JG),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),Gr),Zi),Je(h1)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Que),JG),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),Mbe),gi),Yr),Je(h1)))),_e(n,new Oe(Be(Fe(Re(Ne($e(De(Le(new Pe,Wue),JG),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),Pr),zi),Je(h1)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,F4),wse),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),Ebe),S3),BO),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,toe),wse),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),nr),Ci),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,ioe),wse),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),nr),Ci),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,BG),U4),"Number of size categories"),"Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator."),fe(3)),Gr),Zi),Je(on)))),mi(n,BG,RG,zsn),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,dse),U4),"Weight of a node containing children for determining the graph size"),"When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five."),fe(4)),Gr),Zi),Je(on)))),mi(n,dse,BG,null),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Xj),U4),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),Pr),zi),Je(on)))),mi(n,Xj,Tb,Gsn),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,RG),U4),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),Bl),FFn),Je(Ri)))),mi(n,RG,Tb,Hsn),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Kj),U4),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),Pr),zi),ci(on,I(S(Fl,1),ae,160,0,[Ri]))))),mi(n,Kj,Tb,null),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Wj),U4),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),Pr),zi),ci(on,I(S(Fl,1),ae,160,0,[Ri]))))),mi(n,Wj,Tb,null),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Tb),U4),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),gi),rwe),Je(Ri)))),mi(n,Tb,L4,null),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,bse),U4),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),Pr),zi),Je(on)))),mi(n,bse,Tb,Jsn),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,Zue),BVe),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),nr),Ci),Je(Ri)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,eoe),BVe),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),nr),Ci),Je(al)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,loe),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),Pr),zi),Je(al)))),_e(n,new Oe(Be(Fe(Re(ze(Ne($e(De(Le(new Pe,LVe),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),cbe),gi),Hbe),Je(al)))),a6(n,new Em(o6(nv(ev(new Hp,wn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),a6(n,new Em(o6(nv(ev(new Hp,"org.eclipse.elk.orthogonal"),"Orthogonal"),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),a6(n,new Em(o6(nv(ev(new Hp,Ku),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),a6(n,new Em(o6(nv(ev(new Hp,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),a6(n,new Em(o6(nv(ev(new Hp,VWe),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),a6(n,new Em(o6(nv(ev(new Hp,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),a6(n,new Em(o6(nv(ev(new Hp,_s),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),_ze((new Kye,n)),tUe((new Xye,n)),aze((new Wye,n))};var P3,jsn,Y0e,S5,Esn,Asn,Z0e,$g,Fg,Msn,ZE,ebe,eA,T0,nbe,JU,GU,tbe,ibe,rbe,xsn,cbe,Csn,Pp,ube,Tsn,nA,HU,tA,qU,Ssn,obe,Isn,sbe,Op,fbe,I5,lbe,hbe,abe,Np,dbe,S0,bbe,Bg,Dp,wbe,md,gbe,OO,iA,_h,pbe,Psn,mbe,Osn,Nsn,vbe,ybe,zU,UU,XU,KU,kbe,Uo,S8,jbe,WU,VU,Rg,Ebe,Abe,Lp,Mbe,O3,rA,QU,_g,Dsn,YU,Lsn,$sn,Fsn,Bsn,xbe,Cbe,N3,Tbe,NO,Sbe,Ibe,a1,Rsn,Pbe,Obe,Nbe,P5,Jg,O5,D3,_sn,Jsn,DO,Gsn,LO,Hsn,qsn,zsn,Usn;w(Gu,"CoreOptions",689),b(86,24,{3:1,35:1,24:1,86:1},$k);var Rl,Ec,Tc,_l,zs,I8=Zn(Gu,"Direction",86,ut,T5n,H2n),Xsn;b(278,24,{3:1,35:1,24:1,278:1},WM);var $O,cA,Dbe,Lbe,$be=Zn(Gu,"EdgeCoords",278,ut,e5n,q2n),Ksn;b(279,24,{3:1,35:1,24:1,279:1},_L);var N5,Gg,D5,Fbe=Zn(Gu,"EdgeLabelPlacement",279,ut,Qvn,z2n),Wsn;b(222,24,{3:1,35:1,24:1,222:1},VM);var L5,uA,L3,ZU,eX=Zn(Gu,"EdgeRouting",222,ut,i5n,U2n),Vsn;b(328,24,{3:1,35:1,24:1,328:1},E6);var Bbe,Rbe,_be,Jbe,nX,Gbe,Hbe=Zn(Gu,"EdgeType",328,ut,y6n,X2n),Qsn;b(974,1,Pl,Kye),s.tf=function(n){_ze(n)};var qbe,zbe,Ube,Xbe,Ysn,Kbe,P8;w(Gu,"FixedLayouterOptions",974),b(975,1,{},v5e),s.uf=function(){var n;return n=new A5e,n},s.vf=function(n){},w(Gu,"FixedLayouterOptions/FixedFactory",975),b(347,24,{3:1,35:1,24:1,347:1},JL);var d1,FO,O8,Wbe=Zn(Gu,"HierarchyHandling",347,ut,Yvn,K2n),Zsn,FFn=yi(Gu,"ITopdownSizeApproximator");b(292,24,{3:1,35:1,24:1,292:1},QM);var Jh,vd,oA,sA,efn=Zn(Gu,"LabelSide",292,ut,r5n,W2n),nfn;b(96,24,{3:1,35:1,24:1,96:1},d2);var Ea,_f,lf,Jf,ks,Gf,hf,Gh,Hf,lc=Zn(Gu,"NodeLabelPlacement",96,ut,k9n,V2n),tfn;b(257,24,{3:1,35:1,24:1,257:1},Fk);var Vbe,N8,yd,Qbe,fA,D8=Zn(Gu,"PortAlignment",257,ut,J5n,Q2n),ifn;b(102,24,{3:1,35:1,24:1,102:1},A6);var I0,yu,Hh,$5,Jl,kd,Ybe=Zn(Gu,"PortConstraints",102,ut,p6n,Y2n),rfn;b(280,24,{3:1,35:1,24:1,280:1},M6);var L8,$8,Aa,lA,jd,$3,BO=Zn(Gu,"PortLabelPlacement",280,ut,m6n,Z2n),cfn;b(64,24,{3:1,35:1,24:1,64:1},Bk);var Ln,Cn,Us,Xs,so,Qu,Gl,qf,Oo,Eo,Lu,No,fo,lo,zf,js,Es,af,Xn,qc,Tn,Yr=Zn(Gu,"PortSide",64,ut,S5n,epn),ufn;b(978,1,Pl,Wye),s.tf=function(n){aze(n)};var ofn,sfn,Zbe,ffn,lfn;w(Gu,"RandomLayouterOptions",978),b(979,1,{},y5e),s.uf=function(){var n;return n=new P5e,n},s.vf=function(n){},w(Gu,"RandomLayouterOptions/RandomFactory",979),b(300,24,{3:1,35:1,24:1,300:1},GL);var hA,tX,ewe,nwe=Zn(Gu,"ShapeCoords",300,ut,Zvn,npn),hfn;b(380,24,{3:1,35:1,24:1,380:1},YM);var Hg,aA,dA,P0,F8=Zn(Gu,"SizeConstraint",380,ut,t5n,tpn),afn;b(266,24,{3:1,35:1,24:1,266:1},b2);var bA,RO,F5,iX,wA,B8,_O,JO,GO,twe=Zn(Gu,"SizeOptions",266,ut,P9n,ipn),dfn;b(281,24,{3:1,35:1,24:1,281:1},HL);var qg,iwe,HO,rwe=Zn(Gu,"TopdownNodeTypes",281,ut,e4n,rpn),bfn;b(288,24,gI);var cwe,rX,uwe,owe,gA=Zn(Gu,"TopdownSizeApproximator",288,ut,n5n,cpn);b(970,288,gI,bIe),s.Sg=function(n){return Q_e(n)},Zn(Gu,"TopdownSizeApproximator/1",970,gA,null,null),b(971,288,gI,JIe),s.Sg=function(n){var t,i,r,c,o,f,l,h,a,d,g,m,y,j,A,T,L,R,G,Y,V,Me,He,Ge,fn;for(t=u(he(n,(Et(),_g)),144),Me=(x1(),y=new n6,y),pj(Me,n),He=new Vn,o=new Rn((!n.a&&(n.a=new ue(mt,n,10,11)),n.a));o.e!=o.i.gc();)r=u(Gn(o),26),R=(m=new n6,m),fS(R,Me),pj(R,r),fn=Q_e(r),U0(R,v.Math.max(r.g,fn.a),v.Math.max(r.f,fn.b)),ro(He.f,r,R);for(c=new Rn((!n.a&&(n.a=new ue(mt,n,10,11)),n.a));c.e!=c.i.gc();)for(r=u(Gn(c),26),d=new Rn((!r.e&&(r.e=new hn(Xi,r,7,4)),r.e));d.e!=d.i.gc();)a=u(Gn(d),85),Y=u($c(pc(He.f,r)),26),V=u(yn(He,B((!a.c&&(a.c=new hn(Yn,a,5,8)),a.c),0)),26),G=(g=new yD,g),it((!G.b&&(G.b=new hn(Yn,G,4,7)),G.b),Y),it((!G.c&&(G.c=new hn(Yn,G,5,8)),G.c),V),sS(G,pi(Y)),pj(G,a);A=u(l7(t.f),214);try{A.kf(Me,new vD),LY(t.f,A)}catch(an){throw an=Fi(an),F(an,101)?(j=an,C(j)):C(an)}return nl(Me,Fg)||nl(Me,$g)||O_(Me),h=J(H(he(Me,Fg))),l=J(H(he(Me,$g))),f=h/l,i=J(H(he(Me,Jg)))*v.Math.sqrt((!Me.a&&(Me.a=new ue(mt,Me,10,11)),Me.a).i),Ge=u(he(Me,_h),104),L=Ge.b+Ge.c+1,T=Ge.d+Ge.a+1,new de(v.Math.max(L,i),v.Math.max(T,i/f))},Zn(Gu,"TopdownSizeApproximator/2",971,gA,null,null),b(972,288,gI,AOe),s.Sg=function(n){var t,i,r,c,o,f;return i=J(H(he(n,(Et(),Jg)))),t=i/J(H(he(n,P5))),r=SOn(n),o=u(he(n,_h),104),c=J(H(Ae(a1))),pi(n)&&(c=J(H(he(pi(n),a1)))),f=Qh(new de(i,t),r),zt(f,new de(-(o.b+o.c)-c,-(o.d+o.a)-c))},Zn(Gu,"TopdownSizeApproximator/3",972,gA,null,null),b(973,288,gI,ePe),s.Sg=function(n){var t,i,r,c,o,f,l,h,a,d;for(f=new Rn((!n.a&&(n.a=new ue(mt,n,10,11)),n.a));f.e!=f.i.gc();)o=u(Gn(f),26),he(o,(Et(),LO))!=null&&(!o.a&&(o.a=new ue(mt,o,10,11)),!!o.a)&&(!o.a&&(o.a=new ue(mt,o,10,11)),o.a).i>0?(i=u(he(o,LO),522),d=i.Sg(o),a=u(he(o,_h),104),U0(o,v.Math.max(o.g,d.a+a.b+a.c),v.Math.max(o.f,d.b+a.d+a.a))):(!o.a&&(o.a=new ue(mt,o,10,11)),o.a).i!=0&&U0(o,J(H(he(o,Jg))),J(H(he(o,Jg)))/J(H(he(o,P5))));t=u(he(n,(Et(),_g)),144),h=u(l7(t.f),214);try{h.kf(n,new vD),LY(t.f,h)}catch(g){throw g=Fi(g),F(g,101)?(l=g,C(l)):C(g)}return Yt(n,P3,X4),bDe(n),O_(n),c=J(H(he(n,Fg))),r=J(H(he(n,$g))),new de(c,r)},Zn(Gu,"TopdownSizeApproximator/4",973,gA,null,null);var wfn;b(345,1,{853:1},Wp),s.Tg=function(n,t){return lGe(this,n,t)},s.Ug=function(){$Ge(this)},s.Vg=function(){return this.q},s.Wg=function(){return this.f?uC(this.f):null},s.Xg=function(){return uC(this.a)},s.Yg=function(){return this.p},s.Zg=function(){return!1},s.$g=function(){return this.n},s._g=function(){return this.p!=null&&!this.b},s.ah=function(n){var t;this.n&&(t=n,me(this.f,t))},s.bh=function(n,t){var i,r;this.n&&n&&w4n(this,(i=new hPe,r=h_(i,n),bLn(i),r),(dT(),uX))},s.dh=function(n){var t;return this.b?null:(t=r9n(this,this.g),Mt(this.a,t),t.i=this,this.d=n,t)},s.eh=function(n){n>0&&!this.b&&kee(this,n)},s.b=!1,s.c=0,s.d=-1,s.e=null,s.f=null,s.g=-1,s.j=!1,s.k=!1,s.n=!1,s.o=0,s.q=0,s.r=0,w(ru,"BasicProgressMonitor",345),b(706,214,Cb,k5e),s.kf=function(n,t){vUe(n,t)},w(ru,"BoxLayoutProvider",706),b(966,1,xt,Z7e),s.Le=function(n,t){return dSn(this,u(n,26),u(t,26))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},s.a=!1,w(ru,"BoxLayoutProvider/1",966),b(167,1,{167:1},HC,ITe),s.Ib=function(){return this.c?Ere(this.c):Cl(this.b)},w(ru,"BoxLayoutProvider/Group",167),b(327,24,{3:1,35:1,24:1,327:1},ZM);var swe,fwe,lwe,cX,hwe=Zn(ru,"BoxLayoutProvider/PackingMode",327,ut,c5n,upn),gfn;b(967,1,xt,x5e),s.Le=function(n,t){return A3n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},w(ru,"BoxLayoutProvider/lambda$0$Type",967),b(968,1,xt,C5e),s.Le=function(n,t){return d3n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},w(ru,"BoxLayoutProvider/lambda$1$Type",968),b(969,1,xt,T5e),s.Le=function(n,t){return b3n(u(n,167),u(t,167))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},w(ru,"BoxLayoutProvider/lambda$2$Type",969),b(1339,1,{830:1},S5e),s.Lg=function(n,t){return xM(),!F(t,174)||OAe((Dm(),u(n,174)),t)},w(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1339),b(1340,1,Fn,eje),s.Ad=function(n){k8n(this.a,u(n,147))},w(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1340),b(1341,1,Fn,I5e),s.Ad=function(n){u(n,105),xM()},w(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1341),b(1345,1,Fn,nje),s.Ad=function(n){H9n(this.a,u(n,105))},w(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1345),b(1343,1,gt,kxe),s.Mb=function(n){return i8n(this.a,this.b,u(n,147))},w(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1343),b(1342,1,gt,jxe),s.Mb=function(n){return lwn(this.a,this.b,u(n,830))},w(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1342),b(1344,1,Fn,Exe),s.Ad=function(n){hmn(this.a,this.b,u(n,147))},w(ru,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1344),b(931,1,{},E5e),s.Kb=function(n){return ECe(n)},s.Fb=function(n){return this===n},w(ru,"ElkUtil/lambda$0$Type",931),b(932,1,Fn,Axe),s.Ad=function(n){pCn(this.a,this.b,u(n,85))},s.a=0,s.b=0,w(ru,"ElkUtil/lambda$1$Type",932),b(933,1,Fn,Mxe),s.Ad=function(n){ddn(this.a,this.b,u(n,170))},s.a=0,s.b=0,w(ru,"ElkUtil/lambda$2$Type",933),b(934,1,Fn,xxe),s.Ad=function(n){sbn(this.a,this.b,u(n,157))},s.a=0,s.b=0,w(ru,"ElkUtil/lambda$3$Type",934),b(935,1,Fn,tje),s.Ad=function(n){Dpn(this.a,u(n,372))},w(ru,"ElkUtil/lambda$4$Type",935),b(331,1,{35:1,331:1},G1n),s.Dd=function(n){return $bn(this,u(n,242))},s.Fb=function(n){var t;return F(n,331)?(t=u(n,331),this.a==t.a):!1},s.Hb=function(){return Br(this.a)},s.Ib=function(){return this.a+" (exclusive)"},s.a=0,w(ru,"ExclusiveBounds/ExclusiveLowerBound",331),b(1089,214,Cb,A5e),s.kf=function(n,t){var i,r,c,o,f,l,h,a,d,g,m,y,j,A,T,L,R,G,Y,V,Me,He,Ge;for(t.Tg("Fixed Layout",1),o=u(he(n,(Et(),ibe)),222),g=0,m=0,R=new Rn((!n.a&&(n.a=new ue(mt,n,10,11)),n.a));R.e!=R.i.gc();){for(T=u(Gn(R),26),Ge=u(he(T,(aT(),P8)),8),Ge&&(Ts(T,Ge.a,Ge.b),u(he(T,zbe),182).Gc((ts(),Hg))&&(y=u(he(T,Xbe),8),y.a>0&&y.b>0&&Eb(T,y.a,y.b,!0,!0))),g=v.Math.max(g,T.i+T.g),m=v.Math.max(m,T.j+T.f),a=new Rn((!T.n&&(T.n=new ue(zc,T,1,7)),T.n));a.e!=a.i.gc();)l=u(Gn(a),157),Ge=u(he(l,P8),8),Ge&&Ts(l,Ge.a,Ge.b),g=v.Math.max(g,T.i+l.i+l.g),m=v.Math.max(m,T.j+l.j+l.f);for(V=new Rn((!T.c&&(T.c=new ue(Xo,T,9,9)),T.c));V.e!=V.i.gc();)for(Y=u(Gn(V),125),Ge=u(he(Y,P8),8),Ge&&Ts(Y,Ge.a,Ge.b),Me=T.i+Y.i,He=T.j+Y.j,g=v.Math.max(g,Me+Y.g),m=v.Math.max(m,He+Y.f),h=new Rn((!Y.n&&(Y.n=new ue(zc,Y,1,7)),Y.n));h.e!=h.i.gc();)l=u(Gn(h),157),Ge=u(he(l,P8),8),Ge&&Ts(l,Ge.a,Ge.b),g=v.Math.max(g,Me+l.i+l.g),m=v.Math.max(m,He+l.j+l.f);for(c=new Mn(In(V1(T).a.Jc(),new U));zn(c);)i=u($n(c),85),d=OXe(i),g=v.Math.max(g,d.a),m=v.Math.max(m,d.b);for(r=new Mn(In(QR(T).a.Jc(),new U));zn(r);)i=u($n(r),85),pi(FR(i))!=n&&(d=OXe(i),g=v.Math.max(g,d.a),m=v.Math.max(m,d.b))}if(o==(ha(),L5))for(L=new Rn((!n.a&&(n.a=new ue(mt,n,10,11)),n.a));L.e!=L.i.gc();)for(T=u(Gn(L),26),r=new Mn(In(V1(T).a.Jc(),new U));zn(r);)i=u($n(r),85),f=bOn(i),f.b==0?Yt(i,Op,null):Yt(i,Op,f);Se(Te(he(n,(aT(),Ube))))||(G=u(he(n,Ysn),104),A=g+G.b+G.c,j=m+G.d+G.a,Eb(n,A,j,!0,!0)),t.Ug()},w(ru,"FixedLayoutProvider",1089),b(379,150,{3:1,414:1,379:1,105:1,150:1},mD,j$e),s.ag=function(n){var t,i,r,c,o,f,l,h,a;if(n)try{for(h=ng(n,";,;"),o=h,f=0,l=o.length;f<l;++f){if(c=o[f],i=ng(c,"\\:"),r=tce(u9(),i[0]),!r)throw C(new An("Invalid option id: "+i[0]));if(a=ece(r,i[1]),a==null)throw C(new An("Invalid option value: "+i[1]));a==null?(!this.q&&(this.q=new Vn),Cm(this.q,r)):(!this.q&&(this.q=new Vn),It(this.q,r,a))}}catch(d){throw d=Fi(d),F(d,101)?(t=d,C(new rRe(t))):C(d)}},s.Ib=function(){var n;return n=dt(xo(Fu((this.q?this.q:(tn(),tn(),$h)).vc().Mc(),new j5e),B6n(new QSe,new Mc,new rr,new sr,I(S(oo,1),ae,130,0,[])))),n};var pfn=w(ru,"IndividualSpacings",379);b(965,1,{},j5e),s.Kb=function(n){return E3n(u(n,45))},w(ru,"IndividualSpacings/lambda$0$Type",965),b(708,1,{},TIe),s.c=0,w(ru,"InstancePool",708),b(1819,1,{},M5e),w(ru,"LoggedGraph",1819),b(407,24,{3:1,35:1,24:1,407:1},ex);var awe,uX,dwe,bwe,mfn=Zn(ru,"LoggedGraph/Type",407,ut,u5n,opn),vfn;b(615,1,{853:1},vD),s.Tg=function(n,t){return!1},s.Ug=function(){},s.Vg=function(){return 0},s.Wg=function(){return null},s.Xg=function(){return null},s.Yg=function(){return null},s.Zg=function(){return!1},s.$g=function(){return!1},s._g=function(){return!1},s.ah=function(n){},s.bh=function(n,t){},s.dh=function(n){return this},s.eh=function(n){},w(ru,"NullElkProgressMonitor",615),b(49,1,{20:1,49:1},Wr),s.Ic=function(n){Dr(this,n)},s.Fb=function(n){var t,i,r;return F(n,49)?(i=u(n,49),t=this.a==null?i.a==null:qt(this.a,i.a),r=this.b==null?i.b==null:qt(this.b,i.b),t&&r):!1},s.Hb=function(){var n,t,i,r,c,o;return i=this.a==null?0:si(this.a),n=i&Qi,t=i&-65536,o=this.b==null?0:si(this.b),r=o&Qi,c=o&-65536,n^c>>16&Qi|t^r<<16},s.Jc=function(){return new ije(this)},s.Ib=function(){return this.a==null&&this.b==null?"pair(null,null)":this.a==null?"pair(null,"+Oc(this.b)+")":this.b==null?"pair("+Oc(this.a)+",null)":"pair("+Oc(this.a)+","+Oc(this.b)+")"},w(ru,"Pair",49),b(980,1,kr,ije),s.Nb=function(n){Ir(this,n)},s.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},s.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw C(new Dc)},s.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),C(new bo)},s.b=!1,s.c=!1,w(ru,"Pair/1",980),b(1079,214,Cb,P5e),s.kf=function(n,t){var i,r,c,o,f;if(t.Tg("Random Layout",1),(!n.a&&(n.a=new ue(mt,n,10,11)),n.a).i==0){t.Ug();return}o=u(he(n,(Wne(),ffn)),15),o&&o.a!=0?c=new yC(o.a):c=new GB,i=pk(H(he(n,ofn))),f=pk(H(he(n,lfn))),r=u(he(n,sfn),104),LLn(n,c,i,f,r),t.Ug()},w(ru,"RandomLayoutProvider",1079),b(240,1,{240:1},j$),s.Fb=function(n){return du(this.a,u(n,240).a)&&du(this.b,u(n,240).b)&&du(this.c,u(n,240).c)},s.Hb=function(){return bT(I(S(ir,1),ln,1,5,[this.a,this.b,this.c]))},s.Ib=function(){return"("+this.a+Ju+this.b+Ju+this.c+")"},w(ru,"Triple",240);var yfn;b(551,1,{}),s.Jf=function(){return new de(this.f.i,this.f.j)},s.mf=function(n){return yOe(n,(Et(),Uo))?he(this.f,kfn):he(this.f,n)},s.Kf=function(){return new de(this.f.g,this.f.f)},s.Lf=function(){return this.g},s.nf=function(n){return nl(this.f,n)},s.Mf=function(n){_o(this.f,n.a),Jo(this.f,n.b)},s.Nf=function(n){fb(this.f,n.a),sb(this.f,n.b)},s.Of=function(n){this.g=n},s.g=0;var kfn;w(gy,"ElkGraphAdapters/AbstractElkGraphElementAdapter",551),b(553,1,{838:1},cM),s.Pf=function(){var n,t;if(!this.b)for(this.b=gC(Z$(this.a).i),t=new Rn(Z$(this.a));t.e!=t.i.gc();)n=u(Gn(t),157),me(this.b,new QD(n));return this.b},s.b=null,w(gy,"ElkGraphAdapters/ElkEdgeAdapter",553),b(260,551,{},E1),s.Qf=function(){return pJe(this)},s.a=null,w(gy,"ElkGraphAdapters/ElkGraphAdapter",260),b(631,551,{187:1},QD),w(gy,"ElkGraphAdapters/ElkLabelAdapter",631),b(552,551,{685:1},gx),s.Pf=function(){return Jjn(this)},s.Tf=function(){var n;return n=u(he(this.f,(Et(),I5)),140),!n&&(n=new e6),n},s.Vf=function(){return Gjn(this)},s.Xf=function(n){var t;t=new y$(n),Yt(this.f,(Et(),I5),t)},s.Yf=function(n){Yt(this.f,(Et(),_h),new SQ(n))},s.Rf=function(){return this.d},s.Sf=function(){var n,t;if(!this.a)for(this.a=new ve,t=new Mn(In(QR(u(this.f,26)).a.Jc(),new U));zn(t);)n=u($n(t),85),me(this.a,new cM(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=new ve,t=new Mn(In(V1(u(this.f,26)).a.Jc(),new U));zn(t);)n=u($n(t),85),me(this.c,new cM(n));return this.c},s.Wf=function(){return rC(u(this.f,26)).i!=0||Se(Te(u(this.f,26).mf((Et(),nA))))},s.Zf=function(){R6n(this,(Ld(),yfn))},s.a=null,s.b=null,s.c=null,s.d=null,s.e=null,w(gy,"ElkGraphAdapters/ElkNodeAdapter",552),b(1251,551,{837:1},Pje),s.Pf=function(){return Wjn(this)},s.Sf=function(){var n,t;if(!this.a)for(this.a=yh(u(this.f,125).gh().i),t=new Rn(u(this.f,125).gh());t.e!=t.i.gc();)n=u(Gn(t),85),me(this.a,new cM(n));return this.a},s.Uf=function(){var n,t;if(!this.c)for(this.c=yh(u(this.f,125).hh().i),t=new Rn(u(this.f,125).hh());t.e!=t.i.gc();)n=u(Gn(t),85),me(this.c,new cM(n));return this.c},s.$f=function(){return u(u(this.f,125).mf((Et(),Lp)),64)},s._f=function(){var n,t,i,r,c,o,f,l;for(r=ml(u(this.f,125)),i=new Rn(u(this.f,125).hh());i.e!=i.i.gc();)for(n=u(Gn(i),85),l=new Rn((!n.c&&(n.c=new hn(Yn,n,5,8)),n.c));l.e!=l.i.gc();){if(f=u(Gn(l),84),$w(Cc(f),r))return!0;if(Cc(f)==r&&Se(Te(he(n,(Et(),HU)))))return!0}for(t=new Rn(u(this.f,125).gh());t.e!=t.i.gc();)for(n=u(Gn(t),85),o=new Rn((!n.b&&(n.b=new hn(Yn,n,4,7)),n.b));o.e!=o.i.gc();)if(c=u(Gn(o),84),$w(Cc(c),r))return!0;return!1},s.a=null,s.b=null,s.c=null,w(gy,"ElkGraphAdapters/ElkPortAdapter",1251),b(1252,1,xt,O5e),s.Le=function(n,t){return cPn(u(n,125),u(t,125))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},w(gy,"ElkGraphAdapters/PortComparator",1252);var Ed=yi(Js,"EObject"),B5=yi(rp,JVe),As=yi(rp,GVe),pA=yi(rp,HVe),mA=yi(rp,"ElkShape"),Yn=yi(rp,qVe),Xi=yi(rp,pse),bi=yi(rp,zVe),vA=yi(Js,UVe),R8=yi(Js,"EFactory"),jfn,oX=yi(Js,XVe),dl=yi(Js,"EPackage"),wr,Efn,Afn,wwe,qO,Mfn,gwe,pwe,mwe,qh,xfn,Cfn,zc=yi(rp,mse),mt=yi(rp,vse),Xo=yi(rp,yse);b(93,1,KVe),s.qh=function(){return this.rh(),null},s.rh=function(){return null},s.sh=function(){return this.rh(),!1},s.th=function(){return!1},s.uh=function(n){Gt(this,n)},w(o3,"BasicNotifierImpl",93),b(100,93,YVe),s.Vh=function(){return Ko(this)},s.vh=function(n,t){return n},s.wh=function(){throw C(new ht)},s.xh=function(n){var t;return t=tc(u(un(this.Ah(),this.Ch()),19)),this.Mh().Qh(this,t.n,t.f,n)},s.yh=function(n,t){throw C(new ht)},s.zh=function(n,t,i){return gs(this,n,t,i)},s.Ah=function(){var n;return this.wh()&&(n=this.wh().Lk(),n)?n:this.fi()},s.Bh=function(){return WR(this)},s.Ch=function(){throw C(new ht)},s.Dh=function(){var n,t;return t=this.Xh().Mk(),!t&&this.wh().Rk(t=(b6(),n=WY(rh(this.Ah())),n==null?wX:new Hk(this,n))),t},s.Eh=function(n,t){return n},s.Fh=function(n){var t;return t=n.nk(),t?n.Jj():vi(this.Ah(),n)},s.Gh=function(){var n;return n=this.wh(),n?n.Ok():null},s.Hh=function(){return this.wh()?this.wh().Lk():null},s.Ih=function(n,t,i){return $T(this,n,t,i)},s.Jh=function(n){return Pv(this,n)},s.Kh=function(n,t){return NF(this,n,t)},s.Lh=function(){var n;return n=this.wh(),!!n&&n.Pk()},s.Mh=function(){throw C(new ht)},s.Nh=function(){return PT(this)},s.Oh=function(n,t,i,r){return _m(this,n,t,r)},s.Ph=function(n,t,i){var r;return r=u(un(this.Ah(),t),69),r.uk().xk(this,this.ei(),t-this.gi(),n,i)},s.Qh=function(n,t,i,r){return fC(this,n,t,r)},s.Rh=function(n,t,i){var r;return r=u(un(this.Ah(),t),69),r.uk().yk(this,this.ei(),t-this.gi(),n,i)},s.Sh=function(){return!!this.wh()&&!!this.wh().Nk()},s.Th=function(n){return rR(this,n)},s.Uh=function(n){return $Oe(this,n)},s.Wh=function(n){return wXe(this,n)},s.Xh=function(){throw C(new ht)},s.Yh=function(){return this.wh()?this.wh().Nk():null},s.Zh=function(){return PT(this)},s.$h=function(n,t){qR(this,n,t)},s._h=function(n){this.Xh().Qk(n)},s.ai=function(n){this.Xh().Tk(n)},s.bi=function(n){this.Xh().Sk(n)},s.ci=function(n,t){var i,r,c,o;return o=this.Gh(),o&&n&&(t=Xr(o.Cl(),this,t),o.Gl(this)),r=this.Mh(),r&&((s_(this,this.Mh(),this.Ch()).Bb&Vr)!=0?(c=r.Nh(),c&&(n?!o&&c.Gl(this):c.Fl(this))):(t=(i=this.Ch(),i>=0?this.xh(t):this.Mh().Qh(this,-1-i,null,t)),t=this.zh(null,-1,t))),this.ai(n),t},s.di=function(n){var t,i,r,c,o,f,l,h;if(i=this.Ah(),o=vi(i,n),t=this.gi(),o>=t)return u(n,69).uk().Bk(this,this.ei(),o-t);if(o<=-1)if(f=W2((yo(),Or),i,n),f){if(nc(),u(f,69).vk()||(f=Am(vc(Or,f))),c=(r=this.Fh(f),u(r>=0?this.Ih(r,!0,!0):yb(this,f,!0),163)),h=f.Gk(),h>1||h==-1)return u(u(c,219).Ql(n,!1),78)}else throw C(new An(rd+n.ve()+GG));else if(n.Hk())return r=this.Fh(n),u(r>=0?this.Ih(r,!1,!0):yb(this,n,!1),78);return l=new zxe(this,n),l},s.ei=function(){return tee(this)},s.fi=function(){return(O1(),mn).S},s.gi=function(){return Un(this.fi())},s.hi=function(n){JR(this,n)},s.Ib=function(){return Pf(this)},w(kn,"BasicEObjectImpl",100);var Tfn;b(117,100,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1}),s.ii=function(n){var t;return t=iee(this),t[n]},s.ji=function(n,t){var i;i=iee(this),Ni(i,n,t)},s.ki=function(n){var t;t=iee(this),Ni(t,n,null)},s.qh=function(){return u(xn(this,4),129)},s.rh=function(){throw C(new ht)},s.sh=function(){return(this.Db&4)!=0},s.wh=function(){throw C(new ht)},s.li=function(n){Bm(this,2,n)},s.yh=function(n,t){this.Db=t<<16|this.Db&255,this.li(n)},s.Ah=function(){return eo(this)},s.Ch=function(){return this.Db>>16},s.Dh=function(){var n,t;return b6(),t=WY(rh((n=u(xn(this,16),29),n||this.fi()))),t==null?wX:new Hk(this,t)},s.th=function(){return(this.Db&1)==0},s.Gh=function(){return u(xn(this,128),1999)},s.Hh=function(){return u(xn(this,16),29)},s.Lh=function(){return(this.Db&32)!=0},s.Mh=function(){return u(xn(this,2),52)},s.Sh=function(){return(this.Db&64)!=0},s.Xh=function(){throw C(new ht)},s.Yh=function(){return u(xn(this,64),290)},s._h=function(n){Bm(this,16,n)},s.ai=function(n){Bm(this,128,n)},s.bi=function(n){Bm(this,64,n)},s.ei=function(){return Uu(this)},s.Db=0,w(kn,"MinimalEObjectImpl",117),b(118,117,{109:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.li=function(n){this.Cb=n},s.Mh=function(){return this.Cb},w(kn,"MinimalEObjectImpl/Container",118),b(i1,118,{109:1,343:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return mte(this,n,t,i)},s.Rh=function(n,t,i){return uie(this,n,t,i)},s.Th=function(n){return fZ(this,n)},s.$h=function(n,t){tne(this,n,t)},s.fi=function(){return su(),Cfn},s.hi=function(n){zee(this,n)},s.lf=function(){return F_e(this)},s.fh=function(){return!this.o&&(this.o=new mo((su(),qh),b1,this,0)),this.o},s.mf=function(n){return he(this,n)},s.nf=function(n){return nl(this,n)},s.of=function(n,t){return Yt(this,n,t)},w(d0,"EMapPropertyHolderImpl",i1),b(559,118,{109:1,372:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},WA),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return $T(this,n,t,i)},s.Th=function(n){switch(n){case 0:return this.a!=0;case 1:return this.b!=0}return rR(this,n)},s.$h=function(n,t){switch(n){case 0:qC(this,J(H(t)));return;case 1:zC(this,J(H(t)));return}qR(this,n,t)},s.fi=function(){return su(),Efn},s.hi=function(n){switch(n){case 0:qC(this,0);return;case 1:zC(this,0);return}JR(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?Pf(this):(n=new Ys(Pf(this)),n.a+=" (x: ",f2(n,this.a),n.a+=", y: ",f2(n,this.b),n.a+=")",n.a)},s.a=0,s.b=0,w(d0,"ElkBendPointImpl",559),b(727,i1,{109:1,343:1,174:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return Ene(this,n,t,i)},s.Ph=function(n,t,i){return NR(this,n,t,i)},s.Rh=function(n,t,i){return gB(this,n,t,i)},s.Th=function(n){return Ree(this,n)},s.$h=function(n,t){$te(this,n,t)},s.fi=function(){return su(),Mfn},s.hi=function(n){vne(this,n)},s.ih=function(){return this.k},s.jh=function(){return Z$(this)},s.Ib=function(){return _B(this)},s.k=null,w(d0,"ElkGraphElementImpl",727),b(728,727,{109:1,343:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return $ne(this,n,t,i)},s.Th=function(n){return Gne(this,n)},s.$h=function(n,t){Fte(this,n,t)},s.fi=function(){return su(),xfn},s.hi=function(n){Une(this,n)},s.kh=function(){return this.f},s.lh=function(){return this.g},s.mh=function(){return this.i},s.nh=function(){return this.j},s.oh=function(n,t){U0(this,n,t)},s.ph=function(n,t){Ts(this,n,t)},s.Ib=function(){return RR(this)},s.f=0,s.g=0,s.i=0,s.j=0,w(d0,"ElkShapeImpl",728),b(729,728,{109:1,343:1,84:1,174:1,276:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1}),s.Ih=function(n,t,i){return ate(this,n,t,i)},s.Ph=function(n,t,i){return Ite(this,n,t,i)},s.Rh=function(n,t,i){return Pte(this,n,t,i)},s.Th=function(n){return nne(this,n)},s.$h=function(n,t){qie(this,n,t)},s.fi=function(){return su(),Afn},s.hi=function(n){ote(this,n)},s.gh=function(){return!this.d&&(this.d=new hn(Xi,this,8,5)),this.d},s.hh=function(){return!this.e&&(this.e=new hn(Xi,this,7,4)),this.e},w(d0,"ElkConnectableShapeImpl",729),b(271,727,{109:1,343:1,85:1,174:1,271:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},yD),s.xh=function(n){return Cte(this,n)},s.Ih=function(n,t,i){switch(n){case 3:return Tw(this);case 4:return!this.b&&(this.b=new hn(Yn,this,4,7)),this.b;case 5:return!this.c&&(this.c=new hn(Yn,this,5,8)),this.c;case 6:return!this.a&&(this.a=new ue(bi,this,6,6)),this.a;case 7:return gn(),!this.b&&(this.b=new hn(Yn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new hn(Yn,this,5,8)),this.c.i<=1));case 8:return gn(),!!$9(this);case 9:return gn(),!!vb(this);case 10:return gn(),!this.b&&(this.b=new hn(Yn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new hn(Yn,this,5,8)),this.c.i!=0)}return Ene(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 3:return this.Cb&&(i=(r=this.Db>>16,r>=0?Cte(this,i):this.Cb.Qh(this,-1-r,null,i))),oQ(this,u(n,26),i);case 4:return!this.b&&(this.b=new hn(Yn,this,4,7)),_u(this.b,n,i);case 5:return!this.c&&(this.c=new hn(Yn,this,5,8)),_u(this.c,n,i);case 6:return!this.a&&(this.a=new ue(bi,this,6,6)),_u(this.a,n,i)}return NR(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 3:return oQ(this,null,i);case 4:return!this.b&&(this.b=new hn(Yn,this,4,7)),Xr(this.b,n,i);case 5:return!this.c&&(this.c=new hn(Yn,this,5,8)),Xr(this.c,n,i);case 6:return!this.a&&(this.a=new ue(bi,this,6,6)),Xr(this.a,n,i)}return gB(this,n,t,i)},s.Th=function(n){switch(n){case 3:return!!Tw(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new hn(Yn,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new hn(Yn,this,5,8)),this.c.i<=1));case 8:return $9(this);case 9:return vb(this);case 10:return!this.b&&(this.b=new hn(Yn,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new hn(Yn,this,5,8)),this.c.i!=0)}return Ree(this,n)},s.$h=function(n,t){switch(n){case 3:sS(this,u(t,26));return;case 4:!this.b&&(this.b=new hn(Yn,this,4,7)),nt(this.b),!this.b&&(this.b=new hn(Yn,this,4,7)),Ii(this.b,u(t,18));return;case 5:!this.c&&(this.c=new hn(Yn,this,5,8)),nt(this.c),!this.c&&(this.c=new hn(Yn,this,5,8)),Ii(this.c,u(t,18));return;case 6:!this.a&&(this.a=new ue(bi,this,6,6)),nt(this.a),!this.a&&(this.a=new ue(bi,this,6,6)),Ii(this.a,u(t,18));return}$te(this,n,t)},s.fi=function(){return su(),wwe},s.hi=function(n){switch(n){case 3:sS(this,null);return;case 4:!this.b&&(this.b=new hn(Yn,this,4,7)),nt(this.b);return;case 5:!this.c&&(this.c=new hn(Yn,this,5,8)),nt(this.c);return;case 6:!this.a&&(this.a=new ue(bi,this,6,6)),nt(this.a);return}vne(this,n)},s.Ib=function(){return $Ue(this)},w(d0,"ElkEdgeImpl",271),b(443,i1,{109:1,343:1,170:1,443:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},VA),s.xh=function(n){return Ete(this,n)},s.Ih=function(n,t,i){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new Wi(As,this,5)),this.a;case 6:return LOe(this);case 7:return t?fR(this):this.i;case 8:return t?sR(this):this.f;case 9:return!this.g&&(this.g=new hn(bi,this,9,10)),this.g;case 10:return!this.e&&(this.e=new hn(bi,this,10,9)),this.e;case 11:return this.d}return mte(this,n,t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?Ete(this,i):this.Cb.Qh(this,-1-c,null,i))),sQ(this,u(n,85),i);case 9:return!this.g&&(this.g=new hn(bi,this,9,10)),_u(this.g,n,i);case 10:return!this.e&&(this.e=new hn(bi,this,10,9)),_u(this.e,n,i)}return o=u(un((r=u(xn(this,16),29),r||(su(),qO)),t),69),o.uk().xk(this,Uu(this),t-Un((su(),qO)),n,i)},s.Rh=function(n,t,i){switch(t){case 5:return!this.a&&(this.a=new Wi(As,this,5)),Xr(this.a,n,i);case 6:return sQ(this,null,i);case 9:return!this.g&&(this.g=new hn(bi,this,9,10)),Xr(this.g,n,i);case 10:return!this.e&&(this.e=new hn(bi,this,10,9)),Xr(this.e,n,i)}return uie(this,n,t,i)},s.Th=function(n){switch(n){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!LOe(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return fZ(this,n)},s.$h=function(n,t){switch(n){case 1:N2(this,J(H(t)));return;case 2:D2(this,J(H(t)));return;case 3:P2(this,J(H(t)));return;case 4:O2(this,J(H(t)));return;case 5:!this.a&&(this.a=new Wi(As,this,5)),nt(this.a),!this.a&&(this.a=new Wi(As,this,5)),Ii(this.a,u(t,18));return;case 6:Dqe(this,u(t,85));return;case 7:YC(this,u(t,84));return;case 8:QC(this,u(t,84));return;case 9:!this.g&&(this.g=new hn(bi,this,9,10)),nt(this.g),!this.g&&(this.g=new hn(bi,this,9,10)),Ii(this.g,u(t,18));return;case 10:!this.e&&(this.e=new hn(bi,this,10,9)),nt(this.e),!this.e&&(this.e=new hn(bi,this,10,9)),Ii(this.e,u(t,18));return;case 11:Tee(this,dt(t));return}tne(this,n,t)},s.fi=function(){return su(),qO},s.hi=function(n){switch(n){case 1:N2(this,0);return;case 2:D2(this,0);return;case 3:P2(this,0);return;case 4:O2(this,0);return;case 5:!this.a&&(this.a=new Wi(As,this,5)),nt(this.a);return;case 6:Dqe(this,null);return;case 7:YC(this,null);return;case 8:QC(this,null);return;case 9:!this.g&&(this.g=new hn(bi,this,9,10)),nt(this.g);return;case 10:!this.e&&(this.e=new hn(bi,this,10,9)),nt(this.e);return;case 11:Tee(this,null);return}zee(this,n)},s.Ib=function(){return UHe(this)},s.b=0,s.c=0,s.d=null,s.j=0,s.k=0,w(d0,"ElkEdgeSectionImpl",443),b(161,118,{109:1,94:1,93:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Ih=function(n,t,i){var r;return n==0?(!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab):Os(this,n-Un(this.fi()),un((r=u(xn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i)):(c=u(un((r=u(xn(this,16),29),r||this.fi()),t),69),c.uk().xk(this,Uu(this),t-Un(this.fi()),n,i))},s.Rh=function(n,t,i){var r,c;return t==0?(!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i)):(c=u(un((r=u(xn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Uu(this),t-Un(this.fi()),n,i))},s.Th=function(n){var t;return n==0?!!this.Ab&&this.Ab.i!=0:Ps(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.Wh=function(n){return fce(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return}Bs(this,n-Un(this.fi()),un((i=u(xn(this,16),29),i||this.fi()),n),t)},s.ai=function(n){Bm(this,128,n)},s.fi=function(){return nn(),Ufn},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return}Fs(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.mi=function(){this.Bb|=1},s.ni=function(n){return H9(this,n)},s.Bb=0,w(kn,"EModelElementImpl",161),b(710,161,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},sK),s.oi=function(n,t){return sXe(this,n,t)},s.pi=function(n){var t,i,r,c,o;if(this.a!=hs(n)||(n.Bb&256)!=0)throw C(new An(qG+n.zb+Nb));for(r=xc(n);bu(r.a).i!=0;){if(i=u(Cj(r,0,(t=u(B(bu(r.a),0),87),o=t.c,F(o,88)?u(o,29):(nn(),gf))),29),pb(i))return c=hs(i).ti().pi(i),u(c,52)._h(n),c;r=xc(i)}return(n.D!=null?n.D:n.B)=="java.util.Map$Entry"?new dIe(n):new KQ(n)},s.qi=function(n,t){return Ab(this,n,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.a}return Os(this,n-Un((nn(),xd)),un((r=u(xn(this,16),29),r||xd),n),t,i)},s.Ph=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i);case 1:return this.a&&(i=u(this.a,52).Qh(this,4,dl,i)),pne(this,u(n,241),i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),xd)),t),69),c.uk().xk(this,Uu(this),t-Un((nn(),xd)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 1:return pne(this,null,i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),xd)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),xd)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return Ps(this,n-Un((nn(),xd)),un((t=u(xn(this,16),29),t||xd),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:jGe(this,u(t,241));return}Bs(this,n-Un((nn(),xd)),un((i=u(xn(this,16),29),i||xd),n),t)},s.fi=function(){return nn(),xd},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:jGe(this,null);return}Fs(this,n-Un((nn(),xd)),un((t=u(xn(this,16),29),t||xd),n))};var _8,vwe,Sfn;w(kn,"EFactoryImpl",710),b(1019,710,{109:1,2078:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1},D5e),s.oi=function(n,t){switch(n.fk()){case 12:return u(t,147).Og();case 13:return Oc(t);default:throw C(new An(K4+n.ve()+Nb))}},s.pi=function(n){var t,i,r,c,o,f,l,h;switch(n.G==-1&&(n.G=(t=hs(n),t?Qa(t.si(),n):-1)),n.G){case 4:return o=new iK,o;case 6:return f=new n6,f;case 7:return l=new eW,l;case 8:return r=new yD,r;case 9:return i=new WA,i;case 10:return c=new VA,c;case 11:return h=new L5e,h;default:throw C(new An(qG+n.zb+Nb))}},s.qi=function(n,t){switch(n.fk()){case 13:case 12:return null;default:throw C(new An(K4+n.ve()+Nb))}},w(d0,"ElkGraphFactoryImpl",1019),b(439,161,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1}),s.Dh=function(){var n,t;return t=(n=u(xn(this,16),29),WY(rh(n||this.fi()))),t==null?(b6(),b6(),wX):new NTe(this,t)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.ve()}return Os(this,n-Un(this.fi()),un((r=u(xn(this,16),29),r||this.fi()),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return Ps(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:this.ri(dt(t));return}Bs(this,n-Un(this.fi()),un((i=u(xn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return nn(),Xfn},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:this.ri(null);return}Fs(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.ve=function(){return this.zb},s.ri=function(n){Ru(this,n)},s.Ib=function(){return p9(this)},s.zb=null,w(kn,"ENamedElementImpl",439),b(184,439,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},sOe),s.xh=function(n){return NJe(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new Aw(this,bl,this)),this.rb;case 6:return!this.vb&&(this.vb=new am(dl,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?u(this.Cb,241):null:GOe(this)}return Os(this,n-Un((nn(),m1)),un((r=u(xn(this,16),29),r||m1),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i);case 4:return this.sb&&(i=u(this.sb,52).Qh(this,1,R8,i)),kne(this,u(n,469),i);case 5:return!this.rb&&(this.rb=new Aw(this,bl,this)),_u(this.rb,n,i);case 6:return!this.vb&&(this.vb=new am(dl,this,6,7)),_u(this.vb,n,i);case 7:return this.Cb&&(i=(c=this.Db>>16,c>=0?NJe(this,i):this.Cb.Qh(this,-1-c,null,i))),gs(this,n,7,i)}return o=u(un((r=u(xn(this,16),29),r||(nn(),m1)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),m1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 4:return kne(this,null,i);case 5:return!this.rb&&(this.rb=new Aw(this,bl,this)),Xr(this.rb,n,i);case 6:return!this.vb&&(this.vb=new am(dl,this,6,7)),Xr(this.vb,n,i);case 7:return gs(this,null,7,i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),m1)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),m1)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!GOe(this)}return Ps(this,n-Un((nn(),m1)),un((t=u(xn(this,16),29),t||m1),n))},s.Wh=function(n){var t;return t=ESn(this,n),t||fce(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:Ru(this,dt(t));return;case 2:rT(this,dt(t));return;case 3:iT(this,dt(t));return;case 4:BR(this,u(t,469));return;case 5:!this.rb&&(this.rb=new Aw(this,bl,this)),nt(this.rb),!this.rb&&(this.rb=new Aw(this,bl,this)),Ii(this.rb,u(t,18));return;case 6:!this.vb&&(this.vb=new am(dl,this,6,7)),nt(this.vb),!this.vb&&(this.vb=new am(dl,this,6,7)),Ii(this.vb,u(t,18));return}Bs(this,n-Un((nn(),m1)),un((i=u(xn(this,16),29),i||m1),n),t)},s.bi=function(n){var t,i;if(n&&this.rb)for(i=new Rn(this.rb);i.e!=i.i.gc();)t=Gn(i),F(t,360)&&(u(t,360).w=null);Bm(this,64,n)},s.fi=function(){return nn(),m1},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:Ru(this,null);return;case 2:rT(this,null);return;case 3:iT(this,null);return;case 4:BR(this,null);return;case 5:!this.rb&&(this.rb=new Aw(this,bl,this)),nt(this.rb);return;case 6:!this.vb&&(this.vb=new am(dl,this,6,7)),nt(this.vb);return}Fs(this,n-Un((nn(),m1)),un((t=u(xn(this,16),29),t||m1),n))},s.mi=function(){jR(this)},s.si=function(){return!this.rb&&(this.rb=new Aw(this,bl,this)),this.rb},s.ti=function(){return this.sb},s.ui=function(){return this.ub},s.vi=function(){return this.xb},s.wi=function(){return this.yb},s.xi=function(n){this.ub=n},s.Ib=function(){var n;return(this.Db&64)!=0?p9(this):(n=new Ys(p9(this)),n.a+=" (nsURI: ",ac(n,this.yb),n.a+=", nsPrefix: ",ac(n,this.xb),n.a+=")",n.a)},s.xb=null,s.yb=null,w(kn,"EPackageImpl",184),b(556,184,{109:1,2080:1,556:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1},eqe),s.q=!1,s.r=!1;var Ifn=!1;w(d0,"ElkGraphPackageImpl",556),b(362,728,{109:1,343:1,174:1,157:1,276:1,362:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},iK),s.xh=function(n){return Ate(this,n)},s.Ih=function(n,t,i){switch(n){case 7:return eZ(this);case 8:return this.a}return $ne(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 7:return this.Cb&&(i=(r=this.Db>>16,r>=0?Ate(this,i):this.Cb.Qh(this,-1-r,null,i))),uY(this,u(n,174),i)}return NR(this,n,t,i)},s.Rh=function(n,t,i){return t==7?uY(this,null,i):gB(this,n,t,i)},s.Th=function(n){switch(n){case 7:return!!eZ(this);case 8:return!Ke("",this.a)}return Gne(this,n)},s.$h=function(n,t){switch(n){case 7:ore(this,u(t,174));return;case 8:Mee(this,dt(t));return}Fte(this,n,t)},s.fi=function(){return su(),gwe},s.hi=function(n){switch(n){case 7:ore(this,null);return;case 8:Mee(this,"");return}Une(this,n)},s.Ib=function(){return JGe(this)},s.a="",w(d0,"ElkLabelImpl",362),b(206,729,{109:1,343:1,84:1,174:1,26:1,276:1,206:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},n6),s.xh=function(n){return Tte(this,n)},s.Ih=function(n,t,i){switch(n){case 9:return!this.c&&(this.c=new ue(Xo,this,9,9)),this.c;case 10:return!this.a&&(this.a=new ue(mt,this,10,11)),this.a;case 11:return pi(this);case 12:return!this.b&&(this.b=new ue(Xi,this,12,3)),this.b;case 13:return gn(),!this.a&&(this.a=new ue(mt,this,10,11)),this.a.i>0}return ate(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 9:return!this.c&&(this.c=new ue(Xo,this,9,9)),_u(this.c,n,i);case 10:return!this.a&&(this.a=new ue(mt,this,10,11)),_u(this.a,n,i);case 11:return this.Cb&&(i=(r=this.Db>>16,r>=0?Tte(this,i):this.Cb.Qh(this,-1-r,null,i))),mQ(this,u(n,26),i);case 12:return!this.b&&(this.b=new ue(Xi,this,12,3)),_u(this.b,n,i)}return Ite(this,n,t,i)},s.Rh=function(n,t,i){switch(t){case 9:return!this.c&&(this.c=new ue(Xo,this,9,9)),Xr(this.c,n,i);case 10:return!this.a&&(this.a=new ue(mt,this,10,11)),Xr(this.a,n,i);case 11:return mQ(this,null,i);case 12:return!this.b&&(this.b=new ue(Xi,this,12,3)),Xr(this.b,n,i)}return Pte(this,n,t,i)},s.Th=function(n){switch(n){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!pi(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new ue(mt,this,10,11)),this.a.i>0}return nne(this,n)},s.$h=function(n,t){switch(n){case 9:!this.c&&(this.c=new ue(Xo,this,9,9)),nt(this.c),!this.c&&(this.c=new ue(Xo,this,9,9)),Ii(this.c,u(t,18));return;case 10:!this.a&&(this.a=new ue(mt,this,10,11)),nt(this.a),!this.a&&(this.a=new ue(mt,this,10,11)),Ii(this.a,u(t,18));return;case 11:fS(this,u(t,26));return;case 12:!this.b&&(this.b=new ue(Xi,this,12,3)),nt(this.b),!this.b&&(this.b=new ue(Xi,this,12,3)),Ii(this.b,u(t,18));return}qie(this,n,t)},s.fi=function(){return su(),pwe},s.hi=function(n){switch(n){case 9:!this.c&&(this.c=new ue(Xo,this,9,9)),nt(this.c);return;case 10:!this.a&&(this.a=new ue(mt,this,10,11)),nt(this.a);return;case 11:fS(this,null);return;case 12:!this.b&&(this.b=new ue(Xi,this,12,3)),nt(this.b);return}ote(this,n)},s.Ib=function(){return Ere(this)},w(d0,"ElkNodeImpl",206),b(193,729,{109:1,343:1,84:1,174:1,125:1,276:1,193:1,105:1,94:1,93:1,57:1,114:1,52:1,100:1,117:1,118:1},eW),s.xh=function(n){return Mte(this,n)},s.Ih=function(n,t,i){return n==9?ml(this):ate(this,n,t,i)},s.Ph=function(n,t,i){var r;switch(t){case 9:return this.Cb&&(i=(r=this.Db>>16,r>=0?Mte(this,i):this.Cb.Qh(this,-1-r,null,i))),fQ(this,u(n,26),i)}return Ite(this,n,t,i)},s.Rh=function(n,t,i){return t==9?fQ(this,null,i):Pte(this,n,t,i)},s.Th=function(n){return n==9?!!ml(this):nne(this,n)},s.$h=function(n,t){switch(n){case 9:tre(this,u(t,26));return}qie(this,n,t)},s.fi=function(){return su(),mwe},s.hi=function(n){switch(n){case 9:tre(this,null);return}ote(this,n)},s.Ib=function(){return Oze(this)},w(d0,"ElkPortImpl",193);var Pfn=yi(Kr,"BasicEMap/Entry");b(1092,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,117:1,118:1},L5e),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.Hb=function(){return W0(this)},s.Ai=function(n){xee(this,u(n,147))},s.Ih=function(n,t,i){switch(n){case 0:return this.b;case 1:return this.c}return $T(this,n,t,i)},s.Th=function(n){switch(n){case 0:return!!this.b;case 1:return this.c!=null}return rR(this,n)},s.$h=function(n,t){switch(n){case 0:xee(this,u(t,147));return;case 1:jee(this,t);return}qR(this,n,t)},s.fi=function(){return su(),qh},s.hi=function(n){switch(n){case 0:xee(this,null);return;case 1:jee(this,null);return}JR(this,n)},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n?si(n):0),this.a},s.kd=function(){return this.c},s.zi=function(n){this.a=n},s.ld=function(n){var t;return t=this.c,jee(this,n),t},s.Ib=function(){var n;return(this.Db&64)!=0?Pf(this):(n=new A1,At(At(At(n,this.b?this.b.Og():co),MJ),D6(this.c)),n.a)},s.a=-1,s.c=null;var b1=w(d0,"ElkPropertyToValueMapEntryImpl",1092);b(981,1,{},$5e),w(Sr,"JsonAdapter",981),b(215,63,ba,Ul),w(Sr,"JsonImportException",215),b(851,1,{},WHe),w(Sr,"JsonImporter",851),b(885,1,{},Cxe),s.Bi=function(n){HJe(this.a,this.b,u(n,139))},w(Sr,"JsonImporter/lambda$0$Type",885),b(886,1,{},Txe),s.Bi=function(n){xHe(this.a,this.b,u(n,139))},w(Sr,"JsonImporter/lambda$1$Type",886),b(894,1,{},rje),s.Bi=function(n){RPe(this.a,u(n,149))},w(Sr,"JsonImporter/lambda$10$Type",894),b(896,1,{},Sxe),s.Bi=function(n){dHe(this.a,this.b,u(n,139))},w(Sr,"JsonImporter/lambda$11$Type",896),b(897,1,{},Ixe),s.Bi=function(n){bHe(this.a,this.b,u(n,139))},w(Sr,"JsonImporter/lambda$12$Type",897),b(903,1,{},WPe),s.Bi=function(n){FGe(this.a,this.b,this.c,this.d,u(n,139))},w(Sr,"JsonImporter/lambda$13$Type",903),b(902,1,{},VPe),s.Bi=function(n){Zze(this.a,this.b,this.c,this.d,u(n,149))},w(Sr,"JsonImporter/lambda$14$Type",902),b(898,1,{},Pxe),s.Bi=function(n){hSe(this.a,this.b,dt(n))},w(Sr,"JsonImporter/lambda$15$Type",898),b(899,1,{},Oxe),s.Bi=function(n){aSe(this.a,this.b,dt(n))},w(Sr,"JsonImporter/lambda$16$Type",899),b(900,1,{},Nxe),s.Bi=function(n){AJe(this.b,this.a,u(n,139))},w(Sr,"JsonImporter/lambda$17$Type",900),b(901,1,{},Dxe),s.Bi=function(n){MJe(this.b,this.a,u(n,139))},w(Sr,"JsonImporter/lambda$18$Type",901),b(906,1,{},cje),s.Bi=function(n){TGe(this.a,u(n,149))},w(Sr,"JsonImporter/lambda$19$Type",906),b(887,1,{},uje),s.Bi=function(n){$Je(this.a,u(n,139))},w(Sr,"JsonImporter/lambda$2$Type",887),b(904,1,{},oje),s.Bi=function(n){N2(this.a,J(H(n)))},w(Sr,"JsonImporter/lambda$20$Type",904),b(905,1,{},sje),s.Bi=function(n){D2(this.a,J(H(n)))},w(Sr,"JsonImporter/lambda$21$Type",905),b(909,1,{},fje),s.Bi=function(n){CGe(this.a,u(n,149))},w(Sr,"JsonImporter/lambda$22$Type",909),b(907,1,{},lje),s.Bi=function(n){P2(this.a,J(H(n)))},w(Sr,"JsonImporter/lambda$23$Type",907),b(908,1,{},hje),s.Bi=function(n){O2(this.a,J(H(n)))},w(Sr,"JsonImporter/lambda$24$Type",908),b(911,1,{},aje),s.Bi=function(n){eGe(this.a,u(n,139))},w(Sr,"JsonImporter/lambda$25$Type",911),b(910,1,{},dje),s.Bi=function(n){_Pe(this.a,u(n,149))},w(Sr,"JsonImporter/lambda$26$Type",910),b(912,1,Fn,Lxe),s.Ad=function(n){j6n(this.b,this.a,dt(n))},w(Sr,"JsonImporter/lambda$27$Type",912),b(913,1,Fn,$xe),s.Ad=function(n){E6n(this.b,this.a,dt(n))},w(Sr,"JsonImporter/lambda$28$Type",913),b(914,1,{},Fxe),s.Bi=function(n){sqe(this.a,this.b,u(n,139))},w(Sr,"JsonImporter/lambda$29$Type",914),b(890,1,{},bje),s.Bi=function(n){YRe(this.a,u(n,149))},w(Sr,"JsonImporter/lambda$3$Type",890),b(915,1,{},Bxe),s.Bi=function(n){Iqe(this.a,this.b,u(n,139))},w(Sr,"JsonImporter/lambda$30$Type",915),b(916,1,{},wje),s.Bi=function(n){m$e(this.a,H(n))},w(Sr,"JsonImporter/lambda$31$Type",916),b(917,1,{},gje),s.Bi=function(n){k$e(this.a,H(n))},w(Sr,"JsonImporter/lambda$32$Type",917),b(918,1,{},pje),s.Bi=function(n){v$e(this.a,H(n))},w(Sr,"JsonImporter/lambda$33$Type",918),b(919,1,{},mje),s.Bi=function(n){y$e(this.a,H(n))},w(Sr,"JsonImporter/lambda$34$Type",919),b(920,1,{},vje),s.Bi=function(n){yMn(this.a,u(n,57))},w(Sr,"JsonImporter/lambda$35$Type",920),b(921,1,{},yje),s.Bi=function(n){kMn(this.a,u(n,57))},w(Sr,"JsonImporter/lambda$36$Type",921),b(925,1,{},KPe),w(Sr,"JsonImporter/lambda$37$Type",925),b(922,1,Fn,BSe),s.Ad=function(n){V9n(this.a,this.c,this.b,u(n,372))},w(Sr,"JsonImporter/lambda$38$Type",922),b(923,1,Fn,Rxe),s.Ad=function(n){L0n(this.a,this.b,u(n,170))},w(Sr,"JsonImporter/lambda$39$Type",923),b(888,1,{},kje),s.Bi=function(n){N2(this.a,J(H(n)))},w(Sr,"JsonImporter/lambda$4$Type",888),b(924,1,Fn,_xe),s.Ad=function(n){$0n(this.a,this.b,u(n,170))},w(Sr,"JsonImporter/lambda$40$Type",924),b(926,1,Fn,RSe),s.Ad=function(n){Q9n(this.a,this.b,this.c,u(n,8))},w(Sr,"JsonImporter/lambda$41$Type",926),b(889,1,{},jje),s.Bi=function(n){D2(this.a,J(H(n)))},w(Sr,"JsonImporter/lambda$5$Type",889),b(893,1,{},Eje),s.Bi=function(n){ZRe(this.a,u(n,149))},w(Sr,"JsonImporter/lambda$6$Type",893),b(891,1,{},Aje),s.Bi=function(n){P2(this.a,J(H(n)))},w(Sr,"JsonImporter/lambda$7$Type",891),b(892,1,{},Mje),s.Bi=function(n){O2(this.a,J(H(n)))},w(Sr,"JsonImporter/lambda$8$Type",892),b(895,1,{},xje),s.Bi=function(n){nGe(this.a,u(n,139))},w(Sr,"JsonImporter/lambda$9$Type",895),b(945,1,Fn,Cje),s.Ad=function(n){ym(this.a,new xw(dt(n)))},w(Sr,"JsonMetaDataConverter/lambda$0$Type",945),b(946,1,Fn,Tje),s.Ad=function(n){Imn(this.a,u(n,244))},w(Sr,"JsonMetaDataConverter/lambda$1$Type",946),b(947,1,Fn,Sje),s.Ad=function(n){Evn(this.a,u(n,144))},w(Sr,"JsonMetaDataConverter/lambda$2$Type",947),b(948,1,Fn,Ije),s.Ad=function(n){Pmn(this.a,u(n,160))},w(Sr,"JsonMetaDataConverter/lambda$3$Type",948),b(244,24,{3:1,35:1,24:1,244:1},cm);var zO,UO,sX,XO,KO,WO,fX,lX,VO=Zn(Hj,"GraphFeature",244,ut,n9n,fpn),Ofn;b(11,1,{35:1,147:1},Vt,di,qe,Cr),s.Dd=function(n){return Fbn(this,u(n,147))},s.Fb=function(n){return yOe(this,n)},s.Rg=function(){return Ae(this)},s.Og=function(){return this.b},s.Hb=function(){return Ua(this.b)},s.Ib=function(){return this.b},w(Hj,"Property",11),b(657,1,xt,LD),s.Le=function(n,t){return wkn(this,u(n,105),u(t,105))},s.Fb=function(n){return this===n},s.Me=function(){return new yt(this)},w(Hj,"PropertyHolderComparator",657),b(698,1,kr,RK),s.Nb=function(n){Ir(this,n)},s.Pb=function(){return M6n(this)},s.Qb=function(){MAe()},s.Ob=function(){return!!this.a},w(vI,"ElkGraphUtil/AncestorIterator",698);var ywe=yi(Kr,"EList");b(71,56,{20:1,31:1,56:1,18:1,16:1,71:1,61:1}),s._c=function(n,t){y9(this,n,t)},s.Ec=function(n){return it(this,n)},s.ad=function(n,t){return Xee(this,n,t)},s.Fc=function(n){return Ii(this,n)},s.Gi=function(){return new hm(this)},s.Hi=function(){return new qk(this)},s.Ii=function(n){return D7(this,n)},s.Ji=function(){return!0},s.Ki=function(n,t){},s.Li=function(){},s.Mi=function(n,t){FF(this,n,t)},s.Ni=function(n,t,i){},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Fb=function(n){return wze(this,n)},s.Hb=function(){return Hee(this)},s.Qi=function(){return!1},s.Jc=function(){return new Rn(this)},s.cd=function(){return new lm(this)},s.dd=function(n){var t;if(t=this.gc(),n<0||n>t)throw C(new yw(n,t));return new q$(this,n)},s.Si=function(n,t){this.Ri(n,this.bd(t))},s.Kc=function(n){return BC(this,n)},s.Ui=function(n,t){return t},s.fd=function(n,t){return _2(this,n,t)},s.Ib=function(){return _ne(this)},s.Wi=function(){return!0},s.Xi=function(n,t){return Uv(this,t)},w(Kr,"AbstractEList",71),b(67,71,ah,QA,ob,$ee),s.Ci=function(n,t){return DR(this,n,t)},s.Di=function(n){return cJe(this,n)},s.Ei=function(n,t){X7(this,n,t)},s.Fi=function(n){m7(this,n)},s.Yi=function(n){return VZ(this,n)},s.$b=function(){t9(this)},s.Gc=function(n){return s4(this,n)},s.Xb=function(n){return B(this,n)},s.Zi=function(n){var t,i,r;++this.j,i=this.g==null?0:this.g.length,n>i&&(r=this.g,t=i+(i/2|0)+4,t<n&&(t=n),this.g=this.$i(t),r!=null&&pu(r,0,this.g,0,this.i))},s.bd=function(n){return TJe(this,n)},s.dc=function(){return this.i==0},s.Ri=function(n,t){return XR(this,n,t)},s.$i=function(n){return W(ir,ln,1,n,5,1)},s.Ti=function(n){return this.g[n]},s.ed=function(n){return Jm(this,n)},s.Vi=function(n,t){return XF(this,n,t)},s.gc=function(){return this.i},s.Nc=function(){return vZ(this)},s.Oc=function(n){return Xne(this,n)},s.i=0;var kwe=w(Kr,"BasicEList",67),jwe=yi(Kr,"TreeIterator");b(697,67,nH),s.Nb=function(n){Ir(this,n)},s.Ob=function(){return this.g==null&&!this.c?ZY(this):this.g==null||this.i!=0&&u(this.g[this.i-1],50).Ob()},s.Pb=function(){return cS(this)},s.Qb=function(){if(!this.e)throw C(new gc("There is no valid object to remove."));this.e.Qb()},s.c=!1,w(Kr,"AbstractTreeIterator",697),b(605,697,nH,VL),s._i=function(n){var t;return t=u(n,57).Dh().Jc(),F(t,287)&&u(t,287).ul(new F5e),t},w(vI,"ElkGraphUtil/PropertiesSkippingTreeIterator",605),b(949,1,{},F5e),w(vI,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",949);var yA,hX,kA=w(vI,"ElkReflect",null);b(883,1,dg,B5e),s.Qg=function(n){return dC(),s4n(u(n,182))},w(vI,"ElkReflect/lambda$0$Type",883);var O0;yi(Kr,"ResourceLocator"),b(1046,1,{}),w(Kr,"DelegatingResourceLocator",1046),b(1047,1046,{}),w("org.eclipse.emf.common","EMFPlugin",1047);var aX=yi($Qe,"Adapter"),BFn=yi($Qe,"Notification");b(1144,1,Lse),s.aj=function(){return this.d},s.bj=function(n){},s.cj=function(n){this.d=n},s.dj=function(n){this.d==n&&(this.d=null)},s.d=null,w(o3,"AdapterImpl",1144),b(2058,71,FQe),s.Ci=function(n,t){return qne(this,n,t)},s.Di=function(n){var t,i,r;if(++this.j,n.dc())return!1;for(t=this.Cj(),r=n.Jc();r.Ob();)i=r.Pb(),this.pj(this.Xi(t,i)),++t;return!0},s.Ei=function(n,t){UTe(this,n,t)},s.Fi=function(n){mPe(this,n)},s.nj=function(){return this.qj()},s.$b=function(){Xk(this,this.Cj(),this.Dj())},s.Gc=function(n){return this.sj(n)},s.Hc=function(n){return this.tj(n)},s.oj=function(n,t){this.zj().Sm()},s.pj=function(n){this.zj().Sm()},s.qj=function(){return this.zj()},s.rj=function(){this.zj().Sm()},s.sj=function(n){return this.zj().Sm()},s.tj=function(n){return this.zj().Sm()},s.uj=function(n){return this.zj().Sm()},s.vj=function(n){return this.zj().Sm()},s.wj=function(){return this.zj().Sm()},s.xj=function(n){return this.zj().Sm()},s.yj=function(){return this.zj().Sm()},s.Aj=function(n){return this.zj().Sm()},s.Bj=function(n,t){return this.zj().Sm()},s.Cj=function(){return this.zj().Sm()},s.Dj=function(){return this.zj().Sm()},s.Ej=function(n){return this.zj().Sm()},s.Fj=function(){return this.zj().Sm()},s.Fb=function(n){return this.uj(n)},s.Xb=function(n){return this.Ui(n,this.vj(n))},s.Hb=function(){return this.wj()},s.bd=function(n){return this.xj(n)},s.dc=function(){return this.yj()},s.Ri=function(n,t){return iie(this,n,t)},s.Ti=function(n){return this.vj(n)},s.ed=function(n){return Px(this,n)},s.Kc=function(n){var t;return t=this.bd(n),t>=0?(this.ed(t),!0):!1},s.Vi=function(n,t){return this.Bj(n,this.Xi(n,t))},s.gc=function(){return this.Cj()},s.Nc=function(){return this.Dj()},s.Oc=function(n){return this.Ej(n)},s.Ib=function(){return this.Fj()},w(Kr,"DelegatingEList",2058),b(2059,2058,FQe),s.Ci=function(n,t){return Fre(this,n,t)},s.Di=function(n){return this.Ci(this.Cj(),n)},s.Ei=function(n,t){nqe(this,n,t)},s.Fi=function(n){qHe(this,n)},s.Ji=function(){return!this.Kj()},s.$b=function(){W9(this)},s.Gj=function(n,t,i,r,c){return new mOe(this,n,t,i,r,c)},s.Hj=function(n){Gt(this.hj(),n)},s.Ij=function(){return null},s.Jj=function(){return-1},s.hj=function(){return null},s.Kj=function(){return!1},s.Lj=function(n,t){return t},s.Mj=function(n,t){return t},s.Nj=function(){return!1},s.Oj=function(){return!this.yj()},s.Ri=function(n,t){var i,r;return this.Nj()?(r=this.Oj(),i=iie(this,n,t),this.Hj(this.Gj(7,fe(t),i,n,r)),i):iie(this,n,t)},s.ed=function(n){var t,i,r,c;return this.Nj()?(i=null,r=this.Oj(),t=this.Gj(4,c=Px(this,n),null,n,r),this.Kj()&&c?(i=this.Mj(c,i),i?(i.lj(t),i.mj()):this.Hj(t)):i?(i.lj(t),i.mj()):this.Hj(t),c):(c=Px(this,n),this.Kj()&&c&&(i=this.Mj(c,null),i&&i.mj()),c)},s.Vi=function(n,t){return hUe(this,n,t)},w(o3,"DelegatingNotifyingListImpl",2059),b(151,1,uE),s.lj=function(n){return Gte(this,n)},s.mj=function(){HF(this)},s.ej=function(){return this.d},s.Ij=function(){return null},s.Pj=function(){return null},s.fj=function(n){return-1},s.gj=function(){return Vqe(this)},s.hj=function(){return null},s.ij=function(){return are(this)},s.jj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},s.Qj=function(){return!1},s.kj=function(n){var t,i,r,c,o,f,l,h,a,d,g;switch(this.d){case 1:case 2:switch(c=n.ej(),c){case 1:case 2:if(o=n.hj(),K(o)===K(this.hj())&&this.fj(null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0}case 4:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),K(o)===K(this.hj())&&this.fj(null)==n.fj(null))return a=nce(this),h=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,f=n.jj(),this.d=6,g=new ob(2),h<=f?(it(g,this.n),it(g,n.ij()),this.g=I(S(bt,1),Pt,30,15,[this.o=h,f+1])):(it(g,n.ij()),it(g,this.n),this.g=I(S(bt,1),Pt,30,15,[this.o=f,h])),this.n=g,a||(this.o=-2-this.o-1),!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),K(o)===K(this.hj())&&this.fj(null)==n.fj(null)){for(a=nce(this),f=n.jj(),d=u(this.g,54),r=W(bt,Pt,30,d.length+1,15,1),t=0;t<d.length&&(l=d[t],l<=f);)r[t++]=l,++f;for(i=u(this.n,16),i._c(t,n.ij()),r[t]=f;++t<r.length;)r[t]=d[t-1];return this.g=r,a||(this.o=-2-r[0]),!0}break}}break}}return!1},s.Ib=function(){var n,t,i,r;switch(r=new Ys(Nd(this.Pm)+"@"+(t=si(this)>>>0,t.toString(16))),r.a+=" (eventType: ",this.d){case 1:{r.a+="SET";break}case 2:{r.a+="UNSET";break}case 3:{r.a+="ADD";break}case 5:{r.a+="ADD_MANY";break}case 4:{r.a+="REMOVE";break}case 6:{r.a+="REMOVE_MANY";break}case 7:{r.a+="MOVE";break}case 8:{r.a+="REMOVING_ADAPTER";break}case 9:{r.a+="RESOLVE";break}default:{iL(r,this.d);break}}if(Bze(this)&&(r.a+=", touch: true"),r.a+=", position: ",iL(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=", notifier: ",T6(r,this.hj()),r.a+=", feature: ",T6(r,this.Ij()),r.a+=", oldValue: ",T6(r,are(this)),r.a+=", newValue: ",this.d==6&&F(this.g,54)){for(i=u(this.g,54),r.a+="[",n=0;n<i.length;)r.a+=i[n],++n<i.length&&(r.a+=Ju);r.a+="]"}else T6(r,Vqe(this));return r.a+=", isTouch: ",Da(r,Bze(this)),r.a+=", wasSet: ",Da(r,nce(this)),r.a+=")",r.a},s.d=0,s.e=0,s.f=0,s.j=0,s.k=0,s.o=0,s.p=0,w(o3,"NotificationImpl",151),b(1158,151,uE,mOe),s.Ij=function(){return this.a.Ij()},s.fj=function(n){return this.a.Jj()},s.hj=function(){return this.a.hj()},w(o3,"DelegatingNotifyingListImpl/1",1158),b(252,67,ah,R5e,M1),s.Ec=function(n){return QRe(this,u(n,373))},s.lj=function(n){return QRe(this,n)},s.mj=function(){var n,t,i;for(n=0;n<this.i;++n)t=u(this.g[n],373),i=t.hj(),i!=null&&t.ej()!=-1&&u(i,94).uh(t)},s.$i=function(n){return W(BFn,ln,373,n,0,1)},w(o3,"NotificationChainImpl",252),b(1486,93,KVe),s.rh=function(){return this.e},s.th=function(){return(this.f&1)!=0},s.f=1,w(o3,"NotifierImpl",1486),b(2056,67,ah),s.Ci=function(n,t){return d_(this,n,t)},s.Di=function(n){return this.Ci(this.i,n)},s.Ei=function(n,t){Lie(this,n,t)},s.Fi=function(n){KR(this,n)},s.Ji=function(){return!this.Kj()},s.$b=function(){nt(this)},s.Gj=function(n,t,i,r,c){return new vOe(this,n,t,i,r,c)},s.Hj=function(n){Gt(this.hj(),n)},s.Ij=function(){return null},s.Jj=function(){return-1},s.hj=function(){return null},s.Kj=function(){return!1},s.Rj=function(){return!1},s.Lj=function(n,t){return t},s.Mj=function(n,t){return t},s.Nj=function(){return!1},s.Oj=function(){return this.i!=0},s.Ri=function(n,t){return k9(this,n,t)},s.ed=function(n){return Zw(this,n)},s.Vi=function(n,t){return SUe(this,n,t)},s.Sj=function(n,t){return t},s.Tj=function(n,t){return t},s.Uj=function(n,t,i){return i},w(o3,"NotifyingListImpl",2056),b(1157,151,uE,vOe),s.Ij=function(){return this.a.Ij()},s.fj=function(n){return this.a.Jj()},s.hj=function(){return this.a.hj()},w(o3,"NotifyingListImpl/1",1157),b(950,67,ah,KTe),s.Gc=function(n){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new kw(this),this.a=this.j),Qs(this.b,n)):s4(this,n)},s.Wi=function(){return!0},s.a=0,w(Kr,"AbstractEList/1",950),b(306,99,NS,yw),w(Kr,"AbstractEList/BasicIndexOutOfBoundsException",306),b(42,1,kr,Rn),s.Nb=function(n){Ir(this,n)},s.Vj=function(){if(this.i.j!=this.f)throw C(new Cs)},s.Wj=function(){return Gn(this)},s.Ob=function(){return this.e!=this.i.gc()},s.Pb=function(){return this.Wj()},s.Qb=function(){P9(this)},s.e=0,s.f=0,s.g=-1,w(Kr,"AbstractEList/EIterator",42),b(286,42,Ih,lm,q$),s.Qb=function(){P9(this)},s.Rb=function(n){o_e(this,n)},s.Xj=function(){var n;try{return n=this.d.Xb(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=Fi(t),F(t,99)?(this.Vj(),C(new Dc)):C(t)}},s.Yj=function(n){uJe(this,n)},s.Sb=function(){return this.e!=0},s.Tb=function(){return this.e},s.Ub=function(){return this.Xj()},s.Vb=function(){return this.e-1},s.Wb=function(n){this.Yj(n)},w(Kr,"AbstractEList/EListIterator",286),b(355,42,kr,hm),s.Wj=function(){return cR(this)},s.Qb=function(){throw C(new ht)},w(Kr,"AbstractEList/NonResolvingEIterator",355),b(391,286,Ih,qk,xQ),s.Rb=function(n){throw C(new ht)},s.Wj=function(){var n;try{return n=this.c.Ti(this.e),this.Vj(),this.g=this.e++,n}catch(t){throw t=Fi(t),F(t,99)?(this.Vj(),C(new Dc)):C(t)}},s.Xj=function(){var n;try{return n=this.c.Ti(--this.e),this.Vj(),this.g=this.e,n}catch(t){throw t=Fi(t),F(t,99)?(this.Vj(),C(new Dc)):C(t)}},s.Qb=function(){throw C(new ht)},s.Wb=function(n){throw C(new ht)},w(Kr,"AbstractEList/NonResolvingEListIterator",391),b(2045,71,BQe),s.Ci=function(n,t){var i,r,c,o,f,l,h,a,d,g,m;if(c=t.gc(),c!=0){for(a=u(xn(this.a,4),129),d=a==null?0:a.length,m=d+c,r=SB(this,m),g=d-n,g>0&&pu(a,n,r,n+c,g),h=t.Jc(),f=0;f<c;++f)l=h.Pb(),i=n+f,YL(r,i,Uv(this,l));for(c4(this,r),o=0;o<c;++o)l=r[n],this.Ki(n,l),++n;return!0}else return++this.j,!1},s.Di=function(n){var t,i,r,c,o,f,l,h,a;if(r=n.gc(),r!=0){for(h=(i=u(xn(this.a,4),129),i==null?0:i.length),a=h+r,t=SB(this,a),l=n.Jc(),o=h;o<a;++o)f=l.Pb(),YL(t,o,Uv(this,f));for(c4(this,t),c=h;c<a;++c)f=t[c],this.Ki(c,f);return!0}else return++this.j,!1},s.Ei=function(n,t){var i,r,c,o;r=u(xn(this.a,4),129),c=r==null?0:r.length,i=SB(this,c+1),o=Uv(this,t),n!=c&&pu(r,n,i,n+1,c-n),Ni(i,n,o),c4(this,i),this.Ki(n,t)},s.Fi=function(n){var t,i,r;r=(i=u(xn(this.a,4),129),i==null?0:i.length),t=SB(this,r+1),YL(t,r,Uv(this,n)),c4(this,t),this.Ki(r,n)},s.Gi=function(){return new HDe(this)},s.Hi=function(){return new YIe(this)},s.Ii=function(n){var t,i;if(i=(t=u(xn(this.a,4),129),t==null?0:t.length),n<0||n>i)throw C(new yw(n,i));return new IPe(this,n)},s.$b=function(){var n,t;++this.j,n=u(xn(this.a,4),129),t=n==null?0:n.length,c4(this,null),FF(this,t,n)},s.Gc=function(n){var t,i,r,c,o;if(t=u(xn(this.a,4),129),t!=null){if(n!=null){for(r=t,c=0,o=r.length;c<o;++c)if(i=r[c],qt(n,i))return!0}else for(r=t,c=0,o=r.length;c<o;++c)if(i=r[c],K(i)===K(n))return!0}return!1},s.Xb=function(n){var t,i;if(t=u(xn(this.a,4),129),i=t==null?0:t.length,n>=i)throw C(new yw(n,i));return t[n]},s.bd=function(n){var t,i,r;if(t=u(xn(this.a,4),129),t!=null){if(n!=null){for(i=0,r=t.length;i<r;++i)if(qt(n,t[i]))return i}else for(i=0,r=t.length;i<r;++i)if(K(t[i])===K(n))return i}return-1},s.dc=function(){return u(xn(this.a,4),129)==null},s.Jc=function(){return new GDe(this)},s.cd=function(){return new QIe(this)},s.dd=function(n){var t,i;if(i=(t=u(xn(this.a,4),129),t==null?0:t.length),n<0||n>i)throw C(new yw(n,i));return new SPe(this,n)},s.Ri=function(n,t){var i,r,c;if(i=a_e(this),c=i==null?0:i.length,n>=c)throw C(new $u(ZG+n+b0+c));if(t>=c)throw C(new $u(eH+t+b0+c));return r=i[t],n!=t&&(n<t?pu(i,n,i,n+1,t-n):pu(i,t+1,i,t,n-t),Ni(i,n,r),c4(this,i)),r},s.Ti=function(n){return u(xn(this.a,4),129)[n]},s.ed=function(n){return ECn(this,n)},s.Vi=function(n,t){var i,r;return i=a_e(this),r=i[n],YL(i,n,Uv(this,t)),c4(this,i),r},s.gc=function(){var n;return n=u(xn(this.a,4),129),n==null?0:n.length},s.Nc=function(){var n,t,i;return n=u(xn(this.a,4),129),i=n==null?0:n.length,t=W(aX,cH,415,i,0,1),i>0&&pu(n,0,t,0,i),t},s.Oc=function(n){var t,i,r;return t=u(xn(this.a,4),129),r=t==null?0:t.length,r>0&&(n.length<r&&(i=N7(Zo(n).c,r),n=i),pu(t,0,n,0,r)),n.length>r&&Ni(n,r,null),n};var Nfn;w(Kr,"ArrayDelegatingEList",2045),b(1033,42,kr,GDe),s.Vj=function(){if(this.b.j!=this.f||K(u(xn(this.b.a,4),129))!==K(this.a))throw C(new Cs)},s.Qb=function(){P9(this),this.a=u(xn(this.b.a,4),129)},w(Kr,"ArrayDelegatingEList/EIterator",1033),b(712,286,Ih,QIe,SPe),s.Vj=function(){if(this.b.j!=this.f||K(u(xn(this.b.a,4),129))!==K(this.a))throw C(new Cs)},s.Yj=function(n){uJe(this,n),this.a=u(xn(this.b.a,4),129)},s.Qb=function(){P9(this),this.a=u(xn(this.b.a,4),129)},w(Kr,"ArrayDelegatingEList/EListIterator",712),b(1034,355,kr,HDe),s.Vj=function(){if(this.b.j!=this.f||K(u(xn(this.b.a,4),129))!==K(this.a))throw C(new Cs)},w(Kr,"ArrayDelegatingEList/NonResolvingEIterator",1034),b(713,391,Ih,YIe,IPe),s.Vj=function(){if(this.b.j!=this.f||K(u(xn(this.b.a,4),129))!==K(this.a))throw C(new Cs)},w(Kr,"ArrayDelegatingEList/NonResolvingEListIterator",713),b(606,306,NS,zL),w(Kr,"BasicEList/BasicIndexOutOfBoundsException",606),b(699,67,ah,dV),s._c=function(n,t){throw C(new ht)},s.Ec=function(n){throw C(new ht)},s.ad=function(n,t){throw C(new ht)},s.Fc=function(n){throw C(new ht)},s.$b=function(){throw C(new ht)},s.Zi=function(n){throw C(new ht)},s.Jc=function(){return this.Gi()},s.cd=function(){return this.Hi()},s.dd=function(n){return this.Ii(n)},s.Ri=function(n,t){throw C(new ht)},s.Si=function(n,t){throw C(new ht)},s.ed=function(n){throw C(new ht)},s.Kc=function(n){throw C(new ht)},s.fd=function(n,t){throw C(new ht)},w(Kr,"BasicEList/UnmodifiableEList",699),b(711,1,{3:1,20:1,18:1,16:1,61:1,587:1}),s._c=function(n,t){xbn(this,n,u(t,45))},s.Ec=function(n){return gwn(this,u(n,45))},s.Ic=function(n){Dr(this,n)},s.Xb=function(n){return u(B(this.c,n),136)},s.Ri=function(n,t){return u(this.c.Ri(n,t),45)},s.Si=function(n,t){Cbn(this,n,u(t,45))},s.ed=function(n){return u(this.c.ed(n),45)},s.fd=function(n,t){return Tmn(this,n,u(t,45))},s.gd=function(n){Vd(this,n)},s.Lc=function(){return new Ye(this,16)},s.Mc=function(){return new We(null,new Ye(this,16))},s.ad=function(n,t){return this.c.ad(n,t)},s.Fc=function(n){return this.c.Fc(n)},s.$b=function(){this.c.$b()},s.Gc=function(n){return this.c.Gc(n)},s.Hc=function(n){return G7(this.c,n)},s.Zj=function(){var n,t,i;if(this.d==null){for(this.d=W(kwe,$se,67,2*this.f+1,0,1),i=this.e,this.f=0,t=this.c.Jc();t.e!=t.i.gc();)n=u(t.Wj(),136),RT(this,n);this.e=i}},s.Fb=function(n){return CSe(this,n)},s.Hb=function(){return Hee(this.c)},s.bd=function(n){return this.c.bd(n)},s.$j=function(){this.c=new Oje(this)},s.dc=function(){return this.f==0},s.Jc=function(){return this.c.Jc()},s.cd=function(){return this.c.cd()},s.dd=function(n){return this.c.dd(n)},s._j=function(){return k7(this)},s.ak=function(n,t,i){return new _Se(n,t,i)},s.bk=function(){return new J5e},s.Kc=function(n){return gFe(this,n)},s.gc=function(){return this.f},s.hd=function(n,t){return new L1(this.c,n,t)},s.Nc=function(){return this.c.Nc()},s.Oc=function(n){return this.c.Oc(n)},s.Ib=function(){return _ne(this.c)},s.e=0,s.f=0,w(Kr,"BasicEMap",711),b(1028,67,ah,Oje),s.Ki=function(n,t){rdn(this,u(t,136))},s.Ni=function(n,t,i){var r;++(r=this,u(t,136),r).a.e},s.Oi=function(n,t){cdn(this,u(t,136))},s.Pi=function(n,t,i){Zbn(this,u(t,136),u(i,136))},s.Mi=function(n,t){uBe(this.a)},w(Kr,"BasicEMap/1",1028),b(1029,67,ah,J5e),s.$i=function(n){return W(RFn,RQe,612,n,0,1)},w(Kr,"BasicEMap/2",1029),b(1030,Sl,ko,Nje),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return XB(this.a,n)},s.Jc=function(){return this.a.f==0?(bv(),jA.a):new wAe(this.a)},s.Kc=function(n){var t;return t=this.a.f,ST(this.a,n),this.a.f!=t},s.gc=function(){return this.a.f},w(Kr,"BasicEMap/3",1030),b(1031,31,ig,Dje),s.$b=function(){this.a.c.$b()},s.Gc=function(n){return gze(this.a,n)},s.Jc=function(){return this.a.f==0?(bv(),jA.a):new gAe(this.a)},s.gc=function(){return this.a.f},w(Kr,"BasicEMap/4",1031),b(1032,Sl,ko,Lje),s.$b=function(){this.a.c.$b()},s.Gc=function(n){var t,i,r,c,o,f,l,h,a;if(this.a.f>0&&F(n,45)&&(this.a.Zj(),h=u(n,45),l=h.jd(),c=l==null?0:si(l),o=hQ(this.a,c),t=this.a.d[o],t)){for(i=u(t.g,374),a=t.i,f=0;f<a;++f)if(r=i[f],r.yi()==c&&r.Fb(h))return!0}return!1},s.Jc=function(){return this.a.f==0?(bv(),jA.a):new cF(this.a)},s.Kc=function(n){return uqe(this,n)},s.gc=function(){return this.a.f},w(Kr,"BasicEMap/5",1032),b(613,1,kr,cF),s.Nb=function(n){Ir(this,n)},s.Ob=function(){return this.b!=-1},s.Pb=function(){var n;if(this.f.e!=this.c)throw C(new Cs);if(this.b==-1)throw C(new Dc);return this.d=this.a,this.e=this.b,JJe(this),n=u(this.f.d[this.d].g[this.e],136),this.ck(n)},s.Qb=function(){if(this.f.e!=this.c)throw C(new Cs);if(this.e==-1)throw C(new bo);this.f.c.Kc(B(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},s.ck=function(n){return n},s.a=0,s.b=-1,s.c=0,s.d=0,s.e=0,w(Kr,"BasicEMap/BasicEMapIterator",613),b(1026,613,kr,wAe),s.ck=function(n){return n.jd()},w(Kr,"BasicEMap/BasicEMapKeyIterator",1026),b(1027,613,kr,gAe),s.ck=function(n){return n.kd()},w(Kr,"BasicEMap/BasicEMapValueIterator",1027),b(1025,1,Mb,$je),s.wc=function(n){$7(this,n)},s.$b=function(){this.a.c.$b()},s._b=function(n){return Vxe(this,n)},s.uc=function(n){return gze(this.a,n)},s.vc=function(){return r6n(this.a)},s.Fb=function(n){return CSe(this.a,n)},s.xc=function(n){return rl(this.a,n)},s.Hb=function(){return Hee(this.a.c)},s.dc=function(){return this.a.f==0},s.ec=function(){return c6n(this.a)},s.yc=function(n,t){return uj(this.a,n,t)},s.Ac=function(n){return ST(this.a,n)},s.gc=function(){return this.a.f},s.Ib=function(){return _ne(this.a.c)},s.Bc=function(){return u6n(this.a)},w(Kr,"BasicEMap/DelegatingMap",1025),b(612,1,{45:1,136:1,612:1},_Se),s.Fb=function(n){var t;return F(n,45)?(t=u(n,45),(this.b!=null?qt(this.b,t.jd()):K(this.b)===K(t.jd()))&&(this.c!=null?qt(this.c,t.kd()):K(this.c)===K(t.kd()))):!1},s.yi=function(){return this.a},s.jd=function(){return this.b},s.kd=function(){return this.c},s.Hb=function(){return this.a^(this.c==null?0:si(this.c))},s.zi=function(n){this.a=n},s.Ai=function(n){throw C(new Pd)},s.ld=function(n){var t;return t=this.c,this.c=n,t},s.Ib=function(){return this.b+"->"+this.c},s.a=0;var RFn=w(Kr,"BasicEMap/EntryImpl",612);b(535,1,{},YA),w(Kr,"BasicEMap/View",535);var jA;b(770,1,{}),s.Fb=function(n){return zie((tn(),Qr),n)},s.Hb=function(){return ene((tn(),Qr))},s.Ib=function(){return Cl((tn(),Qr))},w(Kr,"ECollections/BasicEmptyUnmodifiableEList",770),b(1303,1,Ih,_5e),s.Nb=function(n){Ir(this,n)},s.Rb=function(n){throw C(new ht)},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Pb=function(){throw C(new Dc)},s.Tb=function(){return 0},s.Ub=function(){throw C(new Dc)},s.Vb=function(){return-1},s.Qb=function(){throw C(new ht)},s.Wb=function(n){throw C(new ht)},w(Kr,"ECollections/BasicEmptyUnmodifiableEList/1",1303),b(1301,770,{20:1,18:1,16:1,61:1},AEe),s._c=function(n,t){_Ae()},s.Ec=function(n){return RAe()},s.ad=function(n,t){return JAe()},s.Fc=function(n){return GAe()},s.$b=function(){HAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){Dr(this,n)},s.Xb=function(n){return pV((tn(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return qAe()},s.Si=function(n,t){zAe()},s.ed=function(n){return UAe()},s.Kc=function(n){return XAe()},s.fd=function(n,t){return KAe()},s.gc=function(){return 0},s.gd=function(n){Vd(this,n)},s.Lc=function(){return new Ye(this,16)},s.Mc=function(){return new We(null,new Ye(this,16))},s.hd=function(n,t){return tn(),new L1(Qr,n,t)},s.Nc=function(){return lY((tn(),Qr))},s.Oc=function(n){return tn(),C9(Qr,n)},w(Kr,"ECollections/EmptyUnmodifiableEList",1301),b(1302,770,{20:1,18:1,16:1,61:1,587:1},MEe),s._c=function(n,t){_Ae()},s.Ec=function(n){return RAe()},s.ad=function(n,t){return JAe()},s.Fc=function(n){return GAe()},s.$b=function(){HAe()},s.Gc=function(n){return!1},s.Hc=function(n){return!1},s.Ic=function(n){Dr(this,n)},s.Xb=function(n){return pV((tn(),n)),null},s.bd=function(n){return-1},s.dc=function(){return!0},s.Jc=function(){return this.a},s.cd=function(){return this.a},s.dd=function(n){return this.a},s.Ri=function(n,t){return qAe()},s.Si=function(n,t){zAe()},s.ed=function(n){return UAe()},s.Kc=function(n){return XAe()},s.fd=function(n,t){return KAe()},s.gc=function(){return 0},s.gd=function(n){Vd(this,n)},s.Lc=function(){return new Ye(this,16)},s.Mc=function(){return new We(null,new Ye(this,16))},s.hd=function(n,t){return tn(),new L1(Qr,n,t)},s.Nc=function(){return lY((tn(),Qr))},s.Oc=function(n){return tn(),C9(Qr,n)},s._j=function(){return tn(),tn(),$h},w(Kr,"ECollections/EmptyUnmodifiableEMap",1302);var Ewe=yi(Kr,"Enumerator"),QO;b(290,1,{290:1},i_),s.Fb=function(n){var t;return this===n?!0:F(n,290)?(t=u(n,290),this.f==t.f&&Xpn(this.i,t.i)&&S$(this.a,(this.f&256)!=0?(t.f&256)!=0?t.a:null:(t.f&256)!=0?null:t.a)&&S$(this.d,t.d)&&S$(this.g,t.g)&&S$(this.e,t.e)&&Q7n(this,t)):!1},s.Hb=function(){return this.f},s.Ib=function(){return Vze(this)},s.f=0;var Dfn=0,Lfn=0,$fn=0,Ffn=0,Awe=0,Mwe=0,xwe=0,Cwe=0,Twe=0,Bfn,J8=0,G8=0,Rfn=0,_fn=0,YO,Swe;w(Kr,"URI",290),b(1091,44,Y2,xEe),s.yc=function(n,t){return u(mc(this,dt(n),u(t,290)),290)},w(Kr,"URI/URICache",1091),b(492,67,ah,G5e,_x),s.Qi=function(){return!0},w(Kr,"UniqueEList",492),b(579,63,ba,$C),w(Kr,"WrappedException",579);var St=yi(Js,GQe),zg=yi(Js,HQe),ho=yi(Js,qQe),Ug=yi(Js,zQe),bl=yi(Js,UQe),df=yi(Js,"EClass"),dX=yi(Js,"EDataType"),Jfn;b(1199,44,Y2,CEe),s.xc=function(n){return pr(n)?xu(this,n):$c(pc(this.f,n))},w(Js,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1199);var ZO=yi(Js,"EEnum"),Ma=yi(Js,XQe),hc=yi(Js,KQe),bf=yi(Js,WQe),wf,Kb=yi(Js,VQe),Xg=yi(Js,QQe);b(Df,1,{},H5e),s.Ib=function(){return"NIL"},w(Js,"EStructuralFeature/Internal/DynamicValueHolder/1",Df);var Gfn;b(1023,44,Y2,TEe),s.xc=function(n){return pr(n)?xu(this,n):$c(pc(this.f,n))},w(Js,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1023);var Yu=yi(Js,YQe),F3=yi(Js,"EValidator/PatternMatcher"),Iwe,Pwe,mn,w1,Kg,Ad,Hfn,qfn,zfn,Md,g1,xd,Wb,Hl,Ufn,Xfn,gf,p1,Kfn,m1,Wg,$p,Zr,Wfn,Vfn,Vb,eN=yi(wi,"FeatureMap/Entry");b(534,1,{75:1},nx),s.Jk=function(){return this.a},s.kd=function(){return this.b},w(kn,"BasicEObjectImpl/1",534),b(1022,1,uH,zxe),s.Dk=function(n){return NF(this.a,this.b,n)},s.Oj=function(){return $Oe(this.a,this.b)},s.Wb=function(n){QY(this.a,this.b,n)},s.Ek=function(){Gmn(this.a,this.b)},w(kn,"BasicEObjectImpl/4",1022),b(2046,1,{114:1}),s.Kk=function(n){this.e=n==0?Qfn:W(ir,ln,1,n,5,1)},s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Lk=function(){return this.c},s.Mk=function(){throw C(new ht)},s.Nk=function(){throw C(new ht)},s.Ok=function(){return this.d},s.Pk=function(){return this.e!=null},s.Qk=function(n){this.c=n},s.Rk=function(n){throw C(new ht)},s.Sk=function(n){throw C(new ht)},s.Tk=function(n){this.d=n};var Qfn;w(kn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2046),b(192,2046,{114:1},Wf),s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},w(kn,"BasicEObjectImpl/EPropertiesHolderImpl",192),b(502,100,YVe,ZA),s.rh=function(){return this.f},s.wh=function(){return this.k},s.yh=function(n,t){this.g=n,this.i=t},s.Ah=function(){return(this.j&2)==0?this.fi():this.Xh().Lk()},s.Ch=function(){return this.i},s.th=function(){return(this.j&1)!=0},s.Mh=function(){return this.g},s.Sh=function(){return(this.j&4)!=0},s.Xh=function(){return!this.k&&(this.k=new Wf),this.k},s._h=function(n){this.Xh().Qk(n),n?this.j|=2:this.j&=-3},s.bi=function(n){this.Xh().Sk(n),n?this.j|=4:this.j&=-5},s.fi=function(){return(O1(),mn).S},s.i=0,s.j=1,w(kn,"EObjectImpl",502),b(786,502,{109:1,94:1,93:1,57:1,114:1,52:1,100:1},KQ),s.ii=function(n){return this.e[n]},s.ji=function(n,t){this.e[n]=t},s.ki=function(n){this.e[n]=null},s.Ah=function(){return this.d},s.Fh=function(n){return vi(this.d,n)},s.Hh=function(){return this.d},s.Lh=function(){return this.e!=null},s.Xh=function(){return!this.k&&(this.k=new q5e),this.k},s._h=function(n){this.d=n},s.ei=function(){var n;return this.e==null&&(n=Un(this.d),this.e=n==0?Yfn:W(ir,ln,1,n,5,1)),this},s.gi=function(){return 0};var Yfn;w(kn,"DynamicEObjectImpl",786),b(1484,786,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1},dIe),s.Fb=function(n){return this===n},s.Hb=function(){return W0(this)},s._h=function(n){this.d=n,this.b=vj(n,"key"),this.c=vj(n,vy)},s.yi=function(){var n;return this.a==-1&&(n=UF(this,this.b),this.a=n==null?0:si(n)),this.a},s.jd=function(){return UF(this,this.b)},s.kd=function(){return UF(this,this.c)},s.zi=function(n){this.a=n},s.Ai=function(n){QY(this,this.b,n)},s.ld=function(n){var t;return t=UF(this,this.c),QY(this,this.c,n),t},s.a=0,w(kn,"DynamicEObjectImpl/BasicEMapEntry",1484),b(1485,1,{114:1},q5e),s.Kk=function(n){throw C(new ht)},s.ii=function(n){throw C(new ht)},s.ji=function(n,t){throw C(new ht)},s.ki=function(n){throw C(new ht)},s.Lk=function(){throw C(new ht)},s.Mk=function(){return this.a},s.Nk=function(){return this.b},s.Ok=function(){return this.c},s.Pk=function(){throw C(new ht)},s.Qk=function(n){throw C(new ht)},s.Rk=function(n){this.a=n},s.Sk=function(n){this.b=n},s.Tk=function(n){this.c=n},w(kn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1485),b(505,161,{109:1,94:1,93:1,588:1,158:1,57:1,114:1,52:1,100:1,505:1,161:1,117:1,118:1},rK),s.xh=function(n){return xte(this,n)},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.d;case 2:return i?(!this.b&&(this.b=new Vo((nn(),Zr),nu,this)),this.b):(!this.b&&(this.b=new Vo((nn(),Zr),nu,this)),k7(this.b));case 3:return HOe(this);case 4:return!this.a&&(this.a=new Wi(Ed,this,4)),this.a;case 5:return!this.c&&(this.c=new j2(Ed,this,5)),this.c}return Os(this,n-Un((nn(),w1)),un((r=u(xn(this,16),29),r||w1),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i);case 3:return this.Cb&&(i=(c=this.Db>>16,c>=0?xte(this,i):this.Cb.Qh(this,-1-c,null,i))),oY(this,u(n,158),i)}return o=u(un((r=u(xn(this,16),29),r||(nn(),w1)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),w1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 2:return!this.b&&(this.b=new Vo((nn(),Zr),nu,this)),kx(this.b,n,i);case 3:return oY(this,null,i);case 4:return!this.a&&(this.a=new Wi(Ed,this,4)),Xr(this.a,n,i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),w1)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),w1)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!HOe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return Ps(this,n-Un((nn(),w1)),un((t=u(xn(this,16),29),t||w1),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:$pn(this,dt(t));return;case 2:!this.b&&(this.b=new Vo((nn(),Zr),nu,this)),cT(this.b,t);return;case 3:Bqe(this,u(t,158));return;case 4:!this.a&&(this.a=new Wi(Ed,this,4)),nt(this.a),!this.a&&(this.a=new Wi(Ed,this,4)),Ii(this.a,u(t,18));return;case 5:!this.c&&(this.c=new j2(Ed,this,5)),nt(this.c),!this.c&&(this.c=new j2(Ed,this,5)),Ii(this.c,u(t,18));return}Bs(this,n-Un((nn(),w1)),un((i=u(xn(this,16),29),i||w1),n),t)},s.fi=function(){return nn(),w1},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:Aee(this,null);return;case 2:!this.b&&(this.b=new Vo((nn(),Zr),nu,this)),this.b.c.$b();return;case 3:Bqe(this,null);return;case 4:!this.a&&(this.a=new Wi(Ed,this,4)),nt(this.a);return;case 5:!this.c&&(this.c=new j2(Ed,this,5)),nt(this.c);return}Fs(this,n-Un((nn(),w1)),un((t=u(xn(this,16),29),t||w1),n))},s.Ib=function(){return IRe(this)},s.d=null,w(kn,"EAnnotationImpl",505),b(142,711,Fse,mo),s.Ei=function(n,t){fbn(this,n,u(t,45))},s.Uk=function(n,t){return ugn(this,u(n,45),t)},s.Yi=function(n){return u(u(this.c,72).Yi(n),136)},s.Gi=function(){return u(this.c,72).Gi()},s.Hi=function(){return u(this.c,72).Hi()},s.Ii=function(n){return u(this.c,72).Ii(n)},s.Vk=function(n,t){return kx(this,n,t)},s.Dk=function(n){return u(this.c,78).Dk(n)},s.$j=function(){},s.Oj=function(){return u(this.c,78).Oj()},s.ak=function(n,t,i){var r;return r=u(hs(this.b).ti().pi(this.b),136),r.zi(n),r.Ai(t),r.ld(i),r},s.bk=function(){return new JK(this)},s.Wb=function(n){cT(this,n)},s.Ek=function(){u(this.c,78).Ek()},w(wi,"EcoreEMap",142),b(169,142,Fse,Vo),s.Zj=function(){var n,t,i,r,c,o;if(this.d==null){for(o=W(kwe,$se,67,2*this.f+1,0,1),i=this.c.Jc();i.e!=i.i.gc();)t=u(i.Wj(),136),r=t.yi(),c=(r&Ft)%o.length,n=o[c],!n&&(n=o[c]=new JK(this)),n.Ec(t);this.d=o}},w(kn,"EAnnotationImpl/1",169),b(293,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,470:1,52:1,100:1,161:1,293:1,117:1,118:1}),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return fe(this.s);case 5:return fe(this.t);case 6:return gn(),!!this.Hk();case 7:return gn(),c=this.s,c>=1;case 8:return t?rf(this):this.r;case 9:return this.q}return Os(this,n-Un(this.fi()),un((r=u(xn(this,16),29),r||this.fi()),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 9:return U$(this,i)}return c=u(un((r=u(xn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Uu(this),t-Un(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Z0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Z0(this.q).i==0)}return Ps(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:this.ri(dt(t));return;case 2:Wa(this,Se(Te(t)));return;case 3:Va(this,Se(Te(t)));return;case 4:za(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:n0(this,u(t,143));return;case 9:r=xl(this,u(t,87),null),r&&r.mj();return}Bs(this,n-Un(this.fi()),un((i=u(xn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return nn(),Vfn},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:this.ri(null);return;case 2:Wa(this,!0);return;case 3:Va(this,!0);return;case 4:za(this,0);return;case 5:this.Xk(1);return;case 8:n0(this,null);return;case 9:i=xl(this,null,null),i&&i.mj();return}Fs(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.mi=function(){rf(this),this.Bb|=1},s.Fk=function(){return rf(this)},s.Gk=function(){return this.t},s.Hk=function(){var n;return n=this.t,n>1||n==-1},s.Qi=function(){return(this.Bb&512)!=0},s.Wk=function(n,t){return jne(this,n,t)},s.Xk=function(n){Fw(this,n)},s.Ib=function(){return $ie(this)},s.s=0,s.t=1,w(kn,"ETypedElementImpl",293),b(451,293,{109:1,94:1,93:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,451:1,293:1,117:1,118:1,682:1}),s.xh=function(n){return kJe(this,n)},s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return fe(this.s);case 5:return fe(this.t);case 6:return gn(),!!this.Hk();case 7:return gn(),c=this.s,c>=1;case 8:return t?rf(this):this.r;case 9:return this.q;case 10:return gn(),(this.Bb&Df)!=0;case 11:return gn(),(this.Bb&i1)!=0;case 12:return gn(),(this.Bb&cg)!=0;case 13:return this.j;case 14:return b4(this);case 15:return gn(),(this.Bb&jo)!=0;case 16:return gn(),(this.Bb&ch)!=0;case 17:return Sw(this)}return Os(this,n-Un(this.fi()),un((r=u(xn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i);case 17:return this.Cb&&(i=(c=this.Db>>16,c>=0?kJe(this,i):this.Cb.Qh(this,-1-c,null,i))),gs(this,n,17,i)}return o=u(un((r=u(xn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Uu(this),t-Un(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 9:return U$(this,i);case 17:return gs(this,null,17,i)}return c=u(un((r=u(xn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Uu(this),t-Un(this.fi()),n,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Hk();case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Z0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Z0(this.q).i==0);case 10:return(this.Bb&Df)==0;case 11:return(this.Bb&i1)!=0;case 12:return(this.Bb&cg)!=0;case 13:return this.j!=null;case 14:return b4(this)!=null;case 15:return(this.Bb&jo)!=0;case 16:return(this.Bb&ch)!=0;case 17:return!!Sw(this)}return Ps(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:mF(this,dt(t));return;case 2:Wa(this,Se(Te(t)));return;case 3:Va(this,Se(Te(t)));return;case 4:za(this,u(t,15).a);return;case 5:this.Xk(u(t,15).a);return;case 8:n0(this,u(t,143));return;case 9:r=xl(this,u(t,87),null),r&&r.mj();return;case 10:Yv(this,Se(Te(t)));return;case 11:e4(this,Se(Te(t)));return;case 12:Zv(this,Se(Te(t)));return;case 13:wV(this,dt(t));return;case 15:Qv(this,Se(Te(t)));return;case 16:n4(this,Se(Te(t)));return}Bs(this,n-Un(this.fi()),un((i=u(xn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return nn(),Wfn},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,88)&&Vw(Fo(u(this.Cb,88)),4),Ru(this,null);return;case 2:Wa(this,!0);return;case 3:Va(this,!0);return;case 4:za(this,0);return;case 5:this.Xk(1);return;case 8:n0(this,null);return;case 9:i=xl(this,null,null),i&&i.mj();return;case 10:Yv(this,!0);return;case 11:e4(this,!1);return;case 12:Zv(this,!1);return;case 13:this.i=null,ZC(this,null);return;case 15:Qv(this,!1);return;case 16:n4(this,!1);return}Fs(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.mi=function(){Mv(vc((yo(),Or),this)),rf(this),this.Bb|=1},s.nk=function(){return this.f},s.gk=function(){return b4(this)},s.ok=function(){return Sw(this)},s.sk=function(){return null},s.Yk=function(){return this.k},s.Jj=function(){return this.n},s.tk=function(){return UT(this)},s.uk=function(){var n,t,i,r,c,o,f,l,h;return this.p||(i=Sw(this),(i.i==null&&rh(i),i.i).length,r=this.sk(),r&&Un(Sw(r)),c=rf(this),f=c.ik(),n=f?(f.i&1)!=0?f==ao?Ci:f==bt?Zi:f==Qg?t5:f==jr?zi:f==Yb?Lb:f==_p?$b:f==Ao?s3:Iy:f:null,t=b4(this),l=c.gk(),ykn(this),(this.Bb&ch)!=0&&((o=Ote((yo(),Or),i))&&o!=this||(o=Am(vc(Or,this))))?this.p=new Xxe(this,o):this.Hk()?this.$k()?r?(this.Bb&jo)!=0?n?this._k()?this.p=new Hd(47,n,this,r):this.p=new Hd(5,n,this,r):this._k()?this.p=new Wd(46,this,r):this.p=new Wd(4,this,r):n?this._k()?this.p=new Hd(49,n,this,r):this.p=new Hd(7,n,this,r):this._k()?this.p=new Wd(48,this,r):this.p=new Wd(6,this,r):(this.Bb&jo)!=0?n?n==p0?this.p=new Ra(50,Pfn,this):this._k()?this.p=new Ra(43,n,this):this.p=new Ra(1,n,this):this._k()?this.p=new Ja(42,this):this.p=new Ja(0,this):n?n==p0?this.p=new Ra(41,Pfn,this):this._k()?this.p=new Ra(45,n,this):this.p=new Ra(3,n,this):this._k()?this.p=new Ja(44,this):this.p=new Ja(2,this):F(c,159)?n==eN?this.p=new Ja(40,this):(this.Bb&512)!=0?(this.Bb&jo)!=0?n?this.p=new Ra(9,n,this):this.p=new Ja(8,this):n?this.p=new Ra(11,n,this):this.p=new Ja(10,this):(this.Bb&jo)!=0?n?this.p=new Ra(13,n,this):this.p=new Ja(12,this):n?this.p=new Ra(15,n,this):this.p=new Ja(14,this):r?(h=r.t,h>1||h==-1?this._k()?(this.Bb&jo)!=0?n?this.p=new Hd(25,n,this,r):this.p=new Wd(24,this,r):n?this.p=new Hd(27,n,this,r):this.p=new Wd(26,this,r):(this.Bb&jo)!=0?n?this.p=new Hd(29,n,this,r):this.p=new Wd(28,this,r):n?this.p=new Hd(31,n,this,r):this.p=new Wd(30,this,r):this._k()?(this.Bb&jo)!=0?n?this.p=new Hd(33,n,this,r):this.p=new Wd(32,this,r):n?this.p=new Hd(35,n,this,r):this.p=new Wd(34,this,r):(this.Bb&jo)!=0?n?this.p=new Hd(37,n,this,r):this.p=new Wd(36,this,r):n?this.p=new Hd(39,n,this,r):this.p=new Wd(38,this,r)):this._k()?(this.Bb&jo)!=0?n?this.p=new Ra(17,n,this):this.p=new Ja(16,this):n?this.p=new Ra(19,n,this):this.p=new Ja(18,this):(this.Bb&jo)!=0?n?this.p=new Ra(21,n,this):this.p=new Ja(20,this):n?this.p=new Ra(23,n,this):this.p=new Ja(22,this):this.Zk()?this._k()?this.p=new GSe(u(c,29),this,r):this.p=new VY(u(c,29),this,r):F(c,159)?n==eN?this.p=new Ja(40,this):(this.Bb&jo)!=0?n?this.p=new LIe(t,l,this,(VB(),f==bt?Bwe:f==ao?Nwe:f==Yb?Rwe:f==Qg?Fwe:f==jr?$we:f==_p?_we:f==Ao?Dwe:f==Ks?Lwe:gX)):this.p=new YPe(u(c,159),t,l,this):n?this.p=new DIe(t,l,this,(VB(),f==bt?Bwe:f==ao?Nwe:f==Yb?Rwe:f==Qg?Fwe:f==jr?$we:f==_p?_we:f==Ao?Dwe:f==Ks?Lwe:gX)):this.p=new QPe(u(c,159),t,l,this):this.$k()?r?(this.Bb&jo)!=0?this._k()?this.p=new qSe(u(c,29),this,r):this.p=new BQ(u(c,29),this,r):this._k()?this.p=new HSe(u(c,29),this,r):this.p=new E$(u(c,29),this,r):(this.Bb&jo)!=0?this._k()?this.p=new BTe(u(c,29),this):this.p=new eQ(u(c,29),this):this._k()?this.p=new FTe(u(c,29),this):this.p=new s$(u(c,29),this):this._k()?r?(this.Bb&jo)!=0?this.p=new zSe(u(c,29),this,r):this.p=new $Q(u(c,29),this,r):(this.Bb&jo)!=0?this.p=new RTe(u(c,29),this):this.p=new ZV(u(c,29),this):r?(this.Bb&jo)!=0?this.p=new USe(u(c,29),this,r):this.p=new FQ(u(c,29),this,r):(this.Bb&jo)!=0?this.p=new $Te(u(c,29),this):this.p=new Rx(u(c,29),this)),this.p},s.pk=function(){return(this.Bb&Df)!=0},s.Zk=function(){return!1},s.$k=function(){return!1},s.qk=function(){return(this.Bb&ch)!=0},s.vk=function(){return KF(this)},s._k=function(){return!1},s.rk=function(){return(this.Bb&jo)!=0},s.al=function(n){this.k=n},s.ri=function(n){mF(this,n)},s.Ib=function(){return gS(this)},s.e=!1,s.n=0,w(kn,"EStructuralFeatureImpl",451),b(335,451,{109:1,94:1,93:1,38:1,158:1,197:1,57:1,179:1,69:1,114:1,470:1,52:1,100:1,335:1,161:1,451:1,293:1,117:1,118:1,682:1},GD),s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return fe(this.s);case 5:return fe(this.t);case 6:return gn(),!!Iie(this);case 7:return gn(),c=this.s,c>=1;case 8:return t?rf(this):this.r;case 9:return this.q;case 10:return gn(),(this.Bb&Df)!=0;case 11:return gn(),(this.Bb&i1)!=0;case 12:return gn(),(this.Bb&cg)!=0;case 13:return this.j;case 14:return b4(this);case 15:return gn(),(this.Bb&jo)!=0;case 16:return gn(),(this.Bb&ch)!=0;case 17:return Sw(this);case 18:return gn(),(this.Bb&cu)!=0;case 19:return t?wB(this):iLe(this)}return Os(this,n-Un((nn(),Kg)),un((r=u(xn(this,16),29),r||Kg),n),t,i)},s.Th=function(n){var t,i;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return Iie(this);case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Z0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Z0(this.q).i==0);case 10:return(this.Bb&Df)==0;case 11:return(this.Bb&i1)!=0;case 12:return(this.Bb&cg)!=0;case 13:return this.j!=null;case 14:return b4(this)!=null;case 15:return(this.Bb&jo)!=0;case 16:return(this.Bb&ch)!=0;case 17:return!!Sw(this);case 18:return(this.Bb&cu)!=0;case 19:return!!iLe(this)}return Ps(this,n-Un((nn(),Kg)),un((t=u(xn(this,16),29),t||Kg),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:mF(this,dt(t));return;case 2:Wa(this,Se(Te(t)));return;case 3:Va(this,Se(Te(t)));return;case 4:za(this,u(t,15).a);return;case 5:AAe(this,u(t,15).a);return;case 8:n0(this,u(t,143));return;case 9:r=xl(this,u(t,87),null),r&&r.mj();return;case 10:Yv(this,Se(Te(t)));return;case 11:e4(this,Se(Te(t)));return;case 12:Zv(this,Se(Te(t)));return;case 13:wV(this,dt(t));return;case 15:Qv(this,Se(Te(t)));return;case 16:n4(this,Se(Te(t)));return;case 18:JB(this,Se(Te(t)));return}Bs(this,n-Un((nn(),Kg)),un((i=u(xn(this,16),29),i||Kg),n),t)},s.fi=function(){return nn(),Kg},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,88)&&Vw(Fo(u(this.Cb,88)),4),Ru(this,null);return;case 2:Wa(this,!0);return;case 3:Va(this,!0);return;case 4:za(this,0);return;case 5:this.b=0,Fw(this,1);return;case 8:n0(this,null);return;case 9:i=xl(this,null,null),i&&i.mj();return;case 10:Yv(this,!0);return;case 11:e4(this,!1);return;case 12:Zv(this,!1);return;case 13:this.i=null,ZC(this,null);return;case 15:Qv(this,!1);return;case 16:n4(this,!1);return;case 18:JB(this,!1);return}Fs(this,n-Un((nn(),Kg)),un((t=u(xn(this,16),29),t||Kg),n))},s.mi=function(){wB(this),Mv(vc((yo(),Or),this)),rf(this),this.Bb|=1},s.Hk=function(){return Iie(this)},s.Wk=function(n,t){return this.b=0,this.a=null,jne(this,n,t)},s.Xk=function(n){AAe(this,n)},s.Ib=function(){var n;return(this.Db&64)!=0?gS(this):(n=new Ys(gS(this)),n.a+=" (iD: ",Da(n,(this.Bb&cu)!=0),n.a+=")",n.a)},s.b=0,w(kn,"EAttributeImpl",335),b(360,439,{109:1,94:1,93:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1}),s.bl=function(n){return n.Ah()==this},s.xh=function(n){return kR(this,n)},s.yh=function(n,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=n},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return pb(this);case 4:return this.gk();case 5:return this.F;case 6:return t?hs(this):Tv(this);case 7:return!this.A&&(this.A=new wo(Yu,this,7)),this.A}return Os(this,n-Un(this.fi()),un((r=u(xn(this,16),29),r||this.fi()),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?kR(this,i):this.Cb.Qh(this,-1-c,null,i))),gs(this,n,6,i)}return o=u(un((r=u(xn(this,16),29),r||this.fi()),t),69),o.uk().xk(this,Uu(this),t-Un(this.fi()),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 6:return gs(this,null,6,i);case 7:return!this.A&&(this.A=new wo(Yu,this,7)),Xr(this.A,n,i)}return c=u(un((r=u(xn(this,16),29),r||this.fi()),t),69),c.uk().yk(this,Uu(this),t-Un(this.fi()),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!pb(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Tv(this);case 7:return!!this.A&&this.A.i!=0}return Ps(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:bC(this,dt(t));return;case 2:WL(this,dt(t));return;case 5:k4(this,dt(t));return;case 7:!this.A&&(this.A=new wo(Yu,this,7)),nt(this.A),!this.A&&(this.A=new wo(Yu,this,7)),Ii(this.A,u(t,18));return}Bs(this,n-Un(this.fi()),un((i=u(xn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return nn(),Hfn},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,184)&&(u(this.Cb,184).tb=null),Ru(this,null);return;case 2:Kv(this,null),$v(this,this.D);return;case 5:k4(this,null);return;case 7:!this.A&&(this.A=new wo(Yu,this,7)),nt(this.A);return}Fs(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.fk=function(){var n;return this.G==-1&&(this.G=(n=hs(this),n?Qa(n.si(),this):-1)),this.G},s.gk=function(){return null},s.hk=function(){return hs(this)},s.cl=function(){return this.v},s.ik=function(){return pb(this)},s.jk=function(){return this.D!=null?this.D:this.B},s.kk=function(){return this.F},s.dk=function(n){return a_(this,n)},s.dl=function(n){this.v=n},s.el=function(n){GFe(this,n)},s.fl=function(n){this.C=n},s.ri=function(n){bC(this,n)},s.Ib=function(){return MT(this)},s.C=null,s.D=null,s.G=-1,w(kn,"EClassifierImpl",360),b(88,360,{109:1,94:1,93:1,29:1,143:1,158:1,197:1,57:1,114:1,52:1,100:1,88:1,360:1,161:1,471:1,117:1,118:1,681:1},fK),s.bl=function(n){return Xwn(this,n.Ah())},s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return pb(this);case 4:return null;case 5:return this.F;case 6:return t?hs(this):Tv(this);case 7:return!this.A&&(this.A=new wo(Yu,this,7)),this.A;case 8:return gn(),(this.Bb&256)!=0;case 9:return gn(),(this.Bb&512)!=0;case 10:return xc(this);case 11:return!this.q&&(this.q=new ue(bf,this,11,10)),this.q;case 12:return K2(this);case 13:return U9(this);case 14:return U9(this),this.r;case 15:return K2(this),this.k;case 16:return vie(this);case 17:return g_(this);case 18:return rh(this);case 19:return oS(this);case 20:return K2(this),this.o;case 21:return!this.s&&(this.s=new ue(ho,this,21,17)),this.s;case 22:return bu(this);case 23:return t_(this)}return Os(this,n-Un((nn(),Ad)),un((r=u(xn(this,16),29),r||Ad),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?kR(this,i):this.Cb.Qh(this,-1-c,null,i))),gs(this,n,6,i);case 11:return!this.q&&(this.q=new ue(bf,this,11,10)),_u(this.q,n,i);case 21:return!this.s&&(this.s=new ue(ho,this,21,17)),_u(this.s,n,i)}return o=u(un((r=u(xn(this,16),29),r||(nn(),Ad)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),Ad)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 6:return gs(this,null,6,i);case 7:return!this.A&&(this.A=new wo(Yu,this,7)),Xr(this.A,n,i);case 11:return!this.q&&(this.q=new ue(bf,this,11,10)),Xr(this.q,n,i);case 21:return!this.s&&(this.s=new ue(ho,this,21,17)),Xr(this.s,n,i);case 22:return Xr(bu(this),n,i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),Ad)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),Ad)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!pb(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Tv(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)!=0;case 9:return(this.Bb&512)!=0;case 10:return!!this.u&&bu(this.u.a).i!=0&&!(this.n&&lR(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return K2(this).i!=0;case 13:return U9(this).i!=0;case 14:return U9(this),this.r.i!=0;case 15:return K2(this),this.k.i!=0;case 16:return vie(this).i!=0;case 17:return g_(this).i!=0;case 18:return rh(this).i!=0;case 19:return oS(this).i!=0;case 20:return K2(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&lR(this.n);case 23:return t_(this).i!=0}return Ps(this,n-Un((nn(),Ad)),un((t=u(xn(this,16),29),t||Ad),n))},s.Wh=function(n){var t;return t=this.i==null||this.q&&this.q.i!=0?null:vj(this,n),t||fce(this,n)},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:bC(this,dt(t));return;case 2:WL(this,dt(t));return;case 5:k4(this,dt(t));return;case 7:!this.A&&(this.A=new wo(Yu,this,7)),nt(this.A),!this.A&&(this.A=new wo(Yu,this,7)),Ii(this.A,u(t,18));return;case 8:Ane(this,Se(Te(t)));return;case 9:Mne(this,Se(Te(t)));return;case 10:W9(xc(this)),Ii(xc(this),u(t,18));return;case 11:!this.q&&(this.q=new ue(bf,this,11,10)),nt(this.q),!this.q&&(this.q=new ue(bf,this,11,10)),Ii(this.q,u(t,18));return;case 21:!this.s&&(this.s=new ue(ho,this,21,17)),nt(this.s),!this.s&&(this.s=new ue(ho,this,21,17)),Ii(this.s,u(t,18));return;case 22:nt(bu(this)),Ii(bu(this),u(t,18));return}Bs(this,n-Un((nn(),Ad)),un((i=u(xn(this,16),29),i||Ad),n),t)},s.fi=function(){return nn(),Ad},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,184)&&(u(this.Cb,184).tb=null),Ru(this,null);return;case 2:Kv(this,null),$v(this,this.D);return;case 5:k4(this,null);return;case 7:!this.A&&(this.A=new wo(Yu,this,7)),nt(this.A);return;case 8:Ane(this,!1);return;case 9:Mne(this,!1);return;case 10:this.u&&W9(this.u);return;case 11:!this.q&&(this.q=new ue(bf,this,11,10)),nt(this.q);return;case 21:!this.s&&(this.s=new ue(ho,this,21,17)),nt(this.s);return;case 22:this.n&&nt(this.n);return}Fs(this,n-Un((nn(),Ad)),un((t=u(xn(this,16),29),t||Ad),n))},s.mi=function(){var n,t;if(K2(this),U9(this),vie(this),g_(this),rh(this),oS(this),t_(this),t9(apn(Fo(this))),this.s)for(n=0,t=this.s.i;n<t;++n)zk(B(this.s,n));if(this.q)for(n=0,t=this.q.i;n<t;++n)zk(B(this.q,n));Ka((yo(),Or),this).ve(),this.Bb|=1},s.Ib=function(){return Rte(this)},s.k=null,s.r=null;var H8,Zfn,bX;w(kn,"EClassImpl",88),b(2057,2056,nYe),s.Ci=function(n,t){return d_(this,n,t)},s.Di=function(n){return d_(this,this.i,n)},s.Ei=function(n,t){Lie(this,n,t)},s.Fi=function(n){KR(this,n)},s.Uk=function(n,t){return _u(this,n,t)},s.Yi=function(n){return VZ(this,n)},s.Vk=function(n,t){return Xr(this,n,t)},s.Vi=function(n,t){return SUe(this,n,t)},s.Gi=function(){return new hm(this)},s.Hi=function(){return new qk(this)},s.Ii=function(n){return D7(this,n)},w(wi,"NotifyingInternalEListImpl",2057),b(624,2057,Nc),s.Gc=function(n){return KUe(this,n)},s.Gj=function(n,t,i,r,c){return V6(this,n,t,i,r,c)},s.Hj=function(n){Q3(this,n)},s.Dk=function(n){return this},s.Jk=function(){return un(this.e.Ah(),this.Jj())},s.Ij=function(){return this.Jk()},s.Jj=function(){return vi(this.e.Ah(),this.Jk())},s.gl=function(){return u(this.Jk().Fk(),29).ik()},s.hl=function(){return tc(u(this.Jk(),19)).n},s.hj=function(){return this.e},s.il=function(){return!0},s.jl=function(){return!1},s.kl=function(){return!1},s.ll=function(){return!1},s.bd=function(n){return Qa(this,n)},s.Lj=function(n,t){var i;return i=u(n,52),this.kl()?this.il()?i.Oh(this.e,this.hl(),this.gl(),t):i.Oh(this.e,vi(i.Ah(),tc(u(this.Jk(),19))),null,t):i.Oh(this.e,-1-this.Jj(),null,t)},s.Mj=function(n,t){var i;return i=u(n,52),this.kl()?this.il()?i.Qh(this.e,this.hl(),this.gl(),t):i.Qh(this.e,vi(i.Ah(),tc(u(this.Jk(),19))),null,t):i.Qh(this.e,-1-this.Jj(),null,t)},s.$k=function(){return!1},s.ml=function(){return!0},s.dk=function(n){return uDe(this.d,n)},s.Nj=function(){return Ko(this.e)},s.Oj=function(){return this.i!=0},s.$i=function(n){return N7(this.d,n)},s.Ui=function(n,t){return this.ml()&&this.ll()?Km(this,n,u(t,57)):t},s.nl=function(n){return n.Sh()?q1(this.e,u(n,52)):n},s.Wb=function(n){HCe(this,n)},s.Nc=function(){return BLe(this)},s.Oc=function(n){var t;if(this.ll())for(t=this.i-1;t>=0;--t)B(this,t);return Xne(this,n)},s.Ek=function(){nt(this)},s.Xi=function(n,t){return wFe(this,n,t)},w(wi,"EcoreEList",624),b(491,624,Nc,t7),s.Ji=function(){return!1},s.Jj=function(){return this.c},s.Kj=function(){return!1},s.ml=function(){return!0},s.Qi=function(){return!0},s.Ui=function(n,t){return t},s.Wi=function(){return!1},s.c=0,w(wi,"EObjectEList",491),b(81,491,Nc,Wi),s.Kj=function(){return!0},s.kl=function(){return!1},s.$k=function(){return!0},w(wi,"EObjectContainmentEList",81),b(544,81,Nc,ax),s.Li=function(){this.b=!0},s.Oj=function(){return this.b},s.Ek=function(){var n;nt(this),Ko(this.e)?(n=this.b,this.b=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.b=!1},s.b=!1,w(wi,"EObjectContainmentEList/Unsettable",544),b(1131,544,Nc,OIe),s.Ri=function(n,t){var i,r;return i=u(k9(this,n,t),87),Ko(this.e)&&Q3(this,new j7(this.a,7,(nn(),qfn),fe(t),(r=i.c,F(r,88)?u(r,29):gf),n)),i},s.Sj=function(n,t){return n7n(this,u(n,87),t)},s.Tj=function(n,t){return e7n(this,u(n,87),t)},s.Uj=function(n,t,i){return eAn(this,u(n,87),u(t,87),i)},s.Gj=function(n,t,i,r,c){switch(n){case 3:return V6(this,n,t,i,r,this.i>1);case 5:return V6(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new ca(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return lR(this)},s.Ek=function(){nt(this)},w(kn,"EClassImpl/1",1131),b(1145,1144,Lse),s.bj=function(n){var t,i,r,c,o,f,l;if(i=n.ej(),i!=8){if(r=$7n(n),r==0)switch(i){case 1:case 9:{l=n.ij(),l!=null&&(t=Fo(u(l,471)),!t.c&&(t.c=new U3),BC(t.c,n.hj())),f=n.gj(),f!=null&&(c=u(f,471),(c.Bb&1)==0&&(t=Fo(c),!t.c&&(t.c=new U3),it(t.c,u(n.hj(),29))));break}case 3:{f=n.gj(),f!=null&&(c=u(f,471),(c.Bb&1)==0&&(t=Fo(c),!t.c&&(t.c=new U3),it(t.c,u(n.hj(),29))));break}case 5:{if(f=n.gj(),f!=null)for(o=u(f,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Fo(c),!t.c&&(t.c=new U3),it(t.c,u(n.hj(),29)));break}case 4:{l=n.ij(),l!=null&&(c=u(l,471),(c.Bb&1)==0&&(t=Fo(c),!t.c&&(t.c=new U3),BC(t.c,n.hj())));break}case 6:{if(l=n.ij(),l!=null)for(o=u(l,18).Jc();o.Ob();)c=u(o.Pb(),471),(c.Bb&1)==0&&(t=Fo(c),!t.c&&(t.c=new U3),BC(t.c,n.hj()));break}}this.ol(r)}},s.ol=function(n){Aze(this,n)},s.b=63,w(kn,"ESuperAdapter",1145),b(1146,1145,Lse,Fje),s.ol=function(n){Vw(this,n)},w(kn,"EClassImpl/10",1146),b(1135,699,Nc),s.Ci=function(n,t){return DR(this,n,t)},s.Di=function(n){return cJe(this,n)},s.Ei=function(n,t){X7(this,n,t)},s.Fi=function(n){m7(this,n)},s.Yi=function(n){return VZ(this,n)},s.Vi=function(n,t){return XF(this,n,t)},s.Uk=function(n,t){throw C(new ht)},s.Gi=function(){return new hm(this)},s.Hi=function(){return new qk(this)},s.Ii=function(n){return D7(this,n)},s.Vk=function(n,t){throw C(new ht)},s.Dk=function(n){return this},s.Oj=function(){return this.i!=0},s.Wb=function(n){throw C(new ht)},s.Ek=function(){throw C(new ht)},w(wi,"EcoreEList/UnmodifiableEList",1135),b(333,1135,Nc,g2),s.Wi=function(){return!1},w(wi,"EcoreEList/UnmodifiableEList/FastCompare",333),b(1138,333,Nc,$Be),s.bd=function(n){var t,i,r;if(F(n,179)&&(t=u(n,179),i=t.Jj(),i!=-1)){for(r=this.i;i<r;++i)if(K(this.g[i])===K(n))return i}return-1},w(kn,"EClassImpl/1EAllStructuralFeaturesList",1138),b(1132,492,ah,z5e),s.$i=function(n){return W(hc,tYe,87,n,0,1)},s.Wi=function(){return!1},w(kn,"EClassImpl/1EGenericSuperTypeEList",1132),b(625,492,ah,kD),s.$i=function(n){return W(ho,up,179,n,0,1)},s.Wi=function(){return!1},w(kn,"EClassImpl/1EStructuralFeatureUniqueEList",625),b(743,492,ah,cK),s.$i=function(n){return W(Xg,up,19,n,0,1)},s.Wi=function(){return!1},w(kn,"EClassImpl/1ReferenceList",743),b(1133,492,ah,Bje),s.Ki=function(n,t){tmn(this,u(t,38))},s.$i=function(n){return W(Ug,up,38,n,0,1)},s.Wi=function(){return!1},w(kn,"EClassImpl/2",1133),b(1134,492,ah,U5e),s.$i=function(n){return W(Ug,up,38,n,0,1)},s.Wi=function(){return!1},w(kn,"EClassImpl/3",1134),b(1136,333,Nc,YSe),s.Ec=function(n){return E5n(this,u(n,38))},s.Fi=function(n){i0n(this,u(n,38))},w(kn,"EClassImpl/4",1136),b(1137,333,Nc,ZSe),s.Ec=function(n){return A5n(this,u(n,19))},s.Fi=function(n){r0n(this,u(n,19))},w(kn,"EClassImpl/5",1137),b(1139,492,ah,X5e),s.$i=function(n){return W(bf,Bse,62,n,0,1)},s.Wi=function(){return!1},w(kn,"EClassImpl/6",1139),b(1140,492,ah,K5e),s.$i=function(n){return W(Xg,up,19,n,0,1)},s.Wi=function(){return!1},w(kn,"EClassImpl/7",1140),b(2060,2059,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,71:1,61:1,72:1}),s.Ci=function(n,t){return Fre(this,n,t)},s.Di=function(n){return Fre(this,this.Cj(),n)},s.Ei=function(n,t){nqe(this,n,t)},s.Fi=function(n){qHe(this,n)},s.Uk=function(n,t){return Cjn(this,n,t)},s.Vk=function(n,t){return tjn(this,n,t)},s.Vi=function(n,t){return hUe(this,n,t)},s.Yi=function(n){return this.vj(n)},s.Gi=function(){return new hm(this)},s.nj=function(){return this.qj()},s.Hi=function(){return new qk(this)},s.Ii=function(n){return D7(this,n)},w(wi,"DelegatingNotifyingInternalEListImpl",2060),b(744,2060,Rse),s.Ji=function(){var n;return n=un(eo(this.b),this.Jj()).Fk(),F(n,159)&&!F(n,459)&&(n.ik().i&1)==0},s.Gc=function(n){var t,i,r,c,o,f,l,h;if(this.ml()){if(h=this.Cj(),h>4)if(this.dk(n)){if(this.$k()){if(r=u(n,52),i=r.Bh(),l=i==this.b&&(this.kl()?r.vh(r.Ch(),u(un(eo(this.b),this.Jj()).Fk(),29).ik())==tc(u(un(eo(this.b),this.Jj()),19)).n:-1-r.Ch()==this.Jj()),this.ll()&&!l&&!i&&r.Gh()){for(c=0;c<h;++c)if(t=R$(this,this.vj(c)),K(t)===K(n))return!0}return l}else if(this.kl()&&!this.jl()){if(o=u(n,57).Jh(tc(u(un(eo(this.b),this.Jj()),19))),K(o)===K(this.b))return!0;if(o==null||!u(o,57).Sh())return!1}}else return!1;if(f=this.sj(n),this.ll()&&!f){for(c=0;c<h;++c)if(r=R$(this,this.vj(c)),K(r)===K(n))return!0}return f}else return this.sj(n)},s.Gj=function(n,t,i,r,c){return new ca(this.b,n,this.Jj(),t,i,r,c)},s.Hj=function(n){Gt(this.b,n)},s.Dk=function(n){return this},s.Ij=function(){return un(eo(this.b),this.Jj())},s.Jj=function(){return vi(eo(this.b),un(eo(this.b),this.Jj()))},s.hj=function(){return this.b},s.il=function(){return!!un(eo(this.b),this.Jj()).Fk().ik()},s.Kj=function(){var n,t;return t=un(eo(this.b),this.Jj()),F(t,103)?(n=u(t,19),(n.Bb&cu)!=0||!!tc(u(t,19))):!1},s.jl=function(){var n,t,i,r;return t=un(eo(this.b),this.Jj()),F(t,103)?(n=u(t,19),i=tc(n),!!i&&(r=i.t,r>1||r==-1)):!1},s.kl=function(){var n,t,i;return t=un(eo(this.b),this.Jj()),F(t,103)?(n=u(t,19),i=tc(n),!!i):!1},s.ll=function(){var n,t;return t=un(eo(this.b),this.Jj()),F(t,103)?(n=u(t,19),(n.Bb&Vr)!=0):!1},s.bd=function(n){var t,i,r,c;if(r=this.xj(n),r>=0)return r;if(this.ml()){for(i=0,c=this.Cj();i<c;++i)if(t=R$(this,this.vj(i)),K(t)===K(n))return i}return-1},s.Lj=function(n,t){var i;return i=u(n,52),this.kl()?this.il()?i.Oh(this.b,tc(u(un(eo(this.b),this.Jj()),19)).n,u(un(eo(this.b),this.Jj()).Fk(),29).ik(),t):i.Oh(this.b,vi(i.Ah(),tc(u(un(eo(this.b),this.Jj()),19))),null,t):i.Oh(this.b,-1-this.Jj(),null,t)},s.Mj=function(n,t){var i;return i=u(n,52),this.kl()?this.il()?i.Qh(this.b,tc(u(un(eo(this.b),this.Jj()),19)).n,u(un(eo(this.b),this.Jj()).Fk(),29).ik(),t):i.Qh(this.b,vi(i.Ah(),tc(u(un(eo(this.b),this.Jj()),19))),null,t):i.Qh(this.b,-1-this.Jj(),null,t)},s.$k=function(){var n,t;return t=un(eo(this.b),this.Jj()),F(t,103)?(n=u(t,19),(n.Bb&cu)!=0):!1},s.ml=function(){return F(un(eo(this.b),this.Jj()).Fk(),88)},s.dk=function(n){return un(eo(this.b),this.Jj()).Fk().dk(n)},s.Nj=function(){return Ko(this.b)},s.Oj=function(){return!this.yj()},s.Qi=function(){return un(eo(this.b),this.Jj()).Qi()},s.Ui=function(n,t){return Cj(this,n,t)},s.Wb=function(n){W9(this),Ii(this,u(n,16))},s.Nc=function(){var n;if(this.ll())for(n=this.Cj()-1;n>=0;--n)Cj(this,n,this.vj(n));return this.Dj()},s.Oc=function(n){var t;if(this.ll())for(t=this.Cj()-1;t>=0;--t)Cj(this,t,this.vj(t));return this.Ej(n)},s.Ek=function(){W9(this)},s.Xi=function(n,t){return GLe(this,n,t)},w(wi,"DelegatingEcoreEList",744),b(1141,744,Rse,WTe),s.oj=function(n,t){ywn(this,n,u(t,29))},s.pj=function(n){ubn(this,u(n,29))},s.vj=function(n){var t,i;return t=u(B(bu(this.a),n),87),i=t.c,F(i,88)?u(i,29):(nn(),gf)},s.Aj=function(n){var t,i;return t=u(Zw(bu(this.a),n),87),i=t.c,F(i,88)?u(i,29):(nn(),gf)},s.Bj=function(n,t){return Tjn(this,n,u(t,29))},s.Ji=function(){return!1},s.Gj=function(n,t,i,r,c){return null},s.qj=function(){return new Rje(this)},s.rj=function(){nt(bu(this.a))},s.sj=function(n){return PRe(this,n)},s.tj=function(n){var t,i;for(i=n.Jc();i.Ob();)if(t=i.Pb(),!PRe(this,t))return!1;return!0},s.uj=function(n){var t,i,r;if(F(n,16)&&(r=u(n,16),r.gc()==bu(this.a).i)){for(t=r.Jc(),i=new Rn(this);t.Ob();)if(K(t.Pb())!==K(Gn(i)))return!1;return!0}return!1},s.wj=function(){var n,t,i,r,c;for(i=1,t=new Rn(bu(this.a));t.e!=t.i.gc();)n=u(Gn(t),87),r=(c=n.c,F(c,88)?u(c,29):(nn(),gf)),i=31*i+(r?W0(r):0);return i},s.xj=function(n){var t,i,r,c;for(r=0,i=new Rn(bu(this.a));i.e!=i.i.gc();){if(t=u(Gn(i),87),K(n)===K((c=t.c,F(c,88)?u(c,29):(nn(),gf))))return r;++r}return-1},s.yj=function(){return bu(this.a).i==0},s.zj=function(){return null},s.Cj=function(){return bu(this.a).i},s.Dj=function(){var n,t,i,r,c,o;for(o=bu(this.a).i,c=W(ir,ln,1,o,5,1),i=0,t=new Rn(bu(this.a));t.e!=t.i.gc();)n=u(Gn(t),87),c[i++]=(r=n.c,F(r,88)?u(r,29):(nn(),gf));return c},s.Ej=function(n){var t,i,r,c,o,f,l;for(l=bu(this.a).i,n.length<l&&(c=N7(Zo(n).c,l),n=c),n.length>l&&Ni(n,l,null),r=0,i=new Rn(bu(this.a));i.e!=i.i.gc();)t=u(Gn(i),87),o=(f=t.c,F(f,88)?u(f,29):(nn(),gf)),Ni(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new Na,c.a+="[",n=bu(this.a),t=0,r=bu(this.a).i;t<r;)ac(c,D6((i=u(B(n,t),87).c,F(i,88)?u(i,29):(nn(),gf)))),++t<r&&(c.a+=Ju);return c.a+="]",c.a},s.Hj=function(n){},s.Jj=function(){return 10},s.il=function(){return!0},s.Kj=function(){return!1},s.jl=function(){return!1},s.kl=function(){return!1},s.ll=function(){return!0},s.$k=function(){return!1},s.ml=function(){return!0},s.dk=function(n){return F(n,88)},s.Oj=function(){return m4n(this.a)},s.Qi=function(){return!0},s.Wi=function(){return!0},w(kn,"EClassImpl/8",1141),b(1142,2027,C4,Rje),s.dd=function(n){return D7(this.a,n)},s.gc=function(){return bu(this.a.a).i},w(kn,"EClassImpl/8/1",1142),b(1143,492,ah,W5e),s.$i=function(n){return W(bl,ln,143,n,0,1)},s.Wi=function(){return!1},w(kn,"EClassImpl/9",1143),b(1130,48,xce,SEe),w(kn,"EClassImpl/MyHashSet",1130),b(563,360,{109:1,94:1,93:1,143:1,159:1,832:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,161:1,117:1,118:1,681:1},fM),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return pb(this);case 4:return this.gk();case 5:return this.F;case 6:return t?hs(this):Tv(this);case 7:return!this.A&&(this.A=new wo(Yu,this,7)),this.A;case 8:return gn(),(this.Bb&256)!=0}return Os(this,n-Un(this.fi()),un((r=u(xn(this,16),29),r||this.fi()),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!pb(this);case 4:return this.gk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Tv(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0}return Ps(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:bC(this,dt(t));return;case 2:WL(this,dt(t));return;case 5:k4(this,dt(t));return;case 7:!this.A&&(this.A=new wo(Yu,this,7)),nt(this.A),!this.A&&(this.A=new wo(Yu,this,7)),Ii(this.A,u(t,18));return;case 8:pT(this,Se(Te(t)));return}Bs(this,n-Un(this.fi()),un((i=u(xn(this,16),29),i||this.fi()),n),t)},s.fi=function(){return nn(),zfn},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,184)&&(u(this.Cb,184).tb=null),Ru(this,null);return;case 2:Kv(this,null),$v(this,this.D);return;case 5:k4(this,null);return;case 7:!this.A&&(this.A=new wo(Yu,this,7)),nt(this.A);return;case 8:pT(this,!0);return}Fs(this,n-Un(this.fi()),un((t=u(xn(this,16),29),t||this.fi()),n))},s.mi=function(){Ka((yo(),Or),this).ve(),this.Bb|=1},s.mk=function(){var n,t,i;if(!this.c&&(n=bqe(hs(this)),!n.dc()))for(i=n.Jc();i.Ob();)t=dt(i.Pb()),H9(this,t)&&fkn(this);return this.b},s.gk=function(){var n;if(!this.e){n=null;try{n=pb(this)}catch(t){if(t=Fi(t),!F(t,101))throw C(t)}this.d=null,n&&(n.i&1)!=0&&(n==ao?this.d=(gn(),ud):n==bt?this.d=fe(0):n==Qg?this.d=new hk(0):n==jr?this.d=0:n==Yb?this.d=zw(0):n==_p?this.d=Vv(0):n==Ao?this.d=I7(0):this.d=F7(0)),this.e=!0}return this.d},s.lk=function(){return(this.Bb&256)!=0},s.pl=function(n){n&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},s.el=function(n){GFe(this,n),this.pl(n)},s.fl=function(n){this.C=n,this.e=!1},s.Ib=function(){var n;return(this.Db&64)!=0?MT(this):(n=new Ys(MT(this)),n.a+=" (serializable: ",Da(n,(this.Bb&256)!=0),n.a+=")",n.a)},s.c=!1,s.d=null,s.e=!1,w(kn,"EDataTypeImpl",563),b(459,563,{109:1,94:1,93:1,143:1,159:1,832:1,675:1,158:1,197:1,57:1,114:1,52:1,100:1,360:1,459:1,161:1,117:1,118:1,681:1},IEe),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D!=null?this.D:this.B;case 3:return pb(this);case 4:return ane(this);case 5:return this.F;case 6:return t?hs(this):Tv(this);case 7:return!this.A&&(this.A=new wo(Yu,this,7)),this.A;case 8:return gn(),(this.Bb&256)!=0;case 9:return!this.a&&(this.a=new ue(Ma,this,9,5)),this.a}return Os(this,n-Un((nn(),Md)),un((r=u(xn(this,16),29),r||Md),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i);case 6:return this.Cb&&(i=(c=this.Db>>16,c>=0?kR(this,i):this.Cb.Qh(this,-1-c,null,i))),gs(this,n,6,i);case 9:return!this.a&&(this.a=new ue(Ma,this,9,5)),_u(this.a,n,i)}return o=u(un((r=u(xn(this,16),29),r||(nn(),Md)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),Md)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 6:return gs(this,null,6,i);case 7:return!this.A&&(this.A=new wo(Yu,this,7)),Xr(this.A,n,i);case 9:return!this.a&&(this.a=new ue(Ma,this,9,5)),Xr(this.a,n,i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),Md)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),Md)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!pb(this);case 4:return!!ane(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!Tv(this);case 7:return!!this.A&&this.A.i!=0;case 8:return(this.Bb&256)==0;case 9:return!!this.a&&this.a.i!=0}return Ps(this,n-Un((nn(),Md)),un((t=u(xn(this,16),29),t||Md),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:bC(this,dt(t));return;case 2:WL(this,dt(t));return;case 5:k4(this,dt(t));return;case 7:!this.A&&(this.A=new wo(Yu,this,7)),nt(this.A),!this.A&&(this.A=new wo(Yu,this,7)),Ii(this.A,u(t,18));return;case 8:pT(this,Se(Te(t)));return;case 9:!this.a&&(this.a=new ue(Ma,this,9,5)),nt(this.a),!this.a&&(this.a=new ue(Ma,this,9,5)),Ii(this.a,u(t,18));return}Bs(this,n-Un((nn(),Md)),un((i=u(xn(this,16),29),i||Md),n),t)},s.fi=function(){return nn(),Md},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,184)&&(u(this.Cb,184).tb=null),Ru(this,null);return;case 2:Kv(this,null),$v(this,this.D);return;case 5:k4(this,null);return;case 7:!this.A&&(this.A=new wo(Yu,this,7)),nt(this.A);return;case 8:pT(this,!0);return;case 9:!this.a&&(this.a=new ue(Ma,this,9,5)),nt(this.a);return}Fs(this,n-Un((nn(),Md)),un((t=u(xn(this,16),29),t||Md),n))},s.mi=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n<t;++n)zk(B(this.a,n));Ka((yo(),Or),this).ve(),this.Bb|=1},s.gk=function(){return ane(this)},s.dk=function(n){return n!=null},s.pl=function(n){},w(kn,"EEnumImpl",459),b(568,439,{109:1,94:1,93:1,2004:1,684:1,158:1,197:1,57:1,114:1,52:1,100:1,568:1,161:1,117:1,118:1},Xje),s.ve=function(){return this.zb},s.xh=function(n){return OJe(this,n)},s.Ih=function(n,t,i){var r,c;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return fe(this.d);case 3:return this.b?this.b:this.a;case 4:return c=this.c,c??this.zb;case 5:return this.Db>>16==5?u(this.Cb,675):null}return Os(this,n-Un((nn(),g1)),un((r=u(xn(this,16),29),r||g1),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i);case 5:return this.Cb&&(i=(c=this.Db>>16,c>=0?OJe(this,i):this.Cb.Qh(this,-1-c,null,i))),gs(this,n,5,i)}return o=u(un((r=u(xn(this,16),29),r||(nn(),g1)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),g1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 5:return gs(this,null,5,i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),g1)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),g1)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&u(this.Cb,675))}return Ps(this,n-Un((nn(),g1)),un((t=u(xn(this,16),29),t||g1),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:Ru(this,dt(t));return;case 2:eB(this,u(t,15).a);return;case 3:LHe(this,u(t,2004));return;case 4:tB(this,dt(t));return}Bs(this,n-Un((nn(),g1)),un((i=u(xn(this,16),29),i||g1),n),t)},s.fi=function(){return nn(),g1},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:Ru(this,null);return;case 2:eB(this,0);return;case 3:LHe(this,null);return;case 4:tB(this,null);return}Fs(this,n-Un((nn(),g1)),un((t=u(xn(this,16),29),t||g1),n))},s.Ib=function(){var n;return n=this.c,n??this.zb},s.b=null,s.c=null,s.d=0,w(kn,"EEnumLiteralImpl",568);var _Fn=yi(kn,"EFactoryImpl/InternalEDateTimeFormat");b(485,1,{2079:1},bk),w(kn,"EFactoryImpl/1ClientInternalEDateTimeFormat",485),b(248,118,{109:1,94:1,93:1,87:1,57:1,114:1,52:1,100:1,248:1,117:1,118:1},G0),s.zh=function(n,t,i){var r;return i=gs(this,n,t,i),this.e&&F(n,179)&&(r=uS(this,this.e),r!=this.c&&(i=j4(this,r,i))),i},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new Wi(hc,this,1)),this.d;case 2:return t?mS(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?dR(this):this.a}return Os(this,n-Un((nn(),Wb)),un((r=u(xn(this,16),29),r||Wb),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return mRe(this,null,i);case 1:return!this.d&&(this.d=new Wi(hc,this,1)),Xr(this.d,n,i);case 3:return pRe(this,null,i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),Wb)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),Wb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return Ps(this,n-Un((nn(),Wb)),un((t=u(xn(this,16),29),t||Wb),n))},s.$h=function(n,t){var i;switch(n){case 0:QJe(this,u(t,87));return;case 1:!this.d&&(this.d=new Wi(hc,this,1)),nt(this.d),!this.d&&(this.d=new Wi(hc,this,1)),Ii(this.d,u(t,18));return;case 3:_te(this,u(t,87));return;case 4:cie(this,u(t,835));return;case 5:Lv(this,u(t,143));return}Bs(this,n-Un((nn(),Wb)),un((i=u(xn(this,16),29),i||Wb),n),t)},s.fi=function(){return nn(),Wb},s.hi=function(n){var t;switch(n){case 0:QJe(this,null);return;case 1:!this.d&&(this.d=new Wi(hc,this,1)),nt(this.d);return;case 3:_te(this,null);return;case 4:cie(this,null);return;case 5:Lv(this,null);return}Fs(this,n-Un((nn(),Wb)),un((t=u(xn(this,16),29),t||Wb),n))},s.Ib=function(){var n;return n=new us(Pf(this)),n.a+=" (expression: ",k_(this,n),n.a+=")",n.a};var Owe;w(kn,"EGenericTypeImpl",248),b(2032,2027,AI),s.Ei=function(n,t){XTe(this,n,t)},s.Uk=function(n,t){return XTe(this,this.gc(),n),t},s.Yi=function(n){return wu(this.nj(),n)},s.Gi=function(){return this.Hi()},s.nj=function(){return new qje(this)},s.Hi=function(){return this.Ii(0)},s.Ii=function(n){return this.nj().dd(n)},s.Vk=function(n,t){return Hw(this,n,!0),t},s.Ri=function(n,t){var i,r;return r=AR(this,t),i=this.dd(n),i.Rb(r),r},s.Si=function(n,t){var i;Hw(this,t,!0),i=this.dd(n),i.Rb(t)},w(wi,"AbstractSequentialInternalEList",2032),b(482,2032,AI,Hk),s.Yi=function(n){return wu(this.nj(),n)},s.Gi=function(){return this.b==null?(Fa(),Fa(),EA):this.ql()},s.nj=function(){return new dCe(this.a,this.b)},s.Hi=function(){return this.b==null?(Fa(),Fa(),EA):this.ql()},s.Ii=function(n){var t,i;if(this.b==null){if(n<0||n>1)throw C(new $u(yy+n+", size=0"));return Fa(),Fa(),EA}for(i=this.ql(),t=0;t<n;++t)uT(i);return i},s.dc=function(){var n,t,i,r,c,o;if(this.b!=null){for(i=0;i<this.b.length;++i)if(n=this.b[i],!this.tl()||this.a.Uh(n)){if(o=this.a.Kh(n,!1),nc(),u(n,69).vk()){for(t=u(o,163),r=0,c=t.gc();r<c;++r)if(EPe(t.Rl(r))&&t.Sl(r)!=null)return!1}else if(n.Hk()){if(!u(o,18).dc())return!1}else if(o!=null)return!1}}return!0},s.Jc=function(){return See(this)},s.dd=function(n){var t,i;if(this.b==null){if(n!=0)throw C(new $u(yy+n+", size=0"));return Fa(),Fa(),EA}for(i=this.sl()?this.rl():this.ql(),t=0;t<n;++t)uT(i);return i},s.Ri=function(n,t){throw C(new ht)},s.Si=function(n,t){throw C(new ht)},s.ql=function(){return new px(this.a,this.b)},s.rl=function(){return new YV(this.a,this.b)},s.sl=function(){return!0},s.gc=function(){var n,t,i,r,c,o,f;if(c=0,this.b!=null){for(i=0;i<this.b.length;++i)if(n=this.b[i],!this.tl()||this.a.Uh(n))if(f=this.a.Kh(n,!1),nc(),u(n,69).vk())for(t=u(f,163),r=0,o=t.gc();r<o;++r)EPe(t.Rl(r))&&t.Sl(r)!=null&&++c;else n.Hk()?c+=u(f,18).gc():f!=null&&++c}return c},s.tl=function(){return!0};var wX;w(wi,"EContentsEList",482),b(1147,482,AI,NTe),s.ql=function(){return new DTe(this.a,this.b)},s.rl=function(){return new LTe(this.a,this.b)},s.tl=function(){return!1},w(kn,"ENamedElementImpl/1",1147),b(287,1,MI,px),s.Nb=function(n){Ir(this,n)},s.Rb=function(n){throw C(new ht)},s.ul=function(n){if(this.g!=0||this.e)throw C(new gc("Iterator already in use or already filtered"));this.e=n},s.Ob=function(){var n,t,i,r,c,o;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(!this.k||(this.p?!KGe(this,this.p):!FHe(this))){for(;this.d<this.c.length;)if(t=this.c[this.d++],(!this.e||t.nk()!=B5||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(o=this.b.Kh(t,this.sl()),this.f=(nc(),u(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=u(o,16),this.k=r):(r=u(o,72),this.k=this.j=r),F(this.k,59)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.Hi():this.k.cd(),this.p?KGe(this,this.p):FHe(this))return c=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=3,!0}else if(o!=null)return this.k=null,this.p=null,i=o,this.i=i,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}else return c=this.p?this.p.Pb():this.j?this.j.Yi(this.n++):this.k.Xb(this.n++),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=3,!0}},s.Sb=function(){var n,t,i,r,c,o;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(!this.k||(this.p?!WGe(this,this.p):!cHe(this))){for(;this.d>0;)if(t=this.c[--this.d],(!this.e||t.nk()!=B5||t.Jj()!=0)&&(!this.tl()||this.b.Uh(t))){if(o=this.b.Kh(t,this.sl()),this.f=(nc(),u(t,69).vk()),this.f||t.Hk()){if(this.sl()?(r=u(o,16),this.k=r):(r=u(o,72),this.k=this.j=r),F(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ii(this.k.gc()):this.k.dd(this.k.gc()),this.p?WGe(this,this.p):cHe(this))return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}else if(o!=null)return this.k=null,this.p=null,i=o,this.i=i,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}else return c=this.p?this.p.Ub():this.j?this.j.Yi(--this.n):this.k.Xb(--this.n),this.f?(n=u(c,75),n.Jk(),i=n.kd(),this.i=i):(i=c,this.i=i),this.g=-3,!0}},s.Pb=function(){return uT(this)},s.Tb=function(){return this.a},s.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw C(new Dc)},s.Vb=function(){return this.a-1},s.Qb=function(){throw C(new ht)},s.sl=function(){return!1},s.Wb=function(n){throw C(new ht)},s.tl=function(){return!0},s.a=0,s.d=0,s.f=!1,s.g=0,s.n=0,s.o=0;var EA;w(wi,"EContentsEList/FeatureIteratorImpl",287),b(700,287,MI,YV),s.sl=function(){return!0},w(wi,"EContentsEList/ResolvingFeatureIteratorImpl",700),b(1148,700,MI,LTe),s.tl=function(){return!1},w(kn,"ENamedElementImpl/1/1",1148),b(1149,287,MI,DTe),s.tl=function(){return!1},w(kn,"ENamedElementImpl/1/2",1149),b(39,151,uE,Nw,CF,hr,_F,ca,Mf,lee,yNe,hee,kNe,SZ,jNe,bee,ENe,TZ,ANe,aee,MNe,G6,j7,uF,dee,xNe,CZ,vNe),s.Ij=function(){return XZ(this)},s.Pj=function(){var n;return n=XZ(this),n?n.gk():null},s.fj=function(n){return this.b==-1&&this.a&&(this.b=this.c.Eh(this.a.Jj(),this.a.nk())),this.c.vh(this.b,n)},s.hj=function(){return this.c},s.Qj=function(){var n;return n=XZ(this),n?n.rk():!1},s.b=-1,w(kn,"ENotificationImpl",39),b(403,293,{109:1,94:1,93:1,158:1,197:1,57:1,62:1,114:1,470:1,52:1,100:1,161:1,403:1,293:1,117:1,118:1},HD),s.xh=function(n){return DJe(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return fe(this.s);case 5:return fe(this.t);case 6:return gn(),o=this.t,o>1||o==-1;case 7:return gn(),c=this.s,c>=1;case 8:return t?rf(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,29):null;case 11:return!this.d&&(this.d=new wo(Yu,this,11)),this.d;case 12:return!this.c&&(this.c=new ue(Kb,this,12,10)),this.c;case 13:return!this.a&&(this.a=new Kk(this,this)),this.a;case 14:return Ro(this)}return Os(this,n-Un((nn(),p1)),un((r=u(xn(this,16),29),r||p1),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?DJe(this,i):this.Cb.Qh(this,-1-c,null,i))),gs(this,n,10,i);case 12:return!this.c&&(this.c=new ue(Kb,this,12,10)),_u(this.c,n,i)}return o=u(un((r=u(xn(this,16),29),r||(nn(),p1)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),p1)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 9:return U$(this,i);case 10:return gs(this,null,10,i);case 11:return!this.d&&(this.d=new wo(Yu,this,11)),Xr(this.d,n,i);case 12:return!this.c&&(this.c=new ue(Kb,this,12,10)),Xr(this.c,n,i);case 14:return Xr(Ro(this),n,i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),p1)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),p1)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Z0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Z0(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,29));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&Ro(this.a.a).i!=0&&!(this.b&&hR(this.b));case 14:return!!this.b&&hR(this.b)}return Ps(this,n-Un((nn(),p1)),un((t=u(xn(this,16),29),t||p1),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:Ru(this,dt(t));return;case 2:Wa(this,Se(Te(t)));return;case 3:Va(this,Se(Te(t)));return;case 4:za(this,u(t,15).a);return;case 5:Fw(this,u(t,15).a);return;case 8:n0(this,u(t,143));return;case 9:r=xl(this,u(t,87),null),r&&r.mj();return;case 11:!this.d&&(this.d=new wo(Yu,this,11)),nt(this.d),!this.d&&(this.d=new wo(Yu,this,11)),Ii(this.d,u(t,18));return;case 12:!this.c&&(this.c=new ue(Kb,this,12,10)),nt(this.c),!this.c&&(this.c=new ue(Kb,this,12,10)),Ii(this.c,u(t,18));return;case 13:!this.a&&(this.a=new Kk(this,this)),W9(this.a),!this.a&&(this.a=new Kk(this,this)),Ii(this.a,u(t,18));return;case 14:nt(Ro(this)),Ii(Ro(this),u(t,18));return}Bs(this,n-Un((nn(),p1)),un((i=u(xn(this,16),29),i||p1),n),t)},s.fi=function(){return nn(),p1},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:Ru(this,null);return;case 2:Wa(this,!0);return;case 3:Va(this,!0);return;case 4:za(this,0);return;case 5:Fw(this,1);return;case 8:n0(this,null);return;case 9:i=xl(this,null,null),i&&i.mj();return;case 11:!this.d&&(this.d=new wo(Yu,this,11)),nt(this.d);return;case 12:!this.c&&(this.c=new ue(Kb,this,12,10)),nt(this.c);return;case 13:this.a&&W9(this.a);return;case 14:this.b&&nt(this.b);return}Fs(this,n-Un((nn(),p1)),un((t=u(xn(this,16),29),t||p1),n))},s.mi=function(){var n,t;if(this.c)for(n=0,t=this.c.i;n<t;++n)zk(B(this.c,n));rf(this),this.Bb|=1},w(kn,"EOperationImpl",403),b(500,744,Rse,Kk),s.oj=function(n,t){vwn(this,n,u(t,143))},s.pj=function(n){obn(this,u(n,143))},s.vj=function(n){var t,i;return t=u(B(Ro(this.a),n),87),i=t.c,i||(nn(),Hl)},s.Aj=function(n){var t,i;return t=u(Zw(Ro(this.a),n),87),i=t.c,i||(nn(),Hl)},s.Bj=function(n,t){return v7n(this,n,u(t,143))},s.Ji=function(){return!1},s.Gj=function(n,t,i,r,c){return null},s.qj=function(){return new _je(this)},s.rj=function(){nt(Ro(this.a))},s.sj=function(n){return LRe(this,n)},s.tj=function(n){var t,i;for(i=n.Jc();i.Ob();)if(t=i.Pb(),!LRe(this,t))return!1;return!0},s.uj=function(n){var t,i,r;if(F(n,16)&&(r=u(n,16),r.gc()==Ro(this.a).i)){for(t=r.Jc(),i=new Rn(this);t.Ob();)if(K(t.Pb())!==K(Gn(i)))return!1;return!0}return!1},s.wj=function(){var n,t,i,r,c;for(i=1,t=new Rn(Ro(this.a));t.e!=t.i.gc();)n=u(Gn(t),87),r=(c=n.c,c||(nn(),Hl)),i=31*i+(r?si(r):0);return i},s.xj=function(n){var t,i,r,c;for(r=0,i=new Rn(Ro(this.a));i.e!=i.i.gc();){if(t=u(Gn(i),87),K(n)===K((c=t.c,c||(nn(),Hl))))return r;++r}return-1},s.yj=function(){return Ro(this.a).i==0},s.zj=function(){return null},s.Cj=function(){return Ro(this.a).i},s.Dj=function(){var n,t,i,r,c,o;for(o=Ro(this.a).i,c=W(ir,ln,1,o,5,1),i=0,t=new Rn(Ro(this.a));t.e!=t.i.gc();)n=u(Gn(t),87),c[i++]=(r=n.c,r||(nn(),Hl));return c},s.Ej=function(n){var t,i,r,c,o,f,l;for(l=Ro(this.a).i,n.length<l&&(c=N7(Zo(n).c,l),n=c),n.length>l&&Ni(n,l,null),r=0,i=new Rn(Ro(this.a));i.e!=i.i.gc();)t=u(Gn(i),87),o=(f=t.c,f||(nn(),Hl)),Ni(n,r++,o);return n},s.Fj=function(){var n,t,i,r,c;for(c=new Na,c.a+="[",n=Ro(this.a),t=0,r=Ro(this.a).i;t<r;)ac(c,D6((i=u(B(n,t),87).c,i||(nn(),Hl)))),++t<r&&(c.a+=Ju);return c.a+="]",c.a},s.Hj=function(n){},s.Jj=function(){return 13},s.il=function(){return!0},s.Kj=function(){return!1},s.jl=function(){return!1},s.kl=function(){return!1},s.ll=function(){return!0},s.$k=function(){return!1},s.ml=function(){return!0},s.dk=function(n){return F(n,143)},s.Oj=function(){return k4n(this.a)},s.Qi=function(){return!0},s.Wi=function(){return!0},w(kn,"EOperationImpl/1",500),b(1331,2027,C4,_je),s.dd=function(n){return D7(this.a,n)},s.gc=function(){return Ro(this.a.a).i},w(kn,"EOperationImpl/1/1",1331),b(1332,544,Nc,NIe),s.Ri=function(n,t){var i,r;return i=u(k9(this,n,t),87),Ko(this.e)&&Q3(this,new j7(this.a,7,(nn(),Kfn),fe(t),(r=i.c,r||Hl),n)),i},s.Sj=function(n,t){return U8n(this,u(n,87),t)},s.Tj=function(n,t){return z8n(this,u(n,87),t)},s.Uj=function(n,t,i){return N7n(this,u(n,87),u(t,87),i)},s.Gj=function(n,t,i,r,c){switch(n){case 3:return V6(this,n,t,i,r,this.i>1);case 5:return V6(this,n,t,i,r,this.i-u(i,16).gc()>0);default:return new ca(this.e,n,this.c,t,i,r,!0)}},s.Rj=function(){return!0},s.Oj=function(){return hR(this)},s.Ek=function(){nt(this)},w(kn,"EOperationImpl/2",1332),b(493,1,{2002:1,493:1},Uxe),w(kn,"EPackageImpl/1",493),b(14,81,Nc,ue),s.gl=function(){return this.d},s.hl=function(){return this.b},s.kl=function(){return!0},s.b=0,w(wi,"EObjectContainmentWithInverseEList",14),b(361,14,Nc,am),s.ll=function(){return!0},s.Ui=function(n,t){return Km(this,n,u(t,57))},w(wi,"EObjectContainmentWithInverseEList/Resolving",361),b(313,361,Nc,Aw),s.Li=function(){this.a.tb=null},w(kn,"EPackageImpl/2",313),b(1244,1,{},u1n),w(kn,"EPackageImpl/3",1244),b(721,44,Y2,nW),s._b=function(n){return pr(n)?sF(this,n):!!pc(this.f,n)},w(kn,"EPackageRegistryImpl",721),b(504,293,{109:1,94:1,93:1,158:1,197:1,57:1,2081:1,114:1,470:1,52:1,100:1,161:1,504:1,293:1,117:1,118:1},qD),s.xh=function(n){return LJe(this,n)},s.Ih=function(n,t,i){var r,c,o;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return fe(this.s);case 5:return fe(this.t);case 6:return gn(),o=this.t,o>1||o==-1;case 7:return gn(),c=this.s,c>=1;case 8:return t?rf(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?u(this.Cb,62):null}return Os(this,n-Un((nn(),Wg)),un((r=u(xn(this,16),29),r||Wg),n),t,i)},s.Ph=function(n,t,i){var r,c,o;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),_u(this.Ab,n,i);case 10:return this.Cb&&(i=(c=this.Db>>16,c>=0?LJe(this,i):this.Cb.Qh(this,-1-c,null,i))),gs(this,n,10,i)}return o=u(un((r=u(xn(this,16),29),r||(nn(),Wg)),t),69),o.uk().xk(this,Uu(this),t-Un((nn(),Wg)),n,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 9:return U$(this,i);case 10:return gs(this,null,10,i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),Wg)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),Wg)),n,i)},s.Th=function(n){var t,i,r;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Z0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Z0(this.q).i==0);case 10:return!!(this.Db>>16==10&&u(this.Cb,62))}return Ps(this,n-Un((nn(),Wg)),un((t=u(xn(this,16),29),t||Wg),n))},s.fi=function(){return nn(),Wg},w(kn,"EParameterImpl",504),b(103,451,{109:1,94:1,93:1,158:1,197:1,57:1,19:1,179:1,69:1,114:1,470:1,52:1,100:1,161:1,103:1,451:1,293:1,117:1,118:1,682:1},tQ),s.Ih=function(n,t,i){var r,c,o,f;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return gn(),(this.Bb&256)!=0;case 3:return gn(),(this.Bb&512)!=0;case 4:return fe(this.s);case 5:return fe(this.t);case 6:return gn(),f=this.t,f>1||f==-1;case 7:return gn(),c=this.s,c>=1;case 8:return t?rf(this):this.r;case 9:return this.q;case 10:return gn(),(this.Bb&Df)!=0;case 11:return gn(),(this.Bb&i1)!=0;case 12:return gn(),(this.Bb&cg)!=0;case 13:return this.j;case 14:return b4(this);case 15:return gn(),(this.Bb&jo)!=0;case 16:return gn(),(this.Bb&ch)!=0;case 17:return Sw(this);case 18:return gn(),(this.Bb&cu)!=0;case 19:return gn(),o=tc(this),!!(o&&(o.Bb&cu)!=0);case 20:return gn(),(this.Bb&Vr)!=0;case 21:return t?tc(this):this.b;case 22:return t?Kee(this):JDe(this);case 23:return!this.a&&(this.a=new j2(Ug,this,23)),this.a}return Os(this,n-Un((nn(),$p)),un((r=u(xn(this,16),29),r||$p),n),t,i)},s.Th=function(n){var t,i,r,c;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return(this.Bb&256)==0;case 3:return(this.Bb&512)==0;case 4:return this.s!=0;case 5:return this.t!=1;case 6:return c=this.t,c>1||c==-1;case 7:return i=this.s,i>=1;case 8:return!!this.r&&!this.q.e&&Z0(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&Z0(this.q).i==0);case 10:return(this.Bb&Df)==0;case 11:return(this.Bb&i1)!=0;case 12:return(this.Bb&cg)!=0;case 13:return this.j!=null;case 14:return b4(this)!=null;case 15:return(this.Bb&jo)!=0;case 16:return(this.Bb&ch)!=0;case 17:return!!Sw(this);case 18:return(this.Bb&cu)!=0;case 19:return r=tc(this),!!r&&(r.Bb&cu)!=0;case 20:return(this.Bb&Vr)==0;case 21:return!!this.b;case 22:return!!JDe(this);case 23:return!!this.a&&this.a.i!=0}return Ps(this,n-Un((nn(),$p)),un((t=u(xn(this,16),29),t||$p),n))},s.$h=function(n,t){var i,r;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:mF(this,dt(t));return;case 2:Wa(this,Se(Te(t)));return;case 3:Va(this,Se(Te(t)));return;case 4:za(this,u(t,15).a);return;case 5:Fw(this,u(t,15).a);return;case 8:n0(this,u(t,143));return;case 9:r=xl(this,u(t,87),null),r&&r.mj();return;case 10:Yv(this,Se(Te(t)));return;case 11:e4(this,Se(Te(t)));return;case 12:Zv(this,Se(Te(t)));return;case 13:wV(this,dt(t));return;case 15:Qv(this,Se(Te(t)));return;case 16:n4(this,Se(Te(t)));return;case 18:vvn(this,Se(Te(t)));return;case 20:Dne(this,Se(Te(t)));return;case 21:Iee(this,u(t,19));return;case 23:!this.a&&(this.a=new j2(Ug,this,23)),nt(this.a),!this.a&&(this.a=new j2(Ug,this,23)),Ii(this.a,u(t,18));return}Bs(this,n-Un((nn(),$p)),un((i=u(xn(this,16),29),i||$p),n),t)},s.fi=function(){return nn(),$p},s.hi=function(n){var t,i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:F(this.Cb,88)&&Vw(Fo(u(this.Cb,88)),4),Ru(this,null);return;case 2:Wa(this,!0);return;case 3:Va(this,!0);return;case 4:za(this,0);return;case 5:Fw(this,1);return;case 8:n0(this,null);return;case 9:i=xl(this,null,null),i&&i.mj();return;case 10:Yv(this,!0);return;case 11:e4(this,!1);return;case 12:Zv(this,!1);return;case 13:this.i=null,ZC(this,null);return;case 15:Qv(this,!1);return;case 16:n4(this,!1);return;case 18:Nne(this,!1),F(this.Cb,88)&&Vw(Fo(u(this.Cb,88)),2);return;case 20:Dne(this,!0);return;case 21:Iee(this,null);return;case 23:!this.a&&(this.a=new j2(Ug,this,23)),nt(this.a);return}Fs(this,n-Un((nn(),$p)),un((t=u(xn(this,16),29),t||$p),n))},s.mi=function(){Kee(this),Mv(vc((yo(),Or),this)),rf(this),this.Bb|=1},s.sk=function(){return tc(this)},s.Zk=function(){var n;return n=tc(this),!!n&&(n.Bb&cu)!=0},s.$k=function(){return(this.Bb&cu)!=0},s._k=function(){return(this.Bb&Vr)!=0},s.Wk=function(n,t){return this.c=null,jne(this,n,t)},s.Ib=function(){var n;return(this.Db&64)!=0?gS(this):(n=new Ys(gS(this)),n.a+=" (containment: ",Da(n,(this.Bb&cu)!=0),n.a+=", resolveProxies: ",Da(n,(this.Bb&Vr)!=0),n.a+=")",n.a)},w(kn,"EReferenceImpl",103),b(550,118,{109:1,45:1,94:1,93:1,136:1,57:1,114:1,52:1,100:1,550:1,117:1,118:1},V5e),s.Fb=function(n){return this===n},s.jd=function(){return this.b},s.kd=function(){return this.c},s.Hb=function(){return W0(this)},s.Ai=function(n){Fpn(this,dt(n))},s.ld=function(n){return Mpn(this,dt(n))},s.Ih=function(n,t,i){var r;switch(n){case 0:return this.b;case 1:return this.c}return Os(this,n-Un((nn(),Zr)),un((r=u(xn(this,16),29),r||Zr),n),t,i)},s.Th=function(n){var t;switch(n){case 0:return this.b!=null;case 1:return this.c!=null}return Ps(this,n-Un((nn(),Zr)),un((t=u(xn(this,16),29),t||Zr),n))},s.$h=function(n,t){var i;switch(n){case 0:Bpn(this,dt(t));return;case 1:Eee(this,dt(t));return}Bs(this,n-Un((nn(),Zr)),un((i=u(xn(this,16),29),i||Zr),n),t)},s.fi=function(){return nn(),Zr},s.hi=function(n){var t;switch(n){case 0:Cee(this,null);return;case 1:Eee(this,null);return}Fs(this,n-Un((nn(),Zr)),un((t=u(xn(this,16),29),t||Zr),n))},s.yi=function(){var n;return this.a==-1&&(n=this.b,this.a=n==null?0:Ua(n)),this.a},s.zi=function(n){this.a=n},s.Ib=function(){var n;return(this.Db&64)!=0?Pf(this):(n=new Ys(Pf(this)),n.a+=" (key: ",ac(n,this.b),n.a+=", value: ",ac(n,this.c),n.a+=")",n.a)},s.a=-1,s.b=null,s.c=null;var nu=w(kn,"EStringToStringMapEntryImpl",550),eln=yi(wi,"FeatureMap/Entry/Internal");b(562,1,xI),s.vl=function(n){return this.wl(u(n,52))},s.wl=function(n){return this.vl(n)},s.Fb=function(n){var t,i;return this===n?!0:F(n,75)?(t=u(n,75),t.Jk()==this.c?(i=this.kd(),i==null?t.kd()==null:qt(i,t.kd())):!1):!1},s.Jk=function(){return this.c},s.Hb=function(){var n;return n=this.kd(),si(this.c)^(n==null?0:si(n))},s.Ib=function(){var n,t;return n=this.c,t=hs(n.ok()).vi(),n.ve(),(t!=null&&t.length!=0?t+":"+n.ve():n.ve())+"="+this.kd()},w(kn,"EStructuralFeatureImpl/BasicFeatureMapEntry",562),b(778,562,xI,wQ),s.wl=function(n){return new wQ(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return syn(this,n,this.a,t,i)},s.yl=function(n,t,i){return fyn(this,n,this.a,t,i)},w(kn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",778),b(1305,1,{},Xxe),s.wk=function(n,t,i,r,c){var o;return o=u(Pv(n,this.b),219),o.Wl(this.a).Dk(r)},s.xk=function(n,t,i,r,c){var o;return o=u(Pv(n,this.b),219),o.Nl(this.a,r,c)},s.yk=function(n,t,i,r,c){var o;return o=u(Pv(n,this.b),219),o.Ol(this.a,r,c)},s.zk=function(n,t,i){var r;return r=u(Pv(n,this.b),219),r.Wl(this.a).Oj()},s.Ak=function(n,t,i,r){var c;c=u(Pv(n,this.b),219),c.Wl(this.a).Wb(r)},s.Bk=function(n,t,i){return u(Pv(n,this.b),219).Wl(this.a)},s.Ck=function(n,t,i){var r;r=u(Pv(n,this.b),219),r.Wl(this.a).Ek()},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1305),b(89,1,{},Ra,Hd,Ja,Wd),s.wk=function(n,t,i,r,c){var o;if(o=t.ii(i),o==null&&t.ji(i,o=TS(this,n)),!c)switch(this.e){case 50:case 41:return u(o,587)._j();case 40:return u(o,219).Tl()}return o},s.xk=function(n,t,i,r,c){var o,f;return f=t.ii(i),f==null&&t.ji(i,f=TS(this,n)),o=u(f,72).Uk(r,c),o},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),o!=null&&(c=u(o,72).Vk(r,c)),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&u(r,78).Oj()},s.Ak=function(n,t,i,r){var c;c=u(t.ii(i),78),!c&&t.ji(i,c=TS(this,n)),c.Wb(r)},s.Bk=function(n,t,i){var r,c;return c=t.ii(i),c==null&&t.ji(i,c=TS(this,n)),F(c,78)?u(c,78):(r=u(t.ii(i),16),new Jje(r))},s.Ck=function(n,t,i){var r;r=u(t.ii(i),78),!r&&t.ji(i,r=TS(this,n)),r.Ek()},s.b=0,s.e=0,w(kn,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),b(499,1,{}),s.xk=function(n,t,i,r,c){throw C(new ht)},s.yk=function(n,t,i,r,c){throw C(new ht)},s.Bk=function(n,t,i){return new XPe(this,n,t,i)};var zh;w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",499),b(1322,1,uH,XPe),s.Dk=function(n){return this.a.wk(this.c,this.d,this.b,n,!0)},s.Oj=function(){return this.a.zk(this.c,this.d,this.b)},s.Wb=function(n){this.a.Ak(this.c,this.d,this.b,n)},s.Ek=function(){this.a.Ck(this.c,this.d,this.b)},s.b=0,w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1322),b(771,499,{},VY),s.wk=function(n,t,i,r,c){return s_(n,n.Mh(),n.Ch())==this.b?this._k()&&r?WR(n):n.Mh():null},s.xk=function(n,t,i,r,c){var o,f;return n.Mh()&&(c=(o=n.Ch(),o>=0?n.xh(c):n.Mh().Qh(n,-1-o,null,c))),f=vi(n.Ah(),this.e),n.zh(r,f,c)},s.yk=function(n,t,i,r,c){var o;return o=vi(n.Ah(),this.e),n.zh(null,o,c)},s.zk=function(n,t,i){var r;return r=vi(n.Ah(),this.e),!!n.Mh()&&n.Ch()==r},s.Ak=function(n,t,i,r){var c,o,f,l,h;if(r!=null&&!a_(this.a,r))throw C(new Y3(CI+(F(r,57)?Rte(u(r,57).Ah()):oee(Zo(r)))+TI+this.a+"'"));if(c=n.Mh(),f=vi(n.Ah(),this.e),K(r)!==K(c)||n.Ch()!=f&&r!=null){if(u4(n,u(r,57)))throw C(new An(my+n.Ib()));h=null,c&&(h=(o=n.Ch(),o>=0?n.xh(h):n.Mh().Qh(n,-1-o,null,h))),l=u(r,52),l&&(h=l.Oh(n,vi(l.Ah(),this.b),null,h)),h=n.zh(l,f,h),h&&h.mj()}else n.sh()&&n.th()&&Gt(n,new hr(n,1,f,r,r))},s.Ck=function(n,t,i){var r,c,o,f;r=n.Mh(),r?(f=(c=n.Ch(),c>=0?n.xh(null):n.Mh().Qh(n,-1-c,null,null)),o=vi(n.Ah(),this.e),f=n.zh(null,o,f),f&&f.mj()):n.sh()&&n.th()&&Gt(n,new G6(n,1,this.e,null,null))},s._k=function(){return!1},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",771),b(1306,771,{},GSe),s._k=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1306),b(560,499,{}),s.wk=function(n,t,i,r,c){var o;return o=t.ii(i),o==null?this.b:K(o)===K(zh)?null:o},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null&&(K(r)===K(zh)||!qt(r,this.b))},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=(o=t.ii(i),o==null?this.b:K(o)===K(zh)?null:o),r==null?this.c!=null?(t.ji(i,null),r=this.b):this.b!=null?t.ji(i,zh):t.ji(i,null):(this.zl(r),t.ji(i,r)),Gt(n,this.d.Al(n,1,this.e,c,r))):r==null?this.c!=null?t.ji(i,null):this.b!=null?t.ji(i,zh):t.ji(i,null):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=(c=t.ii(i),c==null?this.b:K(c)===K(zh)?null:c),t.ki(i),Gt(n,this.d.Al(n,1,this.e,r,this.b))):t.ki(i)},s.zl=function(n){throw C(new Yje)},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",560),b(op,1,{},Q5e),s.Al=function(n,t,i,r,c){return new G6(n,t,i,r,c)},s.Bl=function(n,t,i,r,c,o){return new uF(n,t,i,r,c,o)};var Nwe,Dwe,Lwe,$we,Fwe,Bwe,Rwe,gX,_we;w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",op),b(1323,op,{},Y5e),s.Al=function(n,t,i,r,c){return new CZ(n,t,i,Se(Te(r)),Se(Te(c)))},s.Bl=function(n,t,i,r,c,o){return new vNe(n,t,i,Se(Te(r)),Se(Te(c)),o)},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1323),b(1324,op,{},Z5e),s.Al=function(n,t,i,r,c){return new lee(n,t,i,u(r,221).a,u(c,221).a)},s.Bl=function(n,t,i,r,c,o){return new yNe(n,t,i,u(r,221).a,u(c,221).a,o)},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1324),b(1325,op,{},e6e),s.Al=function(n,t,i,r,c){return new hee(n,t,i,u(r,180).a,u(c,180).a)},s.Bl=function(n,t,i,r,c,o){return new kNe(n,t,i,u(r,180).a,u(c,180).a,o)},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1325),b(1326,op,{},n6e),s.Al=function(n,t,i,r,c){return new SZ(n,t,i,J(H(r)),J(H(c)))},s.Bl=function(n,t,i,r,c,o){return new jNe(n,t,i,J(H(r)),J(H(c)),o)},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1326),b(1327,op,{},t6e),s.Al=function(n,t,i,r,c){return new bee(n,t,i,u(r,164).a,u(c,164).a)},s.Bl=function(n,t,i,r,c,o){return new ENe(n,t,i,u(r,164).a,u(c,164).a,o)},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1327),b(1328,op,{},i6e),s.Al=function(n,t,i,r,c){return new TZ(n,t,i,u(r,15).a,u(c,15).a)},s.Bl=function(n,t,i,r,c,o){return new ANe(n,t,i,u(r,15).a,u(c,15).a,o)},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1328),b(1329,op,{},r6e),s.Al=function(n,t,i,r,c){return new aee(n,t,i,u(r,190).a,u(c,190).a)},s.Bl=function(n,t,i,r,c,o){return new MNe(n,t,i,u(r,190).a,u(c,190).a,o)},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1329),b(1330,op,{},c6e),s.Al=function(n,t,i,r,c){return new dee(n,t,i,u(r,191).a,u(c,191).a)},s.Bl=function(n,t,i,r,c,o){return new xNe(n,t,i,u(r,191).a,u(c,191).a,o)},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1330),b(1308,560,{},QPe),s.zl=function(n){if(!this.a.dk(n))throw C(new Y3(CI+Zo(n)+TI+this.a+"'"))},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1308),b(1309,560,{},DIe),s.zl=function(n){},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1309),b(772,560,{}),s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o;n.sh()&&n.th()?(c=!0,o=t.ii(i),o==null?(c=!1,o=this.b):K(o)===K(zh)&&(o=null),r==null?this.c!=null?(t.ji(i,null),r=this.b):t.ji(i,zh):(this.zl(r),t.ji(i,r)),Gt(n,this.d.Bl(n,1,this.e,o,r,!c))):r==null?this.c!=null?t.ji(i,null):t.ji(i,zh):(this.zl(r),t.ji(i,r))},s.Ck=function(n,t,i){var r,c;n.sh()&&n.th()?(r=!0,c=t.ii(i),c==null?(r=!1,c=this.b):K(c)===K(zh)&&(c=null),t.ki(i),Gt(n,this.d.Bl(n,2,this.e,c,this.b,r))):t.ki(i)},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",772),b(1310,772,{},YPe),s.zl=function(n){if(!this.a.dk(n))throw C(new Y3(CI+Zo(n)+TI+this.a+"'"))},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1310),b(1311,772,{},LIe),s.zl=function(n){},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1311),b(402,499,{},Rx),s.wk=function(n,t,i,r,c){var o,f,l,h,a;if(a=t.ii(i),this.rk()&&K(a)===K(zh))return null;if(this._k()&&r&&a!=null){if(l=u(a,52),l.Sh()&&(h=q1(n,l),l!=h)){if(!a_(this.a,h))throw C(new Y3(CI+Zo(h)+TI+this.a+"'"));t.ji(i,a=h),this.$k()&&(o=u(h,52),f=l.Qh(n,this.b?vi(l.Ah(),this.b):-1-vi(n.Ah(),this.e),null,null),!o.Mh()&&(f=o.Oh(n,this.b?vi(o.Ah(),this.b):-1-vi(n.Ah(),this.e),null,f)),f&&f.mj()),n.sh()&&n.th()&&Gt(n,new G6(n,9,this.e,l,h))}return a}else return a},s.xk=function(n,t,i,r,c){var o,f;return f=t.ii(i),K(f)===K(zh)&&(f=null),t.ji(i,r),this.Kj()?K(f)!==K(r)&&f!=null&&(o=u(f,52),c=o.Qh(n,vi(o.Ah(),this.b),null,c)):this.$k()&&f!=null&&(c=u(f,52).Qh(n,-1-vi(n.Ah(),this.e),null,c)),n.sh()&&n.th()&&(!c&&(c=new M1(4)),c.lj(new G6(n,1,this.e,f,r))),c},s.yk=function(n,t,i,r,c){var o;return o=t.ii(i),K(o)===K(zh)&&(o=null),t.ki(i),n.sh()&&n.th()&&(!c&&(c=new M1(4)),this.rk()?c.lj(new G6(n,2,this.e,o,null)):c.lj(new G6(n,1,this.e,o,null))),c},s.zk=function(n,t,i){var r;return r=t.ii(i),r!=null},s.Ak=function(n,t,i,r){var c,o,f,l,h;if(r!=null&&!a_(this.a,r))throw C(new Y3(CI+(F(r,57)?Rte(u(r,57).Ah()):oee(Zo(r)))+TI+this.a+"'"));h=t.ii(i),l=h!=null,this.rk()&&K(h)===K(zh)&&(h=null),f=null,this.Kj()?K(h)!==K(r)&&(h!=null&&(c=u(h,52),f=c.Qh(n,vi(c.Ah(),this.b),null,f)),r!=null&&(c=u(r,52),f=c.Oh(n,vi(c.Ah(),this.b),null,f))):this.$k()&&K(h)!==K(r)&&(h!=null&&(f=u(h,52).Qh(n,-1-vi(n.Ah(),this.e),null,f)),r!=null&&(f=u(r,52).Oh(n,-1-vi(n.Ah(),this.e),null,f))),r==null&&this.rk()?t.ji(i,zh):t.ji(i,r),n.sh()&&n.th()?(o=new uF(n,1,this.e,h,r,this.rk()&&!l),f?(f.lj(o),f.mj()):Gt(n,o)):f&&f.mj()},s.Ck=function(n,t,i){var r,c,o,f,l;l=t.ii(i),f=l!=null,this.rk()&&K(l)===K(zh)&&(l=null),o=null,l!=null&&(this.Kj()?(r=u(l,52),o=r.Qh(n,vi(r.Ah(),this.b),null,o)):this.$k()&&(o=u(l,52).Qh(n,-1-vi(n.Ah(),this.e),null,o))),t.ki(i),n.sh()&&n.th()?(c=new uF(n,this.rk()?2:1,this.e,l,null,f),o?(o.lj(c),o.mj()):Gt(n,c)):o&&o.mj()},s.Kj=function(){return!1},s.$k=function(){return!1},s._k=function(){return!1},s.rk=function(){return!1},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",402),b(561,402,{},s$),s.$k=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",561),b(1314,561,{},FTe),s._k=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1314),b(774,561,{},eQ),s.rk=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",774),b(1316,774,{},BTe),s._k=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1316),b(639,561,{},E$),s.Kj=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",639),b(1315,639,{},HSe),s._k=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1315),b(775,639,{},BQ),s.rk=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",775),b(1317,775,{},qSe),s._k=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1317),b(640,402,{},ZV),s._k=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",640),b(1318,640,{},RTe),s.rk=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1318),b(776,640,{},$Q),s.Kj=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",776),b(1319,776,{},zSe),s.rk=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1319),b(1312,402,{},$Te),s.rk=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1312),b(773,402,{},FQ),s.Kj=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",773),b(1313,773,{},USe),s.rk=function(){return!0},w(kn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1313),b(777,562,xI,PY),s.wl=function(n){return new PY(this.a,this.c,n)},s.kd=function(){return this.b},s.xl=function(n,t,i){return o6n(this,n,this.b,i)},s.yl=function(n,t,i){return s6n(this,n,this.b,i)},w(kn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",777),b(1320,1,uH,Jje),s.Dk=function(n){return this.a},s.Oj=function(){return F(this.a,98)?u(this.a,98).Oj():!this.a.dc()},s.Wb=function(n){this.a.$b(),this.a.Fc(u(n,16))},s.Ek=function(){F(this.a,98)?u(this.a,98).Ek():this.a.$b()},w(kn,"EStructuralFeatureImpl/SettingMany",1320),b(1321,562,xI,wDe),s.vl=function(n){return new d$((Zt(),U8),this.b.oi(this.a,n))},s.kd=function(){return null},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},w(kn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1321),b(641,562,xI,d$),s.vl=function(n){return new d$(this.c,n)},s.kd=function(){return this.a},s.xl=function(n,t,i){return i},s.yl=function(n,t,i){return i},w(kn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",641),b(396,492,ah,U3),s.$i=function(n){return W(df,ln,29,n,0,1)},s.Wi=function(){return!1},w(kn,"ESuperAdapter/1",396),b(446,439,{109:1,94:1,93:1,158:1,197:1,57:1,114:1,835:1,52:1,100:1,161:1,446:1,117:1,118:1},jD),s.Ih=function(n,t,i){var r;switch(n){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new R6(this,hc,this)),this.a}return Os(this,n-Un((nn(),Vb)),un((r=u(xn(this,16),29),r||Vb),n),t,i)},s.Rh=function(n,t,i){var r,c;switch(t){case 0:return!this.Ab&&(this.Ab=new ue(St,this,0,3)),Xr(this.Ab,n,i);case 2:return!this.a&&(this.a=new R6(this,hc,this)),Xr(this.a,n,i)}return c=u(un((r=u(xn(this,16),29),r||(nn(),Vb)),t),69),c.uk().yk(this,Uu(this),t-Un((nn(),Vb)),n,i)},s.Th=function(n){var t;switch(n){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return Ps(this,n-Un((nn(),Vb)),un((t=u(xn(this,16),29),t||Vb),n))},s.$h=function(n,t){var i;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab),!this.Ab&&(this.Ab=new ue(St,this,0,3)),Ii(this.Ab,u(t,18));return;case 1:Ru(this,dt(t));return;case 2:!this.a&&(this.a=new R6(this,hc,this)),nt(this.a),!this.a&&(this.a=new R6(this,hc,this)),Ii(this.a,u(t,18));return}Bs(this,n-Un((nn(),Vb)),un((i=u(xn(this,16),29),i||Vb),n),t)},s.fi=function(){return nn(),Vb},s.hi=function(n){var t;switch(n){case 0:!this.Ab&&(this.Ab=new ue(St,this,0,3)),nt(this.Ab);return;case 1:Ru(this,null);return;case 2:!this.a&&(this.a=new R6(this,hc,this)),nt(this.a);return}Fs(this,n-Un((nn(),Vb)),un((t=u(xn(this,16),29),t||Vb),n))},w(kn,"ETypeParameterImpl",446),b(447,81,Nc,R6),s.Lj=function(n,t){return QAn(this,u(n,87),t)},s.Mj=function(n,t){return YAn(this,u(n,87),t)},w(kn,"ETypeParameterImpl/1",447),b(638,44,Y2,zD),s.ec=function(){return new uM(this)},w(kn,"ETypeParameterImpl/2",638),b(557,Sl,ko,uM),s.Ec=function(n){return vSe(this,u(n,87))},s.Fc=function(n){var t,i,r;for(r=!1,i=n.Jc();i.Ob();)t=u(i.Pb(),87),It(this.a,t,"")==null&&(r=!0);return r},s.$b=function(){ou(this.a)},s.Gc=function(n){return Mu(this.a,n)},s.Jc=function(){var n;return n=new Rw(new nw(this.a).a),new oM(n)},s.Kc=function(n){return nLe(this,n)},s.gc=function(){return f6(this.a)},w(kn,"ETypeParameterImpl/2/1",557),b(558,1,kr,oM),s.Nb=function(n){Ir(this,n)},s.Pb=function(){return u(L2(this.a).jd(),87)},s.Ob=function(){return this.a.b},s.Qb=function(){p$e(this.a)},w(kn,"ETypeParameterImpl/2/1/1",558),b(1282,44,Y2,PEe),s._b=function(n){return pr(n)?sF(this,n):!!pc(this.f,n)},s.xc=function(n){var t,i;return t=pr(n)?xu(this,n):$c(pc(this.f,n)),F(t,836)?(i=u(t,836),t=i.Ik(),It(this,u(n,241),t),t):t??(n==null?(fL(),tln):null)},w(kn,"EValidatorRegistryImpl",1282),b(1304,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,2005:1,52:1,100:1,161:1,117:1,118:1},u6e),s.oi=function(n,t){switch(n.fk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return t==null?null:Oc(t);case 25:return p9n(t);case 27:return P6n(t);case 28:return O6n(t);case 29:return t==null?null:GCe(_8[0],u(t,205));case 41:return t==null?"":Nd(u(t,298));case 42:return Oc(t);case 50:return dt(t);default:throw C(new An(K4+n.ve()+Nb))}},s.pi=function(n){var t,i,r,c,o,f,l,h,a,d,g,m,y,j,A,T;switch(n.G==-1&&(n.G=(m=hs(n),m?Qa(m.si(),n):-1)),n.G){case 0:return i=new GD,i;case 1:return t=new rK,t;case 2:return r=new fK,r;case 4:return c=new fM,c;case 5:return o=new IEe,o;case 6:return f=new Xje,f;case 7:return l=new sK,l;case 10:return a=new ZA,a;case 11:return d=new HD,d;case 12:return g=new sOe,g;case 13:return y=new qD,y;case 14:return j=new tQ,j;case 17:return A=new V5e,A;case 18:return h=new G0,h;case 19:return T=new jD,T;default:throw C(new An(qG+n.zb+Nb))}},s.qi=function(n,t){switch(n.fk()){case 20:return t==null?null:new EW(t);case 21:return t==null?null:new I1(t);case 23:case 22:return t==null?null:w7n(t);case 26:case 24:return t==null?null:I7(ws(t,-128,127)<<24>>24);case 25:return hTn(t);case 27:return Qjn(t);case 28:return Yjn(t);case 29:return pMn(t);case 32:case 31:return t==null?null:Kw(t);case 38:case 37:return t==null?null:new UK(t);case 40:case 39:return t==null?null:fe(ws(t,Mr,Ft));case 41:return null;case 42:return t==null,null;case 44:case 43:return t==null?null:zw(CS(t));case 49:case 48:return t==null?null:Vv(ws(t,SI,32767)<<16>>16);case 50:return t;default:throw C(new An(K4+n.ve()+Nb))}},w(kn,"EcoreFactoryImpl",1304),b(549,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,2003:1,52:1,100:1,161:1,184:1,549:1,117:1,118:1,680:1},PPe),s.gb=!1,s.hb=!1;var Jwe,nln=!1;w(kn,"EcorePackageImpl",549),b(1200,1,{836:1},o6e),s.Ik=function(){return nTe(),iln},w(kn,"EcorePackageImpl/1",1200),b(1209,1,Nt,s6e),s.dk=function(n){return F(n,158)},s.ek=function(n){return W(vA,ln,158,n,0,1)},w(kn,"EcorePackageImpl/10",1209),b(1210,1,Nt,f6e),s.dk=function(n){return F(n,197)},s.ek=function(n){return W(oX,ln,197,n,0,1)},w(kn,"EcorePackageImpl/11",1210),b(1211,1,Nt,l6e),s.dk=function(n){return F(n,57)},s.ek=function(n){return W(Ed,ln,57,n,0,1)},w(kn,"EcorePackageImpl/12",1211),b(1212,1,Nt,h6e),s.dk=function(n){return F(n,403)},s.ek=function(n){return W(bf,Bse,62,n,0,1)},w(kn,"EcorePackageImpl/13",1212),b(1213,1,Nt,a6e),s.dk=function(n){return F(n,241)},s.ek=function(n){return W(dl,ln,241,n,0,1)},w(kn,"EcorePackageImpl/14",1213),b(1214,1,Nt,d6e),s.dk=function(n){return F(n,504)},s.ek=function(n){return W(Kb,ln,2081,n,0,1)},w(kn,"EcorePackageImpl/15",1214),b(1215,1,Nt,b6e),s.dk=function(n){return F(n,103)},s.ek=function(n){return W(Xg,up,19,n,0,1)},w(kn,"EcorePackageImpl/16",1215),b(1216,1,Nt,w6e),s.dk=function(n){return F(n,179)},s.ek=function(n){return W(ho,up,179,n,0,1)},w(kn,"EcorePackageImpl/17",1216),b(1217,1,Nt,g6e),s.dk=function(n){return F(n,470)},s.ek=function(n){return W(zg,ln,470,n,0,1)},w(kn,"EcorePackageImpl/18",1217),b(1218,1,Nt,p6e),s.dk=function(n){return F(n,550)},s.ek=function(n){return W(nu,RQe,550,n,0,1)},w(kn,"EcorePackageImpl/19",1218),b(1201,1,Nt,m6e),s.dk=function(n){return F(n,335)},s.ek=function(n){return W(Ug,up,38,n,0,1)},w(kn,"EcorePackageImpl/2",1201),b(1219,1,Nt,v6e),s.dk=function(n){return F(n,248)},s.ek=function(n){return W(hc,tYe,87,n,0,1)},w(kn,"EcorePackageImpl/20",1219),b(1220,1,Nt,y6e),s.dk=function(n){return F(n,446)},s.ek=function(n){return W(Yu,ln,835,n,0,1)},w(kn,"EcorePackageImpl/21",1220),b(1221,1,Nt,k6e),s.dk=function(n){return dw(n)},s.ek=function(n){return W(Ci,ge,473,n,8,1)},w(kn,"EcorePackageImpl/22",1221),b(1222,1,Nt,j6e),s.dk=function(n){return F(n,195)},s.ek=function(n){return W(Ao,ge,195,n,0,2)},w(kn,"EcorePackageImpl/23",1222),b(1223,1,Nt,E6e),s.dk=function(n){return F(n,221)},s.ek=function(n){return W(s3,ge,221,n,0,1)},w(kn,"EcorePackageImpl/24",1223),b(1224,1,Nt,A6e),s.dk=function(n){return F(n,180)},s.ek=function(n){return W(Iy,ge,180,n,0,1)},w(kn,"EcorePackageImpl/25",1224),b(1225,1,Nt,M6e),s.dk=function(n){return F(n,205)},s.ek=function(n){return W(RI,ge,205,n,0,1)},w(kn,"EcorePackageImpl/26",1225),b(1226,1,Nt,x6e),s.dk=function(n){return!1},s.ek=function(n){return W(cge,ln,2177,n,0,1)},w(kn,"EcorePackageImpl/27",1226),b(1227,1,Nt,C6e),s.dk=function(n){return bw(n)},s.ek=function(n){return W(zi,ge,346,n,7,1)},w(kn,"EcorePackageImpl/28",1227),b(1228,1,Nt,T6e),s.dk=function(n){return F(n,61)},s.ek=function(n){return W(ywe,ug,61,n,0,1)},w(kn,"EcorePackageImpl/29",1228),b(1202,1,Nt,S6e),s.dk=function(n){return F(n,505)},s.ek=function(n){return W(St,{3:1,4:1,5:1,1998:1},588,n,0,1)},w(kn,"EcorePackageImpl/3",1202),b(1229,1,Nt,I6e),s.dk=function(n){return F(n,568)},s.ek=function(n){return W(Ewe,ln,2004,n,0,1)},w(kn,"EcorePackageImpl/30",1229),b(1230,1,Nt,P6e),s.dk=function(n){return F(n,163)},s.ek=function(n){return W(Uwe,ug,163,n,0,1)},w(kn,"EcorePackageImpl/31",1230),b(1231,1,Nt,O6e),s.dk=function(n){return F(n,75)},s.ek=function(n){return W(eN,hYe,75,n,0,1)},w(kn,"EcorePackageImpl/32",1231),b(1232,1,Nt,N6e),s.dk=function(n){return F(n,164)},s.ek=function(n){return W(t5,ge,164,n,0,1)},w(kn,"EcorePackageImpl/33",1232),b(1233,1,Nt,D6e),s.dk=function(n){return F(n,15)},s.ek=function(n){return W(Zi,ge,15,n,0,1)},w(kn,"EcorePackageImpl/34",1233),b(1234,1,Nt,L6e),s.dk=function(n){return F(n,298)},s.ek=function(n){return W(Qse,ln,298,n,0,1)},w(kn,"EcorePackageImpl/35",1234),b(1235,1,Nt,$6e),s.dk=function(n){return F(n,190)},s.ek=function(n){return W(Lb,ge,190,n,0,1)},w(kn,"EcorePackageImpl/36",1235),b(1236,1,Nt,F6e),s.dk=function(n){return F(n,92)},s.ek=function(n){return W(Yse,ln,92,n,0,1)},w(kn,"EcorePackageImpl/37",1236),b(1237,1,Nt,B6e),s.dk=function(n){return F(n,589)},s.ek=function(n){return W(Gwe,ln,589,n,0,1)},w(kn,"EcorePackageImpl/38",1237),b(1238,1,Nt,R6e),s.dk=function(n){return!1},s.ek=function(n){return W(uge,ln,2178,n,0,1)},w(kn,"EcorePackageImpl/39",1238),b(1203,1,Nt,_6e),s.dk=function(n){return F(n,88)},s.ek=function(n){return W(df,ln,29,n,0,1)},w(kn,"EcorePackageImpl/4",1203),b(1239,1,Nt,J6e),s.dk=function(n){return F(n,191)},s.ek=function(n){return W($b,ge,191,n,0,1)},w(kn,"EcorePackageImpl/40",1239),b(1240,1,Nt,G6e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(kn,"EcorePackageImpl/41",1240),b(1241,1,Nt,H6e),s.dk=function(n){return F(n,586)},s.ek=function(n){return W(jwe,ln,586,n,0,1)},w(kn,"EcorePackageImpl/42",1241),b(1242,1,Nt,q6e),s.dk=function(n){return!1},s.ek=function(n){return W(oge,ge,2179,n,0,1)},w(kn,"EcorePackageImpl/43",1242),b(1243,1,Nt,z6e),s.dk=function(n){return F(n,45)},s.ek=function(n){return W(p0,IS,45,n,0,1)},w(kn,"EcorePackageImpl/44",1243),b(1204,1,Nt,U6e),s.dk=function(n){return F(n,143)},s.ek=function(n){return W(bl,ln,143,n,0,1)},w(kn,"EcorePackageImpl/5",1204),b(1205,1,Nt,X6e),s.dk=function(n){return F(n,159)},s.ek=function(n){return W(dX,ln,159,n,0,1)},w(kn,"EcorePackageImpl/6",1205),b(1206,1,Nt,K6e),s.dk=function(n){return F(n,459)},s.ek=function(n){return W(ZO,ln,675,n,0,1)},w(kn,"EcorePackageImpl/7",1206),b(1207,1,Nt,W6e),s.dk=function(n){return F(n,568)},s.ek=function(n){return W(Ma,ln,684,n,0,1)},w(kn,"EcorePackageImpl/8",1207),b(1208,1,Nt,V6e),s.dk=function(n){return F(n,469)},s.ek=function(n){return W(R8,ln,469,n,0,1)},w(kn,"EcorePackageImpl/9",1208),b(1020,2045,BQe,eAe),s.Ki=function(n,t){K8n(this,u(t,415))},s.Oi=function(n,t){iHe(this,n,u(t,415))},w(kn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1020),b(1021,151,uE,vPe),s.hj=function(){return this.a.a},w(kn,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1021),b(1048,1047,{},OCe),w("org.eclipse.emf.ecore.plugin","EcorePlugin",1048);var Gwe=yi(aYe,"Resource");b(787,1486,dYe),s.Fl=function(n){},s.Gl=function(n){},s.Cl=function(){return!this.a&&(this.a=new $D(this)),this.a},s.Dl=function(n){var t,i,r,c,o;if(r=n.length,r>0)if(Pn(0,n.length),n.charCodeAt(0)==47){for(o=new Bu(4),c=1,t=1;t<r;++t)Pn(t,n.length),n.charCodeAt(t)==47&&(me(o,c==t?"":(Tr(c,t,n.length),n.substr(c,t-c))),c=t+1);return me(o,(Pn(c,n.length+1),n.substr(c))),HEn(this,o)}else Pn(r-1,n.length),n.charCodeAt(r-1)==63&&(i=MQ(n,io(63),r-2),i>0&&(n=(Tr(0,i,n.length),n.substr(0,i))));return rCn(this,n)},s.El=function(){return this.c},s.Ib=function(){var n;return Nd(this.Pm)+"@"+(n=si(this)>>>0,n.toString(16))+" uri='"+this.d+"'"},s.b=!1,w(oH,"ResourceImpl",787),b(1487,787,dYe,Hje),w(oH,"BinaryResourceImpl",1487),b(1160,697,nH),s._i=function(n){return F(n,57)?O3n(this,u(n,57)):F(n,589)?new Rn(u(n,589).Cl()):K(n)===K(this.f)?u(n,18).Jc():(bv(),jA.a)},s.Ob=function(){return Nie(this)},s.a=!1,w(wi,"EcoreUtil/ContentTreeIterator",1160),b(1488,1160,nH,ZIe),s._i=function(n){return K(n)===K(this.f)?u(n,16).Jc():new XNe(u(n,57))},w(oH,"ResourceImpl/5",1488),b(648,2057,nYe,$D),s.Gc=function(n){return this.i<=4?s4(this,n):F(n,52)&&u(n,52).Gh()==this.a},s.Ki=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},s.Mi=function(n,t){n==0?this.a.b||(this.a.b=!0):FF(this,n,t)},s.Oi=function(n,t){},s.Pi=function(n,t,i){},s.Jj=function(){return 2},s.hj=function(){return this.a},s.Kj=function(){return!0},s.Lj=function(n,t){var i;return i=u(n,52),t=i.ci(this.a,t),t},s.Mj=function(n,t){var i;return i=u(n,52),i.ci(null,t)},s.Nj=function(){return!1},s.Qi=function(){return!0},s.$i=function(n){return W(Ed,ln,57,n,0,1)},s.Wi=function(){return!1},w(oH,"ResourceImpl/ContentsEList",648),b(954,2027,C4,qje),s.dd=function(n){return this.a.Ii(n)},s.gc=function(){return this.a.gc()},w(wi,"AbstractSequentialInternalEList/1",954);var Hwe,qwe,Or,zwe;b(626,1,{},eIe);var nN,tN;w(wi,"BasicExtendedMetaData",626),b(1151,1,{},Kxe),s.Hl=function(){return null},s.Il=function(){return this.a==-2&&x1n(this,lMn(this.d,this.b)),this.a},s.Jl=function(){return null},s.Kl=function(){return tn(),tn(),Qr},s.ve=function(){return this.c==Y4&&S1n(this,M_e(this.d,this.b)),this.c},s.Ll=function(){return 0},s.a=-2,s.c=Y4,w(wi,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1151),b(1152,1,{},TNe),s.Hl=function(){return this.a==(Iv(),nN)&&C1n(this,KIn(this.f,this.b)),this.a},s.Il=function(){return 0},s.Jl=function(){return this.c==(Iv(),nN)&&I1n(this,WIn(this.f,this.b)),this.c},s.Kl=function(){return!this.d&&O1n(this,NOn(this.f,this.b)),this.d},s.ve=function(){return this.e==Y4&&D1n(this,M_e(this.f,this.b)),this.e},s.Ll=function(){return this.g==-2&&$1n(this,PAn(this.f,this.b)),this.g},s.e=Y4,s.g=-2,w(wi,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1152),b(1150,1,{},Wxe),s.b=!1,s.c=!1,w(wi,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1150),b(1153,1,{},SNe),s.c=-2,s.e=Y4,s.f=Y4,w(wi,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1153),b(582,624,Nc,Cx),s.Jj=function(){return this.c},s.ml=function(){return!1},s.Ui=function(n,t){return t},s.c=0,w(wi,"EDataTypeEList",582);var Uwe=yi(wi,"FeatureMap");b(76,582,{3:1,4:1,20:1,31:1,56:1,18:1,16:1,59:1,71:1,67:1,61:1,78:1,163:1,219:1,2001:1,72:1,98:1},Pi),s._c=function(n,t){wSn(this,n,u(t,75))},s.Ec=function(n){return OTn(this,u(n,75))},s.Fi=function(n){Omn(this,u(n,75))},s.Lj=function(n,t){return ogn(this,u(n,75),t)},s.Mj=function(n,t){return CQ(this,u(n,75),t)},s.Ri=function(n,t){return _Pn(this,n,t)},s.Ui=function(n,t){return TDn(this,n,u(t,75))},s.fd=function(n,t){return eIn(this,n,u(t,75))},s.Sj=function(n,t){return sgn(this,u(n,75),t)},s.Tj=function(n,t){return xSe(this,u(n,75),t)},s.Uj=function(n,t,i){return yAn(this,u(n,75),u(t,75),i)},s.Xi=function(n,t){return PR(this,n,u(t,75))},s.Ml=function(n,t){return Tre(this,n,t)},s.ad=function(n,t){var i,r,c,o,f,l,h,a,d;for(a=new ob(t.gc()),c=t.Jc();c.Ob();)if(r=u(c.Pb(),75),o=r.Jk(),da(this.e,o))(!o.Qi()||!vC(this,o,r.kd())&&!s4(a,r))&&it(a,r);else{for(d=Xu(this.e.Ah(),o),i=u(this.g,122),f=!0,l=0;l<this.i;++l)if(h=i[l],d.$l(h.Jk())){u(_2(this,l,r),75),f=!1;break}f&&it(a,r)}return Xee(this,n,a)},s.Fc=function(n){var t,i,r,c,o,f,l,h,a;for(h=new ob(n.gc()),r=n.Jc();r.Ob();)if(i=u(r.Pb(),75),c=i.Jk(),da(this.e,c))(!c.Qi()||!vC(this,c,i.kd())&&!s4(h,i))&&it(h,i);else{for(a=Xu(this.e.Ah(),c),t=u(this.g,122),o=!0,f=0;f<this.i;++f)if(l=t[f],a.$l(l.Jk())){u(_2(this,f,i),75),o=!1;break}o&&it(h,i)}return Ii(this,h)},s.Di=function(n){return this.j=-1,d_(this,this.i,n)},s.Nl=function(n,t,i){return yre(this,n,t,i)},s.Vk=function(n,t){return jj(this,n,t)},s.Ol=function(n,t,i){return Wre(this,n,t,i)},s.Pl=function(){return this},s.Ql=function(n,t){return Mj(this,n,t)},s.Rl=function(n){return u(B(this,n),75).Jk()},s.Sl=function(n){return u(B(this,n),75).kd()},s.Tl=function(){return this.b},s.Kj=function(){return!0},s.Rj=function(){return!0},s.Ul=function(n){return!Y7(this,n)},s.$i=function(n){return W(eln,hYe,344,n,0,1)},s.nl=function(n){return f$(this,n)},s.Wb=function(n){c7(this,n)},s.Vl=function(n,t){ES(this,n,t)},s.Wl=function(n){return SFe(this,n)},s.Xl=function(n){fJe(this,n)},w(wi,"BasicFeatureMap",76),b(1925,1,Ih),s.Nb=function(n){Ir(this,n)},s.Rb=function(n){if(this.g==-1)throw C(new bo);qx(this);try{Qqe(this.e,this.b,this.a,n),this.d=this.e.j,FT(this)}catch(t){throw t=Fi(t),F(t,99)?C(new Cs):C(t)}},s.Ob=function(){return TB(this)},s.Sb=function(){return QBe(this)},s.Pb=function(){return FT(this)},s.Tb=function(){return this.a},s.Ub=function(){var n;if(QBe(this))return qx(this),this.g=--this.a,this.sl()&&(n=L9(this.e,this.b,this.c,this.a,this.j),this.j=n),this.i=0,this.j;throw C(new Dc)},s.Vb=function(){return this.a-1},s.Qb=function(){if(this.g==-1)throw C(new bo);qx(this);try{GGe(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(n){throw n=Fi(n),F(n,99)?C(new Cs):C(n)}},s.sl=function(){return!1},s.Wb=function(n){if(this.g==-1)throw C(new bo);qx(this);try{AUe(this.e,this.b,this.g,n),this.d=this.e.j}catch(t){throw t=Fi(t),F(t,99)?C(new Cs):C(t)}},s.a=0,s.c=0,s.d=0,s.f=!1,s.g=0,s.i=0,w(wi,"FeatureMapUtil/BasicFeatureEIterator",1925),b(412,1925,Ih,_v),s.Yl=function(){var n,t,i;for(i=this.e.i,n=u(this.e.g,122);this.c<i;){if(t=n[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},s.Zl=function(){var n,t;for(n=u(this.e.g,122);--this.c>=0;)if(t=n[this.c],this.k.$l(t.Jk()))return this.j=this.f?t:t.kd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},w(wi,"BasicFeatureMap/FeatureEIterator",412),b(666,412,Ih,UL),s.sl=function(){return!0},w(wi,"BasicFeatureMap/ResolvingFeatureEIterator",666),b(952,482,AI,zCe),s.nj=function(){return this},w(wi,"EContentsEList/1",952),b(953,482,AI,dCe),s.sl=function(){return!1},w(wi,"EContentsEList/2",953),b(951,287,MI,UCe),s.ul=function(n){},s.Ob=function(){return!1},s.Sb=function(){return!1},w(wi,"EContentsEList/FeatureIteratorImpl/1",951),b(825,582,Nc,OV),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;nt(this),Ko(this.e)?(n=this.a,this.a=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,w(wi,"EDataTypeEList/Unsettable",825),b(1923,582,Nc,QCe),s.Qi=function(){return!0},w(wi,"EDataTypeUniqueEList",1923),b(1924,825,Nc,YCe),s.Qi=function(){return!0},w(wi,"EDataTypeUniqueEList/Unsettable",1924),b(145,81,Nc,wo),s.ll=function(){return!0},s.Ui=function(n,t){return Km(this,n,u(t,57))},w(wi,"EObjectContainmentEList/Resolving",145),b(1154,544,Nc,ZCe),s.ll=function(){return!0},s.Ui=function(n,t){return Km(this,n,u(t,57))},w(wi,"EObjectContainmentEList/Unsettable/Resolving",1154),b(753,14,Nc,yQ),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;nt(this),Ko(this.e)?(n=this.a,this.a=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,w(wi,"EObjectContainmentWithInverseEList/Unsettable",753),b(1188,753,Nc,dSe),s.ll=function(){return!0},s.Ui=function(n,t){return Km(this,n,u(t,57))},w(wi,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1188),b(745,491,Nc,NV),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;nt(this),Ko(this.e)?(n=this.a,this.a=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,w(wi,"EObjectEList/Unsettable",745),b(339,491,Nc,j2),s.ll=function(){return!0},s.Ui=function(n,t){return Km(this,n,u(t,57))},w(wi,"EObjectResolvingEList",339),b(1828,745,Nc,eTe),s.ll=function(){return!0},s.Ui=function(n,t){return Km(this,n,u(t,57))},w(wi,"EObjectResolvingEList/Unsettable",1828),b(1489,1,{},Q6e);var tln;w(wi,"EObjectValidator",1489),b(548,491,Nc,Ux),s.gl=function(){return this.d},s.hl=function(){return this.b},s.Kj=function(){return!0},s.kl=function(){return!0},s.b=0,w(wi,"EObjectWithInverseEList",548),b(1191,548,Nc,bSe),s.jl=function(){return!0},w(wi,"EObjectWithInverseEList/ManyInverse",1191),b(627,548,Nc,b$),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;nt(this),Ko(this.e)?(n=this.a,this.a=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,w(wi,"EObjectWithInverseEList/Unsettable",627),b(1190,627,Nc,wSe),s.jl=function(){return!0},w(wi,"EObjectWithInverseEList/Unsettable/ManyInverse",1190),b(754,548,Nc,kQ),s.ll=function(){return!0},s.Ui=function(n,t){return Km(this,n,u(t,57))},w(wi,"EObjectWithInverseResolvingEList",754),b(33,754,Nc,hn),s.jl=function(){return!0},w(wi,"EObjectWithInverseResolvingEList/ManyInverse",33),b(755,627,Nc,jQ),s.ll=function(){return!0},s.Ui=function(n,t){return Km(this,n,u(t,57))},w(wi,"EObjectWithInverseResolvingEList/Unsettable",755),b(1189,755,Nc,gSe),s.jl=function(){return!0},w(wi,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1189),b(1155,624,Nc),s.Ji=function(){return(this.b&1792)==0},s.Li=function(){this.b|=1},s.il=function(){return(this.b&4)!=0},s.Kj=function(){return(this.b&40)!=0},s.jl=function(){return(this.b&16)!=0},s.kl=function(){return(this.b&8)!=0},s.ll=function(){return(this.b&i1)!=0},s.$k=function(){return(this.b&32)!=0},s.ml=function(){return(this.b&Df)!=0},s.dk=function(n){return this.d?uDe(this.d,n):this.Jk().Fk().dk(n)},s.Oj=function(){return(this.b&2)!=0?(this.b&1)!=0:this.i!=0},s.Qi=function(){return(this.b&128)!=0},s.Ek=function(){var n;nt(this),(this.b&2)!=0&&(Ko(this.e)?(n=(this.b&1)!=0,this.b&=-2,Q3(this,new Mf(this.e,2,vi(this.e.Ah(),this.Jk()),n,!1))):this.b&=-2)},s.Wi=function(){return(this.b&1536)==0},s.b=0,w(wi,"EcoreEList/Generic",1155),b(1156,1155,Nc,lOe),s.Jk=function(){return this.a},w(wi,"EcoreEList/Dynamic",1156),b(752,67,ah,JK),s.$i=function(n){return N7(this.a.a,n)},w(wi,"EcoreEMap/1",752),b(751,81,Nc,gY),s.Ki=function(n,t){RT(this.b,u(t,136))},s.Mi=function(n,t){uBe(this.b)},s.Ni=function(n,t,i){var r;++(r=this.b,u(t,136),r).e},s.Oi=function(n,t){BB(this.b,u(t,136))},s.Pi=function(n,t,i){BB(this.b,u(i,136)),K(i)===K(t)&&u(i,136).zi(cbn(u(t,136).jd())),RT(this.b,u(t,136))},w(wi,"EcoreEMap/DelegateEObjectContainmentEList",751),b(1186,142,Fse,pFe),w(wi,"EcoreEMap/Unsettable",1186),b(1187,751,Nc,pSe),s.Li=function(){this.a=!0},s.Oj=function(){return this.a},s.Ek=function(){var n;nt(this),Ko(this.e)?(n=this.a,this.a=!1,Gt(this.e,new Mf(this.e,2,this.c,n,!1))):this.a=!1},s.a=!1,w(wi,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1187),b(1159,223,Y2,hPe),s.a=!1,s.b=!1,w(wi,"EcoreUtil/Copier",1159),b(747,1,kr,XNe),s.Nb=function(n){Ir(this,n)},s.Ob=function(){return s_e(this)},s.Pb=function(){var n;return s_e(this),n=this.b,this.b=null,n},s.Qb=function(){this.a.Qb()},w(wi,"EcoreUtil/ProperContentIterator",747),b(1490,1489,{},Vye);var iln;w(wi,"EcoreValidator",1490);var rln;yi(wi,"FeatureMapUtil/Validator"),b(1260,1,{2006:1},Y6e),s.$l=function(n){return!0},w(wi,"FeatureMapUtil/1",1260),b(760,1,{2006:1},oce),s.$l=function(n){var t;return this.c==n?!0:(t=Te(yn(this.a,n)),t==null?ePn(this,n)?(UDe(this.a,n,(gn(),n5)),!0):(UDe(this.a,n,(gn(),ud)),!1):t==(gn(),n5))},s.e=!1;var pX;w(wi,"FeatureMapUtil/BasicValidator",760),b(761,44,Y2,PV),w(wi,"FeatureMapUtil/BasicValidator/Cache",761),b(495,56,{20:1,31:1,56:1,18:1,16:1,61:1,78:1,72:1,98:1},Rk),s._c=function(n,t){Qqe(this.c,this.b,n,t)},s.Ec=function(n){return Tre(this.c,this.b,n)},s.ad=function(n,t){return yNn(this.c,this.b,n,t)},s.Fc=function(n){return O6(this,n)},s.Ei=function(n,t){f9n(this.c,this.b,n,t)},s.Uk=function(n,t){return yre(this.c,this.b,n,t)},s.Yi=function(n){return jS(this.c,this.b,n,!1)},s.Gi=function(){return MCe(this.c,this.b)},s.Hi=function(){return Q0n(this.c,this.b)},s.Ii=function(n){return f6n(this.c,this.b,n)},s.Vk=function(n,t){return ZTe(this,n,t)},s.$b=function(){Xp(this)},s.Gc=function(n){return vC(this.c,this.b,n)},s.Hc=function(n){return uyn(this.c,this.b,n)},s.Xb=function(n){return jS(this.c,this.b,n,!0)},s.Dk=function(n){return this},s.bd=function(n){return v5n(this.c,this.b,n)},s.dc=function(){return tx(this)},s.Oj=function(){return!Y7(this.c,this.b)},s.Jc=function(){return G6n(this.c,this.b)},s.cd=function(){return H6n(this.c,this.b)},s.dd=function(n){return hkn(this.c,this.b,n)},s.Ri=function(n,t){return bUe(this.c,this.b,n,t)},s.Si=function(n,t){h6n(this.c,this.b,n,t)},s.ed=function(n){return GGe(this.c,this.b,n)},s.Kc=function(n){return MPn(this.c,this.b,n)},s.fd=function(n,t){return AUe(this.c,this.b,n,t)},s.Wb=function(n){iS(this.c,this.b),O6(this,u(n,16))},s.gc=function(){return akn(this.c,this.b)},s.Nc=function(){return v4n(this.c,this.b)},s.Oc=function(n){return y5n(this.c,this.b,n)},s.Ib=function(){var n,t;for(t=new Na,t.a+="[",n=MCe(this.c,this.b);TB(n);)ac(t,D6(FT(n))),TB(n)&&(t.a+=Ju);return t.a+="]",t.a},s.Ek=function(){iS(this.c,this.b)},w(wi,"FeatureMapUtil/FeatureEList",495),b(635,39,uE,TF),s.fj=function(n){return v9(this,n)},s.kj=function(n){var t,i,r,c,o,f,l;switch(this.d){case 1:case 2:{if(o=n.hj(),K(o)===K(this.c)&&v9(this,null)==n.fj(null))return this.g=n.gj(),n.ej()==1&&(this.d=1),!0;break}case 3:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),K(o)===K(this.c)&&v9(this,null)==n.fj(null))return this.d=5,t=new ob(2),it(t,this.g),it(t,n.gj()),this.g=t,!0;break}}break}case 5:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),K(o)===K(this.c)&&v9(this,null)==n.fj(null))return i=u(this.g,18),i.Ec(n.gj()),!0;break}}break}case 4:{switch(c=n.ej(),c){case 3:{if(o=n.hj(),K(o)===K(this.c)&&v9(this,null)==n.fj(null))return this.d=1,this.g=n.gj(),!0;break}case 4:{if(o=n.hj(),K(o)===K(this.c)&&v9(this,null)==n.fj(null))return this.d=6,l=new ob(2),it(l,this.n),it(l,n.ij()),this.n=l,f=I(S(bt,1),Pt,30,15,[this.o,n.jj()]),this.g=f,!0;break}}break}case 6:{switch(c=n.ej(),c){case 4:{if(o=n.hj(),K(o)===K(this.c)&&v9(this,null)==n.fj(null))return i=u(this.n,18),i.Ec(n.ij()),f=u(this.g,54),r=W(bt,Pt,30,f.length+1,15,1),pu(f,0,r,0,f.length),r[f.length]=n.jj(),this.g=r,!0;break}}break}}return!1},w(wi,"FeatureMapUtil/FeatureENotificationImpl",635),b(554,495,{20:1,31:1,56:1,18:1,16:1,61:1,78:1,163:1,219:1,2001:1,72:1,98:1},Ox),s.Ml=function(n,t){return Tre(this.c,n,t)},s.Nl=function(n,t,i){return yre(this.c,n,t,i)},s.Ol=function(n,t,i){return Wre(this.c,n,t,i)},s.Pl=function(){return this},s.Ql=function(n,t){return Mj(this.c,n,t)},s.Rl=function(n){return u(jS(this.c,this.b,n,!1),75).Jk()},s.Sl=function(n){return u(jS(this.c,this.b,n,!1),75).kd()},s.Tl=function(){return this.a},s.Ul=function(n){return!Y7(this.c,n)},s.Vl=function(n,t){ES(this.c,n,t)},s.Wl=function(n){return SFe(this.c,n)},s.Xl=function(n){fJe(this.c,n)},w(wi,"FeatureMapUtil/FeatureFeatureMap",554),b(1259,1,uH,Zxe),s.Dk=function(n){return jS(this.b,this.a,-1,n)},s.Oj=function(){return!Y7(this.b,this.a)},s.Wb=function(n){ES(this.b,this.a,n)},s.Ek=function(){iS(this.b,this.a)},w(wi,"FeatureMapUtil/FeatureValue",1259);var B3,mX,vX,R3,cln,AA=yi(NI,"AnyType");b(670,63,ba,YD),w(NI,"InvalidDatatypeValueException",670);var iN=yi(NI,wYe),MA=yi(NI,gYe),Xwe=yi(NI,pYe),uln,uu,Kwe,N0,oln,sln,fln,lln,hln,aln,dln,bln,wln,gln,pln,Fp,mln,Bp,q8,vln,Qb,xA,CA,yln,z8,U8;b(829,502,{109:1,94:1,93:1,57:1,52:1,100:1,842:1},tW),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new Pi(this,0)),this.c):(!this.c&&(this.c=new Pi(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),N0)),163)):(!this.c&&(this.c=new Pi(this,0)),u(u(Cu(this.c,(Zt(),N0)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new Pi(this,2)),this.b):(!this.b&&(this.b=new Pi(this,2)),this.b.b)}return Os(this,n-Un(this.fi()),un((this.j&2)==0?this.fi():(!this.k&&(this.k=new Wf),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.c&&(this.c=new Pi(this,0)),jj(this.c,n,i);case 1:return(!this.c&&(this.c=new Pi(this,0)),u(u(Cu(this.c,(Zt(),N0)),163),72)).Vk(n,i);case 2:return!this.b&&(this.b=new Pi(this,2)),jj(this.b,n,i)}return r=u(un((this.j&2)==0?this.fi():(!this.k&&(this.k=new Wf),this.k).Lk(),t),69),r.uk().yk(this,tee(this),t-Un(this.fi()),n,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),N0)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return Ps(this,n-Un(this.fi()),un((this.j&2)==0?this.fi():(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new Pi(this,0)),c7(this.c,t);return;case 1:(!this.c&&(this.c=new Pi(this,0)),u(u(Cu(this.c,(Zt(),N0)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new Pi(this,2)),c7(this.b,t);return}Bs(this,n-Un(this.fi()),un((this.j&2)==0?this.fi():(!this.k&&(this.k=new Wf),this.k).Lk(),n),t)},s.fi=function(){return Zt(),Kwe},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new Pi(this,0)),nt(this.c);return;case 1:(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),N0)),163)).$b();return;case 2:!this.b&&(this.b=new Pi(this,2)),nt(this.b);return}Fs(this,n-Un(this.fi()),un((this.j&2)==0?this.fi():(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Pf(this):(n=new Ys(Pf(this)),n.a+=" (mixed: ",T6(n,this.c),n.a+=", anyAttribute: ",T6(n,this.b),n.a+=")",n.a)},w(Yi,"AnyTypeImpl",829),b(671,502,{109:1,94:1,93:1,57:1,52:1,100:1,2084:1,671:1},r9e),s.Ih=function(n,t,i){switch(n){case 0:return this.a;case 1:return this.b}return Os(this,n-Un((Zt(),Fp)),un((this.j&2)==0?Fp:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return this.a!=null;case 1:return this.b!=null}return Ps(this,n-Un((Zt(),Fp)),un((this.j&2)==0?Fp:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:R1n(this,dt(t));return;case 1:J1n(this,dt(t));return}Bs(this,n-Un((Zt(),Fp)),un((this.j&2)==0?Fp:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t)},s.fi=function(){return Zt(),Fp},s.hi=function(n){switch(n){case 0:this.a=null;return;case 1:this.b=null;return}Fs(this,n-Un((Zt(),Fp)),un((this.j&2)==0?Fp:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Pf(this):(n=new Ys(Pf(this)),n.a+=" (data: ",ac(n,this.a),n.a+=", target: ",ac(n,this.b),n.a+=")",n.a)},s.a=null,s.b=null,w(Yi,"ProcessingInstructionImpl",671),b(672,829,{109:1,94:1,93:1,57:1,52:1,100:1,842:1,2085:1,672:1},OEe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.c&&(this.c=new Pi(this,0)),this.c):(!this.c&&(this.c=new Pi(this,0)),this.c.b);case 1:return i?(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),N0)),163)):(!this.c&&(this.c=new Pi(this,0)),u(u(Cu(this.c,(Zt(),N0)),163),219)).Tl();case 2:return i?(!this.b&&(this.b=new Pi(this,2)),this.b):(!this.b&&(this.b=new Pi(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Pi(this,0)),dt(Mj(this.c,(Zt(),q8),!0));case 4:return AQ(this.a,(!this.c&&(this.c=new Pi(this,0)),dt(Mj(this.c,(Zt(),q8),!0))));case 5:return this.a}return Os(this,n-Un((Zt(),Bp)),un((this.j&2)==0?Bp:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t,i)},s.Th=function(n){switch(n){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),N0)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new Pi(this,0)),dt(Mj(this.c,(Zt(),q8),!0))!=null;case 4:return AQ(this.a,(!this.c&&(this.c=new Pi(this,0)),dt(Mj(this.c,(Zt(),q8),!0))))!=null;case 5:return!!this.a}return Ps(this,n-Un((Zt(),Bp)),un((this.j&2)==0?Bp:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.c&&(this.c=new Pi(this,0)),c7(this.c,t);return;case 1:(!this.c&&(this.c=new Pi(this,0)),u(u(Cu(this.c,(Zt(),N0)),163),219)).Wb(t);return;case 2:!this.b&&(this.b=new Pi(this,2)),c7(this.b,t);return;case 3:hZ(this,dt(t));return;case 4:hZ(this,EQ(this.a,t));return;case 5:_1n(this,u(t,159));return}Bs(this,n-Un((Zt(),Bp)),un((this.j&2)==0?Bp:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t)},s.fi=function(){return Zt(),Bp},s.hi=function(n){switch(n){case 0:!this.c&&(this.c=new Pi(this,0)),nt(this.c);return;case 1:(!this.c&&(this.c=new Pi(this,0)),u(Cu(this.c,(Zt(),N0)),163)).$b();return;case 2:!this.b&&(this.b=new Pi(this,2)),nt(this.b);return;case 3:!this.c&&(this.c=new Pi(this,0)),ES(this.c,(Zt(),q8),null);return;case 4:hZ(this,EQ(this.a,null));return;case 5:this.a=null;return}Fs(this,n-Un((Zt(),Bp)),un((this.j&2)==0?Bp:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},w(Yi,"SimpleAnyTypeImpl",672),b(673,502,{109:1,94:1,93:1,57:1,52:1,100:1,2086:1,673:1},NEe),s.Ih=function(n,t,i){switch(n){case 0:return i?(!this.a&&(this.a=new Pi(this,0)),this.a):(!this.a&&(this.a=new Pi(this,0)),this.a.b);case 1:return i?(!this.b&&(this.b=new mo((nn(),Zr),nu,this,1)),this.b):(!this.b&&(this.b=new mo((nn(),Zr),nu,this,1)),k7(this.b));case 2:return i?(!this.c&&(this.c=new mo((nn(),Zr),nu,this,2)),this.c):(!this.c&&(this.c=new mo((nn(),Zr),nu,this,2)),k7(this.c));case 3:return!this.a&&(this.a=new Pi(this,0)),Cu(this.a,(Zt(),xA));case 4:return!this.a&&(this.a=new Pi(this,0)),Cu(this.a,(Zt(),CA));case 5:return!this.a&&(this.a=new Pi(this,0)),Cu(this.a,(Zt(),z8));case 6:return!this.a&&(this.a=new Pi(this,0)),Cu(this.a,(Zt(),U8))}return Os(this,n-Un((Zt(),Qb)),un((this.j&2)==0?Qb:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t,i)},s.Rh=function(n,t,i){var r;switch(t){case 0:return!this.a&&(this.a=new Pi(this,0)),jj(this.a,n,i);case 1:return!this.b&&(this.b=new mo((nn(),Zr),nu,this,1)),kx(this.b,n,i);case 2:return!this.c&&(this.c=new mo((nn(),Zr),nu,this,2)),kx(this.c,n,i);case 5:return!this.a&&(this.a=new Pi(this,0)),ZTe(Cu(this.a,(Zt(),z8)),n,i)}return r=u(un((this.j&2)==0?(Zt(),Qb):(!this.k&&(this.k=new Wf),this.k).Lk(),t),69),r.uk().yk(this,tee(this),t-Un((Zt(),Qb)),n,i)},s.Th=function(n){switch(n){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new Pi(this,0)),!tx(Cu(this.a,(Zt(),xA)));case 4:return!this.a&&(this.a=new Pi(this,0)),!tx(Cu(this.a,(Zt(),CA)));case 5:return!this.a&&(this.a=new Pi(this,0)),!tx(Cu(this.a,(Zt(),z8)));case 6:return!this.a&&(this.a=new Pi(this,0)),!tx(Cu(this.a,(Zt(),U8)))}return Ps(this,n-Un((Zt(),Qb)),un((this.j&2)==0?Qb:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.$h=function(n,t){switch(n){case 0:!this.a&&(this.a=new Pi(this,0)),c7(this.a,t);return;case 1:!this.b&&(this.b=new mo((nn(),Zr),nu,this,1)),cT(this.b,t);return;case 2:!this.c&&(this.c=new mo((nn(),Zr),nu,this,2)),cT(this.c,t);return;case 3:!this.a&&(this.a=new Pi(this,0)),Xp(Cu(this.a,(Zt(),xA))),!this.a&&(this.a=new Pi(this,0)),O6(Cu(this.a,xA),u(t,18));return;case 4:!this.a&&(this.a=new Pi(this,0)),Xp(Cu(this.a,(Zt(),CA))),!this.a&&(this.a=new Pi(this,0)),O6(Cu(this.a,CA),u(t,18));return;case 5:!this.a&&(this.a=new Pi(this,0)),Xp(Cu(this.a,(Zt(),z8))),!this.a&&(this.a=new Pi(this,0)),O6(Cu(this.a,z8),u(t,18));return;case 6:!this.a&&(this.a=new Pi(this,0)),Xp(Cu(this.a,(Zt(),U8))),!this.a&&(this.a=new Pi(this,0)),O6(Cu(this.a,U8),u(t,18));return}Bs(this,n-Un((Zt(),Qb)),un((this.j&2)==0?Qb:(!this.k&&(this.k=new Wf),this.k).Lk(),n),t)},s.fi=function(){return Zt(),Qb},s.hi=function(n){switch(n){case 0:!this.a&&(this.a=new Pi(this,0)),nt(this.a);return;case 1:!this.b&&(this.b=new mo((nn(),Zr),nu,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new mo((nn(),Zr),nu,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new Pi(this,0)),Xp(Cu(this.a,(Zt(),xA)));return;case 4:!this.a&&(this.a=new Pi(this,0)),Xp(Cu(this.a,(Zt(),CA)));return;case 5:!this.a&&(this.a=new Pi(this,0)),Xp(Cu(this.a,(Zt(),z8)));return;case 6:!this.a&&(this.a=new Pi(this,0)),Xp(Cu(this.a,(Zt(),U8)));return}Fs(this,n-Un((Zt(),Qb)),un((this.j&2)==0?Qb:(!this.k&&(this.k=new Wf),this.k).Lk(),n))},s.Ib=function(){var n;return(this.j&4)!=0?Pf(this):(n=new Ys(Pf(this)),n.a+=" (mixed: ",T6(n,this.a),n.a+=")",n.a)},w(Yi,"XMLTypeDocumentRootImpl",673),b(1993,710,{109:1,94:1,93:1,469:1,158:1,57:1,114:1,52:1,100:1,161:1,117:1,118:1,2087:1},Z6e),s.oi=function(n,t){switch(n.fk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return t==null?null:Oc(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return dt(t);case 6:return Mwn(u(t,195));case 12:case 47:case 49:case 11:return sXe(this,n,t);case 13:return t==null?null:xNn(u(t,247));case 15:case 14:return t==null?null:Emn(J(H(t)));case 17:return YJe((Zt(),t));case 18:return YJe(t);case 21:case 20:return t==null?null:Amn(u(t,164).a);case 27:return xwn(u(t,195));case 30:return lJe((Zt(),u(t,16)));case 31:return lJe(u(t,16));case 40:return Awn((Zt(),t));case 42:return ZJe((Zt(),t));case 43:return ZJe(t);case 59:case 48:return Ewn((Zt(),t));default:throw C(new An(K4+n.ve()+Nb))}},s.pi=function(n){var t,i,r,c,o;switch(n.G==-1&&(n.G=(i=hs(n),i?Qa(i.si(),n):-1)),n.G){case 0:return t=new tW,t;case 1:return r=new r9e,r;case 2:return c=new OEe,c;case 3:return o=new NEe,o;default:throw C(new An(qG+n.zb+Nb))}},s.qi=function(n,t){var i,r,c,o,f,l,h,a,d,g,m,y,j,A,T,L;switch(n.fk()){case 5:case 52:case 4:return t;case 6:return H7n(t);case 8:case 7:return t==null?null:CAn(t);case 9:return t==null?null:I7(ws((r=Pu(t,!0),r.length>0&&(Pn(0,r.length),r.charCodeAt(0)==43)?(Pn(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:I7(ws((c=Pu(t,!0),c.length>0&&(Pn(0,c.length),c.charCodeAt(0)==43)?(Pn(1,c.length+1),c.substr(1)):c),-128,127)<<24>>24);case 11:return dt(Ab(this,(Zt(),fln),t));case 12:return dt(Ab(this,(Zt(),lln),t));case 13:return t==null?null:new EW(Pu(t,!0));case 15:case 14:return LTn(t);case 16:return dt(Ab(this,(Zt(),hln),t));case 17:return d_e((Zt(),t));case 18:return d_e(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Pu(t,!0);case 21:case 20:return zTn(t);case 22:return dt(Ab(this,(Zt(),aln),t));case 23:return dt(Ab(this,(Zt(),dln),t));case 24:return dt(Ab(this,(Zt(),bln),t));case 25:return dt(Ab(this,(Zt(),wln),t));case 26:return dt(Ab(this,(Zt(),gln),t));case 27:return D7n(t);case 30:return b_e((Zt(),t));case 31:return b_e(t);case 32:return t==null?null:fe(ws((d=Pu(t,!0),d.length>0&&(Pn(0,d.length),d.charCodeAt(0)==43)?(Pn(1,d.length+1),d.substr(1)):d),Mr,Ft));case 33:return t==null?null:new I1((g=Pu(t,!0),g.length>0&&(Pn(0,g.length),g.charCodeAt(0)==43)?(Pn(1,g.length+1),g.substr(1)):g));case 34:return t==null?null:fe(ws((m=Pu(t,!0),m.length>0&&(Pn(0,m.length),m.charCodeAt(0)==43)?(Pn(1,m.length+1),m.substr(1)):m),Mr,Ft));case 36:return t==null?null:zw(CS((y=Pu(t,!0),y.length>0&&(Pn(0,y.length),y.charCodeAt(0)==43)?(Pn(1,y.length+1),y.substr(1)):y)));case 37:return t==null?null:zw(CS((j=Pu(t,!0),j.length>0&&(Pn(0,j.length),j.charCodeAt(0)==43)?(Pn(1,j.length+1),j.substr(1)):j)));case 40:return Ijn((Zt(),t));case 42:return w_e((Zt(),t));case 43:return w_e(t);case 44:return t==null?null:new I1((A=Pu(t,!0),A.length>0&&(Pn(0,A.length),A.charCodeAt(0)==43)?(Pn(1,A.length+1),A.substr(1)):A));case 45:return t==null?null:new I1((T=Pu(t,!0),T.length>0&&(Pn(0,T.length),T.charCodeAt(0)==43)?(Pn(1,T.length+1),T.substr(1)):T));case 46:return Pu(t,!1);case 47:return dt(Ab(this,(Zt(),pln),t));case 59:case 48:return Sjn((Zt(),t));case 49:return dt(Ab(this,(Zt(),mln),t));case 50:return t==null?null:Vv(ws((L=Pu(t,!0),L.length>0&&(Pn(0,L.length),L.charCodeAt(0)==43)?(Pn(1,L.length+1),L.substr(1)):L),SI,32767)<<16>>16);case 51:return t==null?null:Vv(ws((o=Pu(t,!0),o.length>0&&(Pn(0,o.length),o.charCodeAt(0)==43)?(Pn(1,o.length+1),o.substr(1)):o),SI,32767)<<16>>16);case 53:return dt(Ab(this,(Zt(),vln),t));case 55:return t==null?null:Vv(ws((f=Pu(t,!0),f.length>0&&(Pn(0,f.length),f.charCodeAt(0)==43)?(Pn(1,f.length+1),f.substr(1)):f),SI,32767)<<16>>16);case 56:return t==null?null:Vv(ws((l=Pu(t,!0),l.length>0&&(Pn(0,l.length),l.charCodeAt(0)==43)?(Pn(1,l.length+1),l.substr(1)):l),SI,32767)<<16>>16);case 57:return t==null?null:zw(CS((h=Pu(t,!0),h.length>0&&(Pn(0,h.length),h.charCodeAt(0)==43)?(Pn(1,h.length+1),h.substr(1)):h)));case 58:return t==null?null:zw(CS((a=Pu(t,!0),a.length>0&&(Pn(0,a.length),a.charCodeAt(0)==43)?(Pn(1,a.length+1),a.substr(1)):a)));case 60:return t==null?null:fe(ws((i=Pu(t,!0),i.length>0&&(Pn(0,i.length),i.charCodeAt(0)==43)?(Pn(1,i.length+1),i.substr(1)):i),Mr,Ft));case 61:return t==null?null:fe(ws(Pu(t,!0),Mr,Ft));default:throw C(new An(K4+n.ve()+Nb))}};var kln,Wwe,jln,Vwe;w(Yi,"XMLTypeFactoryImpl",1993),b(583,184,{109:1,94:1,93:1,158:1,197:1,57:1,241:1,114:1,52:1,100:1,161:1,184:1,117:1,118:1,680:1,2009:1,583:1},OPe),s.N=!1,s.O=!1;var Eln=!1;w(Yi,"XMLTypePackageImpl",583),b(1926,1,{836:1},e9e),s.Ik=function(){return Rre(),Oln},w(Yi,"XMLTypePackageImpl/1",1926),b(1935,1,Nt,n9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/10",1935),b(1936,1,Nt,t9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/11",1936),b(1937,1,Nt,i9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/12",1937),b(1938,1,Nt,c9e),s.dk=function(n){return bw(n)},s.ek=function(n){return W(zi,ge,346,n,7,1)},w(Yi,"XMLTypePackageImpl/13",1938),b(1939,1,Nt,u9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/14",1939),b(1940,1,Nt,o9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return W(vs,ug,16,n,0,1)},w(Yi,"XMLTypePackageImpl/15",1940),b(1941,1,Nt,s9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return W(vs,ug,16,n,0,1)},w(Yi,"XMLTypePackageImpl/16",1941),b(1942,1,Nt,f9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/17",1942),b(1943,1,Nt,l9e),s.dk=function(n){return F(n,164)},s.ek=function(n){return W(t5,ge,164,n,0,1)},w(Yi,"XMLTypePackageImpl/18",1943),b(1944,1,Nt,h9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/19",1944),b(1927,1,Nt,a9e),s.dk=function(n){return F(n,842)},s.ek=function(n){return W(AA,ln,842,n,0,1)},w(Yi,"XMLTypePackageImpl/2",1927),b(1945,1,Nt,d9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/20",1945),b(1946,1,Nt,b9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/21",1946),b(1947,1,Nt,w9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/22",1947),b(1948,1,Nt,g9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/23",1948),b(1949,1,Nt,p9e),s.dk=function(n){return F(n,195)},s.ek=function(n){return W(Ao,ge,195,n,0,2)},w(Yi,"XMLTypePackageImpl/24",1949),b(1950,1,Nt,m9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/25",1950),b(1951,1,Nt,v9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/26",1951),b(1952,1,Nt,y9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return W(vs,ug,16,n,0,1)},w(Yi,"XMLTypePackageImpl/27",1952),b(1953,1,Nt,k9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return W(vs,ug,16,n,0,1)},w(Yi,"XMLTypePackageImpl/28",1953),b(1954,1,Nt,j9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/29",1954),b(1928,1,Nt,E9e),s.dk=function(n){return F(n,671)},s.ek=function(n){return W(iN,ln,2084,n,0,1)},w(Yi,"XMLTypePackageImpl/3",1928),b(1955,1,Nt,A9e),s.dk=function(n){return F(n,15)},s.ek=function(n){return W(Zi,ge,15,n,0,1)},w(Yi,"XMLTypePackageImpl/30",1955),b(1956,1,Nt,M9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/31",1956),b(1957,1,Nt,x9e),s.dk=function(n){return F(n,190)},s.ek=function(n){return W(Lb,ge,190,n,0,1)},w(Yi,"XMLTypePackageImpl/32",1957),b(1958,1,Nt,C9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/33",1958),b(1959,1,Nt,T9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/34",1959),b(1960,1,Nt,S9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/35",1960),b(1961,1,Nt,I9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/36",1961),b(1962,1,Nt,P9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return W(vs,ug,16,n,0,1)},w(Yi,"XMLTypePackageImpl/37",1962),b(1963,1,Nt,O9e),s.dk=function(n){return F(n,16)},s.ek=function(n){return W(vs,ug,16,n,0,1)},w(Yi,"XMLTypePackageImpl/38",1963),b(1964,1,Nt,N9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/39",1964),b(1929,1,Nt,D9e),s.dk=function(n){return F(n,672)},s.ek=function(n){return W(MA,ln,2085,n,0,1)},w(Yi,"XMLTypePackageImpl/4",1929),b(1965,1,Nt,L9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/40",1965),b(1966,1,Nt,$9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/41",1966),b(1967,1,Nt,F9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/42",1967),b(1968,1,Nt,B9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/43",1968),b(1969,1,Nt,R9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/44",1969),b(1970,1,Nt,_9e),s.dk=function(n){return F(n,191)},s.ek=function(n){return W($b,ge,191,n,0,1)},w(Yi,"XMLTypePackageImpl/45",1970),b(1971,1,Nt,J9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/46",1971),b(1972,1,Nt,G9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/47",1972),b(1973,1,Nt,H9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/48",1973),b(1974,1,Nt,q9e),s.dk=function(n){return F(n,191)},s.ek=function(n){return W($b,ge,191,n,0,1)},w(Yi,"XMLTypePackageImpl/49",1974),b(1930,1,Nt,z9e),s.dk=function(n){return F(n,673)},s.ek=function(n){return W(Xwe,ln,2086,n,0,1)},w(Yi,"XMLTypePackageImpl/5",1930),b(1975,1,Nt,U9e),s.dk=function(n){return F(n,190)},s.ek=function(n){return W(Lb,ge,190,n,0,1)},w(Yi,"XMLTypePackageImpl/50",1975),b(1976,1,Nt,X9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/51",1976),b(1977,1,Nt,K9e),s.dk=function(n){return F(n,15)},s.ek=function(n){return W(Zi,ge,15,n,0,1)},w(Yi,"XMLTypePackageImpl/52",1977),b(1931,1,Nt,W9e),s.dk=function(n){return pr(n)},s.ek=function(n){return W(Ie,ge,2,n,6,1)},w(Yi,"XMLTypePackageImpl/6",1931),b(1932,1,Nt,V9e),s.dk=function(n){return F(n,195)},s.ek=function(n){return W(Ao,ge,195,n,0,2)},w(Yi,"XMLTypePackageImpl/7",1932),b(1933,1,Nt,Q9e),s.dk=function(n){return dw(n)},s.ek=function(n){return W(Ci,ge,473,n,8,1)},w(Yi,"XMLTypePackageImpl/8",1933),b(1934,1,Nt,Y9e),s.dk=function(n){return F(n,221)},s.ek=function(n){return W(s3,ge,221,n,0,1)},w(Yi,"XMLTypePackageImpl/9",1934);var ql,v1,X8,rN,O;b(53,63,ba,pt),w(c1,"RegEx/ParseException",53),b(821,1,{},uK),s._l=function(n){return n<this.j&&Nr(this.i,n)==63},s.am=function(){var n,t,i,r,c;if(this.c!=10)throw C(new pt(vt((at(),kI))));switch(n=this.a,n){case 101:n=27;break;case 102:n=12;break;case 110:n=10;break;case 114:n=13;break;case 116:n=9;break;case 120:if(Rt(this),this.c!=0)throw C(new pt(vt((at(),r1))));if(this.a==123){c=0,i=0;do{if(Rt(this),this.c!=0)throw C(new pt(vt((at(),r1))));if((c=r0(this.a))<0)break;if(i>i*16)throw C(new pt(vt((at(),TQe))));i=i*16+c}while(!0);if(this.a!=125)throw C(new pt(vt((at(),SQe))));if(i>Z4)throw C(new pt(vt((at(),IQe))));n=i}else{if(c=0,this.c!=0||(c=r0(this.a))<0)throw C(new pt(vt((at(),r1))));if(i=c,Rt(this),this.c!=0||(c=r0(this.a))<0)throw C(new pt(vt((at(),r1))));i=i*16+c,n=i}break;case 117:if(r=0,Rt(this),this.c!=0||(r=r0(this.a))<0)throw C(new pt(vt((at(),r1))));if(t=r,Rt(this),this.c!=0||(r=r0(this.a))<0)throw C(new pt(vt((at(),r1))));if(t=t*16+r,Rt(this),this.c!=0||(r=r0(this.a))<0)throw C(new pt(vt((at(),r1))));if(t=t*16+r,Rt(this),this.c!=0||(r=r0(this.a))<0)throw C(new pt(vt((at(),r1))));t=t*16+r,n=t;break;case 118:if(Rt(this),this.c!=0||(r=r0(this.a))<0)throw C(new pt(vt((at(),r1))));if(t=r,Rt(this),this.c!=0||(r=r0(this.a))<0)throw C(new pt(vt((at(),r1))));if(t=t*16+r,Rt(this),this.c!=0||(r=r0(this.a))<0)throw C(new pt(vt((at(),r1))));if(t=t*16+r,Rt(this),this.c!=0||(r=r0(this.a))<0)throw C(new pt(vt((at(),r1))));if(t=t*16+r,Rt(this),this.c!=0||(r=r0(this.a))<0)throw C(new pt(vt((at(),r1))));if(t=t*16+r,Rt(this),this.c!=0||(r=r0(this.a))<0)throw C(new pt(vt((at(),r1))));if(t=t*16+r,t>Z4)throw C(new pt(vt((at(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw C(new pt(vt((at(),PQe))))}return n},s.bm=function(n){var t,i;switch(n){case 100:i=(this.e&32)==32?Y1("Nd",!0):(_t(),cN);break;case 68:i=(this.e&32)==32?Y1("Nd",!1):(_t(),tge);break;case 119:i=(this.e&32)==32?Y1("IsWord",!0):(_t(),J5);break;case 87:i=(this.e&32)==32?Y1("IsWord",!1):(_t(),rge);break;case 115:i=(this.e&32)==32?Y1("IsSpace",!0):(_t(),_3);break;case 83:i=(this.e&32)==32?Y1("IsSpace",!1):(_t(),ige);break;default:throw C(new Lc((t=n,PYe+t.toString(16))))}return i},s.cm=function(n){var t,i,r,c,o,f,l,h,a,d,g,m;for(this.b=1,Rt(this),t=null,this.c==0&&this.a==94?(Rt(this),n?d=(_t(),_t(),new fs(5)):(t=(_t(),_t(),new fs(4)),Iu(t,0,Z4),d=new fs(4))):d=(_t(),_t(),new fs(4)),c=!0;(m=this.c)!=1&&!(m==0&&this.a==93&&!c);){if(c=!1,i=this.a,r=!1,m==10)switch(i){case 100:case 68:case 119:case 87:case 115:case 83:tg(d,this.bm(i)),r=!0;break;case 105:case 73:case 99:case 67:i=this.sm(d,i),i<0&&(r=!0);break;case 112:case 80:if(g=Pie(this,i),!g)throw C(new pt(vt((at(),iH))));tg(d,g),r=!0;break;default:i=this.am()}else if(m==20){if(f=hv(this.i,58,this.d),f<0)throw C(new pt(vt((at(),Pse))));if(l=!0,Nr(this.i,this.d)==94&&(++this.d,l=!1),o=ef(this.i,this.d,f),h=$Le(o,l,(this.e&512)==512),!h)throw C(new pt(vt((at(),EQe))));if(tg(d,h),r=!0,f+1>=this.j||Nr(this.i,f+1)!=93)throw C(new pt(vt((at(),Pse))));this.d=f+2}if(Rt(this),!r)if(this.c!=0||this.a!=45)Iu(d,i,i);else{if(Rt(this),(m=this.c)==1)throw C(new pt(vt((at(),jI))));m==0&&this.a==93?(Iu(d,i,i),Iu(d,45,45)):(a=this.a,m==10&&(a=this.am()),Rt(this),Iu(d,i,a))}(this.e&Df)==Df&&this.c==0&&this.a==44&&Rt(this)}if(this.c==1)throw C(new pt(vt((at(),jI))));return t&&(V9(t,d),d=t),z2(d),K9(d),this.b=0,Rt(this),d},s.dm=function(){var n,t,i,r;for(i=this.cm(!1);(r=this.c)!=7;)if(n=this.a,r==0&&(n==45||n==38)||r==4){if(Rt(this),this.c!=9)throw C(new pt(vt((at(),MQe))));if(t=this.cm(!1),r==4)tg(i,t);else if(n==45)V9(i,t);else if(n==38)rXe(i,t);else throw C(new Lc("ASSERT"))}else throw C(new pt(vt((at(),xQe))));return Rt(this),i},s.em=function(){var n,t;return n=this.a-48,t=(_t(),_t(),new lF(12,null,n)),!this.g&&(this.g=new hM),lM(this.g,new GK(n)),Rt(this),t},s.fm=function(){return Rt(this),_t(),xln},s.gm=function(){return Rt(this),_t(),Mln},s.hm=function(){throw C(new pt(vt((at(),Gs))))},s.im=function(){throw C(new pt(vt((at(),Gs))))},s.jm=function(){return Rt(this),c8n()},s.km=function(){return Rt(this),_t(),Tln},s.lm=function(){return Rt(this),_t(),Iln},s.mm=function(){var n;if(this.d>=this.j||((n=Nr(this.i,this.d++))&65504)!=64)throw C(new pt(vt((at(),yQe))));return Rt(this),_t(),_t(),new jh(0,n-64)},s.nm=function(){return Rt(this),TOn()},s.om=function(){return Rt(this),_t(),Pln},s.pm=function(){var n;return n=(_t(),_t(),new jh(0,105)),Rt(this),n},s.qm=function(){return Rt(this),_t(),Sln},s.rm=function(){return Rt(this),_t(),Cln},s.sm=function(n,t){return this.am()},s.tm=function(){return Rt(this),_t(),ege},s.um=function(){var n,t,i,r,c;if(this.d+1>=this.j)throw C(new pt(vt((at(),pQe))));if(r=-1,t=null,n=Nr(this.i,this.d),49<=n&&n<=57){if(r=n-48,!this.g&&(this.g=new hM),lM(this.g,new GK(r)),++this.d,Nr(this.i,this.d)!=41)throw C(new pt(vt((at(),w0))));++this.d}else switch(n==63&&--this.d,Rt(this),t=hce(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw C(new pt(vt((at(),w0))));break;default:throw C(new pt(vt((at(),mQe))))}if(Rt(this),c=wb(this),i=null,c.e==2){if(c.Nm()!=2)throw C(new pt(vt((at(),vQe))));i=c.Jm(1),c=c.Jm(0)}if(this.c!=7)throw C(new pt(vt((at(),w0))));return Rt(this),_t(),_t(),new G$e(r,t,c,i)},s.vm=function(){return Rt(this),_t(),nge},s.wm=function(){var n;if(Rt(this),n=Kx(24,wb(this)),this.c!=7)throw C(new pt(vt((at(),w0))));return Rt(this),n},s.xm=function(){var n;if(Rt(this),n=Kx(20,wb(this)),this.c!=7)throw C(new pt(vt((at(),w0))));return Rt(this),n},s.ym=function(){var n;if(Rt(this),n=Kx(22,wb(this)),this.c!=7)throw C(new pt(vt((at(),w0))));return Rt(this),n},s.zm=function(){var n,t,i,r,c;for(n=0,i=0,t=-1;this.d<this.j&&(t=Nr(this.i,this.d),c=Fie(t),c!=0);)n|=c,++this.d;if(this.d>=this.j)throw C(new pt(vt((at(),Sse))));if(t==45){for(++this.d;this.d<this.j&&(t=Nr(this.i,this.d),c=Fie(t),c!=0);)i|=c,++this.d;if(this.d>=this.j)throw C(new pt(vt((at(),Sse))))}if(t==58){if(++this.d,Rt(this),r=fPe(wb(this),n,i),this.c!=7)throw C(new pt(vt((at(),w0))));Rt(this)}else if(t==41)++this.d,Rt(this),r=fPe(wb(this),n,i);else throw C(new pt(vt((at(),gQe))));return r},s.Am=function(){var n;if(Rt(this),n=Kx(21,wb(this)),this.c!=7)throw C(new pt(vt((at(),w0))));return Rt(this),n},s.Bm=function(){var n;if(Rt(this),n=Kx(23,wb(this)),this.c!=7)throw C(new pt(vt((at(),w0))));return Rt(this),n},s.Cm=function(){var n,t;if(Rt(this),n=this.f++,t=J$(wb(this),n),this.c!=7)throw C(new pt(vt((at(),w0))));return Rt(this),t},s.Dm=function(){var n;if(Rt(this),n=J$(wb(this),0),this.c!=7)throw C(new pt(vt((at(),w0))));return Rt(this),n},s.Em=function(n){return Rt(this),this.c==5?(Rt(this),Bx(n,(_t(),_t(),new Ow(9,n)))):Bx(n,(_t(),_t(),new Ow(3,n)))},s.Fm=function(n){var t;return Rt(this),t=(_t(),_t(),new P6(2)),this.c==5?(Rt(this),o0(t,W8),o0(t,n)):(o0(t,n),o0(t,W8)),t},s.Gm=function(n){return Rt(this),this.c==5?(Rt(this),_t(),_t(),new Ow(9,n)):(_t(),_t(),new Ow(3,n))},s.a=0,s.b=0,s.c=0,s.d=0,s.e=0,s.f=1,s.g=null,s.j=0,w(c1,"RegEx/RegexParser",821),b(1913,821,{},DEe),s._l=function(n){return!1},s.am=function(){return gre(this)},s.bm=function(n){return m4(n)},s.cm=function(n){return QXe(this)},s.dm=function(){throw C(new pt(vt((at(),Gs))))},s.em=function(){throw C(new pt(vt((at(),Gs))))},s.fm=function(){throw C(new pt(vt((at(),Gs))))},s.gm=function(){throw C(new pt(vt((at(),Gs))))},s.hm=function(){return Rt(this),m4(67)},s.im=function(){return Rt(this),m4(73)},s.jm=function(){throw C(new pt(vt((at(),Gs))))},s.km=function(){throw C(new pt(vt((at(),Gs))))},s.lm=function(){throw C(new pt(vt((at(),Gs))))},s.mm=function(){return Rt(this),m4(99)},s.nm=function(){throw C(new pt(vt((at(),Gs))))},s.om=function(){throw C(new pt(vt((at(),Gs))))},s.pm=function(){return Rt(this),m4(105)},s.qm=function(){throw C(new pt(vt((at(),Gs))))},s.rm=function(){throw C(new pt(vt((at(),Gs))))},s.sm=function(n,t){return tg(n,m4(t)),-1},s.tm=function(){return Rt(this),_t(),_t(),new jh(0,94)},s.um=function(){throw C(new pt(vt((at(),Gs))))},s.vm=function(){return Rt(this),_t(),_t(),new jh(0,36)},s.wm=function(){throw C(new pt(vt((at(),Gs))))},s.xm=function(){throw C(new pt(vt((at(),Gs))))},s.ym=function(){throw C(new pt(vt((at(),Gs))))},s.zm=function(){throw C(new pt(vt((at(),Gs))))},s.Am=function(){throw C(new pt(vt((at(),Gs))))},s.Bm=function(){throw C(new pt(vt((at(),Gs))))},s.Cm=function(){var n;if(Rt(this),n=J$(wb(this),0),this.c!=7)throw C(new pt(vt((at(),w0))));return Rt(this),n},s.Dm=function(){throw C(new pt(vt((at(),Gs))))},s.Em=function(n){return Rt(this),Bx(n,(_t(),_t(),new Ow(3,n)))},s.Fm=function(n){var t;return Rt(this),t=(_t(),_t(),new P6(2)),o0(t,n),o0(t,W8),t},s.Gm=function(n){return Rt(this),_t(),_t(),new Ow(3,n)};var Rp=null,R5=null;w(c1,"RegEx/ParserForXMLSchema",1913),b(121,1,e5,J0),s.Hm=function(n){throw C(new Lc("Not supported."))},s.Im=function(){return-1},s.Jm=function(n){return null},s.Km=function(){return null},s.Lm=function(n){},s.Mm=function(n){},s.Nm=function(){return 0},s.Ib=function(){return this.Om(0)},s.Om=function(n){return this.e==11?".":""},s.e=0;var Qwe,_5,K8,Aln,Ywe,Vg=null,cN,yX=null,Zwe,W8,kX=null,ege,nge,tge,ige,rge,Mln,_3,xln,Cln,Tln,Sln,J5,Iln,Pln,JFn=w(c1,"RegEx/Token",121);b(137,121,{3:1,137:1,121:1},fs),s.Om=function(n){var t,i,r;if(this.e==4)if(this==Zwe)i=".";else if(this==cN)i="\\d";else if(this==J5)i="\\w";else if(this==_3)i="\\s";else{for(r=new Na,r.a+="[",t=0;t<this.b.length;t+=2)(n&Df)!=0&&t>0&&(r.a+=","),this.b[t]===this.b[t+1]?ac(r,Aj(this.b[t])):(ac(r,Aj(this.b[t])),r.a+="-",ac(r,Aj(this.b[t+1])));r.a+="]",i=r.a}else if(this==tge)i="\\D";else if(this==rge)i="\\W";else if(this==ige)i="\\S";else{for(r=new Na,r.a+="[^",t=0;t<this.b.length;t+=2)(n&Df)!=0&&t>0&&(r.a+=","),this.b[t]===this.b[t+1]?ac(r,Aj(this.b[t])):(ac(r,Aj(this.b[t])),r.a+="-",ac(r,Aj(this.b[t+1])));r.a+="]",i=r.a}return i},s.a=!1,s.c=!1,w(c1,"RegEx/RangeToken",137),b(581,1,{581:1},GK),s.a=0,w(c1,"RegEx/RegexParser/ReferencePosition",581),b(580,1,{3:1,580:1},gMe),s.Fb=function(n){var t;return n==null||!F(n,580)?!1:(t=u(n,580),Ke(this.b,t.b)&&this.a==t.a)},s.Hb=function(){return Ua(this.b+"/"+fre(this.a))},s.Ib=function(){return this.c.Om(this.a)},s.a=0,w(c1,"RegEx/RegularExpression",580),b(228,121,e5,jh),s.Im=function(){return this.a},s.Om=function(n){var t,i,r;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:r="\\"+a$(this.a&Qi);break;case 12:r="\\f";break;case 10:r="\\n";break;case 13:r="\\r";break;case 9:r="\\t";break;case 27:r="\\e";break;default:this.a>=Vr?(i=(t=this.a>>>0,"0"+t.toString(16)),r="\\v"+ef(i,i.length-6,i.length)):r=""+a$(this.a&Qi)}break;case 8:this==ege||this==nge?r=""+a$(this.a&Qi):r="\\"+a$(this.a&Qi);break;default:r=null}return r},s.a=0,w(c1,"RegEx/Token/CharToken",228),b(323,121,e5,Ow),s.Jm=function(n){return this.a},s.Lm=function(n){this.b=n},s.Mm=function(n){this.c=n},s.Nm=function(){return 1},s.Om=function(n){var t;if(this.e==3)if(this.c<0&&this.b<0)t=this.a.Om(n)+"*";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}";else throw C(new Lc("Token#toString(): CLOSURE "+this.c+Ju+this.b));else if(this.c<0&&this.b<0)t=this.a.Om(n)+"*?";else if(this.c==this.b)t=this.a.Om(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Om(n)+"{"+this.c+","+this.b+"}?";else if(this.c>=0&&this.b<0)t=this.a.Om(n)+"{"+this.c+",}?";else throw C(new Lc("Token#toString(): NONGREEDYCLOSURE "+this.c+Ju+this.b));return t},s.b=0,s.c=0,w(c1,"RegEx/Token/ClosureToken",323),b(822,121,e5,kY),s.Jm=function(n){return n==0?this.a:this.b},s.Nm=function(){return 2},s.Om=function(n){var t;return this.b.e==3&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+":this.b.e==9&&this.b.Jm(0)==this.a?t=this.a.Om(n)+"+?":t=this.a.Om(n)+(""+this.b.Om(n)),t},w(c1,"RegEx/Token/ConcatToken",822),b(1911,121,e5,G$e),s.Jm=function(n){if(n==0)return this.d;if(n==1)return this.b;throw C(new Lc("Internal Error: "+n))},s.Nm=function(){return this.b?2:1},s.Om=function(n){var t;return this.c>0?t="(?("+this.c+")":this.a.e==8?t="(?("+this.a+")":t="(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},s.c=0,w(c1,"RegEx/Token/ConditionToken",1911),b(1912,121,e5,aNe),s.Jm=function(n){return this.b},s.Nm=function(){return 1},s.Om=function(n){return"(?"+(this.a==0?"":fre(this.a))+(this.c==0?"":fre(this.c))+":"+this.b.Om(n)+")"},s.a=0,s.c=0,w(c1,"RegEx/Token/ModifierToken",1912),b(823,121,e5,OY),s.Jm=function(n){return this.a},s.Nm=function(){return 1},s.Om=function(n){var t;switch(t=null,this.e){case 6:this.b==0?t="(?:"+this.a.Om(n)+")":t="("+this.a.Om(n)+")";break;case 20:t="(?="+this.a.Om(n)+")";break;case 21:t="(?!"+this.a.Om(n)+")";break;case 22:t="(?<="+this.a.Om(n)+")";break;case 23:t="(?<!"+this.a.Om(n)+")";break;case 24:t="(?>"+this.a.Om(n)+")"}return t},s.b=0,w(c1,"RegEx/Token/ParenToken",823),b(518,121,{3:1,121:1,518:1},lF),s.Km=function(){return this.b},s.Om=function(n){return this.e==12?"\\"+this.a:kTn(this.b)},s.a=0,w(c1,"RegEx/Token/StringToken",518),b(466,121,e5,P6),s.Hm=function(n){o0(this,n)},s.Jm=function(n){return u(eb(this.a,n),121)},s.Nm=function(){return this.a?this.a.a.c.length:0},s.Om=function(n){var t,i,r,c,o;if(this.e==1){if(this.a.a.c.length==2)t=u(eb(this.a,0),121),i=u(eb(this.a,1),121),i.e==3&&i.Jm(0)==t?c=t.Om(n)+"+":i.e==9&&i.Jm(0)==t?c=t.Om(n)+"+?":c=t.Om(n)+(""+i.Om(n));else{for(o=new Na,r=0;r<this.a.a.c.length;r++)ac(o,u(eb(this.a,r),121).Om(n));c=o.a}return c}if(this.a.a.c.length==2&&u(eb(this.a,1),121).e==7)c=u(eb(this.a,0),121).Om(n)+"?";else if(this.a.a.c.length==2&&u(eb(this.a,0),121).e==7)c=u(eb(this.a,1),121).Om(n)+"??";else{for(o=new Na,ac(o,u(eb(this.a,0),121).Om(n)),r=1;r<this.a.a.c.length;r++)o.a+="|",ac(o,u(eb(this.a,r),121).Om(n));c=o.a}return c},w(c1,"RegEx/Token/UnionToken",466),b(515,1,{590:1},vk),s.Ib=function(){return this.a.b},w(LYe,"XMLTypeUtil/PatternMatcherImpl",515),b(1676,1489,{},Z9e);var Oln;w(LYe,"XMLTypeValidator",1676),b(270,1,Ph,Bd),s.Ic=function(n){Dr(this,n)},s.Jc=function(){return(this.b-this.a)*this.c<0?Cd:new P1(this)},s.a=0,s.b=0,s.c=0;var Cd;w(Vse,"ExclusiveRange",270),b(1055,1,Ih,eye),s.Rb=function(n){u(n,15),abn()},s.Nb=function(n){Ir(this,n)},s.Pb=function(){return e0n()},s.Ub=function(){return n0n()},s.Wb=function(n){u(n,15),hbn()},s.Ob=function(){return!1},s.Sb=function(){return!1},s.Tb=function(){return-1},s.Vb=function(){return-1},s.Qb=function(){throw C(new Pa(BYe))},w(Vse,"ExclusiveRange/1",1055),b(259,1,Ih,P1),s.Rb=function(n){u(n,15),dbn()},s.Nb=function(n){Ir(this,n)},s.Pb=function(){return S8n(this)},s.Ub=function(){return x6n(this)},s.Wb=function(n){u(n,15),bbn()},s.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},s.Sb=function(){return this.b>0},s.Tb=function(){return this.b},s.Vb=function(){return this.b-1},s.Qb=function(){throw C(new Pa(BYe))},s.a=0,s.b=0,w(Vse,"ExclusiveRange/RangeIterator",259);var Ks=Ev(EI,"C"),bt=Ev(Ay,"I"),ao=Ev(Vm,"Z"),Yb=Ev(My,"J"),Ao=Ev(ky,"B"),jr=Ev(jy,"D"),Qg=Ev(Ey,"F"),_p=Ev(xy,"S"),GFn=yi("org.eclipse.elk.core.labels","ILabelManager"),cge=yi(Kr,"DiagnosticChain"),uge=yi(aYe,"ResourceSet"),oge=w(Kr,"InvocationTargetException",null),Nln=(pM(),G5n),Dln=Dln=hAn;T9n(ndn),z9n("permProps",[[["locale","default"],[RYe,"gecko1_8"]],[["locale","default"],[RYe,"safari"]]]),Dln(null,"elk",null)}).call(this)}).call(this,typeof $ln<"u"?$ln:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(P,N,D){function $(re){"@babel/helpers - typeof";return $=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(we){return typeof we}:function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we},$(re)}function v(re,we,ee){return Object.defineProperty(re,"prototype",{writable:!1}),re}function q(re,we){if(!(re instanceof we))throw new TypeError("Cannot call a class as a function")}function te(re,we,ee){return we=z(we),ie(re,oe()?Reflect.construct(we,ee||[],z(re).constructor):we.apply(re,ee))}function ie(re,we){if(we&&($(we)=="object"||typeof we=="function"))return we;if(we!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return pe(re)}function pe(re){if(re===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return re}function oe(){try{var re=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oe=function(){return!!re})()}function z(re){return z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(we){return we.__proto__||Object.getPrototypeOf(we)},z(re)}function ne(re,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function");re.prototype=Object.create(we&&we.prototype,{constructor:{value:re,writable:!0,configurable:!0}}),Object.defineProperty(re,"prototype",{writable:!1}),we&&Z(re,we)}function Z(re,we){return Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(ee,xe){return ee.__proto__=xe,ee},Z(re,we)}var U=P("./elk-api.js").default,Ee=(function(re){function we(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};q(this,we);var xe=Object.assign({},ee),Qe=!1;try{P.resolve("web-worker"),Qe=!0}catch{}if(ee.workerUrl)if(Qe){var Xe=P("web-worker");xe.workerFactory=function(jn){return new Xe(jn)}}else console.warn(`Web worker requested but 'web-worker' package not installed.
29
29
  Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
30
- ... Falling back to non-web worker version.`);if(!xe.workerFactory){var Ze=P("./elk-worker.min.js"),vn=Ze.Worker;xe.workerFactory=function(jn){return new vn(jn)}}return te(this,we,[xe])}return ne(we,re),v(we)})(U);Object.defineProperty(N.exports,"__esModule",{value:!0}),N.exports=Ee,Ee.default=Ee},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(P,N,D){var $=typeof Worker<"u"?Worker:void 0;N.exports=$},{}]},{},[3])(3)})})(yge)),yge.exports}var cHn=rHn();const uHn=nBn(cHn),oHn=new uHn,DX=240,LX=150,sHn=48;async function fHn(p,E,P){if(p.length===0)return p;const N=p.filter(z=>z.type==="namespace-group"),D=p.filter(z=>z.type==="agent"),$=p.filter(z=>z.type==="adapter"),v=$.map(z=>{var ne,Z;return{id:z.id,width:((ne=z.style)==null?void 0:ne.width)??DX,height:((Z=z.style)==null?void 0:Z.height)??LX,layoutOptions:{"elk.layered.layering.layerConstraint":"FIRST"}}}),q=P?N.map(z=>{const ne=D.filter(Z=>Z.parentId===z.id).map(Z=>({id:Z.id,width:DX,height:LX}));return{id:z.id,width:0,height:0,layoutOptions:{"elk.padding":`[top=${sHn},left=24,bottom=24,right=24]`,"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"60"},children:ne}}):D.map(z=>({id:z.id,width:DX,height:LX,...$.length>0?{layoutOptions:{"elk.layered.layering.layerConstraint":"LAST"}}:{}})),te=[...v,...q],ie=E.map(z=>({id:z.id,sources:[z.source],targets:[z.target]})),pe={id:"root",layoutOptions:{"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"80","elk.layered.spacing.nodeNodeBetweenLayers":"120"},children:te,edges:ie},oe=await oHn.layout(pe);return p.map(z=>{var Z,U,Ee,re,we;if(z.type==="namespace-group"){const ee=(Z=oe.children)==null?void 0:Z.find(xe=>xe.id===z.id);return ee?{...z,position:{x:ee.x??0,y:ee.y??0},style:{width:ee.width??300,height:ee.height??200}}:z}if(z.type==="adapter"){const ee=(U=oe.children)==null?void 0:U.find(xe=>xe.id===z.id);return ee?{...z,position:{x:ee.x??0,y:ee.y??0}}:z}if(P&&z.parentId){const ee=(Ee=oe.children)==null?void 0:Ee.find(Qe=>Qe.id===z.parentId),xe=(re=ee==null?void 0:ee.children)==null?void 0:re.find(Qe=>Qe.id===z.id);return xe?{...z,position:{x:xe.x??0,y:xe.y??0}}:z}const ne=(we=oe.children)==null?void 0:we.find(ee=>ee.id===z.id);return ne?{...z,position:{x:ne.x??0,y:ne.y??0}}:z})}function lHn({rawNodes:p,deleteBindingMutate:E,createBindingMutate:P}){const{setCenter:N,getZoom:D}=zX(),[$,v]=cn.useState([]),[q,te]=cn.useState([]),ie=cn.useRef([]),[pe,oe]=cn.useState(!0),[z,ne]=cn.useState(null),[Z,U]=cn.useState(null),[Ee,re]=cn.useState(!1),we=cn.useRef(new Map),[ee,xe]=cn.useState(0),[Qe,Xe]=cn.useState(null),Ze=cn.useCallback(Nn=>Nn.replace(/^binding:/,""),[]),vn=cn.useCallback(Nn=>{Xe(Nn)},[]),jn=cn.useCallback(()=>{Xe(Nn=>(Nn&&E(Ze(Nn)),null))},[E,Ze]),et=cn.useCallback(()=>Xe(null),[]),Dn=cn.useCallback(Nn=>{v(qn=>kan(Nn,qn))},[]),Kn=cn.useCallback((Nn,qn)=>{we.current.set(qn.id,qn.position),re(!0)},[]),_=cn.useCallback(Nn=>{const qn=[];for(const Jt of Nn){if(Jt.type==="remove"&&Jt.id.startsWith("binding:")){Xe(Jt.id);continue}qn.push(Jt)}qn.length>0&&te(Jt=>jan(qn,Jt))},[]),je=cn.useCallback(()=>{we.current.clear(),re(!1),xe(Nn=>Nn+1)},[]),rn=cn.useCallback((Nn,qn)=>{if(qn.type!=="agent")return;let Jt=qn.position.x+DX/2,Xt=qn.position.y+LX/2;if(qn.parentId){const gr=ie.current.find(Ki=>Ki.id===qn.parentId);gr&&(Jt+=gr.position.x,Xt+=gr.position.y)}const Oi=Math.max(D(),1);N(Jt,Xt,{zoom:Oi,duration:350})},[N,D]),sn=cn.useCallback(Nn=>{var Xt;const qn=p.find(Oi=>Oi.id===Nn.source),Jt=p.find(Oi=>Oi.id===Nn.target);return(Xt=qn==null?void 0:qn.data)!=null&&Xt.isGhost?!1:(qn==null?void 0:qn.type)==="adapter"&&(Jt==null?void 0:Jt.type)==="agent"},[p]),Sn=cn.useCallback(Nn=>{const qn=p.find(Xt=>Xt.id===Nn.source),Jt=p.find(Xt=>Xt.id===Nn.target);(qn==null?void 0:qn.type)!=="adapter"||(Jt==null?void 0:Jt.type)!=="agent"||ne({sourceAdapterId:qn.id.replace(/^adapter:/,""),targetAgentId:Jt.id})},[p]),Bn=cn.useCallback(Nn=>{P(MBn(Nn)),ne(null)},[P]),dn=cn.useCallback((Nn,qn)=>{if(!qn.nodeId)return;const Jt=p.find(Xt=>Xt.id===qn.nodeId);(Jt==null?void 0:Jt.type)==="adapter"&&U(qn.nodeId)},[p]),Jn=cn.useCallback(()=>{U(null)},[]);return{layoutedNodes:$,setLayoutedNodes:v,layoutedEdges:q,setLayoutedEdges:te,layoutedNodesRef:ie,isLayouting:pe,setIsLayouting:oe,manualPositions:we,layoutVersion:ee,pendingConnection:z,setPendingConnection:ne,connectingFrom:Z,hasDraggedNodes:Ee,pendingDeleteEdgeId:Qe,confirmDeleteBinding:jn,cancelDeleteBinding:et,handleDeleteBinding:vn,handleNodesChange:Dn,handleNodeDragStop:Kn,handleEdgesChange:_,handleResetLayout:je,handleNodeClick:rn,isValidConnection:sn,handleConnect:Sn,handleBindingConfirm:Bn,handleConnectStart:dn,handleConnectEnd:Jn}}const Ohn=["#6366f1","#f59e0b","#10b981","#ec4899","#d946ef","#14b8a6","hsl(var(--chart-1))","#06b6d4"];function hHn(p){return Ohn[p%Ohn.length]}function aHn(p,E,P,N,D,$,v,q){var Z,U,Ee,re;if(!p.length)return{rawNodes:[],rawEdges:[],legendEntries:[],useGroups:!1};const te=[],ie=[],pe=[],oe=(N==null?void 0:N.filter(we=>we.config.type!=="claude-code"))??[];if(P&&oe.length>0)for(const we of oe)te.push({id:`adapter:${we.config.id}`,type:"adapter",position:{x:0,y:0},data:{adapterName:we.status.displayName,adapterType:we.config.type,adapterStatus:we.status.state==="connected"?"running":we.status.state==="error"?"error":"stopped",bindingCount:$.get(we.config.id)??0,label:we.config.label}});P&&oe.length===0&&te.push({id:"ghost-adapter",type:"adapter",position:{x:0,y:0},data:{adapterName:"Add a platform",adapterType:"ghost",adapterStatus:"stopped",bindingCount:0,isGhost:!0,onGhostClick:()=>{var we;return(we=q.onGhostClick)==null?void 0:we.call(q)}}});const z=p.length>=1;for(let we=0;we<p.length;we++){const ee=p[we],xe=hHn(we);pe.push({namespace:ee.namespace,color:xe});const Qe=`group:${ee.namespace}`,Xe=ee.agents.filter(Ze=>Ze.healthStatus==="active").length;z&&te.push({id:Qe,type:"namespace-group",position:{x:0,y:0},data:{namespace:ee.namespace,agentCount:ee.agentCount,activeCount:Xe,color:xe}});for(const Ze of ee.agents){const vn=Ze,jn=tBn(vn),et={id:Ze.id,type:"agent",position:{x:0,y:0},data:{label:Ze.name,runtime:Ze.runtime,healthStatus:vn.healthStatus??"stale",capabilities:Ze.capabilities??[],namespace:ee.namespace,namespaceColor:xe,description:Ze.description||void 0,relayAdapters:vn.relayAdapters??[],taskCount:vn.taskCount??0,lastSeenAt:vn.lastSeenAt??null,behavior:Ze.behavior?{responseMode:Ze.behavior.responseMode}:void 0,color:vn.color??null,avatarColor:jn.color,emoji:jn.emoji,projectPath:vn.projectPath??"",onViewProfile:Dn=>{var Kn;return(Kn=q.onViewProfile)==null?void 0:Kn.call(q,Dn,vn.projectPath??"")},onSelectAgent:Dn=>{var Kn;return(Kn=q.onSelectAgent)==null?void 0:Kn.call(q,Dn,vn.projectPath??"")},onOpenChat:(Dn,Kn)=>{var _;return(_=q.onOpenChat)==null?void 0:_.call(q,Kn)}}};z&&(et.parentId=Qe,et.extent="parent"),te.push(et)}}if(P&&(D!=null&&D.length))for(const we of D){const ee=`adapter:${we.adapterId}`,xe=we.agentId,Qe=te.some(Ze=>Ze.id===ee),Xe=te.some(Ze=>Ze.id===xe);!Qe||!Xe||ie.push({id:`binding:${we.id}`,source:ee,target:xe,type:"binding",deletable:!0,data:{label:we.label||void 0,sessionStrategy:we.sessionStrategy,chatId:we.chatId||void 0,channelType:we.channelType||void 0,onDelete:v}})}const ne=E.filter(we=>we.origin!=="default"&&we.sourceNamespace!==Fln&&we.targetNamespace!==Fln);for(const we of ne){const ee=z?`group:${we.sourceNamespace}`:((U=(Z=p[0])==null?void 0:Z.agents[0])==null?void 0:U.id)??"",xe=z?`group:${we.targetNamespace}`:((re=(Ee=p[0])==null?void 0:Ee.agents[0])==null?void 0:re.id)??"";if(!ee||!xe)continue;const Qe=we.action==="deny";ie.push({id:`e:${we.sourceNamespace}-${we.targetNamespace}:${we.action}`,source:ee,target:xe,type:Qe?"cross-namespace-deny":"cross-namespace",animated:!Qe,deletable:!1,data:{label:`${we.sourceNamespace} › ${we.targetNamespace}`}})}return{rawNodes:te,rawEdges:ie,legendEntries:pe,useGroups:z}}function dHn(p){const E=_X(N=>N.pulse),P=jN();iBn("relay_flow",N=>{if(!p||P)return;const D=rBn.safeParse(N);if(!D.success)return;const{bindingId:$,direction:v}=D.data;E(`binding:${$}`,v)})}const bHn={agent:DGn,adapter:HGn,"namespace-group":YGn},wHn={binding:VGn,"cross-namespace":ZGn,"cross-namespace-deny":eHn};function qHn(p){return le.jsx(Kan,{children:le.jsx(gHn,{...p})})}function gHn({onSelectAgent:p,onViewProfile:E,onGoToDiscovery:P,onOpenChat:N,onOpenAdapterCatalog:D}){const{data:$,isLoading:v,isError:q,refetch:te}=SBn(),ie=$==null?void 0:$.namespaces,pe=$==null?void 0:$.accessRules,oe=($==null?void 0:$.openMesh)??!1,z=cBn(),ne=uBn("(pointer: coarse)"),[Z,U]=cn.useState(!1),Ee=oBn(),{data:re}=sBn(Ee),{data:we}=PBn(),{mutate:ee}=xBn(),{mutate:xe}=OBn();dHn(Ee),cn.useEffect(()=>()=>{_X.getState().reset()},[]);const Qe=AX(E),Xe=AX(p),Ze=AX(N),vn=AX(D),jn=cn.useMemo(()=>{const ec=new Map;for(const pf of we??[])ec.set(pf.adapterId,(ec.get(pf.adapterId)??0)+1);return ec},[we]),et=fBn(()=>{}),{rawNodes:Dn,rawEdges:Kn,legendEntries:_,useGroups:je}=cn.useMemo(()=>aHn(ie??[],pe??[],Ee,re,we,jn,ec=>et.read()(ec),{onViewProfile:(ec,pf)=>{var Kf;return(Kf=Qe.read())==null?void 0:Kf(ec,pf)},onSelectAgent:(ec,pf)=>{var Kf;return(Kf=Xe.read())==null?void 0:Kf(ec,pf)},onOpenChat:ec=>{var pf;return(pf=Ze.read())==null?void 0:pf(ec)},onGhostClick:()=>{var ec;return(ec=vn.read())==null?void 0:ec()}}),[ie,pe,Ee,re,we,jn,et,Qe,Xe,Ze,vn]),{layoutedNodes:rn,setLayoutedNodes:sn,layoutedEdges:Sn,setLayoutedEdges:Bn,layoutedNodesRef:dn,isLayouting:Jn,setIsLayouting:Nn,manualPositions:qn,layoutVersion:Jt,pendingConnection:Xt,setPendingConnection:Oi,connectingFrom:gr,hasDraggedNodes:Ki,pendingDeleteEdgeId:Wn,confirmDeleteBinding:ei,cancelDeleteBinding:rr,handleDeleteBinding:cr,handleNodesChange:_i,handleNodeDragStop:sr,handleEdgesChange:ri,handleResetLayout:ai,handleNodeClick:Mc,isValidConnection:ku,handleConnect:ic,handleBindingConfirm:Sa,handleConnectStart:ph,handleConnectEnd:j1}=lHn({rawNodes:Dn,deleteBindingMutate:xe,createBindingMutate:ee});et.write(cr);const u2=cn.useMemo(()=>{const ec=Dn.map(Kf=>`${Kf.id}:${Kf.type}:${Kf.parentId??""}`).sort().join("|"),pf=Kn.map(Kf=>`${Kf.source}->${Kf.target}:${Kf.type}`).sort().join("|");return`${ec}::${pf}`},[Dn,Kn]);cn.useEffect(()=>{let ec=!1;return Nn(!0),fHn(Dn,Kn,je).then(pf=>{if(!ec){const Kf=pf.map(z3=>{const U5=qn.current.get(z3.id);return U5?{...z3,position:U5}:z3});sn(Kf),Bn(Kn),U(!1),Nn(!1)}}).catch(pf=>{console.warn("[topology] layout failed; the map has no nodes to draw",pf),ec||(U(!0),Nn(!1))}),()=>{ec=!0}},[u2,je,Jt]),cn.useEffect(()=>{dn.current=rn},[rn,dn]);const zl=Ee&&((re==null?void 0:re.length)??0)>0,R0=((we==null?void 0:we.length)??0)>0,mh=Dn.some(ec=>ec.type==="agent");if(v||Jn&&rn.length===0)return le.jsx("div",{className:"flex h-full items-center justify-center",children:le.jsx(Bln,{size:"md",className:"text-muted-foreground",label:"Loading the topology"})});if(q)return le.jsx(Rln,{className:"h-full",title:"Couldn’t draw the map of your agents",description:"Couldn’t reach DorkOS. Check that it’s running.",onRetry:()=>void te()});if(Z&&rn.length===0)return le.jsx(Rln,{className:"h-full",title:"Couldn’t draw the map of your agents",description:"Your agents are fine. Only the map couldn’t be drawn.",onRetry:()=>{te(),ai()}});if(!Dn.length)return le.jsx(IBn,{className:"h-full",icon:lBn,headline:"No agents found yet",headingLevel:3,description:"Find agents on this computer to see them here.",action:P?{label:"Go to Discovery",onClick:P,variant:"outline"}:void 0});const Ia=Dn.filter(ec=>ec.type==="agent").length,Sd=Dn.filter(ec=>ec.type==="adapter").length,Gp=Kn.filter(ec=>ec.type==="binding").length;return le.jsxs("div",{className:i2("topology-container absolute inset-0",gr&&"is-connecting"),role:"group","aria-roledescription":"agent map","aria-label":"Map of your agents","aria-describedby":"topology-graph-summary",children:[le.jsxs("div",{id:"topology-graph-summary",className:"sr-only",children:[le.jsxs("p",{children:[Ia," agent",Ia!==1?"s":"",", ",Sd," platform",Sd!==1?"s":"",", ",Gp," connection",Gp!==1?"s":"","."]}),le.jsx("p",{children:"To connect by keyboard, use the agent’s Connections section."})]}),le.jsxs(JJn,{nodes:rn,edges:Sn,nodeTypes:bHn,edgeTypes:wHn,deleteKeyCode:null,onNodesChange:_i,onEdgesChange:ri,onNodeClick:Mc,onNodeDragStop:sr,onConnect:zl?ic:void 0,onConnectStart:zl?ph:void 0,onConnectEnd:zl?j1:void 0,isValidConnection:zl?ku:void 0,nodesConnectable:zl,nodesFocusable:!0,edgesFocusable:!0,fitView:!0,fitViewOptions:{duration:400,padding:.15},minZoom:.2,colorMode:"system",onlyRenderVisibleElements:!0,proOptions:{hideAttribution:!0},children:[le.jsx(XJn,{variant:q3.Dots,gap:16,size:1,color:"hsl(var(--muted-foreground) / 0.15)"}),le.jsx(bGn,{nodeColor:ec=>ec.type==="adapter"?"hsl(var(--muted-foreground) / 0.4)":ec.type==="namespace-group"?"transparent":ec.data.namespaceColor??"hsl(var(--primary))",maskColor:"hsl(var(--background) / 0.8)",pannable:!0,zoomable:!0,className:"!right-2 !bottom-2",style:{height:80}}),le.jsx(eGn,{showInteractive:!1,position:"top-right"}),Ki&&le.jsx("div",{className:"absolute bottom-2 left-2 z-10",children:le.jsxs(Sge,{variant:"outline",size:"xs",onClick:ai,title:"Reset layout",className:"shadow-sm",children:[le.jsx(hBn,{}),"Reset layout"]})}),le.jsx(tHn,{namespaces:_})]}),oe&&le.jsx(iHn,{}),Ee&&mh&&!zl&&le.jsx("div",{className:"bg-muted/80 text-muted-foreground pointer-events-none absolute bottom-3 left-1/2 -translate-x-1/2 rounded-md px-3 py-1.5 text-xs",children:"Add a chat app in Connections, then connect it to an agent"}),zl&&mh&&!R0&&!z&&!ne&&le.jsx("div",{className:"bg-muted/80 text-muted-foreground pointer-events-none absolute bottom-3 left-1/2 -translate-x-1/2 rounded-md px-3 py-1.5 text-xs",children:"Drag from a platform to an agent to connect them"}),Jn&&le.jsx("div",{className:"pointer-events-none absolute top-3 right-3 z-10",children:le.jsx(Bln,{className:"text-muted-foreground/70"})}),Xt&&le.jsx(CBn,{open:!0,onOpenChange:ec=>{ec||Oi(null)},mode:"create",initialValues:{adapterId:Xt.sourceAdapterId,agentId:Xt.targetAgentId},onConfirm:Sa}),le.jsx(aBn,{open:!!Wn,onOpenChange:ec=>{ec||rr()},children:le.jsxs(dBn,{children:[le.jsxs(bBn,{children:[le.jsx(wBn,{children:"Remove this connection?"}),le.jsx(gBn,{children:"The agent stops getting messages from it."})]}),le.jsxs(pBn,{children:[le.jsx(mBn,{children:"Cancel"}),le.jsx(vBn,{onClick:ei,className:yBn({variant:"destructive"}),children:"Remove connection"})]})]})})]})}export{qHn as TopologyGraph};
30
+ ... Falling back to non-web worker version.`);if(!xe.workerFactory){var Ze=P("./elk-worker.min.js"),vn=Ze.Worker;xe.workerFactory=function(jn){return new vn(jn)}}return te(this,we,[xe])}return ne(we,re),v(we)})(U);Object.defineProperty(N.exports,"__esModule",{value:!0}),N.exports=Ee,Ee.default=Ee},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(P,N,D){var $=typeof Worker<"u"?Worker:void 0;N.exports=$},{}]},{},[3])(3)})})(yge)),yge.exports}var cHn=rHn();const uHn=nBn(cHn),oHn=new uHn,DX=240,LX=150,sHn=48;async function fHn(p,E,P){if(p.length===0)return p;const N=p.filter(z=>z.type==="namespace-group"),D=p.filter(z=>z.type==="agent"),$=p.filter(z=>z.type==="adapter"),v=$.map(z=>{var ne,Z;return{id:z.id,width:((ne=z.style)==null?void 0:ne.width)??DX,height:((Z=z.style)==null?void 0:Z.height)??LX,layoutOptions:{"elk.layered.layering.layerConstraint":"FIRST"}}}),q=P?N.map(z=>{const ne=D.filter(Z=>Z.parentId===z.id).map(Z=>({id:Z.id,width:DX,height:LX}));return{id:z.id,width:0,height:0,layoutOptions:{"elk.padding":`[top=${sHn},left=24,bottom=24,right=24]`,"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"60"},children:ne}}):D.map(z=>({id:z.id,width:DX,height:LX,...$.length>0?{layoutOptions:{"elk.layered.layering.layerConstraint":"LAST"}}:{}})),te=[...v,...q],ie=E.map(z=>({id:z.id,sources:[z.source],targets:[z.target]})),pe={id:"root",layoutOptions:{"elk.algorithm":"layered","elk.direction":"RIGHT","elk.spacing.nodeNode":"80","elk.layered.spacing.nodeNodeBetweenLayers":"120"},children:te,edges:ie},oe=await oHn.layout(pe);return p.map(z=>{var Z,U,Ee,re,we;if(z.type==="namespace-group"){const ee=(Z=oe.children)==null?void 0:Z.find(xe=>xe.id===z.id);return ee?{...z,position:{x:ee.x??0,y:ee.y??0},style:{width:ee.width??300,height:ee.height??200}}:z}if(z.type==="adapter"){const ee=(U=oe.children)==null?void 0:U.find(xe=>xe.id===z.id);return ee?{...z,position:{x:ee.x??0,y:ee.y??0}}:z}if(P&&z.parentId){const ee=(Ee=oe.children)==null?void 0:Ee.find(Qe=>Qe.id===z.parentId),xe=(re=ee==null?void 0:ee.children)==null?void 0:re.find(Qe=>Qe.id===z.id);return xe?{...z,position:{x:xe.x??0,y:xe.y??0}}:z}const ne=(we=oe.children)==null?void 0:we.find(ee=>ee.id===z.id);return ne?{...z,position:{x:ne.x??0,y:ne.y??0}}:z})}function lHn({rawNodes:p,deleteBindingMutate:E,createBindingMutate:P}){const{setCenter:N,getZoom:D}=zX(),[$,v]=cn.useState([]),[q,te]=cn.useState([]),ie=cn.useRef([]),[pe,oe]=cn.useState(!0),[z,ne]=cn.useState(null),[Z,U]=cn.useState(null),[Ee,re]=cn.useState(!1),we=cn.useRef(new Map),[ee,xe]=cn.useState(0),[Qe,Xe]=cn.useState(null),Ze=cn.useCallback(Nn=>Nn.replace(/^binding:/,""),[]),vn=cn.useCallback(Nn=>{Xe(Nn)},[]),jn=cn.useCallback(()=>{Xe(Nn=>(Nn&&E(Ze(Nn)),null))},[E,Ze]),et=cn.useCallback(()=>Xe(null),[]),Dn=cn.useCallback(Nn=>{v(qn=>kan(Nn,qn))},[]),Kn=cn.useCallback((Nn,qn)=>{we.current.set(qn.id,qn.position),re(!0)},[]),_=cn.useCallback(Nn=>{const qn=[];for(const Jt of Nn){if(Jt.type==="remove"&&Jt.id.startsWith("binding:")){Xe(Jt.id);continue}qn.push(Jt)}qn.length>0&&te(Jt=>jan(qn,Jt))},[]),je=cn.useCallback(()=>{we.current.clear(),re(!1),xe(Nn=>Nn+1)},[]),rn=cn.useCallback((Nn,qn)=>{if(qn.type!=="agent")return;let Jt=qn.position.x+DX/2,Xt=qn.position.y+LX/2;if(qn.parentId){const gr=ie.current.find(Ki=>Ki.id===qn.parentId);gr&&(Jt+=gr.position.x,Xt+=gr.position.y)}const Oi=Math.max(D(),1);N(Jt,Xt,{zoom:Oi,duration:350})},[N,D]),sn=cn.useCallback(Nn=>{var Xt;const qn=p.find(Oi=>Oi.id===Nn.source),Jt=p.find(Oi=>Oi.id===Nn.target);return(Xt=qn==null?void 0:qn.data)!=null&&Xt.isGhost?!1:(qn==null?void 0:qn.type)==="adapter"&&(Jt==null?void 0:Jt.type)==="agent"},[p]),Sn=cn.useCallback(Nn=>{const qn=p.find(Xt=>Xt.id===Nn.source),Jt=p.find(Xt=>Xt.id===Nn.target);(qn==null?void 0:qn.type)!=="adapter"||(Jt==null?void 0:Jt.type)!=="agent"||ne({sourceAdapterId:qn.id.replace(/^adapter:/,""),targetAgentId:Jt.id})},[p]),Bn=cn.useCallback(Nn=>{P(MBn(Nn)),ne(null)},[P]),dn=cn.useCallback((Nn,qn)=>{if(!qn.nodeId)return;const Jt=p.find(Xt=>Xt.id===qn.nodeId);(Jt==null?void 0:Jt.type)==="adapter"&&U(qn.nodeId)},[p]),Jn=cn.useCallback(()=>{U(null)},[]);return{layoutedNodes:$,setLayoutedNodes:v,layoutedEdges:q,setLayoutedEdges:te,layoutedNodesRef:ie,isLayouting:pe,setIsLayouting:oe,manualPositions:we,layoutVersion:ee,pendingConnection:z,setPendingConnection:ne,connectingFrom:Z,hasDraggedNodes:Ee,pendingDeleteEdgeId:Qe,confirmDeleteBinding:jn,cancelDeleteBinding:et,handleDeleteBinding:vn,handleNodesChange:Dn,handleNodeDragStop:Kn,handleEdgesChange:_,handleResetLayout:je,handleNodeClick:rn,isValidConnection:sn,handleConnect:Sn,handleBindingConfirm:Bn,handleConnectStart:dn,handleConnectEnd:Jn}}const Ohn=["#6366f1","#f59e0b","#10b981","#ec4899","#d946ef","#14b8a6","hsl(var(--chart-1))","#06b6d4"];function hHn(p){return Ohn[p%Ohn.length]}function aHn(p,E,P,N,D,$,v,q){var Z,U,Ee,re;if(!p.length)return{rawNodes:[],rawEdges:[],legendEntries:[],useGroups:!1};const te=[],ie=[],pe=[],oe=(N==null?void 0:N.filter(we=>we.config.type!=="claude-code"))??[];if(P&&oe.length>0)for(const we of oe)te.push({id:`adapter:${we.config.id}`,type:"adapter",position:{x:0,y:0},data:{adapterName:we.status.displayName,adapterType:we.config.type,adapterStatus:we.status.state==="connected"?"running":we.status.state==="error"?"error":"stopped",bindingCount:$.get(we.config.id)??0,label:we.config.label}});P&&oe.length===0&&te.push({id:"ghost-adapter",type:"adapter",position:{x:0,y:0},data:{adapterName:"Add a platform",adapterType:"ghost",adapterStatus:"stopped",bindingCount:0,isGhost:!0,onGhostClick:()=>{var we;return(we=q.onGhostClick)==null?void 0:we.call(q)}}});const z=p.length>=1;for(let we=0;we<p.length;we++){const ee=p[we],xe=hHn(we);pe.push({namespace:ee.namespace,color:xe});const Qe=`group:${ee.namespace}`,Xe=ee.agents.filter(Ze=>Ze.healthStatus==="active").length;z&&te.push({id:Qe,type:"namespace-group",position:{x:0,y:0},data:{namespace:ee.namespace,agentCount:ee.agentCount,activeCount:Xe,color:xe}});for(const Ze of ee.agents){const vn=Ze,jn=tBn(vn),et={id:Ze.id,type:"agent",position:{x:0,y:0},data:{label:Ze.name,runtime:Ze.runtime,healthStatus:vn.healthStatus??"stale",capabilities:Ze.capabilities??[],namespace:ee.namespace,namespaceColor:xe,description:Ze.description||void 0,relayAdapters:vn.relayAdapters??[],taskCount:vn.taskCount??0,lastSeenAt:vn.lastSeenAt??null,behavior:Ze.behavior?{responseMode:Ze.behavior.responseMode}:void 0,color:vn.color??null,avatarColor:jn.color,emoji:jn.emoji,projectPath:vn.projectPath??"",onViewProfile:Dn=>{var Kn;return(Kn=q.onViewProfile)==null?void 0:Kn.call(q,Dn,vn.projectPath??"")},onSelectAgent:Dn=>{var Kn;return(Kn=q.onSelectAgent)==null?void 0:Kn.call(q,Dn,vn.projectPath??"")},onOpenChat:(Dn,Kn)=>{var _;return(_=q.onOpenChat)==null?void 0:_.call(q,Kn)}}};z&&(et.parentId=Qe,et.extent="parent"),te.push(et)}}if(P&&(D!=null&&D.length))for(const we of D){const ee=`adapter:${we.adapterId}`,xe=we.agentId,Qe=te.some(Ze=>Ze.id===ee),Xe=te.some(Ze=>Ze.id===xe);!Qe||!Xe||ie.push({id:`binding:${we.id}`,source:ee,target:xe,type:"binding",deletable:!0,data:{label:we.label||void 0,sessionStrategy:we.sessionStrategy,chatId:we.chatId||void 0,channelType:we.channelType||void 0,onDelete:v}})}const ne=E.filter(we=>we.origin!=="default"&&we.sourceNamespace!==Fln&&we.targetNamespace!==Fln);for(const we of ne){const ee=z?`group:${we.sourceNamespace}`:((U=(Z=p[0])==null?void 0:Z.agents[0])==null?void 0:U.id)??"",xe=z?`group:${we.targetNamespace}`:((re=(Ee=p[0])==null?void 0:Ee.agents[0])==null?void 0:re.id)??"";if(!ee||!xe)continue;const Qe=we.action==="deny";ie.push({id:`e:${we.sourceNamespace}-${we.targetNamespace}:${we.action}`,source:ee,target:xe,type:Qe?"cross-namespace-deny":"cross-namespace",animated:!Qe,deletable:!1,data:{label:`${we.sourceNamespace} › ${we.targetNamespace}`}})}return{rawNodes:te,rawEdges:ie,legendEntries:pe,useGroups:z}}function dHn(p){const E=_X(N=>N.pulse),P=jN();iBn("relay_flow",N=>{if(!p||P)return;const D=rBn.safeParse(N);if(!D.success)return;const{bindingId:$,direction:v}=D.data;E(`binding:${$}`,v)})}const bHn={agent:DGn,adapter:HGn,"namespace-group":YGn},wHn={binding:VGn,"cross-namespace":ZGn,"cross-namespace-deny":eHn};function UHn(p){return le.jsx(Kan,{children:le.jsx(gHn,{...p})})}function gHn({onSelectAgent:p,onViewProfile:E,onGoToDiscovery:P,onOpenChat:N,onOpenAdapterCatalog:D}){const{data:$,isLoading:v,isError:q,refetch:te}=SBn(),ie=$==null?void 0:$.namespaces,pe=$==null?void 0:$.accessRules,oe=($==null?void 0:$.openMesh)??!1,z=cBn(),ne=uBn("(pointer: coarse)"),[Z,U]=cn.useState(!1),Ee=oBn(),{data:re}=sBn(Ee),{data:we}=PBn(),{mutate:ee}=xBn(),{mutate:xe}=OBn();dHn(Ee),cn.useEffect(()=>()=>{_X.getState().reset()},[]);const Qe=AX(E),Xe=AX(p),Ze=AX(N),vn=AX(D),jn=cn.useMemo(()=>{const ec=new Map;for(const pf of we??[])ec.set(pf.adapterId,(ec.get(pf.adapterId)??0)+1);return ec},[we]),et=fBn(()=>{}),{rawNodes:Dn,rawEdges:Kn,legendEntries:_,useGroups:je}=cn.useMemo(()=>aHn(ie??[],pe??[],Ee,re,we,jn,ec=>et.read()(ec),{onViewProfile:(ec,pf)=>{var Kf;return(Kf=Qe.read())==null?void 0:Kf(ec,pf)},onSelectAgent:(ec,pf)=>{var Kf;return(Kf=Xe.read())==null?void 0:Kf(ec,pf)},onOpenChat:ec=>{var pf;return(pf=Ze.read())==null?void 0:pf(ec)},onGhostClick:()=>{var ec;return(ec=vn.read())==null?void 0:ec()}}),[ie,pe,Ee,re,we,jn,et,Qe,Xe,Ze,vn]),{layoutedNodes:rn,setLayoutedNodes:sn,layoutedEdges:Sn,setLayoutedEdges:Bn,layoutedNodesRef:dn,isLayouting:Jn,setIsLayouting:Nn,manualPositions:qn,layoutVersion:Jt,pendingConnection:Xt,setPendingConnection:Oi,connectingFrom:gr,hasDraggedNodes:Ki,pendingDeleteEdgeId:Wn,confirmDeleteBinding:ei,cancelDeleteBinding:rr,handleDeleteBinding:cr,handleNodesChange:_i,handleNodeDragStop:sr,handleEdgesChange:ri,handleResetLayout:ai,handleNodeClick:Mc,isValidConnection:ku,handleConnect:ic,handleBindingConfirm:Sa,handleConnectStart:ph,handleConnectEnd:j1}=lHn({rawNodes:Dn,deleteBindingMutate:xe,createBindingMutate:ee});et.write(cr);const u2=cn.useMemo(()=>{const ec=Dn.map(Kf=>`${Kf.id}:${Kf.type}:${Kf.parentId??""}`).sort().join("|"),pf=Kn.map(Kf=>`${Kf.source}->${Kf.target}:${Kf.type}`).sort().join("|");return`${ec}::${pf}`},[Dn,Kn]);cn.useEffect(()=>{let ec=!1;return Nn(!0),fHn(Dn,Kn,je).then(pf=>{if(!ec){const Kf=pf.map(z3=>{const U5=qn.current.get(z3.id);return U5?{...z3,position:U5}:z3});sn(Kf),Bn(Kn),U(!1),Nn(!1)}}).catch(pf=>{console.warn("[topology] layout failed; the map has no nodes to draw",pf),ec||(U(!0),Nn(!1))}),()=>{ec=!0}},[u2,je,Jt]),cn.useEffect(()=>{dn.current=rn},[rn,dn]);const zl=Ee&&((re==null?void 0:re.length)??0)>0,R0=((we==null?void 0:we.length)??0)>0,mh=Dn.some(ec=>ec.type==="agent");if(v||Jn&&rn.length===0)return le.jsx("div",{className:"flex h-full items-center justify-center",children:le.jsx(Bln,{size:"md",className:"text-muted-foreground",label:"Loading the topology"})});if(q)return le.jsx(Rln,{className:"h-full",title:"Couldn’t draw the map of your agents",description:"Couldn’t reach DorkOS. Check that it’s running.",onRetry:()=>void te()});if(Z&&rn.length===0)return le.jsx(Rln,{className:"h-full",title:"Couldn’t draw the map of your agents",description:"Your agents are fine. Only the map couldn’t be drawn.",onRetry:()=>{te(),ai()}});if(!Dn.length)return le.jsx(IBn,{className:"h-full",icon:lBn,headline:"No agents found yet",headingLevel:3,description:"Find agents on this computer to see them here.",action:P?{label:"Go to Discovery",onClick:P,variant:"outline"}:void 0});const Ia=Dn.filter(ec=>ec.type==="agent").length,Sd=Dn.filter(ec=>ec.type==="adapter").length,Gp=Kn.filter(ec=>ec.type==="binding").length;return le.jsxs("div",{className:i2("topology-container absolute inset-0",gr&&"is-connecting"),role:"group","aria-roledescription":"agent map","aria-label":"Map of your agents","aria-describedby":"topology-graph-summary",children:[le.jsxs("div",{id:"topology-graph-summary",className:"sr-only",children:[le.jsxs("p",{children:[Ia," agent",Ia!==1?"s":"",", ",Sd," platform",Sd!==1?"s":"",", ",Gp," connection",Gp!==1?"s":"","."]}),le.jsx("p",{children:"To connect by keyboard, use the agent’s Connections section."})]}),le.jsxs(JJn,{nodes:rn,edges:Sn,nodeTypes:bHn,edgeTypes:wHn,deleteKeyCode:null,onNodesChange:_i,onEdgesChange:ri,onNodeClick:Mc,onNodeDragStop:sr,onConnect:zl?ic:void 0,onConnectStart:zl?ph:void 0,onConnectEnd:zl?j1:void 0,isValidConnection:zl?ku:void 0,nodesConnectable:zl,nodesFocusable:!0,edgesFocusable:!0,fitView:!0,fitViewOptions:{duration:400,padding:.15},minZoom:.2,colorMode:"system",onlyRenderVisibleElements:!0,proOptions:{hideAttribution:!0},children:[le.jsx(XJn,{variant:q3.Dots,gap:16,size:1,color:"hsl(var(--muted-foreground) / 0.15)"}),le.jsx(bGn,{nodeColor:ec=>ec.type==="adapter"?"hsl(var(--muted-foreground) / 0.4)":ec.type==="namespace-group"?"transparent":ec.data.namespaceColor??"hsl(var(--primary))",maskColor:"hsl(var(--background) / 0.8)",pannable:!0,zoomable:!0,className:"!right-2 !bottom-2",style:{height:80}}),le.jsx(eGn,{showInteractive:!1,position:"top-right"}),Ki&&le.jsx("div",{className:"absolute bottom-2 left-2 z-10",children:le.jsxs(Sge,{variant:"outline",size:"xs",onClick:ai,title:"Reset layout",className:"shadow-sm",children:[le.jsx(hBn,{}),"Reset layout"]})}),le.jsx(tHn,{namespaces:_})]}),oe&&le.jsx(iHn,{}),Ee&&mh&&!zl&&le.jsx("div",{className:"bg-muted/80 text-muted-foreground pointer-events-none absolute bottom-3 left-1/2 -translate-x-1/2 rounded-md px-3 py-1.5 text-xs",children:"Add a chat app in Connections, then connect it to an agent"}),zl&&mh&&!R0&&!z&&!ne&&le.jsx("div",{className:"bg-muted/80 text-muted-foreground pointer-events-none absolute bottom-3 left-1/2 -translate-x-1/2 rounded-md px-3 py-1.5 text-xs",children:"Drag from a platform to an agent to connect them"}),Jn&&le.jsx("div",{className:"pointer-events-none absolute top-3 right-3 z-10",children:le.jsx(Bln,{className:"text-muted-foreground/70"})}),Xt&&le.jsx(CBn,{open:!0,onOpenChange:ec=>{ec||Oi(null)},mode:"create",initialValues:{adapterId:Xt.sourceAdapterId,agentId:Xt.targetAgentId},onConfirm:Sa}),le.jsx(aBn,{open:!!Wn,onOpenChange:ec=>{ec||rr()},children:le.jsxs(dBn,{children:[le.jsxs(bBn,{children:[le.jsx(wBn,{children:"Remove this connection?"}),le.jsx(gBn,{children:"The agent stops getting messages from it."})]}),le.jsxs(pBn,{children:[le.jsx(mBn,{children:"Cancel"}),le.jsx(vBn,{onClick:ei,className:yBn({variant:"destructive"}),children:"Remove connection"})]})]})})]})}export{UHn as TopologyGraph};