binbot-charts 0.0.1 → 0.0.4
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.
- package/README.md +5 -7
- package/babel.config.json +18 -0
- package/dist/TVChartContainer.js +85 -0
- package/dist/ar-tv-chart.f0bc1e45.html +1 -0
- package/dist/bundles/0.d46f0b5e9380d7893de5.js +334 -0
- package/dist/bundles/0579d40b812fa2c3ffe72e5803a6e14c.cur +0 -0
- package/{public/put-charting-library-here → dist/bundles/1.92647ec0a7beb8b2898d.css} +0 -0
- package/{public/put-datafeeds-here → dist/bundles/1.92647ec0a7beb8b2898d.rtl.css} +0 -0
- package/dist/bundles/1.f02c87d35fbc8ffcaedb.js +3 -0
- package/dist/bundles/10.21e665b7935d5bc4ba64.js +807 -0
- package/dist/bundles/11.8b65dc2e0d8b6e5041c4.css +1 -0
- package/dist/bundles/11.8b65dc2e0d8b6e5041c4.rtl.css +1 -0
- package/dist/bundles/11.df012db70159a159d927.js +3 -0
- package/dist/bundles/12.37750b21f6d8d35c6e6e.js +3 -0
- package/dist/bundles/12.ef8057448f3a7ae1c3d8.css +1 -0
- package/dist/bundles/12.ef8057448f3a7ae1c3d8.rtl.css +1 -0
- package/dist/bundles/13.699469c73d09b7add56d.js +3 -0
- package/dist/bundles/13.9240f13280154f2593b7.css +1 -0
- package/dist/bundles/13.9240f13280154f2593b7.rtl.css +1 -0
- package/dist/bundles/14.8095b40dd1e7deedf401.css +1 -0
- package/dist/bundles/14.8095b40dd1e7deedf401.rtl.css +1 -0
- package/dist/bundles/14.d1148b38d59df9ca5061.js +3 -0
- package/dist/bundles/15.44f2acca80348a1da1a6.js +526 -0
- package/dist/bundles/16.680572949c1125757d35.js +3 -0
- package/dist/bundles/16.d567c9db608f3d98d8de.css +1 -0
- package/dist/bundles/16.d567c9db608f3d98d8de.rtl.css +1 -0
- package/dist/bundles/17.404a01f527881dfff424.js +3 -0
- package/dist/bundles/17.ec35a19db935279c5b42.css +1 -0
- package/dist/bundles/17.ec35a19db935279c5b42.rtl.css +1 -0
- package/dist/bundles/18.78de69cfba051874e071.js +569 -0
- package/dist/bundles/19.048f7f5d36fef428ca8d.js +3 -0
- package/dist/bundles/19.75c30426f9d3ad5ca0c5.css +1 -0
- package/dist/bundles/19.75c30426f9d3ad5ca0c5.rtl.css +1 -0
- package/dist/bundles/1df47f578aeef40dd1f2328338a133be.png +0 -0
- package/dist/bundles/2.60931787a6734697ac13.js +507 -0
- package/dist/bundles/20.bc09ed47c5a62e1bc5c2.js +540 -0
- package/dist/bundles/21.4c7b5cccb67a95e7e782.js +3 -0
- package/dist/bundles/21.8153544955cdc47262e3.css +1 -0
- package/dist/bundles/21.8153544955cdc47262e3.rtl.css +1 -0
- package/dist/bundles/22.ca4300bcf614d8d5f4ab.js +3 -0
- package/dist/bundles/22.da9773799a06c6066d1e.css +1 -0
- package/dist/bundles/22.da9773799a06c6066d1e.rtl.css +1 -0
- package/dist/bundles/23.256ba98e6a03200bdeba.js +3 -0
- package/dist/bundles/23.ee754f50171546186397.css +1 -0
- package/dist/bundles/23.ee754f50171546186397.rtl.css +1 -0
- package/dist/bundles/24.bc4fafedb1730259aa10.js +3 -0
- package/dist/bundles/24.e70c1623e0c74477ef2e.css +1 -0
- package/dist/bundles/24.e70c1623e0c74477ef2e.rtl.css +1 -0
- package/dist/bundles/25.7416db26ed3dcc87c05a.js +2731 -0
- package/dist/bundles/26.3aeec391d4e6e19989ee.js +3 -0
- package/dist/bundles/26.69139a843bc1c84f790b.css +1 -0
- package/dist/bundles/26.69139a843bc1c84f790b.rtl.css +1 -0
- package/dist/bundles/27.e3ec08b1fb9df5f36ada.js +477 -0
- package/dist/bundles/28.3140e8cb507ad2593c76.css +1 -0
- package/dist/bundles/28.3140e8cb507ad2593c76.rtl.css +1 -0
- package/dist/bundles/28.9f103042c27ea2df422f.js +3 -0
- package/dist/bundles/29.07af6dca962ea27209f0.css +1 -0
- package/dist/bundles/29.07af6dca962ea27209f0.rtl.css +1 -0
- package/dist/bundles/29.3df8712b85d45a626aa0.js +3 -0
- package/dist/bundles/3.76c398b01b707e5b251c.js +3 -0
- package/dist/bundles/3.eeb90413029441681f91.css +1 -0
- package/dist/bundles/3.eeb90413029441681f91.rtl.css +1 -0
- package/dist/bundles/30.0b732ccb122d160480b6.js +1244 -0
- package/dist/bundles/31.8d2b7a538755fd1bb760.js +935 -0
- package/dist/bundles/32.13ce02217cf8f9dd6d90.js +636 -0
- package/dist/bundles/3293616ec0c605c7c2db25829a0a509e.woff +0 -0
- package/dist/bundles/33.02ed7df481ae8243d2f2.css +1 -0
- package/dist/bundles/33.02ed7df481ae8243d2f2.rtl.css +1 -0
- package/dist/bundles/33.4d0dd1f7001fc02099bb.js +3 -0
- package/dist/bundles/34.4b6099931f57311efc1a.css +1 -0
- package/dist/bundles/34.4b6099931f57311efc1a.rtl.css +1 -0
- package/dist/bundles/34.c9baa59add71a1e48fd2.js +3 -0
- package/dist/bundles/35.999f0e072062b7369a1a.css +1 -0
- package/dist/bundles/35.999f0e072062b7369a1a.rtl.css +1 -0
- package/dist/bundles/35.ed9e360f9686ad3a9497.js +3 -0
- package/dist/bundles/36.1882d1a8d312a0e193e9.js +3 -0
- package/dist/bundles/36.f315a19c17d5636af8f7.css +1 -0
- package/dist/bundles/36.f315a19c17d5636af8f7.rtl.css +1 -0
- package/dist/bundles/37.90129e4904155350d6a1.js +1288 -0
- package/dist/bundles/38.41f3d509b61c8af47de3.js +502 -0
- package/dist/bundles/39.74a7bc3b464cd284827f.css +1 -0
- package/dist/bundles/39.74a7bc3b464cd284827f.rtl.css +1 -0
- package/dist/bundles/39.bc1e9ce938fd5152831f.js +3 -0
- package/dist/bundles/4.92647ec0a7beb8b2898d.css +0 -0
- package/dist/bundles/4.92647ec0a7beb8b2898d.rtl.css +0 -0
- package/dist/bundles/4.c7430b8d89cddcf51345.js +3 -0
- package/dist/bundles/40.b59f41ba4cacbfb8acc3.js +255 -0
- package/dist/bundles/40566afd832a155e5e370a8bd423de4b.svg +1 -0
- package/dist/bundles/40f9a03d174178efb12303caa9bc7cd8.woff2 +0 -0
- package/dist/bundles/41.8fa0fb0bd4ad0241ef2f.css +1 -0
- package/dist/bundles/41.8fa0fb0bd4ad0241ef2f.rtl.css +1 -0
- package/dist/bundles/41.a19b0ae5d68f855d2753.js +3 -0
- package/dist/bundles/42.494986b0981f6d116fef.js +3 -0
- package/dist/bundles/42.9078fb8f1629e3eee9bd.css +1 -0
- package/dist/bundles/42.9078fb8f1629e3eee9bd.rtl.css +1 -0
- package/dist/bundles/43.619c5ed4a592cc2965a4.js +3 -0
- package/dist/bundles/43.8bf90585004742c338c5.css +1 -0
- package/dist/bundles/43.8bf90585004742c338c5.rtl.css +1 -0
- package/dist/bundles/44.0a7df307e4f397763ce8.js +3474 -0
- package/dist/bundles/45.12a19785e3864bd62a76.css +1 -0
- package/dist/bundles/45.12a19785e3864bd62a76.rtl.css +1 -0
- package/dist/bundles/45.db9dbd3e9bfeca5333da.js +3 -0
- package/dist/bundles/46.f1d4cfe6d6f830b4a011.js +495 -0
- package/dist/bundles/47.a3da3f774c90bd22798e.js +555 -0
- package/dist/bundles/48.a3fdb9dd54af71b3bda6.css +1 -0
- package/dist/bundles/48.a3fdb9dd54af71b3bda6.rtl.css +1 -0
- package/dist/bundles/48.a93f9cb8b1bcc0e0f21e.js +3 -0
- package/dist/bundles/49.bacd609f7eb77a4a4b68.js +3 -0
- package/dist/bundles/49.d723843c9192493b8c13.css +1 -0
- package/dist/bundles/49.d723843c9192493b8c13.rtl.css +1 -0
- package/dist/bundles/4a9abefd31dab7c8239e02e925aacd78.png +0 -0
- package/dist/bundles/4fafff07d8914dc11f6d335f606ff47c.png +0 -0
- package/dist/bundles/5.5e97b270ab80d99e9085.js +335 -0
- package/dist/bundles/50.8d5cba5b90176d3d2e3d.css +1 -0
- package/dist/bundles/50.8d5cba5b90176d3d2e3d.rtl.css +1 -0
- package/dist/bundles/50.b282667dddcb7fe1569a.js +3 -0
- package/dist/bundles/51.11871c50951db825ace3.js +3 -0
- package/dist/bundles/51.300c3df03ca063ec03a0.css +1 -0
- package/dist/bundles/51.300c3df03ca063ec03a0.rtl.css +1 -0
- package/dist/bundles/52.0379a85baae3ab43b15c.js +3 -0
- package/dist/bundles/52.29cec22b3525b47af67e.css +1 -0
- package/dist/bundles/52.29cec22b3525b47af67e.rtl.css +1 -0
- package/dist/bundles/53.1d3ec98cfb8e19affb1c.js +808 -0
- package/dist/bundles/54.bb5888ae55ea0a253a5b.js +1083 -0
- package/dist/bundles/55.3c35a629db21ab961f11.js +1733 -0
- package/dist/bundles/56.b3e69145c0fee614443d.js +723 -0
- package/dist/bundles/57.236996ec416da4c1f683.js +473 -0
- package/dist/bundles/58.7ffac4ba908b95705e63.js +410 -0
- package/dist/bundles/59.397cb6699b74d64072a8.js +3 -0
- package/dist/bundles/59.418f1db161eefae63284.css +1 -0
- package/dist/bundles/59.418f1db161eefae63284.rtl.css +1 -0
- package/dist/bundles/6.2221bb6a5d920bbb4bb2.css +1 -0
- package/dist/bundles/6.2221bb6a5d920bbb4bb2.rtl.css +1 -0
- package/dist/bundles/6.2d67b0ae77825dbd455d.js +3 -0
- package/dist/bundles/60.6b5eced2ef8fa856be88.js +3 -0
- package/dist/bundles/60.d4583c71cca790a25900.css +1 -0
- package/dist/bundles/60.d4583c71cca790a25900.rtl.css +1 -0
- package/dist/bundles/61.38a3040c925fadff7b64.js +743 -0
- package/dist/bundles/62.63b309f5f8da9ca013b8.js +309 -0
- package/dist/bundles/63.8255c7f5191bcafcee7c.js +3 -0
- package/dist/bundles/63.898a61bf08239711dc74.css +1 -0
- package/dist/bundles/63.898a61bf08239711dc74.rtl.css +1 -0
- package/dist/bundles/64.6f232bdb0fb4cdcc2d7d.css +1 -0
- package/dist/bundles/64.6f232bdb0fb4cdcc2d7d.rtl.css +1 -0
- package/dist/bundles/64.ec4b4d03b28c77658dde.js +3 -0
- package/dist/bundles/65.556980fc277562af83c8.css +1 -0
- package/dist/bundles/65.556980fc277562af83c8.rtl.css +1 -0
- package/dist/bundles/65.f895a78b4e04257983ff.js +3 -0
- package/dist/bundles/66.2979e9b7c35e7bf03a37.js +3 -0
- package/dist/bundles/66.84b4001b5c622a569dde.css +1 -0
- package/dist/bundles/66.84b4001b5c622a569dde.rtl.css +1 -0
- package/dist/bundles/67.19c83a0c303c290216d2.css +1 -0
- package/dist/bundles/67.19c83a0c303c290216d2.rtl.css +1 -0
- package/dist/bundles/67.25fd4b78c8c514988aeb.js +3 -0
- package/dist/bundles/68.8b4124c875484d11fd94.js +3 -0
- package/dist/bundles/68.fa7424ae9c5fe5483aac.css +1 -0
- package/dist/bundles/68.fa7424ae9c5fe5483aac.rtl.css +1 -0
- package/dist/bundles/69.094b4a764d3dc17820cf.css +1 -0
- package/dist/bundles/69.094b4a764d3dc17820cf.rtl.css +1 -0
- package/dist/bundles/69.43756a5c7477730eb0c4.js +3 -0
- package/dist/bundles/7.2c7c4f8a49c6380227de.js +315 -0
- package/dist/bundles/70.c27146ec029eda556108.css +1 -0
- package/dist/bundles/70.c27146ec029eda556108.rtl.css +1 -0
- package/dist/bundles/70.cb9d1bb5a00896c1bb97.js +3 -0
- package/dist/bundles/71.15e639d294c4209f256e.css +1 -0
- package/dist/bundles/71.15e639d294c4209f256e.rtl.css +1 -0
- package/dist/bundles/71.6a9d0842f5e48f68399c.js +3 -0
- package/dist/bundles/72.07441fd67b864b86147b.css +1 -0
- package/dist/bundles/72.07441fd67b864b86147b.rtl.css +1 -0
- package/dist/bundles/72.e3925aaf38d2c8997638.js +3 -0
- package/dist/bundles/73.6b8b9e5e2c8e2b753cb8.css +1 -0
- package/dist/bundles/73.6b8b9e5e2c8e2b753cb8.rtl.css +1 -0
- package/dist/bundles/73.8ca1a096c5bdc2e5fb8a.js +3 -0
- package/dist/bundles/7393f661fc7d4389ea6d4dabd2a5aeea.png +0 -0
- package/dist/bundles/74.34dcc0d3cd1bbfa5e951.js +3 -0
- package/dist/bundles/74.8c591c252b2e7ad8f744.css +1 -0
- package/dist/bundles/74.8c591c252b2e7ad8f744.rtl.css +1 -0
- package/dist/bundles/75.1c9a3a6524248ddf88bf.js +3 -0
- package/dist/bundles/75.fefbc386c59bf7d4f9f7.css +1 -0
- package/dist/bundles/75.fefbc386c59bf7d4f9f7.rtl.css +1 -0
- package/dist/bundles/76.5d20bed213399f326603.js +3 -0
- package/dist/bundles/76.f14d71a31295d8cd8d8b.css +1 -0
- package/dist/bundles/76.f14d71a31295d8cd8d8b.rtl.css +1 -0
- package/dist/bundles/77.3e4ccccc7d3eb03c488f.js +3 -0
- package/dist/bundles/77.9c35f7046b848fbfd7f5.css +1 -0
- package/dist/bundles/77.9c35f7046b848fbfd7f5.rtl.css +1 -0
- package/dist/bundles/78.0d502ab4d94441708606.css +1 -0
- package/dist/bundles/78.0d502ab4d94441708606.rtl.css +1 -0
- package/dist/bundles/78.1d1d47a915b06f1496fb.js +3 -0
- package/dist/bundles/79.86e92b77f8cf32e6bc37.js +3 -0
- package/dist/bundles/79.b990749a4839f9123f26.css +1 -0
- package/dist/bundles/79.b990749a4839f9123f26.rtl.css +1 -0
- package/dist/bundles/7e0cc5f7d7f5151500dd60b8d6ca60a1.png +0 -0
- package/dist/bundles/8.e66ab8f27911a033604f.css +1 -0
- package/dist/bundles/8.e66ab8f27911a033604f.rtl.css +1 -0
- package/dist/bundles/8.ffab20b86db484062268.js +3 -0
- package/dist/bundles/80.5bdd53d5fc42d40eee28.css +1 -0
- package/dist/bundles/80.5bdd53d5fc42d40eee28.rtl.css +1 -0
- package/dist/bundles/80.b5bc6acec3b531a510a9.js +3 -0
- package/dist/bundles/81.552e046aa828739c508b.css +1 -0
- package/dist/bundles/81.552e046aa828739c508b.rtl.css +1 -0
- package/dist/bundles/81.e6a1f76017a44b03480b.js +3 -0
- package/dist/bundles/82.8c2919e6c8f54e36e9e6.js +3 -0
- package/dist/bundles/82.e06fe84c8cdead4bd52e.css +1 -0
- package/dist/bundles/82.e06fe84c8cdead4bd52e.rtl.css +1 -0
- package/dist/bundles/83.e238aa056c5d4827cbdd.css +1 -0
- package/dist/bundles/83.e238aa056c5d4827cbdd.rtl.css +1 -0
- package/dist/bundles/83.f3e53bb5a5940e084955.js +3 -0
- package/dist/bundles/84.8acc496b4deeeeefb5af.js +3 -0
- package/dist/bundles/84.bb4fc57627c8626019fd.css +1 -0
- package/dist/bundles/84.bb4fc57627c8626019fd.rtl.css +1 -0
- package/dist/bundles/85.39c78fbeaabae306f343.js +3 -0
- package/dist/bundles/85.e0ba32bafcab02208901.css +1 -0
- package/dist/bundles/85.e0ba32bafcab02208901.rtl.css +1 -0
- package/dist/bundles/86.4bbbb9e6262243419986.js +3 -0
- package/dist/bundles/86.9244fc2bcc2370425a15.css +1 -0
- package/dist/bundles/86.9244fc2bcc2370425a15.rtl.css +1 -0
- package/dist/bundles/87.605cbc508223ec27341c.css +1 -0
- package/dist/bundles/87.605cbc508223ec27341c.rtl.css +1 -0
- package/dist/bundles/87.cf03fa0a76bfcadd157d.js +3 -0
- package/dist/bundles/88.158dd8a18e176936a343.css +1 -0
- package/dist/bundles/88.158dd8a18e176936a343.rtl.css +1 -0
- package/dist/bundles/88.d1e3aec63ece25f6b8a9.js +3 -0
- package/dist/bundles/89.5f142643917701de773b.css +1 -0
- package/dist/bundles/89.5f142643917701de773b.rtl.css +1 -0
- package/dist/bundles/89.d8aa43b4b9378722d572.js +3 -0
- package/dist/bundles/898929f1acdb622689e0fc0c95c8fcd0.png +0 -0
- package/dist/bundles/9.84ecbc930e51cb26d06a.js +3 -0
- package/dist/bundles/9.8ab09f93a5113a634119.css +1 -0
- package/dist/bundles/9.8ab09f93a5113a634119.rtl.css +1 -0
- package/dist/bundles/90.877114560c4828a97702.css +1 -0
- package/dist/bundles/90.877114560c4828a97702.rtl.css +1 -0
- package/dist/bundles/90.ce47bb68fc3fc88b5590.js +3 -0
- package/dist/bundles/91.2142b248a2bb29549a99.css +1 -0
- package/dist/bundles/91.2142b248a2bb29549a99.rtl.css +1 -0
- package/dist/bundles/91.a9b79ef7ba0a62311a53.js +3 -0
- package/dist/bundles/92.76d5ca7ebec10a1a7a12.js +3 -0
- package/dist/bundles/92.e46f0aa06bcdbddf3831.css +1 -0
- package/dist/bundles/92.e46f0aa06bcdbddf3831.rtl.css +1 -0
- package/dist/bundles/93.17d34ca77a7fc85a24d9.css +1 -0
- package/dist/bundles/93.17d34ca77a7fc85a24d9.rtl.css +1 -0
- package/dist/bundles/93.6de56ef1975f4a31e542.js +3 -0
- package/dist/bundles/94.231bea5fb12b806ef287.js +3 -0
- package/dist/bundles/94.b204218cb73b576333a1.css +1 -0
- package/dist/bundles/94.b204218cb73b576333a1.rtl.css +1 -0
- package/dist/bundles/95.51244d1c4baf49d08807.css +1 -0
- package/dist/bundles/95.51244d1c4baf49d08807.rtl.css +1 -0
- package/dist/bundles/95.6f7da80aac5cf2bf77d6.js +3 -0
- package/dist/bundles/96.43bb935eee30715afff7.js +3 -0
- package/dist/bundles/96.be9ad3d6a7c91501bb55.css +1 -0
- package/dist/bundles/96.be9ad3d6a7c91501bb55.rtl.css +1 -0
- package/dist/bundles/a6506134daec7169f68f563f084a9d41.svg +1 -0
- package/dist/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +1285 -0
- package/dist/bundles/b1a63a011fd92dfb93db6db243bb036c.woff2 +0 -0
- package/dist/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +260 -0
- package/dist/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +2205 -0
- package/dist/bundles/chart-event-hint.94e94e93f9fdee936b66.js +367 -0
- package/dist/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +228 -0
- package/dist/bundles/chart-widget-gui.226991e9f53aba124fc2.js +4265 -0
- package/dist/bundles/compare-model.0e6bbdc5f5942c9a716e.js +667 -0
- package/dist/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +432 -0
- package/dist/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +724 -0
- package/dist/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +440 -0
- package/dist/bundles/drawing-toolbar.8cc497633535648562e7.js +1814 -0
- package/dist/bundles/ed68e83c16f77203e73dbc4c3a7c7fa1.cur +0 -0
- package/dist/bundles/export-data.c819cfa996e2815ff11d.js +238 -0
- package/dist/bundles/f55394b616ed1ae9462c37daab941d93.png +0 -0
- package/dist/bundles/floating-toolbars.d78a058b82ab09013aac.js +2373 -0
- package/dist/bundles/full-tooltips-popup.96fc751e06523b742440.js +423 -0
- package/dist/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +656 -0
- package/dist/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +604 -0
- package/dist/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +2313 -0
- package/dist/bundles/hammerjs.e5489031ed611f47bf09.js +993 -0
- package/dist/bundles/header-toolbar.4bff61e047f9b8379494.js +1293 -0
- package/dist/bundles/library.579e6e3fd95b660ad833.css +1 -0
- package/dist/bundles/library.579e6e3fd95b660ad833.rtl.css +1 -0
- package/dist/bundles/library.8b0dd8732414a2bcbcb1.js +1 -0
- package/dist/bundles/line-tools-icons.090f39d92664af3915a5.js +349 -0
- package/dist/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +683 -0
- package/dist/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +573 -0
- package/dist/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +11748 -0
- package/dist/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +3491 -0
- package/dist/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +81 -0
- package/dist/bundles/moment.78e587a83a009ca48cda.js +2059 -0
- package/dist/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +305 -0
- package/dist/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +2953 -0
- package/dist/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +7693 -0
- package/dist/bundles/react.9f2899b40ad0e104f6c9.js +7156 -0
- package/dist/bundles/redux.43c3f6d214bcf2d1fbd1.js +1691 -0
- package/dist/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +3692 -0
- package/dist/bundles/runtime.dfe30490f666a6b5d4fe.js +654 -0
- package/dist/bundles/series-icons-map.ec8043f64d8b06dbce29.js +53 -0
- package/dist/bundles/series-pane-views.eefe35e1c508ac16c102.js +113 -0
- package/dist/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +44 -0
- package/dist/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +60 -0
- package/dist/bundles/simple-dialog.bd79f02afd512f0f36dd.js +919 -0
- package/dist/bundles/source-properties-editor.e858d44541ebb6f974a2.js +265 -0
- package/dist/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +1030 -0
- package/dist/bundles/study-pane-views.9a873dcf74adedf7600b.js +682 -0
- package/dist/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +502 -0
- package/dist/bundles/study-template-dialog.fe56a9893a3695e93531.js +1598 -0
- package/dist/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +642 -0
- package/dist/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +112 -0
- package/dist/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +153 -0
- package/dist/bundles/vendors.6f5e0d8d267cb3e63ee0.js +5316 -0
- package/dist/charting_library.cjs.js +499 -0
- package/dist/charting_library.d.ts +2087 -0
- package/dist/charting_library.esm.js +503 -0
- package/dist/charting_library.js +506 -0
- package/dist/charting_library.standalone.js +500 -0
- package/dist/cs-tv-chart.f0bc1e45.html +1 -0
- package/dist/da_DK-tv-chart.f0bc1e45.html +1 -0
- package/dist/datafeed-api.d.ts +274 -0
- package/dist/de-tv-chart.f0bc1e45.html +1 -0
- package/dist/el-tv-chart.f0bc1e45.html +1 -0
- package/dist/en-tv-chart.f0bc1e45.html +1 -0
- package/dist/es-tv-chart.f0bc1e45.html +1 -0
- package/dist/et_EE-tv-chart.f0bc1e45.html +1 -0
- package/dist/fa-tv-chart.f0bc1e45.html +1 -0
- package/dist/fr-tv-chart.f0bc1e45.html +1 -0
- package/dist/he_IL-tv-chart.f0bc1e45.html +1 -0
- package/dist/hu_HU-tv-chart.f0bc1e45.html +1 -0
- package/dist/id_ID-tv-chart.f0bc1e45.html +1 -0
- package/dist/it-tv-chart.f0bc1e45.html +1 -0
- package/dist/ja-tv-chart.f0bc1e45.html +1 -0
- package/dist/ko-tv-chart.f0bc1e45.html +1 -0
- package/dist/ms_MY-tv-chart.f0bc1e45.html +1 -0
- package/dist/nl_NL-tv-chart.f0bc1e45.html +1 -0
- package/dist/no-tv-chart.f0bc1e45.html +1 -0
- package/dist/package.json +8 -0
- package/dist/pl-tv-chart.f0bc1e45.html +1 -0
- package/dist/pt-tv-chart.f0bc1e45.html +1 -0
- package/dist/ro-tv-chart.f0bc1e45.html +1 -0
- package/dist/ru-tv-chart.f0bc1e45.html +1 -0
- package/dist/sk_SK-tv-chart.f0bc1e45.html +1 -0
- package/dist/sv-tv-chart.f0bc1e45.html +1 -0
- package/dist/th-tv-chart.f0bc1e45.html +1 -0
- package/dist/tr-tv-chart.f0bc1e45.html +1 -0
- package/dist/vi-tv-chart.f0bc1e45.html +1 -0
- package/dist/zh-tv-chart.f0bc1e45.html +1 -0
- package/dist/zh_TW-tv-chart.f0bc1e45.html +1 -0
- package/package.json +10 -6
- package/src/App.jsx +2 -2
- package/src/components/TVChartContainer.jsx +17 -30
- package/src/components/datafeed.js +201 -0
- package/src/components/helpers.js +32 -0
- package/src/components/streaming.js +136 -0
- package/copy_charting_library_files.sh +0 -30
- package/public/charting_library/yarn.lock +0 -4
- package/src/charting_library/yarn.lock +0 -4
|
@@ -0,0 +1,2731 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.regexp.constructor.js");
|
|
4
|
+
|
|
5
|
+
require("core-js/modules/es.regexp.exec.js");
|
|
6
|
+
|
|
7
|
+
require("core-js/modules/es.regexp.to-string.js");
|
|
8
|
+
|
|
9
|
+
require("core-js/modules/es.string.replace.js");
|
|
10
|
+
|
|
11
|
+
require("core-js/modules/es.number.to-fixed.js");
|
|
12
|
+
|
|
13
|
+
require("core-js/modules/es.string.split.js");
|
|
14
|
+
|
|
15
|
+
require("core-js/modules/es.promise.js");
|
|
16
|
+
|
|
17
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
18
|
+
|
|
19
|
+
require("core-js/modules/es.array.reduce.js");
|
|
20
|
+
|
|
21
|
+
require("core-js/modules/es.regexp.test.js");
|
|
22
|
+
|
|
23
|
+
require("core-js/modules/es.symbol.description.js");
|
|
24
|
+
|
|
25
|
+
require("core-js/modules/es.array.includes.js");
|
|
26
|
+
|
|
27
|
+
require("core-js/modules/es.string.includes.js");
|
|
28
|
+
|
|
29
|
+
require("core-js/modules/es.string.trim.js");
|
|
30
|
+
|
|
31
|
+
require("core-js/modules/es.string.search.js");
|
|
32
|
+
|
|
33
|
+
require("core-js/modules/es.array.sort.js");
|
|
34
|
+
|
|
35
|
+
const _excluded = ["icon", "isActive", "isOpened", "isDisabled", "isGrouped", "isHovered", "onClick", "text", "textBeforeIcon", "title", "theme", "className", "forceInteractive", "data-name"],
|
|
36
|
+
_excluded2 = ["id", "title", "tabIndex", "role", "contentClassName", "children", "onClick", "onMouseDown"];
|
|
37
|
+
|
|
38
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
39
|
+
|
|
40
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
41
|
+
|
|
42
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
43
|
+
|
|
44
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
45
|
+
|
|
46
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
47
|
+
|
|
48
|
+
(window.webpackJsonp = window.webpackJsonp || []).push([[25], {
|
|
49
|
+
"+5L9": function L9(e, t) {
|
|
50
|
+
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>';
|
|
51
|
+
},
|
|
52
|
+
"1pWb": function pWb(e, t, n) {
|
|
53
|
+
"use strict";
|
|
54
|
+
|
|
55
|
+
function r(e) {
|
|
56
|
+
return !1;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
n.d(t, "b", function () {
|
|
60
|
+
return r;
|
|
61
|
+
}), n.d(t, "a", function () {
|
|
62
|
+
return "###";
|
|
63
|
+
});
|
|
64
|
+
},
|
|
65
|
+
"2gjO": function gjO(e, t, n) {
|
|
66
|
+
e.exports = {
|
|
67
|
+
wrap: "wrap-1LtT-c03",
|
|
68
|
+
item: "item-1LtT-c03",
|
|
69
|
+
small: "small-1LtT-c03",
|
|
70
|
+
text: "text-1LtT-c03",
|
|
71
|
+
exchange: "exchange-1LtT-c03"
|
|
72
|
+
};
|
|
73
|
+
},
|
|
74
|
+
"6rj1": function rj1(e, t) {
|
|
75
|
+
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>';
|
|
76
|
+
},
|
|
77
|
+
"8q1k": function q1k(e, t) {
|
|
78
|
+
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>';
|
|
79
|
+
},
|
|
80
|
+
"952j": function j(e, t, n) {
|
|
81
|
+
"use strict";
|
|
82
|
+
|
|
83
|
+
n.d(t, "a", function () {
|
|
84
|
+
return c;
|
|
85
|
+
}), n.d(t, "b", function () {
|
|
86
|
+
return l;
|
|
87
|
+
});
|
|
88
|
+
var r = n("Kxc7"),
|
|
89
|
+
a = n("1pWb");
|
|
90
|
+
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_!|:.&])*|'.+?'/,
|
|
91
|
+
c = /[+\-/*]/,
|
|
92
|
+
s = {
|
|
93
|
+
number: /\d+(?:\.\d*|(?![a-zA-Z0-9_!:.&]))|\.\d+/,
|
|
94
|
+
incompleteNumber: /\./,
|
|
95
|
+
symbol: o,
|
|
96
|
+
incompleteSymbol: /'[^']*/,
|
|
97
|
+
separatorPrefix: a.a,
|
|
98
|
+
openBrace: "(",
|
|
99
|
+
closeBrace: ")",
|
|
100
|
+
plus: "+",
|
|
101
|
+
minus: "-",
|
|
102
|
+
multiply: "*",
|
|
103
|
+
divide: "/",
|
|
104
|
+
power: "^",
|
|
105
|
+
whitespace: /[\0-\x20\s]+/,
|
|
106
|
+
unparsed: null
|
|
107
|
+
},
|
|
108
|
+
i = new RegExp(Object.values(s).map(e => {
|
|
109
|
+
return null === e ? "" : "(".concat("string" == typeof e ? (t = e, t.replace(/[\^$()[\]{}*+?|\\]/g, "\\$&")) : e.source, ")");
|
|
110
|
+
var t;
|
|
111
|
+
}).filter(e => "" !== e).concat(".").join("|"), "g");
|
|
112
|
+
|
|
113
|
+
function l(e) {
|
|
114
|
+
if (!e) return [];
|
|
115
|
+
const t = [],
|
|
116
|
+
n = Object.keys(s);
|
|
117
|
+
let r;
|
|
118
|
+
|
|
119
|
+
for (; r = i.exec(e);) {
|
|
120
|
+
let e = !1;
|
|
121
|
+
|
|
122
|
+
for (let a = n.length; a--;) if (r[a + 1]) {
|
|
123
|
+
n[a] && t.push({
|
|
124
|
+
value: r[a + 1],
|
|
125
|
+
type: n[a],
|
|
126
|
+
precedence: 0,
|
|
127
|
+
offset: r.index
|
|
128
|
+
}), e = !0;
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
e || t.push({
|
|
133
|
+
value: r[0],
|
|
134
|
+
type: "unparsed",
|
|
135
|
+
precedence: 0,
|
|
136
|
+
offset: r.index
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
return t;
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
CJov: function CJov(e, t, n) {
|
|
144
|
+
"use strict";
|
|
145
|
+
|
|
146
|
+
n.d(t, "a", function () {
|
|
147
|
+
return a;
|
|
148
|
+
});
|
|
149
|
+
var r = n("q1tI");
|
|
150
|
+
const a = n.n(r).a.createContext(null);
|
|
151
|
+
},
|
|
152
|
+
EBrf: function EBrf(e, t, n) {
|
|
153
|
+
"use strict";
|
|
154
|
+
|
|
155
|
+
n.r(t), n.d(t, "splitThousands", function () {
|
|
156
|
+
return a;
|
|
157
|
+
});
|
|
158
|
+
var r = n("ivNn");
|
|
159
|
+
|
|
160
|
+
function a(e) {
|
|
161
|
+
let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : " ";
|
|
162
|
+
let n = e + "";
|
|
163
|
+
-1 !== n.indexOf("e") && (n = function (e) {
|
|
164
|
+
return Object(r.fixComputationError)(e).toFixed(10).replace(/\.?0+$/, "");
|
|
165
|
+
}(Number(e)));
|
|
166
|
+
const a = n.split(".");
|
|
167
|
+
return a[0].replace(/\B(?=(\d{3})+(?!\d))/g, t) + (a[1] ? "." + a[1] : "");
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
FadI: function FadI(e, t, n) {
|
|
171
|
+
"use strict";
|
|
172
|
+
|
|
173
|
+
function r(e) {
|
|
174
|
+
if (!c(e)) throw e;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
function a(e) {
|
|
178
|
+
return (null == e ? void 0 : e.aborted) ? Promise.reject(o()) : new Promise((t, n) => {
|
|
179
|
+
null == e || e.addEventListener("abort", () => n(o()), {
|
|
180
|
+
once: !0
|
|
181
|
+
});
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
function o() {
|
|
186
|
+
return new DOMException("Aborted", "AbortError");
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
function c(e) {
|
|
190
|
+
return e instanceof Error && "AbortError" === e.name;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
function s(e, t) {
|
|
194
|
+
return Promise.race([a(e), t]);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
async function i(e, t) {
|
|
198
|
+
let n;
|
|
199
|
+
|
|
200
|
+
try {
|
|
201
|
+
await s(e, new Promise(e => {
|
|
202
|
+
n = setTimeout(e, t);
|
|
203
|
+
}));
|
|
204
|
+
} finally {
|
|
205
|
+
clearTimeout(n);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
n.d(t, "c", function () {
|
|
210
|
+
return r;
|
|
211
|
+
}), n.d(t, "b", function () {
|
|
212
|
+
return s;
|
|
213
|
+
}), n.d(t, "a", function () {
|
|
214
|
+
return i;
|
|
215
|
+
});
|
|
216
|
+
},
|
|
217
|
+
G4pG: function G4pG(e, t, n) {
|
|
218
|
+
e.exports = {
|
|
219
|
+
flagWrap: "flagWrap-1Xy6iEIs",
|
|
220
|
+
icon: "icon-1Xy6iEIs",
|
|
221
|
+
caret: "caret-1Xy6iEIs",
|
|
222
|
+
title: "title-1Xy6iEIs"
|
|
223
|
+
};
|
|
224
|
+
},
|
|
225
|
+
GWR5: function GWR5(e, t, n) {
|
|
226
|
+
e.exports = {
|
|
227
|
+
wrap: "wrap-2TpXRNRX",
|
|
228
|
+
libAllExchange: "libAllExchange-2TpXRNRX",
|
|
229
|
+
container: "container-2TpXRNRX",
|
|
230
|
+
iconWrap: "iconWrap-2TpXRNRX",
|
|
231
|
+
icon: "icon-2TpXRNRX",
|
|
232
|
+
title: "title-2TpXRNRX",
|
|
233
|
+
highlighted: "highlighted-2TpXRNRX",
|
|
234
|
+
description: "description-2TpXRNRX",
|
|
235
|
+
mobile: "mobile-2TpXRNRX",
|
|
236
|
+
allExchange: "allExchange-2TpXRNRX",
|
|
237
|
+
desktop: "desktop-2TpXRNRX",
|
|
238
|
+
allExchangesIcon: "allExchangesIcon-2TpXRNRX",
|
|
239
|
+
selected: "selected-2TpXRNRX",
|
|
240
|
+
titleWithoutDesc: "titleWithoutDesc-2TpXRNRX",
|
|
241
|
+
textBlock: "textBlock-2TpXRNRX",
|
|
242
|
+
bordered: "bordered-2TpXRNRX"
|
|
243
|
+
};
|
|
244
|
+
},
|
|
245
|
+
Gtzb: function Gtzb(e, t, n) {
|
|
246
|
+
"use strict";
|
|
247
|
+
|
|
248
|
+
n.d(t, "a", function () {
|
|
249
|
+
return r;
|
|
250
|
+
}), n.d(t, "b", function () {
|
|
251
|
+
return a;
|
|
252
|
+
});
|
|
253
|
+
|
|
254
|
+
class r {
|
|
255
|
+
constructor() {
|
|
256
|
+
this._storage = new Map();
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
setAsOpened(e, t) {
|
|
260
|
+
this._storage.set(e, t);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
setAsClosed(e) {
|
|
264
|
+
this._storage.delete(e);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
isOpened(e) {
|
|
268
|
+
return this._storage.has(e);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
getDialogPayload(e) {
|
|
272
|
+
return this._storage.get(e);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
const a = new r();
|
|
278
|
+
},
|
|
279
|
+
Iruf: function Iruf(e, t, n) {
|
|
280
|
+
e.exports = {
|
|
281
|
+
container: "container-oVVv2l_M",
|
|
282
|
+
contentList: "contentList-oVVv2l_M",
|
|
283
|
+
contentListDesktop: "contentListDesktop-oVVv2l_M",
|
|
284
|
+
exchangeItemsContainer: "exchangeItemsContainer-oVVv2l_M",
|
|
285
|
+
exchangeItemsContainerDesktop: "exchangeItemsContainerDesktop-oVVv2l_M",
|
|
286
|
+
groupTitleDesktop: "groupTitleDesktop-oVVv2l_M",
|
|
287
|
+
emptyText: "emptyText-oVVv2l_M",
|
|
288
|
+
noResultsDesktop: "noResultsDesktop-oVVv2l_M"
|
|
289
|
+
};
|
|
290
|
+
},
|
|
291
|
+
"ML8+": function ML8(e, t, n) {
|
|
292
|
+
"use strict";
|
|
293
|
+
|
|
294
|
+
n.d(t, "a", function () {
|
|
295
|
+
return i;
|
|
296
|
+
});
|
|
297
|
+
var r = n("q1tI"),
|
|
298
|
+
a = n("TSYQ"),
|
|
299
|
+
o = n("Iivm"),
|
|
300
|
+
c = n("cvzQ"),
|
|
301
|
+
s = n("R4+T");
|
|
302
|
+
|
|
303
|
+
function i(e) {
|
|
304
|
+
const {
|
|
305
|
+
dropped: t,
|
|
306
|
+
className: n
|
|
307
|
+
} = e;
|
|
308
|
+
return r.createElement(o.a, {
|
|
309
|
+
className: a(n, c.icon, {
|
|
310
|
+
[c.dropped]: t
|
|
311
|
+
}),
|
|
312
|
+
icon: s
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
OWoh: function OWoh(e, t) {
|
|
317
|
+
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>';
|
|
318
|
+
},
|
|
319
|
+
OoQL: function OoQL(e, t, n) {
|
|
320
|
+
"use strict";
|
|
321
|
+
|
|
322
|
+
n.d(t, "a", function () {
|
|
323
|
+
return o;
|
|
324
|
+
});
|
|
325
|
+
var r = n("q1tI"),
|
|
326
|
+
a = n("Eyy1");
|
|
327
|
+
|
|
328
|
+
function o(e) {
|
|
329
|
+
return Object(a.ensureNotNull)(Object(r.useContext)(e));
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
Pdm7: function Pdm7(e, t, n) {
|
|
333
|
+
e.exports = {
|
|
334
|
+
actions: "actions-3cho5KDh",
|
|
335
|
+
actionButton: "actionButton-3cho5KDh"
|
|
336
|
+
};
|
|
337
|
+
},
|
|
338
|
+
"R4+T": function R4T(e, t) {
|
|
339
|
+
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>';
|
|
340
|
+
},
|
|
341
|
+
SAe1: function SAe1(e, t, n) {
|
|
342
|
+
"use strict";
|
|
343
|
+
|
|
344
|
+
n.d(t, "a", function () {
|
|
345
|
+
return c;
|
|
346
|
+
});
|
|
347
|
+
var r = n("q1tI"),
|
|
348
|
+
a = n("rzV7"),
|
|
349
|
+
o = n.n(a);
|
|
350
|
+
|
|
351
|
+
class c extends r.Component {
|
|
352
|
+
constructor(e) {
|
|
353
|
+
super(e), this._handleMediaChange = () => {
|
|
354
|
+
const e = i(this.state.queries, (e, t) => t.matches);
|
|
355
|
+
let t = !1;
|
|
356
|
+
|
|
357
|
+
for (const n in e) if (e.hasOwnProperty(n) && this.state.matches[n] !== e[n]) {
|
|
358
|
+
t = !0;
|
|
359
|
+
break;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
t && this.setState({
|
|
363
|
+
matches: e
|
|
364
|
+
});
|
|
365
|
+
};
|
|
366
|
+
const {
|
|
367
|
+
rules: t
|
|
368
|
+
} = this.props;
|
|
369
|
+
this.state = s(t);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
shouldComponentUpdate(e, t) {
|
|
373
|
+
return !o()(e, this.props) || !o()(t.rules, this.state.rules) || !o()(t.matches, this.state.matches);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
componentDidMount() {
|
|
377
|
+
this._migrate(null, this.state.queries);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
componentDidUpdate(e, t) {
|
|
381
|
+
o()(e.rules, this.props.rules) || this._migrate(t.queries, this.state.queries);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
componentWillUnmount() {
|
|
385
|
+
this._migrate(this.state.queries, null);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
render() {
|
|
389
|
+
return this.props.children(this.state.matches);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
static getDerivedStateFromProps(e, t) {
|
|
393
|
+
if (o()(e.rules, t.rules)) return null;
|
|
394
|
+
const {
|
|
395
|
+
rules: n
|
|
396
|
+
} = e;
|
|
397
|
+
return s(n);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
_migrate(e, t) {
|
|
401
|
+
null !== e && i(e, (e, t) => {
|
|
402
|
+
t.removeListener(this._handleMediaChange);
|
|
403
|
+
}), null !== t && i(t, (e, t) => {
|
|
404
|
+
t.addListener(this._handleMediaChange);
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
function s(e) {
|
|
411
|
+
const t = i(e, (e, t) => window.matchMedia(t));
|
|
412
|
+
return {
|
|
413
|
+
queries: t,
|
|
414
|
+
matches: i(t, (e, t) => t.matches),
|
|
415
|
+
rules: _objectSpread({}, e)
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
function i(e, t) {
|
|
420
|
+
const n = {};
|
|
421
|
+
|
|
422
|
+
for (const r in e) e.hasOwnProperty(r) && (n[r] = t(r, e[r]));
|
|
423
|
+
|
|
424
|
+
return n;
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
TgrR: function TgrR(e, t, n) {
|
|
428
|
+
"use strict";
|
|
429
|
+
|
|
430
|
+
function r(e) {
|
|
431
|
+
if (e.fullName) return e.fullName;
|
|
432
|
+
let t;
|
|
433
|
+
return t = e.prefix || e.exchange ? (e.prefix || e.exchange) + ":" + e.name : e.name, t.replace(/<\/?[^>]+(>|$)/g, "");
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
function a(e) {
|
|
437
|
+
return "" === e.value;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
function o() {
|
|
441
|
+
const e = s();
|
|
442
|
+
return e.find(a) || e[0] || null;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
function c() {
|
|
446
|
+
return s();
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
function s() {
|
|
450
|
+
return window.ChartApiInstance.supportedExchangesList().map(e => _objectSpread(_objectSpread({}, e), {}, {
|
|
451
|
+
country: "",
|
|
452
|
+
providerId: "",
|
|
453
|
+
flag: ""
|
|
454
|
+
}));
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
function i() {
|
|
458
|
+
return window.ChartApiInstance.supportedSymbolsTypes();
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
function l() {
|
|
462
|
+
return "";
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
function u() {
|
|
466
|
+
return !1;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
n.d(t, "f", function () {
|
|
470
|
+
return r;
|
|
471
|
+
}), n.d(t, "g", function () {
|
|
472
|
+
return a;
|
|
473
|
+
}), n.d(t, "e", function () {
|
|
474
|
+
return o;
|
|
475
|
+
}), n.d(t, "c", function () {
|
|
476
|
+
return c;
|
|
477
|
+
}), n.d(t, "d", function () {
|
|
478
|
+
return i;
|
|
479
|
+
}), n.d(t, "b", function () {
|
|
480
|
+
return l;
|
|
481
|
+
}), n.d(t, "a", function () {
|
|
482
|
+
return u;
|
|
483
|
+
});
|
|
484
|
+
},
|
|
485
|
+
U0JK: function U0JK(e, t) {
|
|
486
|
+
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>';
|
|
487
|
+
},
|
|
488
|
+
UEVQ: function UEVQ(e, t, n) {
|
|
489
|
+
e.exports = {
|
|
490
|
+
bubbles: "bubbles-1cEBkyVM",
|
|
491
|
+
multiLine: "multiLine-1cEBkyVM",
|
|
492
|
+
bubble: "bubble-1cEBkyVM"
|
|
493
|
+
};
|
|
494
|
+
},
|
|
495
|
+
UN6M: function UN6M(e, t, n) {
|
|
496
|
+
e.exports = {
|
|
497
|
+
childrenWrapper: "childrenWrapper-th__KurO",
|
|
498
|
+
container: "container-th__KurO"
|
|
499
|
+
};
|
|
500
|
+
},
|
|
501
|
+
VogD: function VogD(e, t, n) {
|
|
502
|
+
"use strict";
|
|
503
|
+
|
|
504
|
+
n.d(t, "a", function () {
|
|
505
|
+
return a;
|
|
506
|
+
});
|
|
507
|
+
var r = n("q1tI");
|
|
508
|
+
const a = n.n(r).a.createContext(null);
|
|
509
|
+
},
|
|
510
|
+
XDHQ: function XDHQ(e, t) {
|
|
511
|
+
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>';
|
|
512
|
+
},
|
|
513
|
+
Y8Rb: function Y8Rb(e, t) {
|
|
514
|
+
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>';
|
|
515
|
+
},
|
|
516
|
+
ZrzP: function ZrzP(e, t) {
|
|
517
|
+
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>';
|
|
518
|
+
},
|
|
519
|
+
anmh: function anmh(e, t) {
|
|
520
|
+
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>';
|
|
521
|
+
},
|
|
522
|
+
bQ7Y: function bQ7Y(e, t, n) {
|
|
523
|
+
e.exports = {
|
|
524
|
+
button: "button-2Vpz_LXc",
|
|
525
|
+
hover: "hover-2Vpz_LXc",
|
|
526
|
+
isInteractive: "isInteractive-2Vpz_LXc",
|
|
527
|
+
isGrouped: "isGrouped-2Vpz_LXc",
|
|
528
|
+
isActive: "isActive-2Vpz_LXc",
|
|
529
|
+
isOpened: "isOpened-2Vpz_LXc",
|
|
530
|
+
isDisabled: "isDisabled-2Vpz_LXc",
|
|
531
|
+
text: "text-2Vpz_LXc",
|
|
532
|
+
icon: "icon-2Vpz_LXc"
|
|
533
|
+
};
|
|
534
|
+
},
|
|
535
|
+
cvzQ: function cvzQ(e, t, n) {
|
|
536
|
+
e.exports = {
|
|
537
|
+
icon: "icon-19OjtB6A",
|
|
538
|
+
dropped: "dropped-19OjtB6A"
|
|
539
|
+
};
|
|
540
|
+
},
|
|
541
|
+
eIOu: function eIOu(e, t, n) {
|
|
542
|
+
e.exports = {
|
|
543
|
+
"tablet-small-breakpoint": "screen and (max-width: 428px)",
|
|
544
|
+
itemRow: "itemRow-ZzQNZGNo",
|
|
545
|
+
multiLine: "multiLine-ZzQNZGNo",
|
|
546
|
+
cell: "cell-ZzQNZGNo",
|
|
547
|
+
itemInfoCell: "itemInfoCell-ZzQNZGNo",
|
|
548
|
+
description: "description-ZzQNZGNo",
|
|
549
|
+
symbolDescription: "symbolDescription-ZzQNZGNo",
|
|
550
|
+
flag: "flag-ZzQNZGNo",
|
|
551
|
+
exchangeDescription: "exchangeDescription-ZzQNZGNo",
|
|
552
|
+
marketType: "marketType-ZzQNZGNo",
|
|
553
|
+
exchangeName: "exchangeName-ZzQNZGNo",
|
|
554
|
+
expandHandleWrap: "expandHandleWrap-ZzQNZGNo",
|
|
555
|
+
expandHandle: "expandHandle-ZzQNZGNo",
|
|
556
|
+
hover: "hover-ZzQNZGNo",
|
|
557
|
+
selected: "selected-ZzQNZGNo",
|
|
558
|
+
active: "active-ZzQNZGNo",
|
|
559
|
+
highlighted: "highlighted-ZzQNZGNo",
|
|
560
|
+
light: "light-ZzQNZGNo",
|
|
561
|
+
"highlight-animation-theme-light": "highlight-animation-theme-light-ZzQNZGNo",
|
|
562
|
+
dark: "dark-ZzQNZGNo",
|
|
563
|
+
"highlight-animation-theme-dark": "highlight-animation-theme-dark-ZzQNZGNo",
|
|
564
|
+
offset: "offset-ZzQNZGNo",
|
|
565
|
+
exchangeCell: "exchangeCell-ZzQNZGNo",
|
|
566
|
+
expanded: "expanded-ZzQNZGNo",
|
|
567
|
+
symbolTitle: "symbolTitle-ZzQNZGNo",
|
|
568
|
+
invalid: "invalid-ZzQNZGNo",
|
|
569
|
+
noDescription: "noDescription-ZzQNZGNo",
|
|
570
|
+
highlightedText: "highlightedText-ZzQNZGNo",
|
|
571
|
+
icon: "icon-ZzQNZGNo",
|
|
572
|
+
dataMode: "dataMode-ZzQNZGNo",
|
|
573
|
+
actionsCell: "actionsCell-ZzQNZGNo",
|
|
574
|
+
action: "action-ZzQNZGNo",
|
|
575
|
+
targetAction: "targetAction-ZzQNZGNo",
|
|
576
|
+
removeAction: "removeAction-ZzQNZGNo",
|
|
577
|
+
addAction: "addAction-ZzQNZGNo"
|
|
578
|
+
};
|
|
579
|
+
},
|
|
580
|
+
gla1: function gla1(e, t, n) {
|
|
581
|
+
"use strict";
|
|
582
|
+
|
|
583
|
+
n.d(t, "a", function () {
|
|
584
|
+
return a;
|
|
585
|
+
});
|
|
586
|
+
var r = n("q1tI");
|
|
587
|
+
|
|
588
|
+
const a = () => {
|
|
589
|
+
const [, e] = Object(r.useReducer)((e, t) => e + 1, 0);
|
|
590
|
+
return e;
|
|
591
|
+
};
|
|
592
|
+
},
|
|
593
|
+
"h9B/": function h9B(e, t, n) {
|
|
594
|
+
e.exports = {
|
|
595
|
+
wrap: "wrap-2WiKHt6t",
|
|
596
|
+
watchlist: "watchlist-2WiKHt6t",
|
|
597
|
+
noFeed: "noFeed-2WiKHt6t",
|
|
598
|
+
scrollContainer: "scrollContainer-2WiKHt6t",
|
|
599
|
+
listContainer: "listContainer-2WiKHt6t",
|
|
600
|
+
multiLineItemsContainer: "multiLineItemsContainer-2WiKHt6t"
|
|
601
|
+
};
|
|
602
|
+
},
|
|
603
|
+
hYF9: function hYF9(e, t, n) {
|
|
604
|
+
e.exports = {
|
|
605
|
+
button: "button-P2GOgq9R",
|
|
606
|
+
desktop: "desktop-P2GOgq9R"
|
|
607
|
+
};
|
|
608
|
+
},
|
|
609
|
+
jPOK: function jPOK(e, t, n) {
|
|
610
|
+
"use strict";
|
|
611
|
+
|
|
612
|
+
n.d(t, "a", function () {
|
|
613
|
+
return c;
|
|
614
|
+
});
|
|
615
|
+
var r = n("q1tI"),
|
|
616
|
+
a = n("TSYQ"),
|
|
617
|
+
o = n("Owlf");
|
|
618
|
+
n("SzKR");
|
|
619
|
+
|
|
620
|
+
function c(e) {
|
|
621
|
+
const t = a("tv-spinner", "tv-spinner--shown", "tv-spinner--size_" + (e.size || o.a));
|
|
622
|
+
return r.createElement("div", {
|
|
623
|
+
className: t,
|
|
624
|
+
style: e.style,
|
|
625
|
+
role: "progressbar"
|
|
626
|
+
}, r.createElement("div", {
|
|
627
|
+
className: "tv-spinner__spinner-layer"
|
|
628
|
+
}, r.createElement("div", {
|
|
629
|
+
className: "tv-spinner__background tv-spinner__width_element"
|
|
630
|
+
}), r.createElement("div", {
|
|
631
|
+
className: "tv-spinner__circle-clipper tv-spinner__width_element tv-spinner__circle-clipper--left"
|
|
632
|
+
}), r.createElement("div", {
|
|
633
|
+
className: "tv-spinner__circle-clipper tv-spinner__width_element tv-spinner__circle-clipper--right"
|
|
634
|
+
})));
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
ki38: function ki38(e, t, n) {
|
|
638
|
+
"use strict";
|
|
639
|
+
|
|
640
|
+
n.d(t, "a", function () {
|
|
641
|
+
return a;
|
|
642
|
+
});
|
|
643
|
+
var r = n("q1tI");
|
|
644
|
+
const a = n.n(r).a.createContext(null);
|
|
645
|
+
},
|
|
646
|
+
mHCH: function mHCH(e, t, n) {
|
|
647
|
+
e.exports = {
|
|
648
|
+
bubble: "bubble-3MTPKAgt",
|
|
649
|
+
animated: "animated-3MTPKAgt",
|
|
650
|
+
content: "content-3MTPKAgt",
|
|
651
|
+
"appearance-default": "appearance-default-3MTPKAgt",
|
|
652
|
+
active: "active-3MTPKAgt",
|
|
653
|
+
red: "red-3MTPKAgt",
|
|
654
|
+
blue: "blue-3MTPKAgt",
|
|
655
|
+
green: "green-3MTPKAgt",
|
|
656
|
+
orange: "orange-3MTPKAgt",
|
|
657
|
+
purple: "purple-3MTPKAgt",
|
|
658
|
+
cyan: "cyan-3MTPKAgt",
|
|
659
|
+
pink: "pink-3MTPKAgt",
|
|
660
|
+
"appearance-text": "appearance-text-3MTPKAgt",
|
|
661
|
+
"size-m": "size-m-3MTPKAgt",
|
|
662
|
+
"size-l": "size-l-3MTPKAgt"
|
|
663
|
+
};
|
|
664
|
+
},
|
|
665
|
+
mdyz: function mdyz(e, t, n) {
|
|
666
|
+
e.exports = {
|
|
667
|
+
search: "search-Hsmn_0WX",
|
|
668
|
+
upperCase: "upperCase-Hsmn_0WX",
|
|
669
|
+
symbolType: "symbolType-Hsmn_0WX",
|
|
670
|
+
spinnerWrap: "spinnerWrap-Hsmn_0WX",
|
|
671
|
+
emptyText: "emptyText-Hsmn_0WX",
|
|
672
|
+
noResultsDesktop: "noResultsDesktop-Hsmn_0WX",
|
|
673
|
+
brokerCheckboxWrap: "brokerCheckboxWrap-Hsmn_0WX"
|
|
674
|
+
};
|
|
675
|
+
},
|
|
676
|
+
ozXl: function ozXl(e, t, n) {
|
|
677
|
+
e.exports = {
|
|
678
|
+
dialog: "dialog-1LLxyYSM",
|
|
679
|
+
tabletDialog: "tabletDialog-1LLxyYSM",
|
|
680
|
+
desktopDialog: "desktopDialog-1LLxyYSM"
|
|
681
|
+
};
|
|
682
|
+
},
|
|
683
|
+
p04v: function p04v(e, t, n) {
|
|
684
|
+
"use strict";
|
|
685
|
+
|
|
686
|
+
n.d(t, "a", function () {
|
|
687
|
+
return u;
|
|
688
|
+
});
|
|
689
|
+
var r = n("q1tI"),
|
|
690
|
+
a = n.n(r),
|
|
691
|
+
o = n("i8i4"),
|
|
692
|
+
c = n("+EG+"),
|
|
693
|
+
s = n("CJov"),
|
|
694
|
+
i = n("Gtzb"),
|
|
695
|
+
l = n("uTDg");
|
|
696
|
+
|
|
697
|
+
function u(e) {
|
|
698
|
+
const {
|
|
699
|
+
initialMode: t = "symbolSearch",
|
|
700
|
+
autofocus: n = !0,
|
|
701
|
+
defaultValue: r,
|
|
702
|
+
showSpreadActions: u,
|
|
703
|
+
selectSearchOnInit: d,
|
|
704
|
+
onSearchComplete: p,
|
|
705
|
+
onSearchFeedReady: m,
|
|
706
|
+
dialogTitle: f,
|
|
707
|
+
placeholder: h,
|
|
708
|
+
fullscreen: b,
|
|
709
|
+
initialScreen: v,
|
|
710
|
+
wrapper: g,
|
|
711
|
+
dialog: y,
|
|
712
|
+
contentItem: E,
|
|
713
|
+
onClose: x,
|
|
714
|
+
footer: O,
|
|
715
|
+
symbolTypes: k,
|
|
716
|
+
searchInput: N,
|
|
717
|
+
emptyState: w,
|
|
718
|
+
dialogWidth: S = "auto",
|
|
719
|
+
manager: C
|
|
720
|
+
} = e;
|
|
721
|
+
if (i.b.isOpened("SymbolSearch") || i.b.isOpened("ChangeIntervalDialog")) return;
|
|
722
|
+
const T = document.createElement("div"),
|
|
723
|
+
j = a.a.createElement(c.b.Provider, {
|
|
724
|
+
value: null != C ? C : null
|
|
725
|
+
}, a.a.createElement(s.a.Provider, {
|
|
726
|
+
value: null
|
|
727
|
+
}, a.a.createElement(l.a, {
|
|
728
|
+
onClose: I,
|
|
729
|
+
initialMode: t,
|
|
730
|
+
defaultValue: r,
|
|
731
|
+
showSpreadActions: u,
|
|
732
|
+
onSearchFeedReady: m,
|
|
733
|
+
selectSearchOnInit: d,
|
|
734
|
+
onSearchComplete: p,
|
|
735
|
+
dialogTitle: f,
|
|
736
|
+
placeholder: h,
|
|
737
|
+
fullscreen: b,
|
|
738
|
+
initialScreen: v,
|
|
739
|
+
wrapper: g,
|
|
740
|
+
dialog: y,
|
|
741
|
+
contentItem: E,
|
|
742
|
+
footer: O,
|
|
743
|
+
symbolTypes: k,
|
|
744
|
+
searchInput: N,
|
|
745
|
+
emptyState: w,
|
|
746
|
+
autofocus: n,
|
|
747
|
+
dialogWidth: S
|
|
748
|
+
})));
|
|
749
|
+
|
|
750
|
+
function I() {
|
|
751
|
+
o.unmountComponentAtNode(T), i.b.setAsClosed("SymbolSearch"), x && x();
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
return o.render(j, T), i.b.setAsOpened("SymbolSearch"), {
|
|
755
|
+
close: I
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
poJS: function poJS(e, t) {
|
|
760
|
+
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>';
|
|
761
|
+
},
|
|
762
|
+
qC62: function qC62(e, t, n) {
|
|
763
|
+
"use strict";
|
|
764
|
+
|
|
765
|
+
n.d(t, "b", function () {
|
|
766
|
+
return c;
|
|
767
|
+
}), n.d(t, "a", function () {
|
|
768
|
+
return r;
|
|
769
|
+
});
|
|
770
|
+
var r,
|
|
771
|
+
a = n("Eyy1"),
|
|
772
|
+
o = n("Kxc7");
|
|
773
|
+
n("TgrR");
|
|
774
|
+
|
|
775
|
+
function c(e) {
|
|
776
|
+
return e;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
!function (e) {
|
|
780
|
+
function t(e) {
|
|
781
|
+
return e.pro_name;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
function n(e) {
|
|
785
|
+
{
|
|
786
|
+
const t = o.enabled("pay_attention_to_ticker_not_symbol") ? e.ticker : e.full_name;
|
|
787
|
+
return Object(a.ensureDefined)(t);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
e.fromQuotesResponse = function (e) {
|
|
792
|
+
const {
|
|
793
|
+
values: n,
|
|
794
|
+
symbolname: r,
|
|
795
|
+
status: a
|
|
796
|
+
} = e;
|
|
797
|
+
return "error" === a && r ? r : t(n);
|
|
798
|
+
}, e.fromQuotes = t, e.fromSymbolSearchResult = function (e, t) {
|
|
799
|
+
{
|
|
800
|
+
const {
|
|
801
|
+
ticker: n,
|
|
802
|
+
full_name: r
|
|
803
|
+
} = null != t ? t : e;
|
|
804
|
+
return o.enabled("pay_attention_to_ticker_not_symbol") ? Object(a.ensureDefined)(null != n ? n : r) : Object(a.ensureDefined)(r);
|
|
805
|
+
}
|
|
806
|
+
}, e.fromSymbolInfo = n, e.fromSymbolMessage = function (e, t) {
|
|
807
|
+
return "symbol_resolved" === t.method ? n(t.params[1]) : e;
|
|
808
|
+
};
|
|
809
|
+
}(r || (r = {}));
|
|
810
|
+
},
|
|
811
|
+
"rC+j": function rCJ(e, t, n) {
|
|
812
|
+
"use strict";
|
|
813
|
+
|
|
814
|
+
n.d(t, "h", function () {
|
|
815
|
+
return c;
|
|
816
|
+
}), n.d(t, "a", function () {
|
|
817
|
+
return s;
|
|
818
|
+
}), n.d(t, "g", function () {
|
|
819
|
+
return i;
|
|
820
|
+
}), n.d(t, "e", function () {
|
|
821
|
+
return u;
|
|
822
|
+
}), n.d(t, "f", function () {
|
|
823
|
+
return p;
|
|
824
|
+
}), n.d(t, "c", function () {
|
|
825
|
+
return m;
|
|
826
|
+
}), n.d(t, "d", function () {
|
|
827
|
+
return h;
|
|
828
|
+
}), n.d(t, "b", function () {
|
|
829
|
+
return b;
|
|
830
|
+
});
|
|
831
|
+
var r = n("Kxc7"),
|
|
832
|
+
a = n("952j"),
|
|
833
|
+
o = n("TgrR");
|
|
834
|
+
|
|
835
|
+
function c(e) {
|
|
836
|
+
const t = {
|
|
837
|
+
braceBalance: 0,
|
|
838
|
+
currentState: "var",
|
|
839
|
+
warnings: [],
|
|
840
|
+
errors: []
|
|
841
|
+
};
|
|
842
|
+
if (r.enabled("charting_library_base") && !r.enabled("show_spread_operators")) return t;
|
|
843
|
+
let n = "init";
|
|
844
|
+
const a = [];
|
|
845
|
+
|
|
846
|
+
for (let r = 0; r < e.length; r++) {
|
|
847
|
+
const o = e[r];
|
|
848
|
+
|
|
849
|
+
if ("whitespace" !== o.type) {
|
|
850
|
+
if ("incompleteSymbol" === o.type || "incompleteNumber" === o.type) {
|
|
851
|
+
const n = r !== e.length - 1,
|
|
852
|
+
a = {
|
|
853
|
+
status: n ? "error" : "incomplete",
|
|
854
|
+
reason: "incomplete_token",
|
|
855
|
+
offset: o.offset,
|
|
856
|
+
token: o
|
|
857
|
+
};
|
|
858
|
+
if (n ? t.errors.push(a) : t.warnings.push(a), n) continue;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
switch (o.type) {
|
|
862
|
+
case "symbol":
|
|
863
|
+
case "number":
|
|
864
|
+
if ("var" === n) {
|
|
865
|
+
t.errors.push({
|
|
866
|
+
status: "error",
|
|
867
|
+
reason: "unexpected_token",
|
|
868
|
+
offset: o.offset,
|
|
869
|
+
token: o
|
|
870
|
+
});
|
|
871
|
+
continue;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
n = "var";
|
|
875
|
+
break;
|
|
876
|
+
|
|
877
|
+
case "plus":
|
|
878
|
+
case "minus":
|
|
879
|
+
case "multiply":
|
|
880
|
+
case "divide":
|
|
881
|
+
case "power":
|
|
882
|
+
if ("var" !== n) {
|
|
883
|
+
t.errors.push({
|
|
884
|
+
status: "error",
|
|
885
|
+
reason: "unexpected_token",
|
|
886
|
+
offset: o.offset,
|
|
887
|
+
token: o
|
|
888
|
+
});
|
|
889
|
+
continue;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
n = "operator";
|
|
893
|
+
break;
|
|
894
|
+
|
|
895
|
+
case "openBrace":
|
|
896
|
+
if ("var" === n) {
|
|
897
|
+
t.errors.push({
|
|
898
|
+
status: "error",
|
|
899
|
+
reason: "unexpected_token",
|
|
900
|
+
offset: o.offset,
|
|
901
|
+
token: o
|
|
902
|
+
});
|
|
903
|
+
continue;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
a.push(o), n = "init";
|
|
907
|
+
break;
|
|
908
|
+
|
|
909
|
+
case "closeBrace":
|
|
910
|
+
if ("var" !== n) {
|
|
911
|
+
t.errors.push({
|
|
912
|
+
status: "error",
|
|
913
|
+
reason: "unexpected_token",
|
|
914
|
+
offset: o.offset,
|
|
915
|
+
token: o
|
|
916
|
+
});
|
|
917
|
+
continue;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
a.pop() || t.errors.push({
|
|
921
|
+
status: "error",
|
|
922
|
+
reason: "unbalanced_brace",
|
|
923
|
+
offset: o.offset,
|
|
924
|
+
token: o
|
|
925
|
+
}), n = "var";
|
|
926
|
+
break;
|
|
927
|
+
|
|
928
|
+
case "unparsed":
|
|
929
|
+
t.errors.push({
|
|
930
|
+
status: "error",
|
|
931
|
+
reason: "unparsed_entity",
|
|
932
|
+
offset: o.offset,
|
|
933
|
+
token: o
|
|
934
|
+
});
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
for (t.braceBalance = a.length, "var" !== n && t.warnings.push({
|
|
940
|
+
status: "incomplete",
|
|
941
|
+
token: e[e.length - 1]
|
|
942
|
+
}); a.length;) {
|
|
943
|
+
const e = a.pop();
|
|
944
|
+
e && t.warnings.push({
|
|
945
|
+
status: "incomplete",
|
|
946
|
+
reason: "unbalanced_brace",
|
|
947
|
+
offset: e.offset,
|
|
948
|
+
token: e
|
|
949
|
+
});
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
return t.currentState = n, t;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
function s(e) {
|
|
956
|
+
const t = function (e) {
|
|
957
|
+
let t,
|
|
958
|
+
n = 0,
|
|
959
|
+
r = 0;
|
|
960
|
+
|
|
961
|
+
for (let a = 0; a < e.length; a++) {
|
|
962
|
+
const o = e[a];
|
|
963
|
+
if ("whitespace" !== o.type) switch (n) {
|
|
964
|
+
case 0:
|
|
965
|
+
if ("number" !== o.type || 1 != +o.value) return [];
|
|
966
|
+
n = 1;
|
|
967
|
+
break;
|
|
968
|
+
|
|
969
|
+
case 1:
|
|
970
|
+
if (1 !== n || "divide" !== o.type) return [];
|
|
971
|
+
n = 2, t = a + 1;
|
|
972
|
+
break;
|
|
973
|
+
|
|
974
|
+
case 2:
|
|
975
|
+
if ("openBrace" === o.type) n = 3, r = 1;else if (l(o.type)) return [];
|
|
976
|
+
break;
|
|
977
|
+
|
|
978
|
+
case 3:
|
|
979
|
+
"openBrace" === o.type ? r++ : "closeBrace" === o.type && (r--, r <= 0 && (n = 2));
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
return e.slice(t);
|
|
984
|
+
}(e);
|
|
985
|
+
|
|
986
|
+
return t.length ? d(t) : d(Object(a.b)("1/(" + i(e) + ")"));
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
function i(e) {
|
|
990
|
+
return e.reduce((e, t) => "symbol" === t.type && a.a.test(t.value) ? e + "'".concat(t.value, "'") : e + t.value, "");
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
function l(e) {
|
|
994
|
+
return "plus" === e || "minus" === e || "multiply" === e || "divide" === e || "power" === e;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
function u(e) {
|
|
998
|
+
return e.length > 1 && e.some(e => l(e.type));
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
function d(e) {
|
|
1002
|
+
e = function (e) {
|
|
1003
|
+
const t = [];
|
|
1004
|
+
|
|
1005
|
+
for (const n of e) "whitespace" !== n.type && t.push(n);
|
|
1006
|
+
|
|
1007
|
+
return t;
|
|
1008
|
+
}(e);
|
|
1009
|
+
|
|
1010
|
+
const t = [],
|
|
1011
|
+
n = [];
|
|
1012
|
+
let r;
|
|
1013
|
+
|
|
1014
|
+
for (let a = 0; a < e.length; a++) {
|
|
1015
|
+
const o = e[a];
|
|
1016
|
+
|
|
1017
|
+
switch (o.type) {
|
|
1018
|
+
case "plus":
|
|
1019
|
+
case "minus":
|
|
1020
|
+
case "multiply":
|
|
1021
|
+
case "divide":
|
|
1022
|
+
case "power":
|
|
1023
|
+
n.length && n[n.length - 1].minPrecedence > o.precedence && (n[n.length - 1].minPrecedence = o.precedence);
|
|
1024
|
+
break;
|
|
1025
|
+
|
|
1026
|
+
case "openBrace":
|
|
1027
|
+
r = {
|
|
1028
|
+
minPrecedence: 1 / 0,
|
|
1029
|
+
openBraceIndex: a
|
|
1030
|
+
}, n.push(r);
|
|
1031
|
+
break;
|
|
1032
|
+
|
|
1033
|
+
case "closeBrace":
|
|
1034
|
+
{
|
|
1035
|
+
if (r = n.pop(), !r) break;
|
|
1036
|
+
const o = e[r.openBraceIndex - 1],
|
|
1037
|
+
c = e[a + 1],
|
|
1038
|
+
s = o && ("plus" === o.type || "multiply" === o.type);
|
|
1039
|
+
(!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));
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
for (let n = t.length; n--;) e.splice(t[n], 1);
|
|
1045
|
+
|
|
1046
|
+
return e;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
function p(e) {
|
|
1050
|
+
return d(Object(a.b)(e)).reduce((e, t) => {
|
|
1051
|
+
if ("symbol" !== t.type) return e + t.value;
|
|
1052
|
+
const [, n] = f(t);
|
|
1053
|
+
return n ? e + n : e;
|
|
1054
|
+
}, "");
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
function m(e) {
|
|
1058
|
+
const t = function (e) {
|
|
1059
|
+
const t = Object(a.b)(e),
|
|
1060
|
+
n = [];
|
|
1061
|
+
return t.forEach(e => {
|
|
1062
|
+
if ("symbol" !== e.type) return;
|
|
1063
|
+
const [t] = f(e);
|
|
1064
|
+
t && n.push(t);
|
|
1065
|
+
}), n;
|
|
1066
|
+
}(e);
|
|
1067
|
+
|
|
1068
|
+
if (1 === t.length) return t[0];
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
function f(e) {
|
|
1072
|
+
const t = /^'?(?:([A-Z0-9_]+):)?(.*?)'?$/i.exec(e.value);
|
|
1073
|
+
return null === t ? [void 0, void 0] : [t[1], t[2]];
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
function h(e, t, n) {
|
|
1077
|
+
const r = e.value,
|
|
1078
|
+
[c, s] = b(e, n),
|
|
1079
|
+
i = Object(o.f)(t),
|
|
1080
|
+
l = a.a.test(i) ? "'".concat(i, "'") : i;
|
|
1081
|
+
return [r.substr(0, s) + l + r.substr(s + c.length), s + l.length];
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
function b(e, t) {
|
|
1085
|
+
const {
|
|
1086
|
+
value: n,
|
|
1087
|
+
selectionStart: r
|
|
1088
|
+
} = e,
|
|
1089
|
+
o = Object(a.b)(t ? n.toUpperCase() : n),
|
|
1090
|
+
c = function (e, t) {
|
|
1091
|
+
for (let n = 0; n < e.length; n++) {
|
|
1092
|
+
const r = e[n],
|
|
1093
|
+
a = "symbol" === r.type || "incompleteSymbol" === r.type || "number" === r.type;
|
|
1094
|
+
if (r.offset <= t && t <= r.offset + r.value.length && a) return r;
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
return null;
|
|
1098
|
+
}(o, r || 0);
|
|
1099
|
+
|
|
1100
|
+
return [(null == c ? void 0 : c.value) || "", c ? c.offset : n.length, o];
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
rzV7: function rzV7(e, t, n) {
|
|
1104
|
+
"use strict";
|
|
1105
|
+
|
|
1106
|
+
var r = Object.prototype.hasOwnProperty;
|
|
1107
|
+
|
|
1108
|
+
function a(e, t) {
|
|
1109
|
+
return e === t ? 0 !== e || 0 !== t || 1 / e == 1 / t : e != e && t != t;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
e.exports = function (e, t) {
|
|
1113
|
+
if (a(e, t)) return !0;
|
|
1114
|
+
if ("object" != typeof e || null === e || "object" != typeof t || null === t) return !1;
|
|
1115
|
+
var n = Object.keys(e),
|
|
1116
|
+
o = Object.keys(t);
|
|
1117
|
+
if (n.length !== o.length) return !1;
|
|
1118
|
+
|
|
1119
|
+
for (var c = 0; c < n.length; c++) if (!r.call(t, n[c]) || !a(e[n[c]], t[n[c]])) return !1;
|
|
1120
|
+
|
|
1121
|
+
return !0;
|
|
1122
|
+
};
|
|
1123
|
+
},
|
|
1124
|
+
tU7i: function tU7i(e, t, n) {
|
|
1125
|
+
"use strict";
|
|
1126
|
+
|
|
1127
|
+
n.d(t, "a", function () {
|
|
1128
|
+
return s;
|
|
1129
|
+
}), n.d(t, "b", function () {
|
|
1130
|
+
return i;
|
|
1131
|
+
});
|
|
1132
|
+
var r = n("q1tI"),
|
|
1133
|
+
a = n("TSYQ"),
|
|
1134
|
+
o = n("Iivm"),
|
|
1135
|
+
c = n("bQ7Y");
|
|
1136
|
+
const s = c,
|
|
1137
|
+
i = r.forwardRef((e, t) => {
|
|
1138
|
+
const {
|
|
1139
|
+
icon: n,
|
|
1140
|
+
isActive: s,
|
|
1141
|
+
isOpened: i,
|
|
1142
|
+
isDisabled: l,
|
|
1143
|
+
isGrouped: u,
|
|
1144
|
+
isHovered: d,
|
|
1145
|
+
onClick: p,
|
|
1146
|
+
text: m,
|
|
1147
|
+
textBeforeIcon: f,
|
|
1148
|
+
title: h,
|
|
1149
|
+
theme: b = c,
|
|
1150
|
+
className: v,
|
|
1151
|
+
forceInteractive: g,
|
|
1152
|
+
"data-name": y
|
|
1153
|
+
} = e,
|
|
1154
|
+
E = _objectWithoutProperties(e, _excluded),
|
|
1155
|
+
x = a(v, b.button, h && "apply-common-tooltip", {
|
|
1156
|
+
[b.isActive]: s,
|
|
1157
|
+
[b.isOpened]: i,
|
|
1158
|
+
[b.isInteractive]: (g || Boolean(p)) && !l,
|
|
1159
|
+
[b.isDisabled]: l,
|
|
1160
|
+
[b.isGrouped]: u,
|
|
1161
|
+
[b.hover]: d
|
|
1162
|
+
}),
|
|
1163
|
+
O = n && ("string" == typeof n ? r.createElement(o.a, {
|
|
1164
|
+
className: b.icon,
|
|
1165
|
+
icon: n
|
|
1166
|
+
}) : r.cloneElement(n, {
|
|
1167
|
+
className: a(b.icon, n.props.className)
|
|
1168
|
+
}));
|
|
1169
|
+
|
|
1170
|
+
return r.createElement("div", _objectSpread(_objectSpread({}, E), {}, {
|
|
1171
|
+
ref: t,
|
|
1172
|
+
"data-role": "button",
|
|
1173
|
+
className: x,
|
|
1174
|
+
onClick: l ? void 0 : p,
|
|
1175
|
+
title: h,
|
|
1176
|
+
"data-name": y
|
|
1177
|
+
}), f && m && r.createElement("div", {
|
|
1178
|
+
className: a("js-button-text", b.text)
|
|
1179
|
+
}, m), O, !f && m && r.createElement("div", {
|
|
1180
|
+
className: a("js-button-text", b.text)
|
|
1181
|
+
}, m));
|
|
1182
|
+
});
|
|
1183
|
+
},
|
|
1184
|
+
uTDg: function uTDg(e, t, n) {
|
|
1185
|
+
"use strict";
|
|
1186
|
+
|
|
1187
|
+
var r = n("q1tI"),
|
|
1188
|
+
a = n.n(r),
|
|
1189
|
+
o = n("TSYQ"),
|
|
1190
|
+
c = n.n(o),
|
|
1191
|
+
s = n("YFKU"),
|
|
1192
|
+
i = (n("+GxX"), n("952j")),
|
|
1193
|
+
l = n("rC+j"),
|
|
1194
|
+
u = n("SAe1"),
|
|
1195
|
+
d = n("Kxc7"),
|
|
1196
|
+
p = n("uhCe"),
|
|
1197
|
+
m = n("g89m"),
|
|
1198
|
+
f = n("Eyy1"),
|
|
1199
|
+
h = n("Iivm"),
|
|
1200
|
+
b = n("VogD"),
|
|
1201
|
+
v = n("QHWU"),
|
|
1202
|
+
g = n("TgrR"),
|
|
1203
|
+
y = n("UN6M");
|
|
1204
|
+
|
|
1205
|
+
function E(e) {
|
|
1206
|
+
const {
|
|
1207
|
+
children: t,
|
|
1208
|
+
className: n
|
|
1209
|
+
} = e;
|
|
1210
|
+
return a.a.createElement("div", {
|
|
1211
|
+
className: c()(y.container, n)
|
|
1212
|
+
}, a.a.createElement("div", {
|
|
1213
|
+
className: y.childrenWrapper
|
|
1214
|
+
}, t));
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
var x = n("1LIl"),
|
|
1218
|
+
O = n("H9Gg"),
|
|
1219
|
+
k = n("wy57"),
|
|
1220
|
+
N = n("GWR5");
|
|
1221
|
+
|
|
1222
|
+
function w(e) {
|
|
1223
|
+
const {
|
|
1224
|
+
country: t,
|
|
1225
|
+
providerId: n,
|
|
1226
|
+
flag: o,
|
|
1227
|
+
title: s,
|
|
1228
|
+
description: i,
|
|
1229
|
+
isActive: l,
|
|
1230
|
+
isAllExchanges: u,
|
|
1231
|
+
isMobile: d,
|
|
1232
|
+
onClick: p,
|
|
1233
|
+
queryString: m
|
|
1234
|
+
} = e,
|
|
1235
|
+
f = Object(r.useMemo)(() => Object(O.a)(m), [m]),
|
|
1236
|
+
b = i && !u,
|
|
1237
|
+
v = c()(N.container, d ? N.mobile : N.desktop, l && N.selected, u && N.allExchange, u && N.libAllExchange, !u && d && N.bordered);
|
|
1238
|
+
return a.a.createElement("div", {
|
|
1239
|
+
className: c()(!d && N.wrap, u && N.libAllExchange),
|
|
1240
|
+
onClick: p
|
|
1241
|
+
}, a.a.createElement("div", {
|
|
1242
|
+
className: v
|
|
1243
|
+
}, a.a.createElement("div", {
|
|
1244
|
+
className: N.iconWrap
|
|
1245
|
+
}, !!u && a.a.createElement(h.a, {
|
|
1246
|
+
className: c()(N.icon, N.allExchangesIcon),
|
|
1247
|
+
icon: k
|
|
1248
|
+
})), a.a.createElement("div", {
|
|
1249
|
+
className: N.textBlock
|
|
1250
|
+
}, a.a.createElement("div", {
|
|
1251
|
+
className: c()(N.title, !b && !d && N.titleWithoutDesc)
|
|
1252
|
+
}, a.a.createElement(x.a, {
|
|
1253
|
+
className: c()(l && N.highlighted),
|
|
1254
|
+
queryString: m,
|
|
1255
|
+
text: s,
|
|
1256
|
+
rules: f
|
|
1257
|
+
})), b && a.a.createElement("div", {
|
|
1258
|
+
className: N.description
|
|
1259
|
+
}, a.a.createElement(x.a, {
|
|
1260
|
+
className: N.highlighted,
|
|
1261
|
+
queryString: m,
|
|
1262
|
+
rules: f,
|
|
1263
|
+
text: i
|
|
1264
|
+
})))));
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
var S = n("vqb8"),
|
|
1268
|
+
C = n("OoQL"),
|
|
1269
|
+
T = n("oiZD"),
|
|
1270
|
+
j = n("zM7N"),
|
|
1271
|
+
I = n("ki38"),
|
|
1272
|
+
R = n("poJS"),
|
|
1273
|
+
M = n("6rj1"),
|
|
1274
|
+
_ = n("Iruf");
|
|
1275
|
+
|
|
1276
|
+
const L = {
|
|
1277
|
+
emptyTextClassName: _.emptyText
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
function D(e) {
|
|
1281
|
+
const {
|
|
1282
|
+
exchanges: t
|
|
1283
|
+
} = e,
|
|
1284
|
+
{
|
|
1285
|
+
selectedExchange: n,
|
|
1286
|
+
setSelectedExchange: o,
|
|
1287
|
+
setMode: i,
|
|
1288
|
+
isMobile: l,
|
|
1289
|
+
emptyState: u,
|
|
1290
|
+
autofocus: d
|
|
1291
|
+
} = Object(C.a)(b.a),
|
|
1292
|
+
p = Object(S.a)({
|
|
1293
|
+
watchedValue: T.watchedTheme
|
|
1294
|
+
}) === j.a.Dark ? R : M,
|
|
1295
|
+
[m, y] = Object(r.useState)(""),
|
|
1296
|
+
x = Object(r.useCallback)(e => e.name.toLowerCase().includes(m.toLowerCase()) || e.desc.toLowerCase().includes(m.toLowerCase()), [m]),
|
|
1297
|
+
O = Object(r.useMemo)(() => [[...t]], [t]),
|
|
1298
|
+
k = Object(r.useMemo)(() => {
|
|
1299
|
+
const e = O.filter(e => e.some(x));
|
|
1300
|
+
return e;
|
|
1301
|
+
}, [O, x]),
|
|
1302
|
+
N = Object(f.ensureNotNull)(n).value,
|
|
1303
|
+
D = Object(r.useRef)(null),
|
|
1304
|
+
A = Object(r.useRef)(null);
|
|
1305
|
+
Object(r.useLayoutEffect)(() => {
|
|
1306
|
+
var e;
|
|
1307
|
+
d && (null === (e = null == D ? void 0 : D.current) || void 0 === e || e.focus());
|
|
1308
|
+
}, []);
|
|
1309
|
+
const z = u ? a.a.createElement(u, null) : a.a.createElement(E, {
|
|
1310
|
+
className: _.noResultsDesktop
|
|
1311
|
+
}, a.a.createElement(h.a, {
|
|
1312
|
+
icon: p
|
|
1313
|
+
}), a.a.createElement("div", {
|
|
1314
|
+
className: _.emptyText
|
|
1315
|
+
}, Object(s.t)("No exchanges match your criteria")));
|
|
1316
|
+
return a.a.createElement(I.a.Provider, {
|
|
1317
|
+
value: L
|
|
1318
|
+
}, a.a.createElement(v.a, {
|
|
1319
|
+
placeholder: Object(s.t)("Search"),
|
|
1320
|
+
onChange: function onChange(e) {
|
|
1321
|
+
y(e.target.value), A && A.current && (A.current.scrollTop = 0);
|
|
1322
|
+
},
|
|
1323
|
+
reference: D
|
|
1324
|
+
}), k.length ? a.a.createElement("div", {
|
|
1325
|
+
ref: A,
|
|
1326
|
+
className: c()(_.contentList, !l && _.contentListDesktop),
|
|
1327
|
+
onTouchStart: function onTouchStart() {
|
|
1328
|
+
var e;
|
|
1329
|
+
null === (e = D.current) || void 0 === e || e.blur();
|
|
1330
|
+
}
|
|
1331
|
+
}, k.map(e => {
|
|
1332
|
+
const {
|
|
1333
|
+
name: t,
|
|
1334
|
+
group: n
|
|
1335
|
+
} = e[0];
|
|
1336
|
+
return a.a.createElement(a.a.Fragment, {
|
|
1337
|
+
key: t
|
|
1338
|
+
}, !1, a.a.createElement("div", {
|
|
1339
|
+
className: c()(_.exchangeItemsContainer, !l && _.exchangeItemsContainerDesktop)
|
|
1340
|
+
}, e.filter(x).map(e => {
|
|
1341
|
+
const t = Object(g.g)(e);
|
|
1342
|
+
return a.a.createElement(w, {
|
|
1343
|
+
key: e.desc,
|
|
1344
|
+
country: e.country,
|
|
1345
|
+
flag: e.flag,
|
|
1346
|
+
providerId: e.providerId,
|
|
1347
|
+
title: t ? Object(s.t)("All sources") : e.name,
|
|
1348
|
+
description: e.desc,
|
|
1349
|
+
isActive: e.value === N,
|
|
1350
|
+
isAllExchanges: t,
|
|
1351
|
+
isMobile: l,
|
|
1352
|
+
queryString: m,
|
|
1353
|
+
onClick: P.bind(null, e)
|
|
1354
|
+
});
|
|
1355
|
+
})));
|
|
1356
|
+
})) : z);
|
|
1357
|
+
|
|
1358
|
+
function P(e) {
|
|
1359
|
+
o(e), i("symbolSearch");
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
var A,
|
|
1364
|
+
z,
|
|
1365
|
+
P,
|
|
1366
|
+
B,
|
|
1367
|
+
Z,
|
|
1368
|
+
V,
|
|
1369
|
+
F,
|
|
1370
|
+
G,
|
|
1371
|
+
W,
|
|
1372
|
+
X,
|
|
1373
|
+
K,
|
|
1374
|
+
Q = n("i8i4"),
|
|
1375
|
+
q = n("FadI");
|
|
1376
|
+
n("Wt0y"), n("wVAQ"), n("ivNn"), n("nc0P");
|
|
1377
|
+
!function (e) {
|
|
1378
|
+
e[e.CONNECTED = 1] = "CONNECTED", e[e.CONNECTING = 2] = "CONNECTING", e[e.DISCONNECTED = 3] = "DISCONNECTED", e[e.ERROR = 4] = "ERROR";
|
|
1379
|
+
}(A || (A = {})), function (e) {
|
|
1380
|
+
e[e.LIMIT = 1] = "LIMIT", e[e.MARKET = 2] = "MARKET", e[e.STOP = 3] = "STOP", e[e.STOPLIMIT = 4] = "STOPLIMIT";
|
|
1381
|
+
}(z || (z = {})), function (e) {
|
|
1382
|
+
e[e.BUY = 1] = "BUY", e[e.SELL = -1] = "SELL";
|
|
1383
|
+
}(P || (P = {})), function (e) {
|
|
1384
|
+
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";
|
|
1385
|
+
}(B || (B = {})), function (e) {
|
|
1386
|
+
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";
|
|
1387
|
+
}(Z || (Z = {})), function (e) {
|
|
1388
|
+
e[e.ORDER = 1] = "ORDER", e[e.POSITION = 2] = "POSITION";
|
|
1389
|
+
}(V || (V = {})), function (e) {
|
|
1390
|
+
e[e.LIMITPRICE = 1] = "LIMITPRICE", e[e.STOPPRICE = 2] = "STOPPRICE", e[e.TAKEPROFIT = 3] = "TAKEPROFIT", e[e.STOPLOSS = 4] = "STOPLOSS";
|
|
1391
|
+
}(F || (F = {})), function (e) {
|
|
1392
|
+
e[e.ERROR = 0] = "ERROR", e[e.SUCCESS = 1] = "SUCCESS";
|
|
1393
|
+
}(G || (G = {})), function (e) {
|
|
1394
|
+
e.Information = "information", e.Warning = "warning", e.Error = "error";
|
|
1395
|
+
}(W || (W = {})), function (e) {
|
|
1396
|
+
e.Demo = "demo", e.Live = "live";
|
|
1397
|
+
}(X || (X = {})), function (e) {
|
|
1398
|
+
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";
|
|
1399
|
+
}(K || (K = {}));
|
|
1400
|
+
n("EBrf"), n("ogJP");
|
|
1401
|
+
var H = n("txPx");
|
|
1402
|
+
n("25b6");
|
|
1403
|
+
Error;
|
|
1404
|
+
Object(H.getLogger)("Trading.Utils");
|
|
1405
|
+
Object(s.t)("Failed to login");
|
|
1406
|
+
|
|
1407
|
+
function U(e) {
|
|
1408
|
+
return e.hasOwnProperty("exchange");
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
async function Y(e) {
|
|
1412
|
+
return new Promise(t => {
|
|
1413
|
+
window.ChartApiInstance.searchSymbols(e.text || "", e.exchange || "", e.type || "", "", !1, !0, "", !0, "", e => {
|
|
1414
|
+
t(e);
|
|
1415
|
+
});
|
|
1416
|
+
});
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
var $ = n("K5cv"),
|
|
1420
|
+
J = n("JWMC"),
|
|
1421
|
+
ee = n("/3z9"),
|
|
1422
|
+
te = n("tU7i"),
|
|
1423
|
+
ne = n("ZrzP"),
|
|
1424
|
+
re = n("XDHQ"),
|
|
1425
|
+
ae = n("Y8Rb"),
|
|
1426
|
+
oe = n("8q1k"),
|
|
1427
|
+
ce = n("OWoh"),
|
|
1428
|
+
se = n("anmh"),
|
|
1429
|
+
ie = n("Pdm7");
|
|
1430
|
+
|
|
1431
|
+
function le(e) {
|
|
1432
|
+
var t;
|
|
1433
|
+
const {
|
|
1434
|
+
state: n,
|
|
1435
|
+
update: o
|
|
1436
|
+
} = e,
|
|
1437
|
+
{
|
|
1438
|
+
searchRef: c,
|
|
1439
|
+
forceUpdate: s,
|
|
1440
|
+
upperCaseEnabled: u
|
|
1441
|
+
} = Object(f.ensureNotNull)(Object(r.useContext)(b.a)),
|
|
1442
|
+
p = Object(i.b)(null === (t = c.current) || void 0 === t ? void 0 : t.value),
|
|
1443
|
+
m = Object(l.h)(p);
|
|
1444
|
+
let h = [{
|
|
1445
|
+
icon: ne,
|
|
1446
|
+
insert: "/",
|
|
1447
|
+
type: "binaryOp",
|
|
1448
|
+
name: "division"
|
|
1449
|
+
}, {
|
|
1450
|
+
icon: re,
|
|
1451
|
+
insert: "-",
|
|
1452
|
+
type: "binaryOp",
|
|
1453
|
+
name: "subtraction"
|
|
1454
|
+
}, {
|
|
1455
|
+
icon: ae,
|
|
1456
|
+
insert: "+",
|
|
1457
|
+
type: "binaryOp",
|
|
1458
|
+
name: "addition"
|
|
1459
|
+
}, {
|
|
1460
|
+
icon: oe,
|
|
1461
|
+
insert: "*",
|
|
1462
|
+
type: "binaryOp",
|
|
1463
|
+
name: "multiplication"
|
|
1464
|
+
}];
|
|
1465
|
+
return d.enabled("hide_exponentiation_spread_operator") || (h = h.concat([{
|
|
1466
|
+
icon: ce,
|
|
1467
|
+
insert: "^",
|
|
1468
|
+
type: "binaryOp",
|
|
1469
|
+
name: "exponentiation"
|
|
1470
|
+
}])), d.enabled("hide_reciprocal_spread_operator") || (h = h.concat([{
|
|
1471
|
+
icon: se,
|
|
1472
|
+
type: "complete",
|
|
1473
|
+
name: "1/x",
|
|
1474
|
+
callback: () => {
|
|
1475
|
+
!c.current || m.errors.length || m.warnings.length || (c.current.value = Object(l.g)(Object(l.a)(p)), s());
|
|
1476
|
+
}
|
|
1477
|
+
}])), a.a.createElement("div", {
|
|
1478
|
+
className: ie.actions
|
|
1479
|
+
}, h.map(e => a.a.createElement(te.b, {
|
|
1480
|
+
className: ie.actionButton,
|
|
1481
|
+
icon: e.icon,
|
|
1482
|
+
key: e.name,
|
|
1483
|
+
isDisabled: ue(e, m),
|
|
1484
|
+
onClick: () => function (e) {
|
|
1485
|
+
var t;
|
|
1486
|
+
|
|
1487
|
+
if (!ue(e, m)) {
|
|
1488
|
+
if (e.insert && c.current) {
|
|
1489
|
+
const t = c.current.value + e.insert;
|
|
1490
|
+
c.current.value = t, c.current.setSelectionRange(t.length, t.length);
|
|
1491
|
+
const [r,, a] = Object(l.b)(c.current, u);
|
|
1492
|
+
n.current && (n.current.selectedIndexValue = -1, n.current.searchSpreadsValue = Object(l.e)(a), n.current.searchTokenValue = r), s(), o();
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
e.callback && e.callback(), null === (t = c.current) || void 0 === t || t.focus(), Object(J.trackEvent)("GUI", "SS", e.name);
|
|
1496
|
+
}
|
|
1497
|
+
}(e)
|
|
1498
|
+
})));
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
function ue(e, t) {
|
|
1502
|
+
let n = !1;
|
|
1503
|
+
if (!t.errors.length) switch (e.type) {
|
|
1504
|
+
case "binaryOp":
|
|
1505
|
+
n = "var" === t.currentState;
|
|
1506
|
+
break;
|
|
1507
|
+
|
|
1508
|
+
case "openBrace":
|
|
1509
|
+
n = "var" !== t.currentState;
|
|
1510
|
+
break;
|
|
1511
|
+
|
|
1512
|
+
case "closeBrace":
|
|
1513
|
+
n = "var" === t.currentState && t.braceBalance > 0;
|
|
1514
|
+
break;
|
|
1515
|
+
|
|
1516
|
+
case "complete":
|
|
1517
|
+
n = !t.errors.length && !t.warnings.length;
|
|
1518
|
+
}
|
|
1519
|
+
return !n;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
var de = n("ijHL"),
|
|
1523
|
+
pe = n("mHCH");
|
|
1524
|
+
|
|
1525
|
+
function me(e) {
|
|
1526
|
+
const {
|
|
1527
|
+
isActive: t,
|
|
1528
|
+
isAnimated: n,
|
|
1529
|
+
activeColor: r,
|
|
1530
|
+
size: a = "m",
|
|
1531
|
+
appearance: o = "default",
|
|
1532
|
+
className: s
|
|
1533
|
+
} = e;
|
|
1534
|
+
return c()(pe.bubble, t && pe.active, r && pe[r], a && pe["size-" + a], o && pe["appearance-" + o], n && pe.animated, s);
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
function fe(e) {
|
|
1538
|
+
const {
|
|
1539
|
+
id: t,
|
|
1540
|
+
title: n,
|
|
1541
|
+
tabIndex: r,
|
|
1542
|
+
role: o,
|
|
1543
|
+
contentClassName: s,
|
|
1544
|
+
children: i,
|
|
1545
|
+
onClick: l,
|
|
1546
|
+
onMouseDown: u
|
|
1547
|
+
} = e,
|
|
1548
|
+
d = _objectWithoutProperties(e, _excluded2);
|
|
1549
|
+
|
|
1550
|
+
return a.a.createElement("span", _objectSpread(_objectSpread(_objectSpread({}, Object(de.a)(d)), Object(de.b)(d)), {}, {
|
|
1551
|
+
id: t,
|
|
1552
|
+
title: n,
|
|
1553
|
+
tabIndex: r,
|
|
1554
|
+
role: o,
|
|
1555
|
+
className: me(e),
|
|
1556
|
+
onClick: l,
|
|
1557
|
+
onMouseDown: u
|
|
1558
|
+
}), a.a.createElement("span", {
|
|
1559
|
+
className: c()(pe.content, s)
|
|
1560
|
+
}, i));
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
var he = n("UEVQ");
|
|
1564
|
+
|
|
1565
|
+
function be(e) {
|
|
1566
|
+
const {
|
|
1567
|
+
className: t,
|
|
1568
|
+
itemClassName: n,
|
|
1569
|
+
itemContentClassName: r,
|
|
1570
|
+
items: c,
|
|
1571
|
+
getItemTitle: s,
|
|
1572
|
+
getItemKey: i,
|
|
1573
|
+
checkItemIsActive: l,
|
|
1574
|
+
getItemColor: u,
|
|
1575
|
+
onBubbleClick: d,
|
|
1576
|
+
multiline: p,
|
|
1577
|
+
children: m
|
|
1578
|
+
} = e;
|
|
1579
|
+
return a.a.createElement("div", {
|
|
1580
|
+
className: o(t, he.bubbles, p && he.multiLine)
|
|
1581
|
+
}, c.map((e, t) => a.a.createElement(fe, {
|
|
1582
|
+
key: i ? i(e) : t,
|
|
1583
|
+
className: o(he.bubble, n),
|
|
1584
|
+
contentClassName: r,
|
|
1585
|
+
onClick: function onClick() {
|
|
1586
|
+
d(e);
|
|
1587
|
+
},
|
|
1588
|
+
onMouseDown: function onMouseDown(e) {
|
|
1589
|
+
e.preventDefault();
|
|
1590
|
+
},
|
|
1591
|
+
isActive: !!l && l(e),
|
|
1592
|
+
activeColor: u ? u(e) : void 0
|
|
1593
|
+
}, s(e))), m);
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
var ve = n("jPOK"),
|
|
1597
|
+
ge = n("iR1w"),
|
|
1598
|
+
ye = n("cvc5"),
|
|
1599
|
+
Ee = n.n(ye),
|
|
1600
|
+
xe = n("ML8+"),
|
|
1601
|
+
Oe = n("G4pG");
|
|
1602
|
+
|
|
1603
|
+
function ke(e) {
|
|
1604
|
+
const {
|
|
1605
|
+
mode: t,
|
|
1606
|
+
setMode: n,
|
|
1607
|
+
searchRef: o,
|
|
1608
|
+
cachedInputValue: i,
|
|
1609
|
+
selectedExchange: l,
|
|
1610
|
+
upperCaseEnabled: u
|
|
1611
|
+
} = Object(f.ensureNotNull)(Object(r.useContext)(b.a)),
|
|
1612
|
+
d = Object(f.ensureNotNull)(l),
|
|
1613
|
+
p = "symbolSearch" === t,
|
|
1614
|
+
m = Object(g.g)(d),
|
|
1615
|
+
{
|
|
1616
|
+
country: v,
|
|
1617
|
+
providerId: y,
|
|
1618
|
+
flag: E
|
|
1619
|
+
} = d;
|
|
1620
|
+
return p ? a.a.createElement("div", {
|
|
1621
|
+
className: c()(Oe.flagWrap, "apply-common-tooltip"),
|
|
1622
|
+
title: Object(s.t)("Select source"),
|
|
1623
|
+
onClick: function onClick() {
|
|
1624
|
+
o.current && (i.current = u ? o.current.value.toUpperCase() : o.current.value);
|
|
1625
|
+
n("exchange");
|
|
1626
|
+
}
|
|
1627
|
+
}, !!m && a.a.createElement(h.a, {
|
|
1628
|
+
className: Oe.icon,
|
|
1629
|
+
icon: k
|
|
1630
|
+
}), a.a.createElement("div", {
|
|
1631
|
+
className: Oe.title
|
|
1632
|
+
}, m ? Object(s.t)("All sources") : d.name), a.a.createElement(xe.a, {
|
|
1633
|
+
className: Oe.caret,
|
|
1634
|
+
dropped: !1
|
|
1635
|
+
})) : null;
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
var Ne = n("2gjO");
|
|
1639
|
+
const we = Object(g.c)();
|
|
1640
|
+
|
|
1641
|
+
function Se(e) {
|
|
1642
|
+
const {
|
|
1643
|
+
isSmallWidth: t,
|
|
1644
|
+
selectedExchange: n
|
|
1645
|
+
} = Object(f.ensureNotNull)(Object(r.useContext)(b.a)),
|
|
1646
|
+
o = n && we.length > 1 && !Object(g.a)();
|
|
1647
|
+
return a.a.createElement("div", {
|
|
1648
|
+
className: c()(Ne.wrap, t && Ne.small)
|
|
1649
|
+
}, a.a.createElement("div", {
|
|
1650
|
+
className: Ne.item
|
|
1651
|
+
}, a.a.createElement("div", {
|
|
1652
|
+
className: Ne.text
|
|
1653
|
+
}, t ? Object(s.t)("Symbol & description") : Object(s.t)("Symbol"))), a.a.createElement("div", {
|
|
1654
|
+
className: Ne.item
|
|
1655
|
+
}, !t && a.a.createElement("div", {
|
|
1656
|
+
className: Ne.text
|
|
1657
|
+
}, Object(s.t)("Description")), o && a.a.createElement("div", {
|
|
1658
|
+
className: Ne.exchange
|
|
1659
|
+
}, a.a.createElement(ke, null))));
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
var Ce = n("Ialn"),
|
|
1663
|
+
Te = n("h9B/");
|
|
1664
|
+
|
|
1665
|
+
function je(e) {
|
|
1666
|
+
const {
|
|
1667
|
+
onTouchMove: t,
|
|
1668
|
+
listRef: n,
|
|
1669
|
+
className: o,
|
|
1670
|
+
listWrapRef: s,
|
|
1671
|
+
virtualListKey: i,
|
|
1672
|
+
items: l,
|
|
1673
|
+
getItemSize: u,
|
|
1674
|
+
hideFeed: d
|
|
1675
|
+
} = e,
|
|
1676
|
+
{
|
|
1677
|
+
mode: p,
|
|
1678
|
+
isSmallWidth: m,
|
|
1679
|
+
handleListWidth: h
|
|
1680
|
+
} = Object(C.a)(b.a),
|
|
1681
|
+
[v, g] = Object(r.useState)(null),
|
|
1682
|
+
y = Object(r.useCallback)(e => {
|
|
1683
|
+
const {
|
|
1684
|
+
index: t,
|
|
1685
|
+
style: n
|
|
1686
|
+
} = e;
|
|
1687
|
+
return a.a.createElement("div", {
|
|
1688
|
+
style: n
|
|
1689
|
+
}, l[t]);
|
|
1690
|
+
}, [l]),
|
|
1691
|
+
E = Object(r.useCallback)(e => Object(f.ensure)(l[e].key), [l]),
|
|
1692
|
+
x = "watchlist" === p && null !== v;
|
|
1693
|
+
return a.a.createElement(Ee.a, {
|
|
1694
|
+
onMeasure: function onMeasure(e) {
|
|
1695
|
+
g(e.height), h(e.width);
|
|
1696
|
+
}
|
|
1697
|
+
}, a.a.createElement("div", {
|
|
1698
|
+
ref: s,
|
|
1699
|
+
className: c()(Te.wrap, x && Te.watchlist, d && Te.noFeed, o),
|
|
1700
|
+
onTouchMove: t
|
|
1701
|
+
}, a.a.createElement("div", {
|
|
1702
|
+
className: c()(Te.scrollContainer, d && Te.noFeed)
|
|
1703
|
+
}, x ? a.a.createElement(ge.b, {
|
|
1704
|
+
key: i,
|
|
1705
|
+
ref: n,
|
|
1706
|
+
className: Te.listContainer,
|
|
1707
|
+
width: "100%",
|
|
1708
|
+
height: Object(f.ensureNotNull)(v),
|
|
1709
|
+
itemCount: l.length,
|
|
1710
|
+
itemSize: u,
|
|
1711
|
+
children: y,
|
|
1712
|
+
itemKey: E,
|
|
1713
|
+
overscanCount: 20,
|
|
1714
|
+
direction: Object(Ce.isRtl)() ? "rtl" : "ltr"
|
|
1715
|
+
}) : a.a.createElement("div", {
|
|
1716
|
+
className: c()(Te.listContainer, m && Te.multiLineItemsContainer)
|
|
1717
|
+
}, a.a.createElement(Se, null), l))));
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
var Ie = n("zjoO"),
|
|
1721
|
+
Re = n("mdyz");
|
|
1722
|
+
|
|
1723
|
+
function Me(e) {
|
|
1724
|
+
const {
|
|
1725
|
+
token: t,
|
|
1726
|
+
state: n,
|
|
1727
|
+
otherSymbolsCount: o,
|
|
1728
|
+
onChangeSymbolTypeFilter: c,
|
|
1729
|
+
onResetFilters: s,
|
|
1730
|
+
onListTouchMove: i,
|
|
1731
|
+
brokerTitle: l,
|
|
1732
|
+
isBrokerChecked: u,
|
|
1733
|
+
onBrokerCheckboxChange: d,
|
|
1734
|
+
listRef: p,
|
|
1735
|
+
listWrapRef: m
|
|
1736
|
+
} = e,
|
|
1737
|
+
{
|
|
1738
|
+
mode: f,
|
|
1739
|
+
isMobile: h,
|
|
1740
|
+
selectedExchange: v,
|
|
1741
|
+
selectedSymbolType: g,
|
|
1742
|
+
symbolTypes: y,
|
|
1743
|
+
feedItems: E,
|
|
1744
|
+
contentItem: x,
|
|
1745
|
+
emptyState: O = _e
|
|
1746
|
+
} = Object(C.a)(b.a),
|
|
1747
|
+
k = l && a.a.createElement(BrokerCheckbox, {
|
|
1748
|
+
brokerTitle: l,
|
|
1749
|
+
checked: u,
|
|
1750
|
+
onCheckboxChange: d
|
|
1751
|
+
}),
|
|
1752
|
+
N = "symbolSearch" === f && "good" === n,
|
|
1753
|
+
w = null != x ? x : Ie.a,
|
|
1754
|
+
S = Object(r.useMemo)(() => E.map(e => a.a.createElement(w, _objectSpread(_objectSpread({}, e), {}, {
|
|
1755
|
+
searchToken: t
|
|
1756
|
+
}))), [E]);
|
|
1757
|
+
return a.a.createElement(a.a.Fragment, null, "symbolSearch" === f && a.a.createElement(a.a.Fragment, null, y.length > 0 && a.a.createElement(be, {
|
|
1758
|
+
itemClassName: Re.symbolType,
|
|
1759
|
+
items: y,
|
|
1760
|
+
getItemTitle: e => e.name,
|
|
1761
|
+
getItemKey: e => e.value,
|
|
1762
|
+
checkItemIsActive: e => e.value === g,
|
|
1763
|
+
onBubbleClick: c,
|
|
1764
|
+
multiline: !h
|
|
1765
|
+
}, k), !1), a.a.createElement(je, {
|
|
1766
|
+
listRef: p,
|
|
1767
|
+
listWrapRef: m,
|
|
1768
|
+
onTouchMove: i,
|
|
1769
|
+
items: S,
|
|
1770
|
+
getItemSize: () => De,
|
|
1771
|
+
hideFeed: !N
|
|
1772
|
+
}), "loading" === n && a.a.createElement("div", {
|
|
1773
|
+
className: Re.spinnerWrap
|
|
1774
|
+
}, a.a.createElement(ve.a, null)), "symbolSearch" === f && a.a.createElement(a.a.Fragment, null, !1, "empty" === n && a.a.createElement(O, null)));
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
function _e(e) {
|
|
1778
|
+
const t = Object(S.a)({
|
|
1779
|
+
watchedValue: T.watchedTheme
|
|
1780
|
+
}) === j.a.Dark ? R : M;
|
|
1781
|
+
return a.a.createElement(E, {
|
|
1782
|
+
className: Re.noResultsDesktop
|
|
1783
|
+
}, a.a.createElement(h.a, {
|
|
1784
|
+
icon: t
|
|
1785
|
+
}), a.a.createElement("div", {
|
|
1786
|
+
className: Re.emptyText
|
|
1787
|
+
}, Object(s.t)("No symbols match your criteria")));
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
const Le = Object(g.e)(),
|
|
1791
|
+
De = 52;
|
|
1792
|
+
|
|
1793
|
+
function Ae(e) {
|
|
1794
|
+
const {
|
|
1795
|
+
mode: t,
|
|
1796
|
+
setMode: n,
|
|
1797
|
+
setSelectedIndex: o,
|
|
1798
|
+
isMobile: i,
|
|
1799
|
+
selectedExchange: u,
|
|
1800
|
+
setSelectedExchange: p,
|
|
1801
|
+
selectedSymbolType: m,
|
|
1802
|
+
setSelectedSymbolType: f,
|
|
1803
|
+
setRenderSymbolSearchList: h,
|
|
1804
|
+
searchRef: y,
|
|
1805
|
+
cachedInputValue: E,
|
|
1806
|
+
setSearchSpreads: x,
|
|
1807
|
+
showSpreadActions: O,
|
|
1808
|
+
selectedItem: k,
|
|
1809
|
+
onSearchFeedReady: N,
|
|
1810
|
+
forceUpdate: w,
|
|
1811
|
+
placeholder: S,
|
|
1812
|
+
initialScreen: T,
|
|
1813
|
+
footer: j,
|
|
1814
|
+
searchInput: R,
|
|
1815
|
+
upperCaseEnabled: M,
|
|
1816
|
+
externalInput: _,
|
|
1817
|
+
handleKeyDown: L
|
|
1818
|
+
} = Object(C.a)(b.a),
|
|
1819
|
+
D = Object(r.useRef)(t);
|
|
1820
|
+
D.current = t;
|
|
1821
|
+
const A = Object(r.useRef)(new AbortController()),
|
|
1822
|
+
[z, P] = Object(r.useState)(0),
|
|
1823
|
+
[B, Z] = Object(r.useState)("noop"),
|
|
1824
|
+
V = Object(r.useRef)(0),
|
|
1825
|
+
[F, G] = Object(r.useState)(E.current),
|
|
1826
|
+
W = Object(r.useRef)(null),
|
|
1827
|
+
X = Object(r.useRef)(null),
|
|
1828
|
+
K = Object(r.useRef)({
|
|
1829
|
+
selectedIndexValue: -1,
|
|
1830
|
+
searchTokenValue: "",
|
|
1831
|
+
searchSpreadsValue: !0
|
|
1832
|
+
}),
|
|
1833
|
+
H = Object(r.useRef)(null),
|
|
1834
|
+
te = Object(r.useRef)(null),
|
|
1835
|
+
{
|
|
1836
|
+
broker: ne = null,
|
|
1837
|
+
brokerId: re,
|
|
1838
|
+
brokerTitle: ae,
|
|
1839
|
+
isBrokerChecked: oe = !1,
|
|
1840
|
+
setIsBrokerChecked: ce = () => {},
|
|
1841
|
+
unhideSymbolSearchGroups: se = ""
|
|
1842
|
+
} = {
|
|
1843
|
+
brokerId: void 0,
|
|
1844
|
+
brokerTitle: void 0
|
|
1845
|
+
};
|
|
1846
|
+
Object(r.useEffect)(() => {
|
|
1847
|
+
(null == y ? void 0 : y.current) && G(y.current.value);
|
|
1848
|
+
}, []), Object(r.useEffect)(() => {
|
|
1849
|
+
const e = y.current;
|
|
1850
|
+
if (e) 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), () => {
|
|
1851
|
+
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));
|
|
1852
|
+
};
|
|
1853
|
+
}, [L]), Object(r.useEffect)(() => {
|
|
1854
|
+
Boolean(T) && "" === F.trim() || (ge(F, m, null == u ? void 0 : u.value), W.current && (W.current.scrollTop = 0));
|
|
1855
|
+
}, [F, m, u, oe, T]), Object(r.useEffect)(() => {
|
|
1856
|
+
if (!k || !y.current) return;
|
|
1857
|
+
if (!d.enabled("show_spread_operators")) return y.current.value = k.symbol, void w();
|
|
1858
|
+
const e = U(k) ? k.exchange : k.parent.exchange,
|
|
1859
|
+
t = {
|
|
1860
|
+
name: k.symbol,
|
|
1861
|
+
exchange: e,
|
|
1862
|
+
prefix: k.prefix,
|
|
1863
|
+
fullName: k.full_name
|
|
1864
|
+
},
|
|
1865
|
+
[n, r] = Object(l.d)(y.current, t, M);
|
|
1866
|
+
y.current.value = n, y.current.setSelectionRange(r, r), w();
|
|
1867
|
+
}, [k]);
|
|
1868
|
+
const ie = Object(r.useCallback)(e => N ? N(e) : e, [N]),
|
|
1869
|
+
ue = null != T ? T : "div",
|
|
1870
|
+
de = Boolean(T) && "symbolSearch" !== t,
|
|
1871
|
+
pe = null != R ? R : v.a,
|
|
1872
|
+
me = Object(r.useMemo)(() => ({
|
|
1873
|
+
listRef: X,
|
|
1874
|
+
resetRecommends: ye,
|
|
1875
|
+
updateRecommends: ge,
|
|
1876
|
+
searchToken: F,
|
|
1877
|
+
emptyTextClassName: Re.emptyText,
|
|
1878
|
+
isBrokerChecked: oe,
|
|
1879
|
+
symbolSearchState: B,
|
|
1880
|
+
currentMode: D
|
|
1881
|
+
}), [X, F, oe, B, D]);
|
|
1882
|
+
return a.a.createElement(I.a.Provider, {
|
|
1883
|
+
value: me
|
|
1884
|
+
}, !(_ && "symbolSearch" === t) && a.a.createElement(pe, {
|
|
1885
|
+
reference: y,
|
|
1886
|
+
className: c()(Re.search, M && Re.upperCase),
|
|
1887
|
+
placeholder: S || Object(s.t)("Search")
|
|
1888
|
+
}, O && a.a.createElement(le, {
|
|
1889
|
+
state: K,
|
|
1890
|
+
update: ve
|
|
1891
|
+
})), de ? a.a.createElement(ue, null) : a.a.createElement(Me, {
|
|
1892
|
+
token: F,
|
|
1893
|
+
state: B,
|
|
1894
|
+
otherSymbolsCount: z,
|
|
1895
|
+
onListTouchMove: function onListTouchMove() {
|
|
1896
|
+
var e;
|
|
1897
|
+
null === (e = y.current) || void 0 === e || e.blur();
|
|
1898
|
+
},
|
|
1899
|
+
onChangeSymbolTypeFilter: function onChangeSymbolTypeFilter(e) {
|
|
1900
|
+
const {
|
|
1901
|
+
value: t
|
|
1902
|
+
} = e;
|
|
1903
|
+
f(t), o(-1);
|
|
1904
|
+
},
|
|
1905
|
+
onResetFilters: function onResetFilters() {
|
|
1906
|
+
var e;
|
|
1907
|
+
f(Object(g.b)()), Le && p(Le);
|
|
1908
|
+
ce(!1), i || null === (e = y.current) || void 0 === e || e.focus();
|
|
1909
|
+
},
|
|
1910
|
+
brokerTitle: ae,
|
|
1911
|
+
isBrokerChecked: oe,
|
|
1912
|
+
onBrokerCheckboxChange: function onBrokerCheckboxChange(e) {
|
|
1913
|
+
ce("on" !== e);
|
|
1914
|
+
},
|
|
1915
|
+
listRef: X,
|
|
1916
|
+
listWrapRef: W
|
|
1917
|
+
}), j);
|
|
1918
|
+
|
|
1919
|
+
function fe() {
|
|
1920
|
+
if (!y.current) return;
|
|
1921
|
+
const [e, t, n] = Object(l.b)(y.current, M);
|
|
1922
|
+
V.current = t, K.current = {
|
|
1923
|
+
selectedIndexValue: -1,
|
|
1924
|
+
searchSpreadsValue: Object(l.e)(n),
|
|
1925
|
+
searchTokenValue: e
|
|
1926
|
+
}, H.current || (H.current = setTimeout(ve, 0));
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
function he() {
|
|
1930
|
+
if (!y.current) return;
|
|
1931
|
+
const [, e] = Object(l.b)(y.current, M);
|
|
1932
|
+
e !== V.current && fe();
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
function be() {
|
|
1936
|
+
d.enabled("show_spread_operators") ? fe() : y.current && (K.current = {
|
|
1937
|
+
selectedIndexValue: -1,
|
|
1938
|
+
searchSpreadsValue: !1,
|
|
1939
|
+
searchTokenValue: y.current.value
|
|
1940
|
+
}, H.current || (H.current = setTimeout(ve, 0)));
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
function ve() {
|
|
1944
|
+
const {
|
|
1945
|
+
selectedIndexValue: e,
|
|
1946
|
+
searchTokenValue: t,
|
|
1947
|
+
searchSpreadsValue: n
|
|
1948
|
+
} = K.current;
|
|
1949
|
+
H.current = null, Object(Q.unstable_batchedUpdates)(() => {
|
|
1950
|
+
x(n), o(e), G(M ? t.toUpperCase() : t);
|
|
1951
|
+
});
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
async function ge(e, t, n) {
|
|
1955
|
+
try {
|
|
1956
|
+
"noop" === B ? Z("loading") : (Oe(), te.current = setTimeout(() => {
|
|
1957
|
+
Z("loading");
|
|
1958
|
+
}, 500)), ke();
|
|
1959
|
+
const r = await async function (e, t, n, r) {
|
|
1960
|
+
var a, o, c;
|
|
1961
|
+
const s = d.enabled("show_spread_operators") ? Object(l.f)(t) : null === (a = y.current) || void 0 === a ? void 0 : a.value;
|
|
1962
|
+
let i;
|
|
1963
|
+
|
|
1964
|
+
if (oe && ne) {
|
|
1965
|
+
const t = await Object(q.b)(e, ne.accountMetainfo());
|
|
1966
|
+
i = t.prefix;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
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,
|
|
1970
|
+
m = {
|
|
1971
|
+
serverHighlight: !1,
|
|
1972
|
+
text: s,
|
|
1973
|
+
exchange: p,
|
|
1974
|
+
type: n,
|
|
1975
|
+
lang: window.language || "",
|
|
1976
|
+
brokerId: re,
|
|
1977
|
+
onlyTradable: Boolean(re) && oe,
|
|
1978
|
+
unhideSymbolSearchGroups: se,
|
|
1979
|
+
signal: e
|
|
1980
|
+
},
|
|
1981
|
+
f = Object($.getSearchRequestDelay)();
|
|
1982
|
+
void 0 !== f && (await Object(q.a)(e, f));
|
|
1983
|
+
return Y(m);
|
|
1984
|
+
}(A.current.signal, e, t, n),
|
|
1985
|
+
a = ie(function (e) {
|
|
1986
|
+
let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : window.ChartApiInstance.symbolsGrouping();
|
|
1987
|
+
var n;
|
|
1988
|
+
const r = {},
|
|
1989
|
+
a = [];
|
|
1990
|
+
|
|
1991
|
+
for (let o = 0; o < e.length; ++o) {
|
|
1992
|
+
const c = e[o];
|
|
1993
|
+
if (c.prefix || Array.isArray(c.contracts)) return e;
|
|
1994
|
+
const s = t[c.type];
|
|
1995
|
+
|
|
1996
|
+
if (void 0 === s) {
|
|
1997
|
+
a.push(c);
|
|
1998
|
+
continue;
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
const i = s.exec(c.symbol);
|
|
2002
|
+
|
|
2003
|
+
if (i) {
|
|
2004
|
+
const e = i[1];
|
|
2005
|
+
let t;
|
|
2006
|
+
r.hasOwnProperty(e) ? t = r[e] : (t = a.length, r[e] = t, a.push({
|
|
2007
|
+
type: c.type,
|
|
2008
|
+
symbol: e,
|
|
2009
|
+
exchange: c.exchange,
|
|
2010
|
+
description: c.description,
|
|
2011
|
+
full_name: c.exchange + ":" + e,
|
|
2012
|
+
contracts: []
|
|
2013
|
+
})), null === (n = a[t].contracts) || void 0 === n || n.push(c);
|
|
2014
|
+
} else a.push(c);
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
return a;
|
|
2018
|
+
}(r));
|
|
2019
|
+
if (!a.length) return Oe(), void Z("empty");
|
|
2020
|
+
Oe(), h(a), Z("good");
|
|
2021
|
+
} catch (e) {
|
|
2022
|
+
Object(q.c)(e);
|
|
2023
|
+
}
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
function ye() {
|
|
2027
|
+
ke(), Z("empty"), G(""), x(!1), Oe();
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
function Ee() {
|
|
2031
|
+
"watchlist" === D.current && (n("symbolSearch"), Object(J.trackEvent)("Watchlist", "Mobile SS", "Go to SS page"));
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
function xe(e) {
|
|
2035
|
+
switch (Object(ee.hashFromEvent)(e)) {
|
|
2036
|
+
case 37:
|
|
2037
|
+
case 39:
|
|
2038
|
+
he();
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
|
|
2042
|
+
function Oe() {
|
|
2043
|
+
te.current && clearTimeout(te.current);
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
function ke() {
|
|
2047
|
+
A.current.abort(), A.current = new AbortController();
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
var ze = n("U0JK"),
|
|
2052
|
+
Pe = n("hYF9");
|
|
2053
|
+
|
|
2054
|
+
function Be(e) {
|
|
2055
|
+
const {
|
|
2056
|
+
theme: t = Pe
|
|
2057
|
+
} = e,
|
|
2058
|
+
{
|
|
2059
|
+
setMode: n,
|
|
2060
|
+
isMobile: r
|
|
2061
|
+
} = Object(C.a)(b.a);
|
|
2062
|
+
return a.a.createElement(h.a, {
|
|
2063
|
+
className: c()(e.className, t.button, !r && t.desktop),
|
|
2064
|
+
icon: ze,
|
|
2065
|
+
onClick: function onClick() {
|
|
2066
|
+
n("symbolSearch");
|
|
2067
|
+
}
|
|
2068
|
+
});
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
var Ze = n("w3Pp"),
|
|
2072
|
+
Ve = n("qC62"),
|
|
2073
|
+
Fe = n("Vdly");
|
|
2074
|
+
|
|
2075
|
+
function Ge(e) {
|
|
2076
|
+
const [t, n] = Object(r.useState)(() => {
|
|
2077
|
+
const t = Fe.getValue("symboledit.exchangefilter", "");
|
|
2078
|
+
return e.exchanges.find(e => e.value === t) || e.defaultExchange;
|
|
2079
|
+
});
|
|
2080
|
+
return [t, Object(r.useCallback)(e => {
|
|
2081
|
+
var t;
|
|
2082
|
+
n(e), t = e, Fe.setValue("symboledit.exchangefilter", t.value);
|
|
2083
|
+
}, [])];
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
function We(e) {
|
|
2087
|
+
const [t, n] = Object(r.useState)(() => {
|
|
2088
|
+
if (1 === e.types.length) return e.types[0].value;
|
|
2089
|
+
const t = Fe.getValue("symboledit.filter", Object(g.b)());
|
|
2090
|
+
return e.types.find(e => e.value === t) ? t : Object(g.b)();
|
|
2091
|
+
});
|
|
2092
|
+
return [t, Object(r.useCallback)(e => {
|
|
2093
|
+
var t;
|
|
2094
|
+
n(e), t = e, Fe.setValue("symboledit.filter", t);
|
|
2095
|
+
}, [])];
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
var Xe = n("gla1"),
|
|
2099
|
+
Ke = n("ozXl");
|
|
2100
|
+
n.d(t, "a", function () {
|
|
2101
|
+
return Ue;
|
|
2102
|
+
});
|
|
2103
|
+
const Qe = Object(g.c)(),
|
|
2104
|
+
qe = Object(g.e)(),
|
|
2105
|
+
He = d.enabled("uppercase_instrument_names");
|
|
2106
|
+
|
|
2107
|
+
function Ue(e) {
|
|
2108
|
+
var t;
|
|
2109
|
+
const {
|
|
2110
|
+
onClose: n,
|
|
2111
|
+
initialMode: o,
|
|
2112
|
+
defaultValue: c = "",
|
|
2113
|
+
showSpreadActions: m,
|
|
2114
|
+
selectSearchOnInit: f = !0,
|
|
2115
|
+
onSearchComplete: h,
|
|
2116
|
+
onSearchFeedReady: v,
|
|
2117
|
+
dialogTitle: y = Object(s.t)("Symbol Search"),
|
|
2118
|
+
placeholder: E,
|
|
2119
|
+
fullscreen: x,
|
|
2120
|
+
initialScreen: O,
|
|
2121
|
+
wrapper: k,
|
|
2122
|
+
dialog: N,
|
|
2123
|
+
contentItem: w,
|
|
2124
|
+
footer: S,
|
|
2125
|
+
symbolTypes: C = Object(g.d)(),
|
|
2126
|
+
searchInput: T,
|
|
2127
|
+
emptyState: j,
|
|
2128
|
+
autofocus: I,
|
|
2129
|
+
dialogWidth: R,
|
|
2130
|
+
onKeyDown: M,
|
|
2131
|
+
exchangeScreen: _
|
|
2132
|
+
} = e,
|
|
2133
|
+
L = void 0 !== e.input,
|
|
2134
|
+
[A, z] = Object(r.useState)(o),
|
|
2135
|
+
P = Object(r.useRef)(c),
|
|
2136
|
+
[B, Z] = Ge({
|
|
2137
|
+
exchanges: Qe,
|
|
2138
|
+
defaultExchange: qe
|
|
2139
|
+
}),
|
|
2140
|
+
[V, F] = We({
|
|
2141
|
+
types: C
|
|
2142
|
+
}),
|
|
2143
|
+
[G, W] = Object(r.useState)([]),
|
|
2144
|
+
[X, K] = Object(r.useState)(!1),
|
|
2145
|
+
[Q, q] = Object(r.useState)(-1),
|
|
2146
|
+
H = Object(r.useRef)(null !== (t = e.input) && void 0 !== t ? t : null),
|
|
2147
|
+
[$, J] = Object(r.useState)(!1),
|
|
2148
|
+
te = Object(Xe.a)(),
|
|
2149
|
+
[ne, re] = Object(r.useState)(new Set()),
|
|
2150
|
+
{
|
|
2151
|
+
broker: ae = null,
|
|
2152
|
+
brokerId: oe,
|
|
2153
|
+
unhideSymbolSearchGroups: ce = "",
|
|
2154
|
+
displayBrokerSymbol: se = !1
|
|
2155
|
+
} = {
|
|
2156
|
+
brokerId: void 0
|
|
2157
|
+
};
|
|
2158
|
+
Object(r.useLayoutEffect)(() => {
|
|
2159
|
+
var e;
|
|
2160
|
+
!(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());
|
|
2161
|
+
}, [A]), Object(r.useEffect)(() => {
|
|
2162
|
+
(null == H ? void 0 : H.current) && f && I && H.current.select();
|
|
2163
|
+
}, []);
|
|
2164
|
+
const ie = Object(r.useMemo)(() => G.reduce((e, t) => {
|
|
2165
|
+
const n = Je(t),
|
|
2166
|
+
r = ne.has(n);
|
|
2167
|
+
return e.push(t), r && t.contracts && e.push(...t.contracts.map(e => _objectSpread(_objectSpread({}, e), {}, {
|
|
2168
|
+
parent: t
|
|
2169
|
+
}))), e;
|
|
2170
|
+
}, []), [G, ne]),
|
|
2171
|
+
le = Object(r.useRef)(null);
|
|
2172
|
+
Object(r.useEffect)(() => {
|
|
2173
|
+
var e;
|
|
2174
|
+
-1 !== Q && (null === (e = le.current) || void 0 === e || e.scrollIntoView({
|
|
2175
|
+
block: "nearest"
|
|
2176
|
+
}));
|
|
2177
|
+
}, [Q, le]);
|
|
2178
|
+
|
|
2179
|
+
const ue = Object(r.useMemo)(() => ie.map((e, t) => {
|
|
2180
|
+
var n, r, a, o;
|
|
2181
|
+
|
|
2182
|
+
if (U(e)) {
|
|
2183
|
+
const a = Je(e),
|
|
2184
|
+
o = e.contracts ? ne.has(a) : void 0,
|
|
2185
|
+
c = t === Q;
|
|
2186
|
+
return {
|
|
2187
|
+
key: t,
|
|
2188
|
+
id: a,
|
|
2189
|
+
title: $e(e, se),
|
|
2190
|
+
description: e.description,
|
|
2191
|
+
isOffset: !1,
|
|
2192
|
+
onClick: ve.bind(null, e),
|
|
2193
|
+
providerId: e.provider_id,
|
|
2194
|
+
country: null === (n = e.country) || void 0 === n ? void 0 : n.toLocaleLowerCase(),
|
|
2195
|
+
type: e.type,
|
|
2196
|
+
exchangeName: e.exchange,
|
|
2197
|
+
marketType: Object(Ze.marketType)(e.type, e.typespecs),
|
|
2198
|
+
isEod: null === (r = e.params) || void 0 === r ? void 0 : r.includes("eod"),
|
|
2199
|
+
isExpanded: o,
|
|
2200
|
+
onExpandClick: e.contracts ? ge.bind(null, a) : void 0,
|
|
2201
|
+
fullSymbolName: Ve.a.fromSymbolSearchResult(e),
|
|
2202
|
+
itemRef: c ? le : void 0,
|
|
2203
|
+
isSelected: t === Q,
|
|
2204
|
+
item: e
|
|
2205
|
+
};
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
{
|
|
2209
|
+
const {
|
|
2210
|
+
parent: n
|
|
2211
|
+
} = e,
|
|
2212
|
+
r = Je(n),
|
|
2213
|
+
c = t === Q;
|
|
2214
|
+
return {
|
|
2215
|
+
key: t,
|
|
2216
|
+
id: r + e.symbol,
|
|
2217
|
+
dangerousTitleHTML: $e(e, se),
|
|
2218
|
+
dangerousDescriptionHTML: "".concat(n.description, " (").concat(e.description, ")"),
|
|
2219
|
+
isOffset: !0,
|
|
2220
|
+
isEod: null === (a = e.params) || void 0 === a ? void 0 : a.includes("eod"),
|
|
2221
|
+
onClick: ye.bind(null, e.parent, e),
|
|
2222
|
+
providerId: n.provider_id,
|
|
2223
|
+
country: null === (o = n.country) || void 0 === o ? void 0 : o.toLowerCase(),
|
|
2224
|
+
type: n.type,
|
|
2225
|
+
exchangeName: n.exchange,
|
|
2226
|
+
marketType: Object(Ze.marketType)(n.type, e.typespecs),
|
|
2227
|
+
fullSymbolName: Ve.a.fromSymbolSearchResult(e.parent, e),
|
|
2228
|
+
itemRef: c ? le : void 0,
|
|
2229
|
+
isSelected: c,
|
|
2230
|
+
item: e
|
|
2231
|
+
};
|
|
2232
|
+
}
|
|
2233
|
+
}), [G, ne, A, Q, M]),
|
|
2234
|
+
de = null != N ? N : tt,
|
|
2235
|
+
pe = de !== tt && !L,
|
|
2236
|
+
me = (e, t) => ({
|
|
2237
|
+
mode: A,
|
|
2238
|
+
setMode: z,
|
|
2239
|
+
selectedExchange: B,
|
|
2240
|
+
setSelectedExchange: Z,
|
|
2241
|
+
selectedSymbolType: V,
|
|
2242
|
+
setSelectedSymbolType: F,
|
|
2243
|
+
selectedIndex: Q,
|
|
2244
|
+
setSelectedIndex: q,
|
|
2245
|
+
onClose: n,
|
|
2246
|
+
setRenderSymbolSearchList: W,
|
|
2247
|
+
searchRef: H,
|
|
2248
|
+
cachedInputValue: P,
|
|
2249
|
+
searchSpreads: X,
|
|
2250
|
+
setSearchSpreads: K,
|
|
2251
|
+
handleListWidth: Ee,
|
|
2252
|
+
isSmallWidth: $,
|
|
2253
|
+
feedItems: ue,
|
|
2254
|
+
isMobile: e,
|
|
2255
|
+
showSpreadActions: m,
|
|
2256
|
+
selectSearchOnInit: f,
|
|
2257
|
+
isTablet: t,
|
|
2258
|
+
selectedItem: ie[Q],
|
|
2259
|
+
onSearchFeedReady: v,
|
|
2260
|
+
forceUpdate: te,
|
|
2261
|
+
placeholder: E,
|
|
2262
|
+
initialScreen: O,
|
|
2263
|
+
toggleExpand: ge,
|
|
2264
|
+
openedItems: ne,
|
|
2265
|
+
onSubmit: ke,
|
|
2266
|
+
onSearchComplete: h,
|
|
2267
|
+
footer: S,
|
|
2268
|
+
symbolTypes: C,
|
|
2269
|
+
contentItem: w,
|
|
2270
|
+
searchInput: T,
|
|
2271
|
+
emptyState: j,
|
|
2272
|
+
autofocus: I,
|
|
2273
|
+
upperCaseEnabled: He,
|
|
2274
|
+
externalInput: L,
|
|
2275
|
+
handleKeyDown: pe ? void 0 : Oe
|
|
2276
|
+
}),
|
|
2277
|
+
fe = null != _ ? _ : D,
|
|
2278
|
+
he = "exchange" === A ? {
|
|
2279
|
+
title: Object(s.t)("Sources"),
|
|
2280
|
+
dataName: "exchanges-search",
|
|
2281
|
+
render: () => a.a.createElement(fe, {
|
|
2282
|
+
exchanges: Qe
|
|
2283
|
+
}),
|
|
2284
|
+
additionalHeaderElement: a.a.createElement(Be, null),
|
|
2285
|
+
additionalElementPos: "before"
|
|
2286
|
+
} : {
|
|
2287
|
+
title: y,
|
|
2288
|
+
dataName: "symbol-search-items-dialog",
|
|
2289
|
+
render: () => a.a.createElement(Ae, null),
|
|
2290
|
+
additionalElementPos: "after"
|
|
2291
|
+
},
|
|
2292
|
+
be = null != k ? k : "div";
|
|
2293
|
+
|
|
2294
|
+
return a.a.createElement(be, null, a.a.createElement(u.a, {
|
|
2295
|
+
rules: p.a
|
|
2296
|
+
}, _ref => {
|
|
2297
|
+
let {
|
|
2298
|
+
TabletSmall: e,
|
|
2299
|
+
TabletNormal: t
|
|
2300
|
+
} = _ref;
|
|
2301
|
+
return a.a.createElement(b.a.Provider, {
|
|
2302
|
+
value: me(e, t)
|
|
2303
|
+
}, a.a.createElement(de, _objectSpread(_objectSpread({}, he), {}, {
|
|
2304
|
+
fullScreen: x,
|
|
2305
|
+
onClose: n,
|
|
2306
|
+
onClickOutside: n,
|
|
2307
|
+
onKeyDown: pe ? void 0 : Oe,
|
|
2308
|
+
isOpened: !0
|
|
2309
|
+
})));
|
|
2310
|
+
}));
|
|
2311
|
+
|
|
2312
|
+
function ve(e) {
|
|
2313
|
+
e.contracts ? ge(Je(e)) : ye(e);
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
function ge(e) {
|
|
2317
|
+
const t = new Set(ne);
|
|
2318
|
+
t.has(e) ? t.delete(e) : t.add(e), re(t);
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
function ye(e, t) {
|
|
2322
|
+
const r = t || e,
|
|
2323
|
+
{
|
|
2324
|
+
exchange: a
|
|
2325
|
+
} = e;
|
|
2326
|
+
|
|
2327
|
+
if (d.enabled("show_spread_operators")) {
|
|
2328
|
+
const e = {
|
|
2329
|
+
name: r.symbol,
|
|
2330
|
+
exchange: a,
|
|
2331
|
+
prefix: r.prefix,
|
|
2332
|
+
fullName: r.full_name
|
|
2333
|
+
};
|
|
2334
|
+
if (X) return xe(e), void te();
|
|
2335
|
+
if (H.current && H.current.value.includes(",")) return void xe(e);
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
const o = [{
|
|
2339
|
+
resolved: !0,
|
|
2340
|
+
symbol: Ve.a.fromSymbolSearchResult(e, t),
|
|
2341
|
+
result: r
|
|
2342
|
+
}];
|
|
2343
|
+
h(o), n();
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
function Ee(e) {
|
|
2347
|
+
J("fixed" === R || e <= 640);
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
function xe(e) {
|
|
2351
|
+
if (!H.current) return;
|
|
2352
|
+
const [t, n] = Object(l.d)(H.current, e, He);
|
|
2353
|
+
H.current.value = t, H.current.setSelectionRange(n, n), H.current.focus();
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
function Oe(e) {
|
|
2357
|
+
switch (Object(ee.hashFromEvent)(e)) {
|
|
2358
|
+
case 38:
|
|
2359
|
+
if (e.preventDefault(), 0 === Q) return;
|
|
2360
|
+
if (-1 === Q) return void q(0);
|
|
2361
|
+
q(Q - 1);
|
|
2362
|
+
break;
|
|
2363
|
+
|
|
2364
|
+
case 40:
|
|
2365
|
+
if (e.preventDefault(), Q === ue.length - 1) return;
|
|
2366
|
+
q(Q + 1);
|
|
2367
|
+
break;
|
|
2368
|
+
|
|
2369
|
+
case 37:
|
|
2370
|
+
{
|
|
2371
|
+
if (-1 === Q) return;
|
|
2372
|
+
const t = ue[Q],
|
|
2373
|
+
{
|
|
2374
|
+
id: n,
|
|
2375
|
+
isOffset: r,
|
|
2376
|
+
onExpandClick: a
|
|
2377
|
+
} = t;
|
|
2378
|
+
!r && n && ne.has(n) && Boolean(a) && (e.preventDefault(), ge(n));
|
|
2379
|
+
break;
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
case 39:
|
|
2383
|
+
{
|
|
2384
|
+
if (-1 === Q) return;
|
|
2385
|
+
const t = ue[Q],
|
|
2386
|
+
{
|
|
2387
|
+
id: n,
|
|
2388
|
+
isOffset: r,
|
|
2389
|
+
onExpandClick: a
|
|
2390
|
+
} = t;
|
|
2391
|
+
!r && n && !ne.has(n) && Boolean(a) && (e.preventDefault(), ge(n));
|
|
2392
|
+
break;
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
case 13:
|
|
2396
|
+
ke(!0);
|
|
2397
|
+
break;
|
|
2398
|
+
|
|
2399
|
+
case 27:
|
|
2400
|
+
e.preventDefault(), n();
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
null == M || M(e);
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
function ke(e) {
|
|
2407
|
+
if (!H.current) return;
|
|
2408
|
+
const t = H.current.value;
|
|
2409
|
+
|
|
2410
|
+
if (d.enabled("show_spread_operators") && X && t) {
|
|
2411
|
+
if (t.includes(",")) {
|
|
2412
|
+
const r = et(t);
|
|
2413
|
+
if (r.some(e => !Ne(e))) return;
|
|
2414
|
+
return h(r.map(Ye)), void (e && n());
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
if (!Ne(t)) return;
|
|
2418
|
+
return h([{
|
|
2419
|
+
symbol: He ? t.toUpperCase() : t,
|
|
2420
|
+
resolved: !1
|
|
2421
|
+
}]), void (e && n());
|
|
2422
|
+
}
|
|
2423
|
+
|
|
2424
|
+
if (t.includes(",")) return h(et(t).map(Ye)), void (e && n());
|
|
2425
|
+
|
|
2426
|
+
if (-1 !== Q) {
|
|
2427
|
+
ue[Q].onClick();
|
|
2428
|
+
} else {
|
|
2429
|
+
const r = He ? t.toUpperCase() : t;
|
|
2430
|
+
|
|
2431
|
+
if (r && "" !== r.trim()) {
|
|
2432
|
+
const e = et(r);
|
|
2433
|
+
if (void 0 !== oe && -1 === r.indexOf(":")) (function (e) {
|
|
2434
|
+
let t = !1;
|
|
2435
|
+
return Promise.all(e.map(e => -1 !== e.indexOf(":") || t ? Promise.resolve({
|
|
2436
|
+
symbol: e,
|
|
2437
|
+
resolved: !1
|
|
2438
|
+
}) : (t = !0, async function (e) {
|
|
2439
|
+
var t;
|
|
2440
|
+
null === (t = await (null == ae ? void 0 : ae.accountMetainfo())) || void 0 === t || t.prefix;
|
|
2441
|
+
const n = await Y({
|
|
2442
|
+
strictMatch: !0,
|
|
2443
|
+
serverHighlight: !1,
|
|
2444
|
+
text: e,
|
|
2445
|
+
lang: window.language || "",
|
|
2446
|
+
brokerId: oe,
|
|
2447
|
+
onlyTradable: !0,
|
|
2448
|
+
unhideSymbolSearchGroups: ce,
|
|
2449
|
+
exchange: void 0
|
|
2450
|
+
});
|
|
2451
|
+
|
|
2452
|
+
if (0 !== n.length) {
|
|
2453
|
+
const e = n[0],
|
|
2454
|
+
{
|
|
2455
|
+
contracts: t
|
|
2456
|
+
} = e,
|
|
2457
|
+
r = t && t.length > 0 ? t[0] : void 0,
|
|
2458
|
+
a = e.prefix || e.exchange,
|
|
2459
|
+
o = r ? r.symbol : e.symbol;
|
|
2460
|
+
if (a && o) return {
|
|
2461
|
+
symbol: Ve.a.fromSymbolSearchResult(e, r),
|
|
2462
|
+
resolved: !0,
|
|
2463
|
+
result: e
|
|
2464
|
+
};
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
return {
|
|
2468
|
+
symbol: e,
|
|
2469
|
+
resolved: !1
|
|
2470
|
+
};
|
|
2471
|
+
}(e))));
|
|
2472
|
+
})(e).then(e => h(e));else {
|
|
2473
|
+
const t = e.map(Ye);
|
|
2474
|
+
h(t);
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
e && n();
|
|
2479
|
+
}
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
function Ne(e) {
|
|
2483
|
+
const t = Object(i.b)(e),
|
|
2484
|
+
n = Object(l.h)(t);
|
|
2485
|
+
if (n.errors.length || n.warnings.length) return !1;
|
|
2486
|
+
const r = ue[Q];
|
|
2487
|
+
return !r || void 0 === r.isExpanded || (r.onClick(), !1);
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
function Ye(e) {
|
|
2492
|
+
return {
|
|
2493
|
+
symbol: He ? e.toUpperCase() : e,
|
|
2494
|
+
resolved: !1
|
|
2495
|
+
};
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
function $e(e, t) {
|
|
2499
|
+
const {
|
|
2500
|
+
broker_symbol: n,
|
|
2501
|
+
symbol: r
|
|
2502
|
+
} = e;
|
|
2503
|
+
return "".concat(r).concat(t && n ? " (".concat(n, ")") : "");
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
function Je(e) {
|
|
2507
|
+
return e.symbol + e.exchange + e.description;
|
|
2508
|
+
}
|
|
2509
|
+
|
|
2510
|
+
function et(e) {
|
|
2511
|
+
return e.split(",").map(e => e.trim()).filter(e => "" !== e);
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2514
|
+
function tt(e) {
|
|
2515
|
+
const {
|
|
2516
|
+
isMobile: t,
|
|
2517
|
+
isTablet: n
|
|
2518
|
+
} = Object(C.a)(b.a);
|
|
2519
|
+
return a.a.createElement(m.a, _objectSpread(_objectSpread({}, e), {}, {
|
|
2520
|
+
className: c()(Ke.dialog, !t && (n ? Ke.tabletDialog : Ke.desktopDialog)),
|
|
2521
|
+
backdrop: !0,
|
|
2522
|
+
draggable: !1
|
|
2523
|
+
}));
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2526
|
+
vqb8: function vqb8(e, t, n) {
|
|
2527
|
+
"use strict";
|
|
2528
|
+
|
|
2529
|
+
n.d(t, "a", function () {
|
|
2530
|
+
return a;
|
|
2531
|
+
});
|
|
2532
|
+
var r = n("q1tI");
|
|
2533
|
+
|
|
2534
|
+
const a = e => {
|
|
2535
|
+
const t = "watchedValue" in e ? e.watchedValue : void 0,
|
|
2536
|
+
n = "defaultValue" in e ? e.defaultValue : e.watchedValue.value(),
|
|
2537
|
+
[a, o] = Object(r.useState)(t ? t.value() : n);
|
|
2538
|
+
return Object(r.useEffect)(() => {
|
|
2539
|
+
if (t) {
|
|
2540
|
+
o(t.value());
|
|
2541
|
+
|
|
2542
|
+
const e = e => o(e);
|
|
2543
|
+
|
|
2544
|
+
return t.subscribe(e), () => t.unsubscribe(e);
|
|
2545
|
+
}
|
|
2546
|
+
|
|
2547
|
+
return () => {};
|
|
2548
|
+
}, [t]), a;
|
|
2549
|
+
};
|
|
2550
|
+
},
|
|
2551
|
+
w3Pp: function w3Pp(e, t, n) {
|
|
2552
|
+
"use strict";
|
|
2553
|
+
|
|
2554
|
+
n.r(t), n.d(t, "marketType", function () {
|
|
2555
|
+
return i;
|
|
2556
|
+
});
|
|
2557
|
+
var r = n("YFKU");
|
|
2558
|
+
n("HbRj");
|
|
2559
|
+
const a = new Map(),
|
|
2560
|
+
o = {
|
|
2561
|
+
context: "market_type"
|
|
2562
|
+
},
|
|
2563
|
+
c = {
|
|
2564
|
+
cfd: Object(r.t)("cfd", o),
|
|
2565
|
+
bitcoin: Object(r.t)("crypto", o),
|
|
2566
|
+
crypto: Object(r.t)("crypto", o),
|
|
2567
|
+
dr: Object(r.t)("dr", o),
|
|
2568
|
+
forex: Object(r.t)("forex", o),
|
|
2569
|
+
futures: Object(r.t)("futures", o),
|
|
2570
|
+
index: Object(r.t)("index", o),
|
|
2571
|
+
stock: Object(r.t)("stock", o)
|
|
2572
|
+
},
|
|
2573
|
+
s = new Set(["cfd", "spreadbet", "defi"]);
|
|
2574
|
+
|
|
2575
|
+
function i(e) {
|
|
2576
|
+
let t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
2577
|
+
const n = t.filter(e => s.has(e)),
|
|
2578
|
+
i = "".concat(e, "_").concat(n.sort().join("_")),
|
|
2579
|
+
l = a.get(i);
|
|
2580
|
+
if (void 0 !== l) return l;
|
|
2581
|
+
const u = Boolean(t.length) ? Object(r.t)(e, o) + " " + n.join(" ") : c[e] || e;
|
|
2582
|
+
return a.set(i, u), u;
|
|
2583
|
+
}
|
|
2584
|
+
},
|
|
2585
|
+
wy57: function wy57(e, t) {
|
|
2586
|
+
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>';
|
|
2587
|
+
},
|
|
2588
|
+
zjoO: function zjoO(e, t, n) {
|
|
2589
|
+
"use strict";
|
|
2590
|
+
|
|
2591
|
+
n.d(t, "a", function () {
|
|
2592
|
+
return g;
|
|
2593
|
+
});
|
|
2594
|
+
var r = n("q1tI"),
|
|
2595
|
+
a = n.n(r),
|
|
2596
|
+
o = n("TSYQ"),
|
|
2597
|
+
c = n.n(o),
|
|
2598
|
+
s = n("Eyy1"),
|
|
2599
|
+
i = n("Iivm"),
|
|
2600
|
+
l = n("1LIl"),
|
|
2601
|
+
u = n("H9Gg"),
|
|
2602
|
+
d = n("VogD"),
|
|
2603
|
+
p = n("FZIs"),
|
|
2604
|
+
m = n("vqb8"),
|
|
2605
|
+
f = n("oiZD"),
|
|
2606
|
+
h = n("8+VR"),
|
|
2607
|
+
b = n("+5L9"),
|
|
2608
|
+
v = n("eIOu");
|
|
2609
|
+
|
|
2610
|
+
function g(e) {
|
|
2611
|
+
const {
|
|
2612
|
+
dangerousTitleHTML: t,
|
|
2613
|
+
title: n,
|
|
2614
|
+
dangerousDescriptionHTML: o,
|
|
2615
|
+
description: g,
|
|
2616
|
+
searchToken: y,
|
|
2617
|
+
exchangeName: E,
|
|
2618
|
+
marketType: x,
|
|
2619
|
+
onClick: O,
|
|
2620
|
+
isSelected: k,
|
|
2621
|
+
isEod: N = !1,
|
|
2622
|
+
isActive: w = !1,
|
|
2623
|
+
isOffset: S = !1,
|
|
2624
|
+
invalid: C = !1,
|
|
2625
|
+
isHighlighted: T = !1,
|
|
2626
|
+
hideExchange: j = !1,
|
|
2627
|
+
onExpandClick: I,
|
|
2628
|
+
isExpanded: R,
|
|
2629
|
+
hoverComponent: M,
|
|
2630
|
+
country: _,
|
|
2631
|
+
providerId: L,
|
|
2632
|
+
type: D,
|
|
2633
|
+
flag: A,
|
|
2634
|
+
itemRef: z,
|
|
2635
|
+
onMouseOut: P,
|
|
2636
|
+
onMouseOver: B,
|
|
2637
|
+
className: Z,
|
|
2638
|
+
actions: V,
|
|
2639
|
+
reference: F
|
|
2640
|
+
} = e,
|
|
2641
|
+
{
|
|
2642
|
+
isSmallWidth: G,
|
|
2643
|
+
isMobile: W
|
|
2644
|
+
} = Object(s.ensureNotNull)(Object(r.useContext)(d.a)),
|
|
2645
|
+
X = Boolean(M),
|
|
2646
|
+
K = !C && !j && (W || !X),
|
|
2647
|
+
Q = Object(m.a)({
|
|
2648
|
+
watchedValue: f.watchedTheme
|
|
2649
|
+
}) === p.a.Dark ? v.dark : v.light,
|
|
2650
|
+
q = M;
|
|
2651
|
+
return a.a.createElement("div", {
|
|
2652
|
+
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),
|
|
2653
|
+
onClick: function (e, t) {
|
|
2654
|
+
if (!e || t.defaultPrevented) return;
|
|
2655
|
+
t.preventDefault(), e(t);
|
|
2656
|
+
}.bind(null, O),
|
|
2657
|
+
"data-role": e["data-role"] || "list-item",
|
|
2658
|
+
"data-active": w,
|
|
2659
|
+
"data-name": "symbol-search-dialog-content-item",
|
|
2660
|
+
onMouseOut: P,
|
|
2661
|
+
onMouseOver: B,
|
|
2662
|
+
ref: F
|
|
2663
|
+
}, a.a.createElement("div", {
|
|
2664
|
+
ref: z,
|
|
2665
|
+
className: c()(v.itemInfoCell, v.cell, S && v.offset)
|
|
2666
|
+
}, a.a.createElement("div", {
|
|
2667
|
+
className: v.expandHandleWrap,
|
|
2668
|
+
onClick: function onClick(e) {
|
|
2669
|
+
if (!I || e.defaultPrevented) return;
|
|
2670
|
+
e.preventDefault(), I(e);
|
|
2671
|
+
}
|
|
2672
|
+
}, I && a.a.createElement(i.a, {
|
|
2673
|
+
className: c()(v.expandHandle, R && v.expanded),
|
|
2674
|
+
icon: b
|
|
2675
|
+
})), a.a.createElement("div", {
|
|
2676
|
+
className: v.description
|
|
2677
|
+
}, n && a.a.createElement("div", {
|
|
2678
|
+
className: c()(v.symbolTitle, w && v.active, C && v.invalid, !Boolean(o) && v.noDescription),
|
|
2679
|
+
"data-name": "list-item-title"
|
|
2680
|
+
}, "string" == typeof n && y ? a.a.createElement(l.a, {
|
|
2681
|
+
className: v.highlightedText,
|
|
2682
|
+
text: n,
|
|
2683
|
+
queryString: y,
|
|
2684
|
+
rules: Object(u.a)(y)
|
|
2685
|
+
}) : n, N && a.a.createElement("span", {
|
|
2686
|
+
className: v.dataMode
|
|
2687
|
+
}, "E")), !n && t && a.a.createElement("div", {
|
|
2688
|
+
className: c()(v.symbolTitle, w && v.active, C && v.invalid),
|
|
2689
|
+
"data-name": "list-item-title"
|
|
2690
|
+
}, a.a.createElement("span", {
|
|
2691
|
+
dangerouslySetInnerHTML: {
|
|
2692
|
+
__html: t
|
|
2693
|
+
}
|
|
2694
|
+
}), N && a.a.createElement("span", {
|
|
2695
|
+
className: v.dataMode
|
|
2696
|
+
}, "E")), G && H())), !G && H(), q ? a.a.createElement(q, _objectSpread(_objectSpread({}, e), {}, {
|
|
2697
|
+
className: v.cell,
|
|
2698
|
+
onMouseOver: void 0,
|
|
2699
|
+
onMouseOut: void 0
|
|
2700
|
+
})) : null, K && a.a.createElement("div", {
|
|
2701
|
+
className: c()(v.exchangeCell, v.cell)
|
|
2702
|
+
}, a.a.createElement("div", {
|
|
2703
|
+
className: c()(v.exchangeDescription)
|
|
2704
|
+
}, a.a.createElement("div", {
|
|
2705
|
+
className: c()(v.marketType, w && v.active)
|
|
2706
|
+
}, x), a.a.createElement("div", {
|
|
2707
|
+
className: c()(v.exchangeName, w && v.active)
|
|
2708
|
+
}, E)), !1), a.a.createElement("div", {
|
|
2709
|
+
className: c()(v.cell, Boolean(V) && v.actionsCell)
|
|
2710
|
+
}, V));
|
|
2711
|
+
|
|
2712
|
+
function H() {
|
|
2713
|
+
if (C) return null;
|
|
2714
|
+
const e = c()(v.symbolDescription, !G && v.cell, w && v.active, !h.mobiletouch && "apply-overflow-tooltip apply-overflow-tooltip--allow-text");
|
|
2715
|
+
return g ? a.a.createElement("div", {
|
|
2716
|
+
className: e
|
|
2717
|
+
}, y ? a.a.createElement(l.a, {
|
|
2718
|
+
className: v.highlightedText,
|
|
2719
|
+
text: g,
|
|
2720
|
+
queryString: y,
|
|
2721
|
+
rules: Object(u.a)(y)
|
|
2722
|
+
}) : g) : o ? a.a.createElement("div", {
|
|
2723
|
+
className: e,
|
|
2724
|
+
dangerouslySetInnerHTML: {
|
|
2725
|
+
__html: o
|
|
2726
|
+
}
|
|
2727
|
+
}) : null;
|
|
2728
|
+
}
|
|
2729
|
+
}
|
|
2730
|
+
}
|
|
2731
|
+
}]);
|