binbot-charts 0.5.9 → 0.6.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 (312) hide show
  1. package/dist/TVChartContainer.d.mts +45 -0
  2. package/dist/TVChartContainer.d.ts +45 -0
  3. package/dist/TVChartContainer.js +752 -0
  4. package/dist/TVChartContainer.js.map +1 -0
  5. package/dist/TVChartContainer.mjs +735 -0
  6. package/dist/TVChartContainer.mjs.map +1 -0
  7. package/package.json +4 -2
  8. package/dist/public/charting_library/bundles/0.d46f0b5e9380d7893de5.js +0 -112
  9. package/dist/public/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +0 -1
  10. package/dist/public/charting_library/bundles/10.21e665b7935d5bc4ba64.js +0 -322
  11. package/dist/public/charting_library/bundles/11.df012db70159a159d927.js +0 -1
  12. package/dist/public/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +0 -1
  13. package/dist/public/charting_library/bundles/13.699469c73d09b7add56d.js +0 -1
  14. package/dist/public/charting_library/bundles/14.d1148b38d59df9ca5061.js +0 -1
  15. package/dist/public/charting_library/bundles/15.44f2acca80348a1da1a6.js +0 -89
  16. package/dist/public/charting_library/bundles/16.680572949c1125757d35.js +0 -1
  17. package/dist/public/charting_library/bundles/17.404a01f527881dfff424.js +0 -1
  18. package/dist/public/charting_library/bundles/18.78de69cfba051874e071.js +0 -120
  19. package/dist/public/charting_library/bundles/19.048f7f5d36fef428ca8d.js +0 -1
  20. package/dist/public/charting_library/bundles/2.60931787a6734697ac13.js +0 -118
  21. package/dist/public/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +0 -128
  22. package/dist/public/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +0 -1
  23. package/dist/public/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +0 -1
  24. package/dist/public/charting_library/bundles/23.256ba98e6a03200bdeba.js +0 -1
  25. package/dist/public/charting_library/bundles/24.bc4fafedb1730259aa10.js +0 -1
  26. package/dist/public/charting_library/bundles/25.7416db26ed3dcc87c05a.js +0 -611
  27. package/dist/public/charting_library/bundles/26.3aeec391d4e6e19989ee.js +0 -1
  28. package/dist/public/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +0 -69
  29. package/dist/public/charting_library/bundles/28.9f103042c27ea2df422f.js +0 -1
  30. package/dist/public/charting_library/bundles/29.3df8712b85d45a626aa0.js +0 -1
  31. package/dist/public/charting_library/bundles/3.76c398b01b707e5b251c.js +0 -1
  32. package/dist/public/charting_library/bundles/30.0b732ccb122d160480b6.js +0 -231
  33. package/dist/public/charting_library/bundles/31.8d2b7a538755fd1bb760.js +0 -166
  34. package/dist/public/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +0 -121
  35. package/dist/public/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +0 -1
  36. package/dist/public/charting_library/bundles/34.c9baa59add71a1e48fd2.js +0 -1
  37. package/dist/public/charting_library/bundles/35.ed9e360f9686ad3a9497.js +0 -1
  38. package/dist/public/charting_library/bundles/36.1882d1a8d312a0e193e9.js +0 -1
  39. package/dist/public/charting_library/bundles/37.90129e4904155350d6a1.js +0 -199
  40. package/dist/public/charting_library/bundles/38.41f3d509b61c8af47de3.js +0 -74
  41. package/dist/public/charting_library/bundles/39.bc1e9ce938fd5152831f.js +0 -1
  42. package/dist/public/charting_library/bundles/4.c7430b8d89cddcf51345.js +0 -1
  43. package/dist/public/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +0 -29
  44. package/dist/public/charting_library/bundles/41.a19b0ae5d68f855d2753.js +0 -1
  45. package/dist/public/charting_library/bundles/42.494986b0981f6d116fef.js +0 -1
  46. package/dist/public/charting_library/bundles/43.619c5ed4a592cc2965a4.js +0 -1
  47. package/dist/public/charting_library/bundles/44.0a7df307e4f397763ce8.js +0 -363
  48. package/dist/public/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +0 -1
  49. package/dist/public/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +0 -114
  50. package/dist/public/charting_library/bundles/47.a3da3f774c90bd22798e.js +0 -95
  51. package/dist/public/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +0 -1
  52. package/dist/public/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +0 -1
  53. package/dist/public/charting_library/bundles/5.5e97b270ab80d99e9085.js +0 -62
  54. package/dist/public/charting_library/bundles/50.b282667dddcb7fe1569a.js +0 -1
  55. package/dist/public/charting_library/bundles/51.11871c50951db825ace3.js +0 -1
  56. package/dist/public/charting_library/bundles/52.0379a85baae3ab43b15c.js +0 -1
  57. package/dist/public/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +0 -76
  58. package/dist/public/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +0 -203
  59. package/dist/public/charting_library/bundles/55.3c35a629db21ab961f11.js +0 -303
  60. package/dist/public/charting_library/bundles/56.b3e69145c0fee614443d.js +0 -95
  61. package/dist/public/charting_library/bundles/57.236996ec416da4c1f683.js +0 -108
  62. package/dist/public/charting_library/bundles/58.7ffac4ba908b95705e63.js +0 -61
  63. package/dist/public/charting_library/bundles/59.397cb6699b74d64072a8.js +0 -1
  64. package/dist/public/charting_library/bundles/6.2d67b0ae77825dbd455d.js +0 -1
  65. package/dist/public/charting_library/bundles/60.6b5eced2ef8fa856be88.js +0 -1
  66. package/dist/public/charting_library/bundles/61.38a3040c925fadff7b64.js +0 -118
  67. package/dist/public/charting_library/bundles/62.63b309f5f8da9ca013b8.js +0 -61
  68. package/dist/public/charting_library/bundles/63.8255c7f5191bcafcee7c.js +0 -1
  69. package/dist/public/charting_library/bundles/64.ec4b4d03b28c77658dde.js +0 -1
  70. package/dist/public/charting_library/bundles/65.f895a78b4e04257983ff.js +0 -1
  71. package/dist/public/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +0 -1
  72. package/dist/public/charting_library/bundles/67.25fd4b78c8c514988aeb.js +0 -1
  73. package/dist/public/charting_library/bundles/68.8b4124c875484d11fd94.js +0 -1
  74. package/dist/public/charting_library/bundles/69.43756a5c7477730eb0c4.js +0 -1
  75. package/dist/public/charting_library/bundles/7.2c7c4f8a49c6380227de.js +0 -68
  76. package/dist/public/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +0 -1
  77. package/dist/public/charting_library/bundles/71.6a9d0842f5e48f68399c.js +0 -1
  78. package/dist/public/charting_library/bundles/72.e3925aaf38d2c8997638.js +0 -1
  79. package/dist/public/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +0 -1
  80. package/dist/public/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +0 -1
  81. package/dist/public/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +0 -1
  82. package/dist/public/charting_library/bundles/76.5d20bed213399f326603.js +0 -1
  83. package/dist/public/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +0 -1
  84. package/dist/public/charting_library/bundles/78.1d1d47a915b06f1496fb.js +0 -1
  85. package/dist/public/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +0 -1
  86. package/dist/public/charting_library/bundles/8.ffab20b86db484062268.js +0 -1
  87. package/dist/public/charting_library/bundles/80.b5bc6acec3b531a510a9.js +0 -1
  88. package/dist/public/charting_library/bundles/81.e6a1f76017a44b03480b.js +0 -1
  89. package/dist/public/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +0 -1
  90. package/dist/public/charting_library/bundles/83.f3e53bb5a5940e084955.js +0 -1
  91. package/dist/public/charting_library/bundles/84.8acc496b4deeeeefb5af.js +0 -1
  92. package/dist/public/charting_library/bundles/85.39c78fbeaabae306f343.js +0 -1
  93. package/dist/public/charting_library/bundles/86.4bbbb9e6262243419986.js +0 -1
  94. package/dist/public/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +0 -1
  95. package/dist/public/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +0 -1
  96. package/dist/public/charting_library/bundles/89.d8aa43b4b9378722d572.js +0 -1
  97. package/dist/public/charting_library/bundles/9.84ecbc930e51cb26d06a.js +0 -1
  98. package/dist/public/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +0 -1
  99. package/dist/public/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +0 -1
  100. package/dist/public/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +0 -1
  101. package/dist/public/charting_library/bundles/93.6de56ef1975f4a31e542.js +0 -1
  102. package/dist/public/charting_library/bundles/94.231bea5fb12b806ef287.js +0 -1
  103. package/dist/public/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +0 -1
  104. package/dist/public/charting_library/bundles/96.43bb935eee30715afff7.js +0 -1
  105. package/dist/public/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +0 -263
  106. package/dist/public/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +0 -52
  107. package/dist/public/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +0 -399
  108. package/dist/public/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +0 -97
  109. package/dist/public/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +0 -49
  110. package/dist/public/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +0 -1199
  111. package/dist/public/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +0 -181
  112. package/dist/public/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +0 -107
  113. package/dist/public/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +0 -131
  114. package/dist/public/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +0 -71
  115. package/dist/public/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +0 -250
  116. package/dist/public/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +0 -78
  117. package/dist/public/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +0 -508
  118. package/dist/public/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +0 -92
  119. package/dist/public/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +0 -85
  120. package/dist/public/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +0 -104
  121. package/dist/public/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +0 -361
  122. package/dist/public/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +0 -224
  123. package/dist/public/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +0 -228
  124. package/dist/public/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +0 -26194
  125. package/dist/public/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +0 -60
  126. package/dist/public/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +0 -101
  127. package/dist/public/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +0 -116
  128. package/dist/public/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +0 -4029
  129. package/dist/public/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +0 -735
  130. package/dist/public/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +0 -16
  131. package/dist/public/charting_library/bundles/moment.78e587a83a009ca48cda.js +0 -369
  132. package/dist/public/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +0 -130
  133. package/dist/public/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +0 -405
  134. package/dist/public/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +0 -1807
  135. package/dist/public/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +0 -3715
  136. package/dist/public/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +0 -354
  137. package/dist/public/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +0 -566
  138. package/dist/public/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +0 -79
  139. package/dist/public/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +0 -8
  140. package/dist/public/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +0 -52
  141. package/dist/public/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +0 -5
  142. package/dist/public/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +0 -11
  143. package/dist/public/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +0 -189
  144. package/dist/public/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +0 -39
  145. package/dist/public/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +0 -174
  146. package/dist/public/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +0 -204
  147. package/dist/public/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +0 -125
  148. package/dist/public/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +0 -320
  149. package/dist/public/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +0 -123
  150. package/dist/public/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +0 -35
  151. package/dist/public/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +0 -74
  152. package/dist/public/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +0 -1304
  153. package/dist/public/charting_library/charting_library.cjs.js +0 -98
  154. package/dist/public/charting_library/charting_library.esm.js +0 -101
  155. package/dist/public/charting_library/charting_library.js +0 -99
  156. package/dist/public/charting_library/charting_library.standalone.js +0 -99
  157. package/dist/src/App.js +0 -81
  158. package/dist/src/charting_library/bundles/0.d46f0b5e9380d7893de5.js +0 -112
  159. package/dist/src/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +0 -1
  160. package/dist/src/charting_library/bundles/10.21e665b7935d5bc4ba64.js +0 -322
  161. package/dist/src/charting_library/bundles/11.df012db70159a159d927.js +0 -1
  162. package/dist/src/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +0 -1
  163. package/dist/src/charting_library/bundles/13.699469c73d09b7add56d.js +0 -1
  164. package/dist/src/charting_library/bundles/14.d1148b38d59df9ca5061.js +0 -1
  165. package/dist/src/charting_library/bundles/15.44f2acca80348a1da1a6.js +0 -89
  166. package/dist/src/charting_library/bundles/16.680572949c1125757d35.js +0 -1
  167. package/dist/src/charting_library/bundles/17.404a01f527881dfff424.js +0 -1
  168. package/dist/src/charting_library/bundles/18.78de69cfba051874e071.js +0 -120
  169. package/dist/src/charting_library/bundles/19.048f7f5d36fef428ca8d.js +0 -1
  170. package/dist/src/charting_library/bundles/2.60931787a6734697ac13.js +0 -118
  171. package/dist/src/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +0 -128
  172. package/dist/src/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +0 -1
  173. package/dist/src/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +0 -1
  174. package/dist/src/charting_library/bundles/23.256ba98e6a03200bdeba.js +0 -1
  175. package/dist/src/charting_library/bundles/24.bc4fafedb1730259aa10.js +0 -1
  176. package/dist/src/charting_library/bundles/25.7416db26ed3dcc87c05a.js +0 -611
  177. package/dist/src/charting_library/bundles/26.3aeec391d4e6e19989ee.js +0 -1
  178. package/dist/src/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +0 -69
  179. package/dist/src/charting_library/bundles/28.9f103042c27ea2df422f.js +0 -1
  180. package/dist/src/charting_library/bundles/29.3df8712b85d45a626aa0.js +0 -1
  181. package/dist/src/charting_library/bundles/3.76c398b01b707e5b251c.js +0 -1
  182. package/dist/src/charting_library/bundles/30.0b732ccb122d160480b6.js +0 -231
  183. package/dist/src/charting_library/bundles/31.8d2b7a538755fd1bb760.js +0 -166
  184. package/dist/src/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +0 -121
  185. package/dist/src/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +0 -1
  186. package/dist/src/charting_library/bundles/34.c9baa59add71a1e48fd2.js +0 -1
  187. package/dist/src/charting_library/bundles/35.ed9e360f9686ad3a9497.js +0 -1
  188. package/dist/src/charting_library/bundles/36.1882d1a8d312a0e193e9.js +0 -1
  189. package/dist/src/charting_library/bundles/37.90129e4904155350d6a1.js +0 -199
  190. package/dist/src/charting_library/bundles/38.41f3d509b61c8af47de3.js +0 -74
  191. package/dist/src/charting_library/bundles/39.bc1e9ce938fd5152831f.js +0 -1
  192. package/dist/src/charting_library/bundles/4.c7430b8d89cddcf51345.js +0 -1
  193. package/dist/src/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +0 -29
  194. package/dist/src/charting_library/bundles/41.a19b0ae5d68f855d2753.js +0 -1
  195. package/dist/src/charting_library/bundles/42.494986b0981f6d116fef.js +0 -1
  196. package/dist/src/charting_library/bundles/43.619c5ed4a592cc2965a4.js +0 -1
  197. package/dist/src/charting_library/bundles/44.0a7df307e4f397763ce8.js +0 -363
  198. package/dist/src/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +0 -1
  199. package/dist/src/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +0 -114
  200. package/dist/src/charting_library/bundles/47.a3da3f774c90bd22798e.js +0 -95
  201. package/dist/src/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +0 -1
  202. package/dist/src/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +0 -1
  203. package/dist/src/charting_library/bundles/5.5e97b270ab80d99e9085.js +0 -62
  204. package/dist/src/charting_library/bundles/50.b282667dddcb7fe1569a.js +0 -1
  205. package/dist/src/charting_library/bundles/51.11871c50951db825ace3.js +0 -1
  206. package/dist/src/charting_library/bundles/52.0379a85baae3ab43b15c.js +0 -1
  207. package/dist/src/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +0 -76
  208. package/dist/src/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +0 -203
  209. package/dist/src/charting_library/bundles/55.3c35a629db21ab961f11.js +0 -303
  210. package/dist/src/charting_library/bundles/56.b3e69145c0fee614443d.js +0 -95
  211. package/dist/src/charting_library/bundles/57.236996ec416da4c1f683.js +0 -108
  212. package/dist/src/charting_library/bundles/58.7ffac4ba908b95705e63.js +0 -61
  213. package/dist/src/charting_library/bundles/59.397cb6699b74d64072a8.js +0 -1
  214. package/dist/src/charting_library/bundles/6.2d67b0ae77825dbd455d.js +0 -1
  215. package/dist/src/charting_library/bundles/60.6b5eced2ef8fa856be88.js +0 -1
  216. package/dist/src/charting_library/bundles/61.38a3040c925fadff7b64.js +0 -118
  217. package/dist/src/charting_library/bundles/62.63b309f5f8da9ca013b8.js +0 -61
  218. package/dist/src/charting_library/bundles/63.8255c7f5191bcafcee7c.js +0 -1
  219. package/dist/src/charting_library/bundles/64.ec4b4d03b28c77658dde.js +0 -1
  220. package/dist/src/charting_library/bundles/65.f895a78b4e04257983ff.js +0 -1
  221. package/dist/src/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +0 -1
  222. package/dist/src/charting_library/bundles/67.25fd4b78c8c514988aeb.js +0 -1
  223. package/dist/src/charting_library/bundles/68.8b4124c875484d11fd94.js +0 -1
  224. package/dist/src/charting_library/bundles/69.43756a5c7477730eb0c4.js +0 -1
  225. package/dist/src/charting_library/bundles/7.2c7c4f8a49c6380227de.js +0 -68
  226. package/dist/src/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +0 -1
  227. package/dist/src/charting_library/bundles/71.6a9d0842f5e48f68399c.js +0 -1
  228. package/dist/src/charting_library/bundles/72.e3925aaf38d2c8997638.js +0 -1
  229. package/dist/src/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +0 -1
  230. package/dist/src/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +0 -1
  231. package/dist/src/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +0 -1
  232. package/dist/src/charting_library/bundles/76.5d20bed213399f326603.js +0 -1
  233. package/dist/src/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +0 -1
  234. package/dist/src/charting_library/bundles/78.1d1d47a915b06f1496fb.js +0 -1
  235. package/dist/src/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +0 -1
  236. package/dist/src/charting_library/bundles/8.ffab20b86db484062268.js +0 -1
  237. package/dist/src/charting_library/bundles/80.b5bc6acec3b531a510a9.js +0 -1
  238. package/dist/src/charting_library/bundles/81.e6a1f76017a44b03480b.js +0 -1
  239. package/dist/src/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +0 -1
  240. package/dist/src/charting_library/bundles/83.f3e53bb5a5940e084955.js +0 -1
  241. package/dist/src/charting_library/bundles/84.8acc496b4deeeeefb5af.js +0 -1
  242. package/dist/src/charting_library/bundles/85.39c78fbeaabae306f343.js +0 -1
  243. package/dist/src/charting_library/bundles/86.4bbbb9e6262243419986.js +0 -1
  244. package/dist/src/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +0 -1
  245. package/dist/src/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +0 -1
  246. package/dist/src/charting_library/bundles/89.d8aa43b4b9378722d572.js +0 -1
  247. package/dist/src/charting_library/bundles/9.84ecbc930e51cb26d06a.js +0 -1
  248. package/dist/src/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +0 -1
  249. package/dist/src/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +0 -1
  250. package/dist/src/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +0 -1
  251. package/dist/src/charting_library/bundles/93.6de56ef1975f4a31e542.js +0 -1
  252. package/dist/src/charting_library/bundles/94.231bea5fb12b806ef287.js +0 -1
  253. package/dist/src/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +0 -1
  254. package/dist/src/charting_library/bundles/96.43bb935eee30715afff7.js +0 -1
  255. package/dist/src/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +0 -263
  256. package/dist/src/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +0 -52
  257. package/dist/src/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +0 -399
  258. package/dist/src/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +0 -97
  259. package/dist/src/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +0 -49
  260. package/dist/src/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +0 -1199
  261. package/dist/src/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +0 -181
  262. package/dist/src/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +0 -107
  263. package/dist/src/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +0 -131
  264. package/dist/src/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +0 -71
  265. package/dist/src/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +0 -250
  266. package/dist/src/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +0 -78
  267. package/dist/src/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +0 -508
  268. package/dist/src/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +0 -92
  269. package/dist/src/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +0 -85
  270. package/dist/src/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +0 -104
  271. package/dist/src/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +0 -361
  272. package/dist/src/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +0 -224
  273. package/dist/src/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +0 -228
  274. package/dist/src/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +0 -26194
  275. package/dist/src/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +0 -60
  276. package/dist/src/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +0 -101
  277. package/dist/src/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +0 -116
  278. package/dist/src/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +0 -4029
  279. package/dist/src/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +0 -735
  280. package/dist/src/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +0 -16
  281. package/dist/src/charting_library/bundles/moment.78e587a83a009ca48cda.js +0 -369
  282. package/dist/src/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +0 -130
  283. package/dist/src/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +0 -405
  284. package/dist/src/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +0 -1807
  285. package/dist/src/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +0 -3715
  286. package/dist/src/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +0 -354
  287. package/dist/src/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +0 -566
  288. package/dist/src/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +0 -79
  289. package/dist/src/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +0 -8
  290. package/dist/src/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +0 -52
  291. package/dist/src/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +0 -5
  292. package/dist/src/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +0 -11
  293. package/dist/src/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +0 -189
  294. package/dist/src/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +0 -39
  295. package/dist/src/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +0 -174
  296. package/dist/src/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +0 -204
  297. package/dist/src/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +0 -125
  298. package/dist/src/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +0 -320
  299. package/dist/src/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +0 -123
  300. package/dist/src/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +0 -35
  301. package/dist/src/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +0 -74
  302. package/dist/src/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +0 -1304
  303. package/dist/src/charting_library/charting_library.cjs.js +0 -98
  304. package/dist/src/charting_library/charting_library.esm.js +0 -101
  305. package/dist/src/charting_library/charting_library.js +0 -99
  306. package/dist/src/charting_library/charting_library.standalone.js +0 -515
  307. package/dist/src/components/TVChartContainer.js +0 -122
  308. package/dist/src/components/datafeed.js +0 -199
  309. package/dist/src/components/helpers.js +0 -58
  310. package/dist/src/components/index.js +0 -7
  311. package/dist/src/components/streaming.js +0 -92
  312. package/dist/src/index.js +0 -14
@@ -1,611 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- var __rest = (this && this.__rest) || function (s, e) {
11
- var t = {};
12
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
13
- t[p] = s[p];
14
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
15
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
16
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
17
- t[p[i]] = s[p[i]];
18
- }
19
- return t;
20
- };
21
- (window.webpackJsonp = window.webpackJsonp || []).push([[25], { "+5L9": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none"><path stroke="currentColor" d="M8 5l3.5 3.5L8 12"/></svg>'; }, "1pWb": function (e, t, n) {
22
- "use strict";
23
- function r(e) { return !1; }
24
- n.d(t, "b", (function () { return r; })), n.d(t, "a", (function () { return "###"; }));
25
- }, "2gjO": function (e, t, n) { e.exports = { wrap: "wrap-1LtT-c03", item: "item-1LtT-c03", small: "small-1LtT-c03", text: "text-1LtT-c03", exchange: "exchange-1LtT-c03" }; }, "6rj1": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 121" width="120" height="121" fill="none"><path fill="#F0F3FA" fill-rule="evenodd" clip-rule="evenodd" d="M26.01 81.72c10.54 13.42 34.92 11.87 54.46-3.47 19.55-15.34 26.85-38.66 16.31-52.08-10.54-13.42-34.92-11.87-54.46 3.47-9.2 7.22-15.68 16.2-18.87 25.09-.68 1.89-2.57 3.06-4.53 3.48a9.7 9.7 0 0 0-3.96 1.86C10.5 63.57 9.91 70.26 13.64 75a11.24 11.24 0 0 0 7.82 4.31 6.2 6.2 0 0 1 4.55 2.4z"/><path fill="url(#as2qxyr1y)" fill-rule="evenodd" clip-rule="evenodd" d="M38.3 46.18c1.8 3.43 12.08 10.65 25.62 16.89 6.36 2.93 12.38 5.3 17.37 6.92a172.7 172.7 0 0 0-18-12.68C48.7 48.2 38.32 44.9 38.32 44.9c-.18.3-.19.72-.01 1.27z"/><path stroke="#1E222D" stroke-width="1.5" d="M96.25 82.01c-.19.3-.54.55-1.17.7a7.8 7.8 0 0 1-2.56.08c-2.14-.22-5-1-8.4-2.28-6.78-2.57-15.53-7.12-24.64-13.05-9.12-5.94-16.82-12.1-21.92-17.26-2.55-2.58-4.41-4.89-5.48-6.76a7.8 7.8 0 0 1-.96-2.37c-.12-.64-.03-1.06.16-1.35.2-.29.54-.54 1.17-.7a7.79 7.79 0 0 1 2.56-.08c2.14.22 5 1 8.4 2.28 6.78 2.57 15.53 7.13 24.64 13.06 9.12 5.93 16.82 12.1 21.92 17.25 2.55 2.59 4.42 4.89 5.48 6.76.54.94.85 1.73.96 2.37.12.64.03 1.06-.16 1.35z"/><path stroke="#1E222D" stroke-linecap="round" stroke-width="1.5" d="M38.96 45.25c1.99.57 4.47 1.55 7.3 2.86l12.2 6.52c2.16 1.3 4.4 2.68 6.66 4.16 10.56 6.87 19.12 13.85 22.97 18.44"/><path stroke="#1E222D" stroke-width="1.5" d="M93.79 76.21c6.77-14.14 1.41-32-13.05-41.42-14.46-9.41-32.96-7.09-43.15 4.83M84.96 31.87a6.08 6.08 0 0 1-2.58 2.29c-.9.39-1.69.35-2.23 0s-.9-1.05-.9-2.04a6.08 6.08 0 0 1 1.05-3.28 6.08 6.08 0 0 1 2.58-2.3c.9-.39 1.69-.35 2.23 0 .54.36.9 1.05.9 2.04.01.99-.32 2.17-1.05 3.29z"/><path stroke="#1E222D" stroke-linecap="round" stroke-width="1.5" d="M52.7 34.25c1.25-.31 4.56-1.32 8.92-1.3M90.14 94.7c-3.64-.05-15.75-.08-30.14-.08s-26.5.03-30.14.08M34.7 69.95l5.77 5.33M42.05 66.68l.84 3.27"/><defs><linearGradient gradientUnits="userSpaceOnUse" x1="59.73" x2="59.73" y1="44.91" y2="69.99" id="as2qxyr1y"><stop stop-color="#2962FF"/><stop offset="1" stop-color="#2962FF"/></linearGradient></defs></svg>'; }, "8q1k": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path fill="none" stroke="currentColor" stroke-linecap="square" d="M3 10l7-7M3 3l7 7"/></svg>'; }, "952j": function (e, t, n) {
26
- "use strict";
27
- n.d(t, "a", (function () { return c; })), n.d(t, "b", (function () { return l; }));
28
- var r = n("Kxc7"), a = n("1pWb");
29
- const o = r.enabled("charting_library_base") ? /(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF^])(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!:.&])*|'.+?'/ : /(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0370-\u1FFF_\u2E80-\uFFFF])(?:[^-+\/*^\s]'|[a-zA-Z0-9_\u0020\u0370-\u1FFF_\u2E80-\uFFFF_!|:.&])*|'.+?'/, c = /[+\-/*]/, s = { number: /\d+(?:\.\d*|(?![a-zA-Z0-9_!:.&]))|\.\d+/, incompleteNumber: /\./, symbol: o, incompleteSymbol: /'[^']*/, separatorPrefix: a.a, openBrace: "(", closeBrace: ")", plus: "+", minus: "-", multiply: "*", divide: "/", power: "^", whitespace: /[\0-\x20\s]+/, unparsed: null }, i = new RegExp(Object.values(s).map(e => { return null === e ? "" : `(${"string" == typeof e ? (t = e, t.replace(/[\^$()[\]{}*+?|\\]/g, "\\$&")) : e.source})`; var t; }).filter(e => "" !== e).concat(".").join("|"), "g");
30
- function l(e) { if (!e)
31
- return []; const t = [], n = Object.keys(s); let r; for (; r = i.exec(e);) {
32
- let e = !1;
33
- for (let a = n.length; a--;)
34
- if (r[a + 1]) {
35
- n[a] && t.push({ value: r[a + 1], type: n[a], precedence: 0, offset: r.index }), e = !0;
36
- break;
37
- }
38
- e || t.push({ value: r[0], type: "unparsed", precedence: 0, offset: r.index });
39
- } return t; }
40
- }, CJov: function (e, t, n) {
41
- "use strict";
42
- n.d(t, "a", (function () { return a; }));
43
- var r = n("q1tI");
44
- const a = n.n(r).a.createContext(null);
45
- }, EBrf: function (e, t, n) {
46
- "use strict";
47
- n.r(t), n.d(t, "splitThousands", (function () { return a; }));
48
- var r = n("ivNn");
49
- function a(e, t = "&nbsp;") { let n = e + ""; -1 !== n.indexOf("e") && (n = function (e) { return Object(r.fixComputationError)(e).toFixed(10).replace(/\.?0+$/, ""); }(Number(e))); const a = n.split("."); return a[0].replace(/\B(?=(\d{3})+(?!\d))/g, t) + (a[1] ? "." + a[1] : ""); }
50
- }, FadI: function (e, t, n) {
51
- "use strict";
52
- function r(e) { if (!c(e))
53
- throw e; }
54
- function a(e) { return (null == e ? void 0 : e.aborted) ? Promise.reject(o()) : new Promise((t, n) => { null == e || e.addEventListener("abort", () => n(o()), { once: !0 }); }); }
55
- function o() { return new DOMException("Aborted", "AbortError"); }
56
- function c(e) { return e instanceof Error && "AbortError" === e.name; }
57
- function s(e, t) { return Promise.race([a(e), t]); }
58
- function i(e, t) {
59
- return __awaiter(this, void 0, void 0, function* () { let n; try {
60
- yield s(e, new Promise(e => { n = setTimeout(e, t); }));
61
- }
62
- finally {
63
- clearTimeout(n);
64
- } });
65
- }
66
- n.d(t, "c", (function () { return r; })), n.d(t, "b", (function () { return s; })), n.d(t, "a", (function () { return i; }));
67
- }, G4pG: function (e, t, n) { e.exports = { flagWrap: "flagWrap-1Xy6iEIs", icon: "icon-1Xy6iEIs", caret: "caret-1Xy6iEIs", title: "title-1Xy6iEIs" }; }, GWR5: function (e, t, n) { e.exports = { wrap: "wrap-2TpXRNRX", libAllExchange: "libAllExchange-2TpXRNRX", container: "container-2TpXRNRX", iconWrap: "iconWrap-2TpXRNRX", icon: "icon-2TpXRNRX", title: "title-2TpXRNRX", highlighted: "highlighted-2TpXRNRX", description: "description-2TpXRNRX", mobile: "mobile-2TpXRNRX", allExchange: "allExchange-2TpXRNRX", desktop: "desktop-2TpXRNRX", allExchangesIcon: "allExchangesIcon-2TpXRNRX", selected: "selected-2TpXRNRX", titleWithoutDesc: "titleWithoutDesc-2TpXRNRX", textBlock: "textBlock-2TpXRNRX", bordered: "bordered-2TpXRNRX" }; }, Gtzb: function (e, t, n) {
68
- "use strict";
69
- n.d(t, "a", (function () { return r; })), n.d(t, "b", (function () { return a; }));
70
- class r {
71
- constructor() { this._storage = new Map; }
72
- setAsOpened(e, t) { this._storage.set(e, t); }
73
- setAsClosed(e) { this._storage.delete(e); }
74
- isOpened(e) { return this._storage.has(e); }
75
- getDialogPayload(e) {
76
- return this._storage.get(e);
77
- }
78
- }
79
- const a = new r;
80
- }, Iruf: function (e, t, n) { e.exports = { container: "container-oVVv2l_M", contentList: "contentList-oVVv2l_M", contentListDesktop: "contentListDesktop-oVVv2l_M", exchangeItemsContainer: "exchangeItemsContainer-oVVv2l_M", exchangeItemsContainerDesktop: "exchangeItemsContainerDesktop-oVVv2l_M", groupTitleDesktop: "groupTitleDesktop-oVVv2l_M", emptyText: "emptyText-oVVv2l_M", noResultsDesktop: "noResultsDesktop-oVVv2l_M" }; }, "ML8+": function (e, t, n) {
81
- "use strict";
82
- n.d(t, "a", (function () { return i; }));
83
- var r = n("q1tI"), a = n("TSYQ"), o = n("Iivm"), c = n("cvzQ"), s = n("R4+T");
84
- function i(e) { const { dropped: t, className: n } = e; return r.createElement(o.a, { className: a(n, c.icon, { [c.dropped]: t }), icon: s }); }
85
- }, OWoh: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path fill="none" stroke="currentColor" stroke-linecap="square" d="M3 7l3.5-3.5L10 7"/></svg>'; }, OoQL: function (e, t, n) {
86
- "use strict";
87
- n.d(t, "a", (function () { return o; }));
88
- var r = n("q1tI"), a = n("Eyy1");
89
- function o(e) { return Object(a.ensureNotNull)(Object(r.useContext)(e)); }
90
- }, Pdm7: function (e, t, n) { e.exports = { actions: "actions-3cho5KDh", actionButton: "actionButton-3cho5KDh" }; }, "R4+T": function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'; }, SAe1: function (e, t, n) {
91
- "use strict";
92
- n.d(t, "a", (function () { return c; }));
93
- var r = n("q1tI"), a = n("rzV7"), o = n.n(a);
94
- class c extends r.Component {
95
- constructor(e) { super(e), this._handleMediaChange = () => { const e = i(this.state.queries, (e, t) => t.matches); let t = !1; for (const n in e)
96
- if (e.hasOwnProperty(n) && this.state.matches[n] !== e[n]) {
97
- t = !0;
98
- break;
99
- } t && this.setState({ matches: e }); }; const { rules: t } = this.props; this.state = s(t); }
100
- shouldComponentUpdate(e, t) { return !o()(e, this.props) || (!o()(t.rules, this.state.rules) || !o()(t.matches, this.state.matches)); }
101
- componentDidMount() { this._migrate(null, this.state.queries); }
102
- componentDidUpdate(e, t) { o()(e.rules, this.props.rules) || this._migrate(t.queries, this.state.queries); }
103
- componentWillUnmount() { this._migrate(this.state.queries, null); }
104
- render() { return this.props.children(this.state.matches); }
105
- static getDerivedStateFromProps(e, t) { if (o()(e.rules, t.rules))
106
- return null; const { rules: n } = e; return s(n); }
107
- _migrate(e, t) { null !== e && i(e, (e, t) => { t.removeListener(this._handleMediaChange); }), null !== t && i(t, (e, t) => { t.addListener(this._handleMediaChange); }); }
108
- }
109
- function s(e) { const t = i(e, (e, t) => window.matchMedia(t)); return { queries: t, matches: i(t, (e, t) => t.matches), rules: Object.assign({}, e) }; }
110
- function i(e, t) { const n = {}; for (const r in e)
111
- e.hasOwnProperty(r) && (n[r] = t(r, e[r])); return n; }
112
- }, TgrR: function (e, t, n) {
113
- "use strict";
114
- function r(e) { if (e.fullName)
115
- return e.fullName; let t; return t = e.prefix || e.exchange ? (e.prefix || e.exchange) + ":" + e.name : e.name, t.replace(/<\/?[^>]+(>|$)/g, ""); }
116
- function a(e) { return "" === e.value; }
117
- function o() { const e = s(); return e.find(a) || e[0] || null; }
118
- function c() { return s(); }
119
- function s() {
120
- return window.ChartApiInstance.supportedExchangesList().map(e => (Object.assign(Object.assign({}, e), { country: "", providerId: "", flag: "" })));
121
- }
122
- function i() { return window.ChartApiInstance.supportedSymbolsTypes(); }
123
- function l() { return ""; }
124
- function u() { return !1; }
125
- n.d(t, "f", (function () { return r; })), n.d(t, "g", (function () { return a; })), n.d(t, "e", (function () { return o; })), n.d(t, "c", (function () { return c; })), n.d(t, "d", (function () { return i; })), n.d(t, "b", (function () { return l; })), n.d(t, "a", (function () { return u; }));
126
- }, U0JK: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentcolor" stroke-width="1.2" d="M17 21l-7.5-7.5L17 6"/></svg>'; }, UEVQ: function (e, t, n) { e.exports = { bubbles: "bubbles-1cEBkyVM", multiLine: "multiLine-1cEBkyVM", bubble: "bubble-1cEBkyVM" }; }, UN6M: function (e, t, n) { e.exports = { childrenWrapper: "childrenWrapper-th__KurO", container: "container-th__KurO" }; }, VogD: function (e, t, n) {
127
- "use strict";
128
- n.d(t, "a", (function () { return a; }));
129
- var r = n("q1tI");
130
- const a = n.n(r).a.createContext(null);
131
- }, XDHQ: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path fill="none" stroke="currentColor" stroke-linecap="square" d="M2.5 6.5h8"/></svg>'; }, Y8Rb: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path fill="none" stroke="currentColor" stroke-linecap="square" d="M2.5 6.5h8m-4-4v8"/></svg>'; }, ZrzP: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path fill="none" stroke="currentColor" stroke-linecap="square" d="M2.5 6.5h9"/><circle fill="currentColor" cx="7" cy="3" r="1"/><circle fill="currentColor" cx="7" cy="10" r="1"/></svg>'; }, anmh: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><g fill="none" fill-rule="evenodd" stroke="currentColor"><path stroke-linecap="square" stroke-linejoin="round" d="M3.5 10V2.5L1 5"/><path stroke-linecap="square" d="M1.5 10.5h4"/><path d="M8 12l3-11"/></g></svg>'; }, bQ7Y: function (e, t, n) { e.exports = { button: "button-2Vpz_LXc", hover: "hover-2Vpz_LXc", isInteractive: "isInteractive-2Vpz_LXc", isGrouped: "isGrouped-2Vpz_LXc", isActive: "isActive-2Vpz_LXc", isOpened: "isOpened-2Vpz_LXc", isDisabled: "isDisabled-2Vpz_LXc", text: "text-2Vpz_LXc", icon: "icon-2Vpz_LXc" }; }, cvzQ: function (e, t, n) { e.exports = { icon: "icon-19OjtB6A", dropped: "dropped-19OjtB6A" }; }, eIOu: function (e, t, n) {
132
- e.exports = { "tablet-small-breakpoint": "screen and (max-width: 428px)", itemRow: "itemRow-ZzQNZGNo", multiLine: "multiLine-ZzQNZGNo", cell: "cell-ZzQNZGNo", itemInfoCell: "itemInfoCell-ZzQNZGNo", description: "description-ZzQNZGNo", symbolDescription: "symbolDescription-ZzQNZGNo", flag: "flag-ZzQNZGNo", exchangeDescription: "exchangeDescription-ZzQNZGNo", marketType: "marketType-ZzQNZGNo", exchangeName: "exchangeName-ZzQNZGNo", expandHandleWrap: "expandHandleWrap-ZzQNZGNo", expandHandle: "expandHandle-ZzQNZGNo", hover: "hover-ZzQNZGNo", selected: "selected-ZzQNZGNo", active: "active-ZzQNZGNo", highlighted: "highlighted-ZzQNZGNo", light: "light-ZzQNZGNo", "highlight-animation-theme-light": "highlight-animation-theme-light-ZzQNZGNo", dark: "dark-ZzQNZGNo",
133
- "highlight-animation-theme-dark": "highlight-animation-theme-dark-ZzQNZGNo", offset: "offset-ZzQNZGNo", exchangeCell: "exchangeCell-ZzQNZGNo", expanded: "expanded-ZzQNZGNo", symbolTitle: "symbolTitle-ZzQNZGNo", invalid: "invalid-ZzQNZGNo", noDescription: "noDescription-ZzQNZGNo", highlightedText: "highlightedText-ZzQNZGNo", icon: "icon-ZzQNZGNo", dataMode: "dataMode-ZzQNZGNo", actionsCell: "actionsCell-ZzQNZGNo", action: "action-ZzQNZGNo", targetAction: "targetAction-ZzQNZGNo", removeAction: "removeAction-ZzQNZGNo", addAction: "addAction-ZzQNZGNo" };
134
- }, gla1: function (e, t, n) {
135
- "use strict";
136
- n.d(t, "a", (function () { return a; }));
137
- var r = n("q1tI");
138
- const a = () => { const [, e] = Object(r.useReducer)((e, t) => e + 1, 0); return e; };
139
- }, "h9B/": function (e, t, n) { e.exports = { wrap: "wrap-2WiKHt6t", watchlist: "watchlist-2WiKHt6t", noFeed: "noFeed-2WiKHt6t", scrollContainer: "scrollContainer-2WiKHt6t", listContainer: "listContainer-2WiKHt6t", multiLineItemsContainer: "multiLineItemsContainer-2WiKHt6t" }; }, hYF9: function (e, t, n) { e.exports = { button: "button-P2GOgq9R", desktop: "desktop-P2GOgq9R" }; }, jPOK: function (e, t, n) {
140
- "use strict";
141
- n.d(t, "a", (function () { return c; }));
142
- var r = n("q1tI"), a = n("TSYQ"), o = n("Owlf");
143
- n("SzKR");
144
- function c(e) { const t = a("tv-spinner", "tv-spinner--shown", "tv-spinner--size_" + (e.size || o.a)); return r.createElement("div", { className: t, style: e.style, role: "progressbar" }, r.createElement("div", { className: "tv-spinner__spinner-layer" }, r.createElement("div", { className: "tv-spinner__background tv-spinner__width_element" }), r.createElement("div", { className: "tv-spinner__circle-clipper tv-spinner__width_element tv-spinner__circle-clipper--left" }), r.createElement("div", { className: "tv-spinner__circle-clipper tv-spinner__width_element tv-spinner__circle-clipper--right" }))); }
145
- }, ki38: function (e, t, n) {
146
- "use strict";
147
- n.d(t, "a", (function () { return a; }));
148
- var r = n("q1tI");
149
- const a = n.n(r).a.createContext(null);
150
- }, mHCH: function (e, t, n) { e.exports = { bubble: "bubble-3MTPKAgt", animated: "animated-3MTPKAgt", content: "content-3MTPKAgt", "appearance-default": "appearance-default-3MTPKAgt", active: "active-3MTPKAgt", red: "red-3MTPKAgt", blue: "blue-3MTPKAgt", green: "green-3MTPKAgt", orange: "orange-3MTPKAgt", purple: "purple-3MTPKAgt", cyan: "cyan-3MTPKAgt", pink: "pink-3MTPKAgt", "appearance-text": "appearance-text-3MTPKAgt", "size-m": "size-m-3MTPKAgt", "size-l": "size-l-3MTPKAgt" }; }, mdyz: function (e, t, n) { e.exports = { search: "search-Hsmn_0WX", upperCase: "upperCase-Hsmn_0WX", symbolType: "symbolType-Hsmn_0WX", spinnerWrap: "spinnerWrap-Hsmn_0WX", emptyText: "emptyText-Hsmn_0WX", noResultsDesktop: "noResultsDesktop-Hsmn_0WX", brokerCheckboxWrap: "brokerCheckboxWrap-Hsmn_0WX" }; }, ozXl: function (e, t, n) { e.exports = { dialog: "dialog-1LLxyYSM", tabletDialog: "tabletDialog-1LLxyYSM", desktopDialog: "desktopDialog-1LLxyYSM" }; }, p04v: function (e, t, n) {
151
- "use strict";
152
- n.d(t, "a", (function () { return u; }));
153
- var r = n("q1tI"), a = n.n(r), o = n("i8i4"), c = n("+EG+"), s = n("CJov"), i = n("Gtzb"), l = n("uTDg");
154
- function u(e) {
155
- const { initialMode: t = "symbolSearch", autofocus: n = !0, defaultValue: r, showSpreadActions: u, selectSearchOnInit: d, onSearchComplete: p, onSearchFeedReady: m, dialogTitle: f, placeholder: h, fullscreen: b, initialScreen: v, wrapper: g, dialog: y, contentItem: E, onClose: x, footer: O, symbolTypes: k, searchInput: N, emptyState: w, dialogWidth: S = "auto", manager: C } = e;
156
- if (i.b.isOpened("SymbolSearch") || i.b.isOpened("ChangeIntervalDialog"))
157
- return;
158
- const T = document.createElement("div"), j = a.a.createElement(c.b.Provider, { value: null != C ? C : null }, a.a.createElement(s.a.Provider, { value: null }, a.a.createElement(l.a, { onClose: I, initialMode: t, defaultValue: r, showSpreadActions: u, onSearchFeedReady: m, selectSearchOnInit: d, onSearchComplete: p, dialogTitle: f, placeholder: h, fullscreen: b, initialScreen: v, wrapper: g, dialog: y, contentItem: E, footer: O, symbolTypes: k, searchInput: N, emptyState: w, autofocus: n, dialogWidth: S })));
159
- function I() { o.unmountComponentAtNode(T), i.b.setAsClosed("SymbolSearch"), x && x(); }
160
- return o.render(j, T), i.b.setAsOpened("SymbolSearch"), { close: I };
161
- }
162
- }, poJS: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 121" width="120" height="121" fill="none"><g clip-path="url(#afzoeckcd)"><path fill="#2A2E39" fill-rule="evenodd" clip-rule="evenodd" d="M26.01 81.72c10.54 13.42 34.92 11.87 54.46-3.47 19.55-15.34 26.85-38.66 16.31-52.08-10.54-13.42-34.92-11.87-54.46 3.47-9.2 7.22-15.68 16.2-18.87 25.09-.68 1.89-2.57 3.06-4.53 3.48a9.7 9.7 0 0 0-3.96 1.86C10.5 63.57 9.91 70.26 13.64 75a11.24 11.24 0 0 0 7.82 4.31 6.2 6.2 0 0 1 4.55 2.4z"/><path fill="#1848CC" fill-rule="evenodd" clip-rule="evenodd" d="M38.3 46.18c1.8 3.43 12.08 10.65 25.62 16.89 6.36 2.93 12.38 5.3 17.37 6.92a172.71 172.71 0 0 0-18-12.68C48.7 48.2 38.32 44.9 38.32 44.9c-.18.3-.19.72-.01 1.27z"/><path stroke="#B2B5BE" stroke-width="1.5" d="M96.25 82.01c-.19.3-.54.55-1.17.7a7.8 7.8 0 0 1-2.56.08c-2.14-.22-5-1-8.4-2.28-6.78-2.57-15.53-7.12-24.64-13.05-9.12-5.94-16.82-12.1-21.92-17.26-2.55-2.58-4.41-4.89-5.48-6.76a7.8 7.8 0 0 1-.96-2.37c-.12-.64-.03-1.06.16-1.35.2-.29.54-.54 1.17-.7a7.79 7.79 0 0 1 2.56-.08c2.14.22 5 1 8.4 2.28 6.78 2.57 15.53 7.13 24.64 13.06 9.12 5.93 16.82 12.1 21.92 17.25 2.55 2.59 4.42 4.89 5.48 6.76.54.94.85 1.73.96 2.37.12.64.03 1.06-.16 1.35z"/><path stroke="#B2B5BE" stroke-linecap="round" stroke-width="1.5" d="M38.96 45.25c1.99.57 4.47 1.55 7.3 2.86l12.2 6.52c2.16 1.3 4.4 2.68 6.66 4.16 10.56 6.87 19.12 13.85 22.97 18.44"/><path stroke="#B2B5BE" stroke-width="1.5" d="M93.79 76.21c6.77-14.14 1.41-32-13.05-41.42-14.46-9.41-32.96-7.09-43.15 4.83M84.96 31.87a6.08 6.08 0 0 1-2.58 2.29c-.9.39-1.69.35-2.23 0s-.9-1.05-.9-2.04a6.08 6.08 0 0 1 1.05-3.28 6.08 6.08 0 0 1 2.58-2.3c.9-.39 1.69-.35 2.23 0 .54.36.9 1.05.9 2.04.01.99-.32 2.17-1.05 3.29z"/><path stroke="#B2B5BE" stroke-linecap="round" stroke-width="1.5" d="M52.7 34.25c1.25-.31 4.56-1.32 8.92-1.3M90.14 94.7c-3.64-.05-15.75-.08-30.14-.08s-26.5.03-30.14.08M34.7 69.95l5.77 5.33M42.05 66.68l.84 3.27"/></g><defs><clipPath id="afzoeckcd"><path fill="#fff" d="M10 10.62h100v100H10v-100z"/></clipPath></defs></svg>'; }, qC62: function (e, t, n) {
163
- "use strict";
164
- n.d(t, "b", (function () { return c; })), n.d(t, "a", (function () { return r; }));
165
- var r, a = n("Eyy1"), o = n("Kxc7");
166
- n("TgrR");
167
- function c(e) { return e; }
168
- !function (e) { function t(e) { return e.pro_name; } function n(e) { {
169
- const t = o.enabled("pay_attention_to_ticker_not_symbol") ? e.ticker : e.full_name;
170
- return Object(a.ensureDefined)(t);
171
- } } e.fromQuotesResponse = function (e) { const { values: n, symbolname: r, status: a } = e; return "error" === a && r ? r : t(n); }, e.fromQuotes = t, e.fromSymbolSearchResult = function (e, t) { {
172
- const { ticker: n, full_name: r } = null != t ? t : e;
173
- return o.enabled("pay_attention_to_ticker_not_symbol") ? Object(a.ensureDefined)(null != n ? n : r) : Object(a.ensureDefined)(r);
174
- } }, e.fromSymbolInfo = n, e.fromSymbolMessage = function (e, t) { return "symbol_resolved" === t.method ? n(t.params[1]) : e; }; }(r || (r = {}));
175
- }, "rC+j": function (e, t, n) {
176
- "use strict";
177
- n.d(t, "h", (function () { return c; })), n.d(t, "a", (function () { return s; })), n.d(t, "g", (function () { return i; })), n.d(t, "e", (function () { return u; })), n.d(t, "f", (function () { return p; })), n.d(t, "c", (function () { return m; })), n.d(t, "d", (function () { return h; })), n.d(t, "b", (function () { return b; }));
178
- var r = n("Kxc7"), a = n("952j"), o = n("TgrR");
179
- function c(e) { const t = { braceBalance: 0, currentState: "var", warnings: [], errors: [] }; if (r.enabled("charting_library_base") && !r.enabled("show_spread_operators"))
180
- return t; let n = "init"; const a = []; for (let r = 0; r < e.length; r++) {
181
- const o = e[r];
182
- if ("whitespace" !== o.type) {
183
- if ("incompleteSymbol" === o.type || "incompleteNumber" === o.type) {
184
- const n = r !== e.length - 1, a = { status: n ? "error" : "incomplete", reason: "incomplete_token", offset: o.offset, token: o };
185
- if (n ? t.errors.push(a) : t.warnings.push(a), n)
186
- continue;
187
- }
188
- switch (o.type) {
189
- case "symbol":
190
- case "number":
191
- if ("var" === n) {
192
- t.errors.push({ status: "error", reason: "unexpected_token", offset: o.offset, token: o });
193
- continue;
194
- }
195
- n = "var";
196
- break;
197
- case "plus":
198
- case "minus":
199
- case "multiply":
200
- case "divide":
201
- case "power":
202
- if ("var" !== n) {
203
- t.errors.push({ status: "error", reason: "unexpected_token", offset: o.offset, token: o });
204
- continue;
205
- }
206
- n = "operator";
207
- break;
208
- case "openBrace":
209
- if ("var" === n) {
210
- t.errors.push({ status: "error", reason: "unexpected_token", offset: o.offset, token: o });
211
- continue;
212
- }
213
- a.push(o), n = "init";
214
- break;
215
- case "closeBrace":
216
- if ("var" !== n) {
217
- t.errors.push({ status: "error", reason: "unexpected_token", offset: o.offset, token: o });
218
- continue;
219
- }
220
- a.pop() || t.errors.push({ status: "error", reason: "unbalanced_brace", offset: o.offset, token: o }), n = "var";
221
- break;
222
- case "unparsed": t.errors.push({ status: "error", reason: "unparsed_entity", offset: o.offset, token: o });
223
- }
224
- }
225
- } for (t.braceBalance = a.length, "var" !== n && t.warnings.push({ status: "incomplete", token: e[e.length - 1] }); a.length;) {
226
- const e = a.pop();
227
- e && t.warnings.push({ status: "incomplete", reason: "unbalanced_brace", offset: e.offset, token: e });
228
- } return t.currentState = n, t; }
229
- function s(e) {
230
- const t = function (e) { let t, n = 0, r = 0; for (let a = 0; a < e.length; a++) {
231
- const o = e[a];
232
- if ("whitespace" !== o.type)
233
- switch (n) {
234
- case 0:
235
- if ("number" !== o.type || 1 != +o.value)
236
- return [];
237
- n = 1;
238
- break;
239
- case 1:
240
- if (1 !== n || "divide" !== o.type)
241
- return [];
242
- n = 2, t = a + 1;
243
- break;
244
- case 2:
245
- if ("openBrace" === o.type)
246
- n = 3, r = 1;
247
- else if (l(o.type))
248
- return [];
249
- break;
250
- case 3: "openBrace" === o.type ? r++ : "closeBrace" === o.type && (r--, r <= 0 && (n = 2));
251
- }
252
- } return e.slice(t); }(e);
253
- return t.length ? d(t) : d(Object(a.b)("1/(" + i(e) + ")"));
254
- }
255
- function i(e) { return e.reduce((e, t) => "symbol" === t.type && a.a.test(t.value) ? e + `'${t.value}'` : e + t.value, ""); }
256
- function l(e) { return "plus" === e || "minus" === e || "multiply" === e || "divide" === e || "power" === e; }
257
- function u(e) { return e.length > 1 && e.some(e => l(e.type)); }
258
- function d(e) { e = function (e) { const t = []; for (const n of e)
259
- "whitespace" !== n.type && t.push(n); return t; }(e); const t = [], n = []; let r; for (let a = 0; a < e.length; a++) {
260
- const o = e[a];
261
- switch (o.type) {
262
- case "plus":
263
- case "minus":
264
- case "multiply":
265
- case "divide":
266
- case "power":
267
- n.length && n[n.length - 1].minPrecedence > o.precedence && (n[n.length - 1].minPrecedence = o.precedence);
268
- break;
269
- case "openBrace":
270
- r = { minPrecedence: 1 / 0, openBraceIndex: a }, n.push(r);
271
- break;
272
- case "closeBrace": {
273
- if (r = n.pop(), !r)
274
- break;
275
- const o = e[r.openBraceIndex - 1], c = e[a + 1], s = o && ("plus" === o.type || "multiply" === o.type);
276
- (!l(null == c ? void 0 : c.type) || (null == c ? void 0 : c.precedence) <= r.minPrecedence) && (!l(null == o ? void 0 : o.type) || (null == o ? void 0 : o.precedence) < (null == r ? void 0 : r.minPrecedence) || (null == o ? void 0 : o.precedence) === (null == r ? void 0 : r.minPrecedence) && s) && (t.unshift(r.openBraceIndex), t.push(a), n.length && n[n.length - 1].minPrecedence > r.minPrecedence && (n[n.length - 1].minPrecedence = r.minPrecedence));
277
- }
278
- }
279
- } for (let n = t.length; n--;)
280
- e.splice(t[n], 1); return e; }
281
- function p(e) { return d(Object(a.b)(e)).reduce((e, t) => { if ("symbol" !== t.type)
282
- return e + t.value; const [, n] = f(t); return n ? e + n : e; }, ""); }
283
- function m(e) { const t = function (e) { const t = Object(a.b)(e), n = []; return t.forEach(e => { if ("symbol" !== e.type)
284
- return; const [t] = f(e); t && n.push(t); }), n; }(e); if (1 === t.length)
285
- return t[0]; }
286
- function f(e) { const t = /^'?(?:([A-Z0-9_]+):)?(.*?)'?$/i.exec(e.value); return null === t ? [void 0, void 0] : [t[1], t[2]]; }
287
- function h(e, t, n) { const r = e.value, [c, s] = b(e, n), i = Object(o.f)(t), l = a.a.test(i) ? `'${i}'` : i; return [r.substr(0, s) + l + r.substr(s + c.length), s + l.length]; }
288
- function b(e, t) { const { value: n, selectionStart: r } = e, o = Object(a.b)(t ? n.toUpperCase() : n), c = function (e, t) { for (let n = 0; n < e.length; n++) {
289
- const r = e[n], a = "symbol" === r.type || "incompleteSymbol" === r.type || "number" === r.type;
290
- if (r.offset <= t && t <= r.offset + r.value.length && a)
291
- return r;
292
- } return null; }(o, r || 0); return [(null == c ? void 0 : c.value) || "", c ? c.offset : n.length, o]; }
293
- }, rzV7: function (e, t, n) {
294
- "use strict";
295
- var r = Object.prototype.hasOwnProperty;
296
- function a(e, t) { return e === t ? 0 !== e || 0 !== t || 1 / e == 1 / t : e != e && t != t; }
297
- e.exports = function (e, t) { if (a(e, t))
298
- return !0; if ("object" != typeof e || null === e || "object" != typeof t || null === t)
299
- return !1; var n = Object.keys(e), o = Object.keys(t); if (n.length !== o.length)
300
- return !1; for (var c = 0; c < n.length; c++)
301
- if (!r.call(t, n[c]) || !a(e[n[c]], t[n[c]]))
302
- return !1; return !0; };
303
- }, tU7i: function (e, t, n) {
304
- "use strict";
305
- n.d(t, "a", (function () { return s; })), n.d(t, "b", (function () { return i; }));
306
- var r = n("q1tI"), a = n("TSYQ"), o = n("Iivm"), c = n("bQ7Y");
307
- const s = c, i = r.forwardRef((e, t) => {
308
- const { icon: n, isActive: s, isOpened: i, isDisabled: l, isGrouped: u, isHovered: d, onClick: p, text: m, textBeforeIcon: f, title: h, theme: b = c, className: v, forceInteractive: g, "data-name": y } = e, E = __rest(e, ["icon", "isActive", "isOpened", "isDisabled", "isGrouped", "isHovered", "onClick", "text", "textBeforeIcon", "title", "theme", "className", "forceInteractive", "data-name"]), x = a(v, b.button, h && "apply-common-tooltip", { [b.isActive]: s, [b.isOpened]: i, [b.isInteractive]: (g || Boolean(p)) && !l, [b.isDisabled]: l,
309
- [b.isGrouped]: u, [b.hover]: d }), O = n && ("string" == typeof n ? r.createElement(o.a, { className: b.icon, icon: n }) : r.cloneElement(n, { className: a(b.icon, n.props.className) }));
310
- return r.createElement("div", Object.assign(Object.assign({}, E), { ref: t, "data-role": "button", className: x, onClick: l ? void 0 : p, title: h, "data-name": y }), f && m && r.createElement("div", { className: a("js-button-text", b.text) }, m), O, !f && m && r.createElement("div", { className: a("js-button-text", b.text) }, m));
311
- });
312
- }, uTDg: function (e, t, n) {
313
- "use strict";
314
- var r = n("q1tI"), a = n.n(r), o = n("TSYQ"), c = n.n(o), s = n("YFKU"), i = (n("+GxX"), n("952j")), l = n("rC+j"), u = n("SAe1"), d = n("Kxc7"), p = n("uhCe"), m = n("g89m"), f = n("Eyy1"), h = n("Iivm"), b = n("VogD"), v = n("QHWU"), g = n("TgrR"), y = n("UN6M");
315
- function E(e) { const { children: t, className: n } = e; return a.a.createElement("div", { className: c()(y.container, n) }, a.a.createElement("div", { className: y.childrenWrapper }, t)); }
316
- var x = n("1LIl"), O = n("H9Gg"), k = n("wy57"), N = n("GWR5");
317
- function w(e) { const { country: t, providerId: n, flag: o, title: s, description: i, isActive: l, isAllExchanges: u, isMobile: d, onClick: p, queryString: m } = e, f = Object(r.useMemo)(() => Object(O.a)(m), [m]), b = i && !u, v = c()(N.container, d ? N.mobile : N.desktop, l && N.selected, u && N.allExchange, u && N.libAllExchange, !u && d && N.bordered); return a.a.createElement("div", { className: c()(!d && N.wrap, u && N.libAllExchange), onClick: p }, a.a.createElement("div", { className: v }, a.a.createElement("div", { className: N.iconWrap }, !!u && a.a.createElement(h.a, { className: c()(N.icon, N.allExchangesIcon), icon: k })), a.a.createElement("div", { className: N.textBlock }, a.a.createElement("div", { className: c()(N.title, !b && !d && N.titleWithoutDesc) }, a.a.createElement(x.a, { className: c()(l && N.highlighted), queryString: m, text: s, rules: f })), b && a.a.createElement("div", { className: N.description }, a.a.createElement(x.a, { className: N.highlighted, queryString: m, rules: f, text: i }))))); }
318
- var S = n("vqb8"), C = n("OoQL"), T = n("oiZD"), j = n("zM7N"), I = n("ki38"), R = n("poJS"), M = n("6rj1"), _ = n("Iruf");
319
- const L = { emptyTextClassName: _.emptyText };
320
- function D(e) {
321
- const { exchanges: t } = e, { selectedExchange: n, setSelectedExchange: o, setMode: i, isMobile: l, emptyState: u, autofocus: d } = Object(C.a)(b.a), p = Object(S.a)({ watchedValue: T.watchedTheme }) === j.a.Dark ? R : M, [m, y] = Object(r.useState)(""), x = Object(r.useCallback)(e => e.name.toLowerCase().includes(m.toLowerCase()) || e.desc.toLowerCase().includes(m.toLowerCase()), [m]), O = Object(r.useMemo)(() => [[...t]], [t]), k = Object(r.useMemo)(() => { const e = O.filter(e => e.some(x)); return e; }, [O, x]), N = Object(f.ensureNotNull)(n).value, D = Object(r.useRef)(null), A = Object(r.useRef)(null);
322
- Object(r.useLayoutEffect)(() => { var e; d && (null === (e = null == D ? void 0 : D.current) || void 0 === e || e.focus()); }, []);
323
- const z = u ? a.a.createElement(u, null) : a.a.createElement(E, { className: _.noResultsDesktop }, a.a.createElement(h.a, { icon: p }), a.a.createElement("div", { className: _.emptyText }, Object(s.t)("No exchanges match your criteria")));
324
- return a.a.createElement(I.a.Provider, { value: L }, a.a.createElement(v.a, { placeholder: Object(s.t)("Search"), onChange: function (e) { y(e.target.value), A && A.current && (A.current.scrollTop = 0); }, reference: D }), k.length ? a.a.createElement("div", { ref: A,
325
- className: c()(_.contentList, !l && _.contentListDesktop), onTouchStart: function () { var e; null === (e = D.current) || void 0 === e || e.blur(); } }, k.map(e => { const { name: t, group: n } = e[0]; return a.a.createElement(a.a.Fragment, { key: t }, !1, a.a.createElement("div", { className: c()(_.exchangeItemsContainer, !l && _.exchangeItemsContainerDesktop) }, e.filter(x).map(e => { const t = Object(g.g)(e); return a.a.createElement(w, { key: e.desc, country: e.country, flag: e.flag, providerId: e.providerId, title: t ? Object(s.t)("All sources") : e.name, description: e.desc, isActive: e.value === N, isAllExchanges: t, isMobile: l, queryString: m, onClick: P.bind(null, e) }); }))); })) : z);
326
- function P(e) { o(e), i("symbolSearch"); }
327
- }
328
- var A, z, P, B, Z, V, F, G, W, X, K, Q = n("i8i4"), q = n("FadI");
329
- n("Wt0y"), n("wVAQ"), n("ivNn"), n("nc0P");
330
- !function (e) { e[e.CONNECTED = 1] = "CONNECTED", e[e.CONNECTING = 2] = "CONNECTING", e[e.DISCONNECTED = 3] = "DISCONNECTED", e[e.ERROR = 4] = "ERROR"; }(A || (A = {})), function (e) { e[e.LIMIT = 1] = "LIMIT", e[e.MARKET = 2] = "MARKET", e[e.STOP = 3] = "STOP", e[e.STOPLIMIT = 4] = "STOPLIMIT"; }(z || (z = {})), function (e) { e[e.BUY = 1] = "BUY", e[e.SELL = -1] = "SELL"; }(P || (P = {})), function (e) { e[e.CANCELED = 1] = "CANCELED", e[e.FILLED = 2] = "FILLED", e[e.INACTIVE = 3] = "INACTIVE", e[e.PLACING = 4] = "PLACING", e[e.REJECTED = 5] = "REJECTED", e[e.WORKING = 6] = "WORKING"; }(B || (B = {})), function (e) { e[e.ALL = 0] = "ALL", e[e.CANCELED = 1] = "CANCELED", e[e.FILLED = 2] = "FILLED", e[e.INACTIVE = 3] = "INACTIVE", e[e.REJECTED = 5] = "REJECTED", e[e.WORKING = 6] = "WORKING"; }(Z || (Z = {})), function (e) { e[e.ORDER = 1] = "ORDER", e[e.POSITION = 2] = "POSITION"; }(V || (V = {})), function (e) { e[e.LIMITPRICE = 1] = "LIMITPRICE", e[e.STOPPRICE = 2] = "STOPPRICE", e[e.TAKEPROFIT = 3] = "TAKEPROFIT", e[e.STOPLOSS = 4] = "STOPLOSS"; }(F || (F = {})), function (e) { e[e.ERROR = 0] = "ERROR", e[e.SUCCESS = 1] = "SUCCESS"; }(G || (G = {})), function (e) { e.Information = "information", e.Warning = "warning", e.Error = "error"; }(W || (W = {})), function (e) { e.Demo = "demo", e.Live = "live"; }(X || (X = {})), function (e) { e[e.LogOut = 0] = "LogOut", e[e.FailedRestoring = 1] = "FailedRestoring", e[e.Offline = 2] = "Offline", e[e.APIError = 3] = "APIError", e[e.TwoFactorRequired = 4] = "TwoFactorRequired"; }(K || (K = {}));
331
- n("EBrf"), n("ogJP");
332
- var H = n("txPx");
333
- n("25b6");
334
- Error;
335
- Object(H.getLogger)("Trading.Utils");
336
- Object(s.t)("Failed to login");
337
- function U(e) { return e.hasOwnProperty("exchange"); }
338
- function Y(e) {
339
- return __awaiter(this, void 0, void 0, function* () { return new Promise(t => { window.ChartApiInstance.searchSymbols(e.text || "", e.exchange || "", e.type || "", "", !1, !0, "", !0, "", e => { t(e); }); }); });
340
- }
341
- var $ = n("K5cv"), J = n("JWMC"), ee = n("/3z9"), te = n("tU7i"), ne = n("ZrzP"), re = n("XDHQ"), ae = n("Y8Rb"), oe = n("8q1k"), ce = n("OWoh"), se = n("anmh"), ie = n("Pdm7");
342
- function le(e) {
343
- var t;
344
- const { state: n, update: o } = e, { searchRef: c, forceUpdate: s, upperCaseEnabled: u } = Object(f.ensureNotNull)(Object(r.useContext)(b.a)), p = Object(i.b)(null === (t = c.current) || void 0 === t ? void 0 : t.value), m = Object(l.h)(p);
345
- let h = [{ icon: ne, insert: "/", type: "binaryOp", name: "division" }, { icon: re, insert: "-", type: "binaryOp", name: "subtraction" }, { icon: ae, insert: "+", type: "binaryOp", name: "addition" }, { icon: oe, insert: "*", type: "binaryOp", name: "multiplication" }];
346
- return d.enabled("hide_exponentiation_spread_operator") || (h = h.concat([{ icon: ce, insert: "^", type: "binaryOp", name: "exponentiation" }])),
347
- d.enabled("hide_reciprocal_spread_operator") || (h = h.concat([{ icon: se, type: "complete", name: "1/x", callback: () => { !c.current || m.errors.length || m.warnings.length || (c.current.value = Object(l.g)(Object(l.a)(p)), s()); } }])), a.a.createElement("div", { className: ie.actions }, h.map(e => a.a.createElement(te.b, { className: ie.actionButton, icon: e.icon, key: e.name, isDisabled: ue(e, m), onClick: () => function (e) { var t; if (!ue(e, m)) {
348
- if (e.insert && c.current) {
349
- const t = c.current.value + e.insert;
350
- c.current.value = t, c.current.setSelectionRange(t.length, t.length);
351
- const [r, , a] = Object(l.b)(c.current, u);
352
- n.current && (n.current.selectedIndexValue = -1, n.current.searchSpreadsValue = Object(l.e)(a), n.current.searchTokenValue = r), s(), o();
353
- }
354
- e.callback && e.callback(), null === (t = c.current) || void 0 === t || t.focus(), Object(J.trackEvent)("GUI", "SS", e.name);
355
- } }(e) })));
356
- }
357
- function ue(e, t) { let n = !1; if (!t.errors.length)
358
- switch (e.type) {
359
- case "binaryOp":
360
- n = "var" === t.currentState;
361
- break;
362
- case "openBrace":
363
- n = "var" !== t.currentState;
364
- break;
365
- case "closeBrace":
366
- n = "var" === t.currentState && t.braceBalance > 0;
367
- break;
368
- case "complete": n = !t.errors.length && !t.warnings.length;
369
- } return !n; }
370
- var de = n("ijHL"), pe = n("mHCH");
371
- function me(e) { const { isActive: t, isAnimated: n, activeColor: r, size: a = "m", appearance: o = "default", className: s } = e; return c()(pe.bubble, t && pe.active, r && pe[r], a && pe["size-" + a], o && pe["appearance-" + o], n && pe.animated, s); }
372
- function fe(e) { const { id: t, title: n, tabIndex: r, role: o, contentClassName: s, children: i, onClick: l, onMouseDown: u } = e, d = __rest(e, ["id", "title", "tabIndex", "role", "contentClassName", "children", "onClick", "onMouseDown"]); return a.a.createElement("span", Object.assign(Object.assign(Object.assign({}, Object(de.a)(d)), Object(de.b)(d)), { id: t, title: n, tabIndex: r, role: o, className: me(e), onClick: l, onMouseDown: u }), a.a.createElement("span", { className: c()(pe.content, s) }, i)); }
373
- var he = n("UEVQ");
374
- function be(e) { const { className: t, itemClassName: n, itemContentClassName: r, items: c, getItemTitle: s, getItemKey: i, checkItemIsActive: l, getItemColor: u, onBubbleClick: d, multiline: p, children: m } = e; return a.a.createElement("div", { className: o(t, he.bubbles, p && he.multiLine) }, c.map((e, t) => a.a.createElement(fe, { key: i ? i(e) : t, className: o(he.bubble, n), contentClassName: r, onClick: function () { d(e); }, onMouseDown: function (e) { e.preventDefault(); }, isActive: !!l && l(e), activeColor: u ? u(e) : void 0 }, s(e))), m); }
375
- var ve = n("jPOK"), ge = n("iR1w"), ye = n("cvc5"), Ee = n.n(ye), xe = n("ML8+"), Oe = n("G4pG");
376
- function ke(e) { const { mode: t, setMode: n, searchRef: o, cachedInputValue: i, selectedExchange: l, upperCaseEnabled: u } = Object(f.ensureNotNull)(Object(r.useContext)(b.a)), d = Object(f.ensureNotNull)(l), p = "symbolSearch" === t, m = Object(g.g)(d), { country: v, providerId: y, flag: E } = d; return p ? a.a.createElement("div", { className: c()(Oe.flagWrap, "apply-common-tooltip"), title: Object(s.t)("Select source"), onClick: function () { o.current && (i.current = u ? o.current.value.toUpperCase() : o.current.value); n("exchange"); } }, !!m && a.a.createElement(h.a, { className: Oe.icon, icon: k }), a.a.createElement("div", { className: Oe.title }, m ? Object(s.t)("All sources") : d.name), a.a.createElement(xe.a, { className: Oe.caret, dropped: !1 })) : null; }
377
- var Ne = n("2gjO");
378
- const we = Object(g.c)();
379
- function Se(e) {
380
- const { isSmallWidth: t, selectedExchange: n } = Object(f.ensureNotNull)(Object(r.useContext)(b.a)), o = n && we.length > 1 && !Object(g.a)();
381
- return a.a.createElement("div", { className: c()(Ne.wrap, t && Ne.small) }, a.a.createElement("div", { className: Ne.item }, a.a.createElement("div", { className: Ne.text }, t ? Object(s.t)("Symbol & description") : Object(s.t)("Symbol"))), a.a.createElement("div", { className: Ne.item }, !t && a.a.createElement("div", { className: Ne.text }, Object(s.t)("Description")), o && a.a.createElement("div", { className: Ne.exchange }, a.a.createElement(ke, null))));
382
- }
383
- var Ce = n("Ialn"), Te = n("h9B/");
384
- function je(e) { const { onTouchMove: t, listRef: n, className: o, listWrapRef: s, virtualListKey: i, items: l, getItemSize: u, hideFeed: d } = e, { mode: p, isSmallWidth: m, handleListWidth: h } = Object(C.a)(b.a), [v, g] = Object(r.useState)(null), y = Object(r.useCallback)(e => { const { index: t, style: n } = e; return a.a.createElement("div", { style: n }, l[t]); }, [l]), E = Object(r.useCallback)(e => Object(f.ensure)(l[e].key), [l]), x = "watchlist" === p && null !== v; return a.a.createElement(Ee.a, { onMeasure: function (e) { g(e.height), h(e.width); } }, a.a.createElement("div", { ref: s, className: c()(Te.wrap, x && Te.watchlist, d && Te.noFeed, o), onTouchMove: t }, a.a.createElement("div", { className: c()(Te.scrollContainer, d && Te.noFeed) }, x ? a.a.createElement(ge.b, { key: i, ref: n, className: Te.listContainer, width: "100%", height: Object(f.ensureNotNull)(v), itemCount: l.length, itemSize: u, children: y, itemKey: E, overscanCount: 20, direction: Object(Ce.isRtl)() ? "rtl" : "ltr" }) : a.a.createElement("div", { className: c()(Te.listContainer, m && Te.multiLineItemsContainer) }, a.a.createElement(Se, null), l)))); }
385
- var Ie = n("zjoO"), Re = n("mdyz");
386
- function Me(e) { const { token: t, state: n, otherSymbolsCount: o, onChangeSymbolTypeFilter: c, onResetFilters: s, onListTouchMove: i, brokerTitle: l, isBrokerChecked: u, onBrokerCheckboxChange: d, listRef: p, listWrapRef: m } = e, { mode: f, isMobile: h, selectedExchange: v, selectedSymbolType: g, symbolTypes: y, feedItems: E, contentItem: x, emptyState: O = _e } = Object(C.a)(b.a), k = l && a.a.createElement(BrokerCheckbox, { brokerTitle: l, checked: u, onCheckboxChange: d }), N = "symbolSearch" === f && "good" === n, w = null != x ? x : Ie.a, S = Object(r.useMemo)(() => E.map(e => a.a.createElement(w, Object.assign(Object.assign({}, e), { searchToken: t }))), [E]); return a.a.createElement(a.a.Fragment, null, "symbolSearch" === f && a.a.createElement(a.a.Fragment, null, y.length > 0 && a.a.createElement(be, { itemClassName: Re.symbolType, items: y, getItemTitle: e => e.name, getItemKey: e => e.value, checkItemIsActive: e => e.value === g, onBubbleClick: c, multiline: !h }, k), !1), a.a.createElement(je, { listRef: p, listWrapRef: m, onTouchMove: i, items: S, getItemSize: () => De, hideFeed: !N }), "loading" === n && a.a.createElement("div", { className: Re.spinnerWrap }, a.a.createElement(ve.a, null)), "symbolSearch" === f && a.a.createElement(a.a.Fragment, null, !1, "empty" === n && a.a.createElement(O, null))); }
387
- function _e(e) { const t = Object(S.a)({ watchedValue: T.watchedTheme }) === j.a.Dark ? R : M; return a.a.createElement(E, { className: Re.noResultsDesktop }, a.a.createElement(h.a, { icon: t }), a.a.createElement("div", { className: Re.emptyText }, Object(s.t)("No symbols match your criteria"))); }
388
- const Le = Object(g.e)(), De = 52;
389
- function Ae(e) {
390
- const { mode: t, setMode: n, setSelectedIndex: o, isMobile: i, selectedExchange: u, setSelectedExchange: p, selectedSymbolType: m, setSelectedSymbolType: f, setRenderSymbolSearchList: h, searchRef: y, cachedInputValue: E, setSearchSpreads: x, showSpreadActions: O, selectedItem: k, onSearchFeedReady: N, forceUpdate: w, placeholder: S, initialScreen: T, footer: j, searchInput: R, upperCaseEnabled: M, externalInput: _, handleKeyDown: L } = Object(C.a)(b.a), D = Object(r.useRef)(t);
391
- D.current = t;
392
- const A = Object(r.useRef)(new AbortController), [z, P] = Object(r.useState)(0), [B, Z] = Object(r.useState)("noop"), V = Object(r.useRef)(0), [F, G] = Object(r.useState)(E.current), W = Object(r.useRef)(null), X = Object(r.useRef)(null), K = Object(r.useRef)({ selectedIndexValue: -1, searchTokenValue: "", searchSpreadsValue: !0 }), H = Object(r.useRef)(null), te = Object(r.useRef)(null), { broker: ne = null, brokerId: re, brokerTitle: ae, isBrokerChecked: oe = !1, setIsBrokerChecked: ce = (() => { }), unhideSymbolSearchGroups: se = "" } = { brokerId: void 0, brokerTitle: void 0 };
393
- Object(r.useEffect)(() => { (null == y ? void 0 : y.current) && G(y.current.value); }, []), Object(r.useEffect)(() => { const e = y.current; if (e)
394
- return e.addEventListener("input", be), e.addEventListener("focus", Ee), e.addEventListener("select", he), e.addEventListener("click", he), e.addEventListener("keyup", xe), _ && L && e.addEventListener("keydown", L), () => { e && (e.removeEventListener("input", be), e.removeEventListener("focus", Ee), e.removeEventListener("select", he), e.removeEventListener("click", he), e.removeEventListener("keyup", xe), _ && L && e.removeEventListener("keydown", L)); }; }, [L]), Object(r.useEffect)(() => { Boolean(T) && "" === F.trim() || (ge(F, m, null == u ? void 0 : u.value), W.current && (W.current.scrollTop = 0)); }, [F, m, u, oe, T]), Object(r.useEffect)(() => { if (!k || !y.current)
395
- return; if (!d.enabled("show_spread_operators"))
396
- return y.current.value = k.symbol, void w(); const e = U(k) ? k.exchange : k.parent.exchange, t = { name: k.symbol, exchange: e, prefix: k.prefix, fullName: k.full_name }, [n, r] = Object(l.d)(y.current, t, M); y.current.value = n, y.current.setSelectionRange(r, r), w(); }, [k]);
397
- const ie = Object(r.useCallback)(e => N ? N(e) : e, [N]), ue = null != T ? T : "div", de = Boolean(T) && "symbolSearch" !== t, pe = null != R ? R : v.a, me = Object(r.useMemo)(() => ({ listRef: X, resetRecommends: ye, updateRecommends: ge, searchToken: F, emptyTextClassName: Re.emptyText, isBrokerChecked: oe, symbolSearchState: B, currentMode: D }), [X, F, oe, B, D]);
398
- return a.a.createElement(I.a.Provider, { value: me }, !(_ && "symbolSearch" === t) && a.a.createElement(pe, { reference: y, className: c()(Re.search, M && Re.upperCase), placeholder: S || Object(s.t)("Search") }, O && a.a.createElement(le, { state: K, update: ve })), de ? a.a.createElement(ue, null) : a.a.createElement(Me, { token: F, state: B, otherSymbolsCount: z, onListTouchMove: function () { var e; null === (e = y.current) || void 0 === e || e.blur(); }, onChangeSymbolTypeFilter: function (e) { const { value: t } = e; f(t), o(-1); }, onResetFilters: function () { var e; f(Object(g.b)()), Le && p(Le); ce(!1), i || null === (e = y.current) || void 0 === e || e.focus(); }, brokerTitle: ae, isBrokerChecked: oe, onBrokerCheckboxChange: function (e) { ce("on" !== e); }, listRef: X, listWrapRef: W }), j);
399
- function fe() {
400
- if (!y.current)
401
- return;
402
- const [e, t, n] = Object(l.b)(y.current, M);
403
- V.current = t,
404
- K.current = { selectedIndexValue: -1, searchSpreadsValue: Object(l.e)(n), searchTokenValue: e }, H.current || (H.current = setTimeout(ve, 0));
405
- }
406
- function he() { if (!y.current)
407
- return; const [, e] = Object(l.b)(y.current, M); e !== V.current && fe(); }
408
- function be() { d.enabled("show_spread_operators") ? fe() : y.current && (K.current = { selectedIndexValue: -1, searchSpreadsValue: !1, searchTokenValue: y.current.value }, H.current || (H.current = setTimeout(ve, 0))); }
409
- function ve() { const { selectedIndexValue: e, searchTokenValue: t, searchSpreadsValue: n } = K.current; H.current = null, Object(Q.unstable_batchedUpdates)(() => { x(n), o(e), G(M ? t.toUpperCase() : t); }); }
410
- function ge(e, t, n) {
411
- return __awaiter(this, void 0, void 0, function* () { try {
412
- "noop" === B ? Z("loading") : (Oe(), te.current = setTimeout(() => { Z("loading"); }, 500)), ke();
413
- const r = yield function (e, t, n, r) {
414
- return __awaiter(this, void 0, void 0, function* () { var a, o, c; const s = d.enabled("show_spread_operators") ? Object(l.f)(t) : null === (a = y.current) || void 0 === a ? void 0 : a.value; let i; if (oe && ne) {
415
- const t = yield Object(q.b)(e, ne.accountMetainfo());
416
- i = t.prefix;
417
- } const p = d.enabled("show_spread_operators") ? null !== (c = null !== (o = Object(l.c)(t)) && void 0 !== o ? o : i) && void 0 !== c ? c : r : null == u ? void 0 : u.value, m = { serverHighlight: !1, text: s, exchange: p, type: n, lang: window.language || "", brokerId: re, onlyTradable: Boolean(re) && oe, unhideSymbolSearchGroups: se, signal: e }, f = Object($.getSearchRequestDelay)(); void 0 !== f && (yield Object(q.a)(e, f)); return Y(m); });
418
- }(A.current.signal, e, t, n), a = ie(function (e, t = window.ChartApiInstance.symbolsGrouping()) { var n; const r = {}, a = []; for (let o = 0; o < e.length; ++o) {
419
- const c = e[o];
420
- if (c.prefix || Array.isArray(c.contracts))
421
- return e;
422
- const s = t[c.type];
423
- if (void 0 === s) {
424
- a.push(c);
425
- continue;
426
- }
427
- const i = s.exec(c.symbol);
428
- if (i) {
429
- const e = i[1];
430
- let t;
431
- r.hasOwnProperty(e) ? t = r[e] : (t = a.length, r[e] = t, a.push({ type: c.type, symbol: e, exchange: c.exchange, description: c.description, full_name: c.exchange + ":" + e, contracts: [] })), null === (n = a[t].contracts) || void 0 === n || n.push(c);
432
- }
433
- else
434
- a.push(c);
435
- } return a; }(r));
436
- if (!a.length)
437
- return Oe(), void Z("empty");
438
- Oe(), h(a), Z("good");
439
- }
440
- catch (e) {
441
- Object(q.c)(e);
442
- } });
443
- }
444
- function ye() { ke(), Z("empty"), G(""), x(!1), Oe(); }
445
- function Ee() { "watchlist" === D.current && (n("symbolSearch"), Object(J.trackEvent)("Watchlist", "Mobile SS", "Go to SS page")); }
446
- function xe(e) { switch (Object(ee.hashFromEvent)(e)) {
447
- case 37:
448
- case 39: he();
449
- } }
450
- function Oe() { te.current && clearTimeout(te.current); }
451
- function ke() { A.current.abort(), A.current = new AbortController; }
452
- }
453
- var ze = n("U0JK"), Pe = n("hYF9");
454
- function Be(e) { const { theme: t = Pe } = e, { setMode: n, isMobile: r } = Object(C.a)(b.a); return a.a.createElement(h.a, { className: c()(e.className, t.button, !r && t.desktop), icon: ze, onClick: function () { n("symbolSearch"); } }); }
455
- var Ze = n("w3Pp"), Ve = n("qC62"), Fe = n("Vdly");
456
- function Ge(e) { const [t, n] = Object(r.useState)(() => { const t = Fe.getValue("symboledit.exchangefilter", ""); return e.exchanges.find(e => e.value === t) || e.defaultExchange; }); return [t, Object(r.useCallback)(e => { var t; n(e), t = e, Fe.setValue("symboledit.exchangefilter", t.value); }, [])]; }
457
- function We(e) {
458
- const [t, n] = Object(r.useState)(() => { if (1 === e.types.length)
459
- return e.types[0].value; const t = Fe.getValue("symboledit.filter", Object(g.b)()); return e.types.find(e => e.value === t) ? t : Object(g.b)(); });
460
- return [t, Object(r.useCallback)(e => { var t; n(e), t = e, Fe.setValue("symboledit.filter", t); }, [])];
461
- }
462
- var Xe = n("gla1"), Ke = n("ozXl");
463
- n.d(t, "a", (function () { return Ue; }));
464
- const Qe = Object(g.c)(), qe = Object(g.e)(), He = d.enabled("uppercase_instrument_names");
465
- function Ue(e) {
466
- var t;
467
- const { onClose: n, initialMode: o, defaultValue: c = "", showSpreadActions: m, selectSearchOnInit: f = !0, onSearchComplete: h, onSearchFeedReady: v, dialogTitle: y = Object(s.t)("Symbol Search"), placeholder: E, fullscreen: x, initialScreen: O, wrapper: k, dialog: N, contentItem: w, footer: S, symbolTypes: C = Object(g.d)(), searchInput: T, emptyState: j, autofocus: I, dialogWidth: R, onKeyDown: M, exchangeScreen: _ } = e, L = void 0 !== e.input, [A, z] = Object(r.useState)(o), P = Object(r.useRef)(c), [B, Z] = Ge({ exchanges: Qe, defaultExchange: qe }), [V, F] = We({ types: C }), [G, W] = Object(r.useState)([]), [X, K] = Object(r.useState)(!1), [Q, q] = Object(r.useState)(-1), H = Object(r.useRef)(null !== (t = e.input) && void 0 !== t ? t : null), [$, J] = Object(r.useState)(!1), te = Object(Xe.a)(), [ne, re] = Object(r.useState)(new Set), { broker: ae = null, brokerId: oe, unhideSymbolSearchGroups: ce = "", displayBrokerSymbol: se = !1 } = { brokerId: void 0 };
468
- Object(r.useLayoutEffect)(() => { var e; !(null == H ? void 0 : H.current) || !L && Boolean(null === (e = H.current) || void 0 === e ? void 0 : e.value) || (L || "compare" === A || (H.current.value = P.current), !I || L && "symbolSearch" !== A || H.current.focus()); }, [A]), Object(r.useEffect)(() => { (null == H ? void 0 : H.current) && f && I && H.current.select(); }, []);
469
- const ie = Object(r.useMemo)(() => G.reduce((e, t) => { const n = Je(t), r = ne.has(n); return e.push(t), r && t.contracts && e.push(...t.contracts.map(e => (Object.assign(Object.assign({}, e), { parent: t })))), e; }, []), [G, ne]), le = Object(r.useRef)(null);
470
- Object(r.useEffect)(() => { var e; -1 !== Q && (null === (e = le.current) || void 0 === e || e.scrollIntoView({ block: "nearest" })); }, [Q, le]);
471
- const ue = Object(r.useMemo)(() => ie.map((e, t) => { var n, r, a, o; if (U(e)) {
472
- const a = Je(e), o = e.contracts ? ne.has(a) : void 0, c = t === Q;
473
- return { key: t, id: a, title: $e(e, se), description: e.description, isOffset: !1, onClick: ve.bind(null, e), providerId: e.provider_id, country: null === (n = e.country) || void 0 === n ? void 0 : n.toLocaleLowerCase(), type: e.type, exchangeName: e.exchange, marketType: Object(Ze.marketType)(e.type, e.typespecs), isEod: null === (r = e.params) || void 0 === r ? void 0 : r.includes("eod"), isExpanded: o, onExpandClick: e.contracts ? ge.bind(null, a) : void 0, fullSymbolName: Ve.a.fromSymbolSearchResult(e), itemRef: c ? le : void 0, isSelected: t === Q, item: e };
474
- } {
475
- const { parent: n } = e, r = Je(n), c = t === Q;
476
- return { key: t, id: r + e.symbol, dangerousTitleHTML: $e(e, se), dangerousDescriptionHTML: `${n.description} (${e.description})`, isOffset: !0, isEod: null === (a = e.params) || void 0 === a ? void 0 : a.includes("eod"), onClick: ye.bind(null, e.parent, e), providerId: n.provider_id, country: null === (o = n.country) || void 0 === o ? void 0 : o.toLowerCase(), type: n.type, exchangeName: n.exchange, marketType: Object(Ze.marketType)(n.type, e.typespecs), fullSymbolName: Ve.a.fromSymbolSearchResult(e.parent, e), itemRef: c ? le : void 0, isSelected: c, item: e };
477
- } }), [G, ne, A, Q, M]), de = null != N ? N : tt, pe = de !== tt && !L, me = (e, t) => ({ mode: A, setMode: z, selectedExchange: B, setSelectedExchange: Z, selectedSymbolType: V, setSelectedSymbolType: F, selectedIndex: Q,
478
- setSelectedIndex: q, onClose: n, setRenderSymbolSearchList: W, searchRef: H, cachedInputValue: P, searchSpreads: X, setSearchSpreads: K, handleListWidth: Ee, isSmallWidth: $, feedItems: ue, isMobile: e, showSpreadActions: m, selectSearchOnInit: f, isTablet: t, selectedItem: ie[Q], onSearchFeedReady: v, forceUpdate: te, placeholder: E, initialScreen: O, toggleExpand: ge, openedItems: ne, onSubmit: ke, onSearchComplete: h, footer: S, symbolTypes: C, contentItem: w, searchInput: T, emptyState: j, autofocus: I, upperCaseEnabled: He, externalInput: L, handleKeyDown: pe ? void 0 : Oe }), fe = null != _ ? _ : D, he = "exchange" === A ? { title: Object(s.t)("Sources"), dataName: "exchanges-search", render: () => a.a.createElement(fe, { exchanges: Qe }), additionalHeaderElement: a.a.createElement(Be, null), additionalElementPos: "before" } : { title: y, dataName: "symbol-search-items-dialog", render: () => a.a.createElement(Ae, null), additionalElementPos: "after" }, be = null != k ? k : "div";
479
- return a.a.createElement(be, null, a.a.createElement(u.a, { rules: p.a }, ({ TabletSmall: e, TabletNormal: t }) => a.a.createElement(b.a.Provider, { value: me(e, t) }, a.a.createElement(de, Object.assign(Object.assign({}, he), { fullScreen: x, onClose: n, onClickOutside: n, onKeyDown: pe ? void 0 : Oe, isOpened: !0 })))));
480
- function ve(e) { e.contracts ? ge(Je(e)) : ye(e); }
481
- function ge(e) { const t = new Set(ne); t.has(e) ? t.delete(e) : t.add(e), re(t); }
482
- function ye(e, t) { const r = t || e, { exchange: a } = e; if (d.enabled("show_spread_operators")) {
483
- const e = { name: r.symbol, exchange: a, prefix: r.prefix, fullName: r.full_name };
484
- if (X)
485
- return xe(e), void te();
486
- if (H.current && H.current.value.includes(","))
487
- return void xe(e);
488
- } const o = [{ resolved: !0, symbol: Ve.a.fromSymbolSearchResult(e, t), result: r }]; h(o), n(); }
489
- function Ee(e) { J("fixed" === R || e <= 640); }
490
- function xe(e) { if (!H.current)
491
- return; const [t, n] = Object(l.d)(H.current, e, He); H.current.value = t, H.current.setSelectionRange(n, n), H.current.focus(); }
492
- function Oe(e) { switch (Object(ee.hashFromEvent)(e)) {
493
- case 38:
494
- if (e.preventDefault(), 0 === Q)
495
- return;
496
- if (-1 === Q)
497
- return void q(0);
498
- q(Q - 1);
499
- break;
500
- case 40:
501
- if (e.preventDefault(), Q === ue.length - 1)
502
- return;
503
- q(Q + 1);
504
- break;
505
- case 37: {
506
- if (-1 === Q)
507
- return;
508
- const t = ue[Q], { id: n, isOffset: r, onExpandClick: a } = t;
509
- !r && n && ne.has(n) && Boolean(a) && (e.preventDefault(), ge(n));
510
- break;
511
- }
512
- case 39: {
513
- if (-1 === Q)
514
- return;
515
- const t = ue[Q], { id: n, isOffset: r, onExpandClick: a } = t;
516
- !r && n && !ne.has(n) && Boolean(a) && (e.preventDefault(), ge(n));
517
- break;
518
- }
519
- case 13:
520
- ke(!0);
521
- break;
522
- case 27: e.preventDefault(), n();
523
- } null == M || M(e); }
524
- function ke(e) {
525
- if (!H.current)
526
- return;
527
- const t = H.current.value;
528
- if (d.enabled("show_spread_operators") && X && t) {
529
- if (t.includes(",")) {
530
- const r = et(t);
531
- if (r.some(e => !Ne(e)))
532
- return;
533
- return h(r.map(Ye)), void (e && n());
534
- }
535
- if (!Ne(t))
536
- return;
537
- return h([{ symbol: He ? t.toUpperCase() : t, resolved: !1 }]), void (e && n());
538
- }
539
- if (t.includes(","))
540
- return h(et(t).map(Ye)), void (e && n());
541
- if (-1 !== Q) {
542
- ue[Q].onClick();
543
- }
544
- else {
545
- const r = He ? t.toUpperCase() : t;
546
- if (r && "" !== r.trim()) {
547
- const e = et(r);
548
- if (void 0 !== oe && -1 === r.indexOf(":"))
549
- (function (e) {
550
- let t = !1;
551
- return Promise.all(e.map(e => -1 !== e.indexOf(":") || t ? Promise.resolve({ symbol: e, resolved: !1 }) : (t = !0, function (e) {
552
- return __awaiter(this, void 0, void 0, function* () {
553
- var t;
554
- null === (t = yield (null == ae ? void 0 : ae.accountMetainfo())) || void 0 === t || t.prefix;
555
- const n = yield Y({ strictMatch: !0, serverHighlight: !1, text: e,
556
- lang: window.language || "", brokerId: oe, onlyTradable: !0, unhideSymbolSearchGroups: ce, exchange: void 0 });
557
- if (0 !== n.length) {
558
- const e = n[0], { contracts: t } = e, r = t && t.length > 0 ? t[0] : void 0, a = e.prefix || e.exchange, o = r ? r.symbol : e.symbol;
559
- if (a && o)
560
- return { symbol: Ve.a.fromSymbolSearchResult(e, r), resolved: !0, result: e };
561
- }
562
- return { symbol: e, resolved: !1 };
563
- });
564
- }(e))));
565
- })(e).then(e => h(e));
566
- else {
567
- const t = e.map(Ye);
568
- h(t);
569
- }
570
- }
571
- e && n();
572
- }
573
- }
574
- function Ne(e) { const t = Object(i.b)(e), n = Object(l.h)(t); if (n.errors.length || n.warnings.length)
575
- return !1; const r = ue[Q]; return !r || void 0 === r.isExpanded || (r.onClick(), !1); }
576
- }
577
- function Ye(e) { return { symbol: He ? e.toUpperCase() : e, resolved: !1 }; }
578
- function $e(e, t) { const { broker_symbol: n, symbol: r } = e; return `${r}${t && n ? ` (${n})` : ""}`; }
579
- function Je(e) { return e.symbol + e.exchange + e.description; }
580
- function et(e) { return e.split(",").map(e => e.trim()).filter(e => "" !== e); }
581
- function tt(e) { const { isMobile: t, isTablet: n } = Object(C.a)(b.a); return a.a.createElement(m.a, Object.assign(Object.assign({}, e), { className: c()(Ke.dialog, !t && (n ? Ke.tabletDialog : Ke.desktopDialog)), backdrop: !0, draggable: !1 })); }
582
- }, vqb8: function (e, t, n) {
583
- "use strict";
584
- n.d(t, "a", (function () { return a; }));
585
- var r = n("q1tI");
586
- const a = e => { const t = "watchedValue" in e ? e.watchedValue : void 0, n = "defaultValue" in e ? e.defaultValue : e.watchedValue.value(), [a, o] = Object(r.useState)(t ? t.value() : n); return Object(r.useEffect)(() => { if (t) {
587
- o(t.value());
588
- const e = e => o(e);
589
- return t.subscribe(e), () => t.unsubscribe(e);
590
- } return () => { }; }, [t]), a; };
591
- }, w3Pp: function (e, t, n) {
592
- "use strict";
593
- n.r(t), n.d(t, "marketType", (function () { return i; }));
594
- var r = n("YFKU");
595
- n("HbRj");
596
- const a = new Map, o = { context: "market_type" }, c = { cfd: Object(r.t)("cfd", o), bitcoin: Object(r.t)("crypto", o), crypto: Object(r.t)("crypto", o), dr: Object(r.t)("dr", o), forex: Object(r.t)("forex", o), futures: Object(r.t)("futures", o), index: Object(r.t)("index", o), stock: Object(r.t)("stock", o) }, s = new Set(["cfd", "spreadbet", "defi"]);
597
- function i(e, t = []) { const n = t.filter(e => s.has(e)), i = `${e}_${n.sort().join("_")}`, l = a.get(i); if (void 0 !== l)
598
- return l; const u = Boolean(t.length) ? Object(r.t)(e, o) + " " + n.join(" ") : c[e] || e; return a.set(i, u), u; }
599
- }, wy57: function (e, t) { e.exports = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M2.5 14.5c1.68-1.26 3.7-2 6.5-2s4.91.74 6.5 2m-13-11c1.68 1.26 3.7 2 6.5 2s4.91-.74 6.5-2"/><circle stroke="currentColor" cx="9" cy="9" r="8.5"/><path stroke="currentColor" d="M13.5 9c0 2.42-.55 4.58-1.4 6.12-.87 1.56-1.98 2.38-3.1 2.38s-2.23-.82-3.1-2.38c-.85-1.54-1.4-3.7-1.4-6.12s.55-4.58 1.4-6.12C6.77 1.32 7.88.5 9 .5s2.23.82 3.1 2.38c.85 1.54 1.4 3.7 1.4 6.12z"/></svg>'; }, zjoO: function (e, t, n) {
600
- "use strict";
601
- n.d(t, "a", (function () { return g; }));
602
- var r = n("q1tI"), a = n.n(r), o = n("TSYQ"), c = n.n(o), s = n("Eyy1"), i = n("Iivm"), l = n("1LIl"), u = n("H9Gg"), d = n("VogD"), p = n("FZIs"), m = n("vqb8"), f = n("oiZD"), h = n("8+VR"), b = n("+5L9"), v = n("eIOu");
603
- function g(e) {
604
- const { dangerousTitleHTML: t, title: n, dangerousDescriptionHTML: o, description: g, searchToken: y, exchangeName: E, marketType: x, onClick: O, isSelected: k, isEod: N = !1, isActive: w = !1, isOffset: S = !1, invalid: C = !1, isHighlighted: T = !1, hideExchange: j = !1, onExpandClick: I, isExpanded: R, hoverComponent: M, country: _, providerId: L, type: D, flag: A, itemRef: z, onMouseOut: P, onMouseOver: B, className: Z, actions: V, reference: F } = e, { isSmallWidth: G, isMobile: W } = Object(s.ensureNotNull)(Object(r.useContext)(d.a)), X = Boolean(M), K = !C && !j && (W || !X), Q = Object(m.a)({ watchedValue: f.watchedTheme }) === p.a.Dark ? v.dark : v.light, q = M;
605
- return a.a.createElement("div", { className: c()(v.itemRow, G && v.multiLine, T && v.highlighted, T && Q, k && v.selected, w && v.active, C && v.invalid, !W && h.mobiletouch && X && v.hover, Z), onClick: function (e, t) { if (!e || t.defaultPrevented)
606
- return; t.preventDefault(), e(t); }.bind(null, O), "data-role": e["data-role"] || "list-item", "data-active": w, "data-name": "symbol-search-dialog-content-item", onMouseOut: P, onMouseOver: B, ref: F }, a.a.createElement("div", { ref: z, className: c()(v.itemInfoCell, v.cell, S && v.offset) }, a.a.createElement("div", { className: v.expandHandleWrap, onClick: function (e) { if (!I || e.defaultPrevented)
607
- return; e.preventDefault(), I(e); } }, I && a.a.createElement(i.a, { className: c()(v.expandHandle, R && v.expanded), icon: b })), a.a.createElement("div", { className: v.description }, n && a.a.createElement("div", { className: c()(v.symbolTitle, w && v.active, C && v.invalid, !Boolean(o) && v.noDescription), "data-name": "list-item-title" }, "string" == typeof n && y ? a.a.createElement(l.a, { className: v.highlightedText, text: n, queryString: y, rules: Object(u.a)(y) }) : n, N && a.a.createElement("span", { className: v.dataMode }, "E")), !n && t && a.a.createElement("div", { className: c()(v.symbolTitle, w && v.active, C && v.invalid), "data-name": "list-item-title" }, a.a.createElement("span", { dangerouslySetInnerHTML: { __html: t } }), N && a.a.createElement("span", { className: v.dataMode }, "E")), G && H())), !G && H(), q ? a.a.createElement(q, Object.assign(Object.assign({}, e), { className: v.cell, onMouseOver: void 0, onMouseOut: void 0 })) : null, K && a.a.createElement("div", { className: c()(v.exchangeCell, v.cell) }, a.a.createElement("div", { className: c()(v.exchangeDescription) }, a.a.createElement("div", { className: c()(v.marketType, w && v.active) }, x), a.a.createElement("div", { className: c()(v.exchangeName, w && v.active) }, E)), !1), a.a.createElement("div", { className: c()(v.cell, Boolean(V) && v.actionsCell) }, V));
608
- function H() { if (C)
609
- return null; const e = c()(v.symbolDescription, !G && v.cell, w && v.active, !h.mobiletouch && "apply-overflow-tooltip apply-overflow-tooltip--allow-text"); return g ? a.a.createElement("div", { className: e }, y ? a.a.createElement(l.a, { className: v.highlightedText, text: g, queryString: y, rules: Object(u.a)(y) }) : g) : o ? a.a.createElement("div", { className: e, dangerouslySetInnerHTML: { __html: o } }) : null; }
610
- }
611
- } }]);