binbot-charts 0.7.1 → 0.7.2
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/package.json +21 -5
- package/babel.config.json +0 -13
- package/browserslist +0 -31
- package/package-lock.json +0 -18327
- package/public/charting_library/bundles/0.d46f0b5e9380d7893de5.js +0 -2
- package/public/charting_library/bundles/0579d40b812fa2c3ffe72e5803a6e14c.cur +0 -0
- package/public/charting_library/bundles/1.92647ec0a7beb8b2898d.css +0 -0
- package/public/charting_library/bundles/1.92647ec0a7beb8b2898d.rtl.css +0 -0
- package/public/charting_library/bundles/1.f02c87d35fbc8ffcaedb.js +0 -1
- package/public/charting_library/bundles/10.21e665b7935d5bc4ba64.js +0 -6
- package/public/charting_library/bundles/11.8b65dc2e0d8b6e5041c4.css +0 -1
- package/public/charting_library/bundles/11.8b65dc2e0d8b6e5041c4.rtl.css +0 -1
- package/public/charting_library/bundles/11.df012db70159a159d927.js +0 -1
- package/public/charting_library/bundles/12.37750b21f6d8d35c6e6e.js +0 -1
- package/public/charting_library/bundles/12.ef8057448f3a7ae1c3d8.css +0 -1
- package/public/charting_library/bundles/12.ef8057448f3a7ae1c3d8.rtl.css +0 -1
- package/public/charting_library/bundles/13.699469c73d09b7add56d.js +0 -1
- package/public/charting_library/bundles/13.9240f13280154f2593b7.css +0 -1
- package/public/charting_library/bundles/13.9240f13280154f2593b7.rtl.css +0 -1
- package/public/charting_library/bundles/14.8095b40dd1e7deedf401.css +0 -1
- package/public/charting_library/bundles/14.8095b40dd1e7deedf401.rtl.css +0 -1
- package/public/charting_library/bundles/14.d1148b38d59df9ca5061.js +0 -1
- package/public/charting_library/bundles/15.44f2acca80348a1da1a6.js +0 -3
- package/public/charting_library/bundles/16.680572949c1125757d35.js +0 -1
- package/public/charting_library/bundles/16.d567c9db608f3d98d8de.css +0 -1
- package/public/charting_library/bundles/16.d567c9db608f3d98d8de.rtl.css +0 -1
- package/public/charting_library/bundles/17.404a01f527881dfff424.js +0 -1
- package/public/charting_library/bundles/17.ec35a19db935279c5b42.css +0 -1
- package/public/charting_library/bundles/17.ec35a19db935279c5b42.rtl.css +0 -1
- package/public/charting_library/bundles/18.78de69cfba051874e071.js +0 -4
- package/public/charting_library/bundles/19.048f7f5d36fef428ca8d.js +0 -1
- package/public/charting_library/bundles/19.75c30426f9d3ad5ca0c5.css +0 -1
- package/public/charting_library/bundles/19.75c30426f9d3ad5ca0c5.rtl.css +0 -1
- package/public/charting_library/bundles/1df47f578aeef40dd1f2328338a133be.png +0 -0
- package/public/charting_library/bundles/2.60931787a6734697ac13.js +0 -4
- package/public/charting_library/bundles/20.bc09ed47c5a62e1bc5c2.js +0 -4
- package/public/charting_library/bundles/21.4c7b5cccb67a95e7e782.js +0 -1
- package/public/charting_library/bundles/21.8153544955cdc47262e3.css +0 -1
- package/public/charting_library/bundles/21.8153544955cdc47262e3.rtl.css +0 -1
- package/public/charting_library/bundles/22.ca4300bcf614d8d5f4ab.js +0 -1
- package/public/charting_library/bundles/22.da9773799a06c6066d1e.css +0 -1
- package/public/charting_library/bundles/22.da9773799a06c6066d1e.rtl.css +0 -1
- package/public/charting_library/bundles/23.256ba98e6a03200bdeba.js +0 -1
- package/public/charting_library/bundles/23.ee754f50171546186397.css +0 -1
- package/public/charting_library/bundles/23.ee754f50171546186397.rtl.css +0 -1
- package/public/charting_library/bundles/24.bc4fafedb1730259aa10.js +0 -1
- package/public/charting_library/bundles/24.e70c1623e0c74477ef2e.css +0 -1
- package/public/charting_library/bundles/24.e70c1623e0c74477ef2e.rtl.css +0 -1
- package/public/charting_library/bundles/25.7416db26ed3dcc87c05a.js +0 -18
- package/public/charting_library/bundles/26.3aeec391d4e6e19989ee.js +0 -1
- package/public/charting_library/bundles/26.69139a843bc1c84f790b.css +0 -1
- package/public/charting_library/bundles/26.69139a843bc1c84f790b.rtl.css +0 -1
- package/public/charting_library/bundles/27.e3ec08b1fb9df5f36ada.js +0 -3
- package/public/charting_library/bundles/28.3140e8cb507ad2593c76.css +0 -1
- package/public/charting_library/bundles/28.3140e8cb507ad2593c76.rtl.css +0 -1
- package/public/charting_library/bundles/28.9f103042c27ea2df422f.js +0 -1
- package/public/charting_library/bundles/29.07af6dca962ea27209f0.css +0 -1
- package/public/charting_library/bundles/29.07af6dca962ea27209f0.rtl.css +0 -1
- package/public/charting_library/bundles/29.3df8712b85d45a626aa0.js +0 -1
- package/public/charting_library/bundles/3.76c398b01b707e5b251c.js +0 -1
- package/public/charting_library/bundles/3.eeb90413029441681f91.css +0 -1
- package/public/charting_library/bundles/3.eeb90413029441681f91.rtl.css +0 -1
- package/public/charting_library/bundles/30.0b732ccb122d160480b6.js +0 -8
- package/public/charting_library/bundles/31.8d2b7a538755fd1bb760.js +0 -5
- package/public/charting_library/bundles/32.13ce02217cf8f9dd6d90.js +0 -4
- package/public/charting_library/bundles/3293616ec0c605c7c2db25829a0a509e.woff +0 -0
- package/public/charting_library/bundles/33.02ed7df481ae8243d2f2.css +0 -1
- package/public/charting_library/bundles/33.02ed7df481ae8243d2f2.rtl.css +0 -1
- package/public/charting_library/bundles/33.4d0dd1f7001fc02099bb.js +0 -1
- package/public/charting_library/bundles/34.4b6099931f57311efc1a.css +0 -1
- package/public/charting_library/bundles/34.4b6099931f57311efc1a.rtl.css +0 -1
- package/public/charting_library/bundles/34.c9baa59add71a1e48fd2.js +0 -1
- package/public/charting_library/bundles/35.999f0e072062b7369a1a.css +0 -1
- package/public/charting_library/bundles/35.999f0e072062b7369a1a.rtl.css +0 -1
- package/public/charting_library/bundles/35.ed9e360f9686ad3a9497.js +0 -1
- package/public/charting_library/bundles/36.1882d1a8d312a0e193e9.js +0 -1
- package/public/charting_library/bundles/36.f315a19c17d5636af8f7.css +0 -1
- package/public/charting_library/bundles/36.f315a19c17d5636af8f7.rtl.css +0 -1
- package/public/charting_library/bundles/37.90129e4904155350d6a1.js +0 -8
- package/public/charting_library/bundles/38.41f3d509b61c8af47de3.js +0 -3
- package/public/charting_library/bundles/39.74a7bc3b464cd284827f.css +0 -1
- package/public/charting_library/bundles/39.74a7bc3b464cd284827f.rtl.css +0 -1
- package/public/charting_library/bundles/39.bc1e9ce938fd5152831f.js +0 -1
- package/public/charting_library/bundles/4.92647ec0a7beb8b2898d.css +0 -0
- package/public/charting_library/bundles/4.92647ec0a7beb8b2898d.rtl.css +0 -0
- package/public/charting_library/bundles/4.c7430b8d89cddcf51345.js +0 -1
- package/public/charting_library/bundles/40.b59f41ba4cacbfb8acc3.js +0 -2
- package/public/charting_library/bundles/40566afd832a155e5e370a8bd423de4b.svg +0 -1
- package/public/charting_library/bundles/40f9a03d174178efb12303caa9bc7cd8.woff2 +0 -0
- package/public/charting_library/bundles/41.8fa0fb0bd4ad0241ef2f.css +0 -1
- package/public/charting_library/bundles/41.8fa0fb0bd4ad0241ef2f.rtl.css +0 -1
- package/public/charting_library/bundles/41.a19b0ae5d68f855d2753.js +0 -1
- package/public/charting_library/bundles/42.494986b0981f6d116fef.js +0 -1
- package/public/charting_library/bundles/42.9078fb8f1629e3eee9bd.css +0 -1
- package/public/charting_library/bundles/42.9078fb8f1629e3eee9bd.rtl.css +0 -1
- package/public/charting_library/bundles/43.619c5ed4a592cc2965a4.js +0 -1
- package/public/charting_library/bundles/43.8bf90585004742c338c5.css +0 -1
- package/public/charting_library/bundles/43.8bf90585004742c338c5.rtl.css +0 -1
- package/public/charting_library/bundles/44.0a7df307e4f397763ce8.js +0 -25
- package/public/charting_library/bundles/45.12a19785e3864bd62a76.css +0 -1
- package/public/charting_library/bundles/45.12a19785e3864bd62a76.rtl.css +0 -1
- package/public/charting_library/bundles/45.db9dbd3e9bfeca5333da.js +0 -1
- package/public/charting_library/bundles/46.f1d4cfe6d6f830b4a011.js +0 -3
- package/public/charting_library/bundles/47.a3da3f774c90bd22798e.js +0 -4
- package/public/charting_library/bundles/48.a3fdb9dd54af71b3bda6.css +0 -1
- package/public/charting_library/bundles/48.a3fdb9dd54af71b3bda6.rtl.css +0 -1
- package/public/charting_library/bundles/48.a93f9cb8b1bcc0e0f21e.js +0 -1
- package/public/charting_library/bundles/49.bacd609f7eb77a4a4b68.js +0 -1
- package/public/charting_library/bundles/49.d723843c9192493b8c13.css +0 -1
- package/public/charting_library/bundles/49.d723843c9192493b8c13.rtl.css +0 -1
- package/public/charting_library/bundles/4a9abefd31dab7c8239e02e925aacd78.png +0 -0
- package/public/charting_library/bundles/4fafff07d8914dc11f6d335f606ff47c.png +0 -0
- package/public/charting_library/bundles/5.5e97b270ab80d99e9085.js +0 -3
- package/public/charting_library/bundles/50.8d5cba5b90176d3d2e3d.css +0 -1
- package/public/charting_library/bundles/50.8d5cba5b90176d3d2e3d.rtl.css +0 -1
- package/public/charting_library/bundles/50.b282667dddcb7fe1569a.js +0 -1
- package/public/charting_library/bundles/51.11871c50951db825ace3.js +0 -1
- package/public/charting_library/bundles/51.300c3df03ca063ec03a0.css +0 -1
- package/public/charting_library/bundles/51.300c3df03ca063ec03a0.rtl.css +0 -1
- package/public/charting_library/bundles/52.0379a85baae3ab43b15c.js +0 -1
- package/public/charting_library/bundles/52.29cec22b3525b47af67e.css +0 -1
- package/public/charting_library/bundles/52.29cec22b3525b47af67e.rtl.css +0 -1
- package/public/charting_library/bundles/53.1d3ec98cfb8e19affb1c.js +0 -12
- package/public/charting_library/bundles/54.bb5888ae55ea0a253a5b.js +0 -7
- package/public/charting_library/bundles/55.3c35a629db21ab961f11.js +0 -9
- package/public/charting_library/bundles/56.b3e69145c0fee614443d.js +0 -4
- package/public/charting_library/bundles/57.236996ec416da4c1f683.js +0 -3
- package/public/charting_library/bundles/58.7ffac4ba908b95705e63.js +0 -3
- package/public/charting_library/bundles/59.397cb6699b74d64072a8.js +0 -1
- package/public/charting_library/bundles/59.418f1db161eefae63284.css +0 -1
- package/public/charting_library/bundles/59.418f1db161eefae63284.rtl.css +0 -1
- package/public/charting_library/bundles/6.2221bb6a5d920bbb4bb2.css +0 -1
- package/public/charting_library/bundles/6.2221bb6a5d920bbb4bb2.rtl.css +0 -1
- package/public/charting_library/bundles/6.2d67b0ae77825dbd455d.js +0 -1
- package/public/charting_library/bundles/60.6b5eced2ef8fa856be88.js +0 -1
- package/public/charting_library/bundles/60.d4583c71cca790a25900.css +0 -1
- package/public/charting_library/bundles/60.d4583c71cca790a25900.rtl.css +0 -1
- package/public/charting_library/bundles/61.38a3040c925fadff7b64.js +0 -6
- package/public/charting_library/bundles/62.63b309f5f8da9ca013b8.js +0 -3
- package/public/charting_library/bundles/63.8255c7f5191bcafcee7c.js +0 -1
- package/public/charting_library/bundles/63.898a61bf08239711dc74.css +0 -1
- package/public/charting_library/bundles/63.898a61bf08239711dc74.rtl.css +0 -1
- package/public/charting_library/bundles/64.6f232bdb0fb4cdcc2d7d.css +0 -1
- package/public/charting_library/bundles/64.6f232bdb0fb4cdcc2d7d.rtl.css +0 -1
- package/public/charting_library/bundles/64.ec4b4d03b28c77658dde.js +0 -1
- package/public/charting_library/bundles/65.556980fc277562af83c8.css +0 -1
- package/public/charting_library/bundles/65.556980fc277562af83c8.rtl.css +0 -1
- package/public/charting_library/bundles/65.f895a78b4e04257983ff.js +0 -1
- package/public/charting_library/bundles/66.2979e9b7c35e7bf03a37.js +0 -1
- package/public/charting_library/bundles/66.84b4001b5c622a569dde.css +0 -1
- package/public/charting_library/bundles/66.84b4001b5c622a569dde.rtl.css +0 -1
- package/public/charting_library/bundles/67.19c83a0c303c290216d2.css +0 -1
- package/public/charting_library/bundles/67.19c83a0c303c290216d2.rtl.css +0 -1
- package/public/charting_library/bundles/67.25fd4b78c8c514988aeb.js +0 -1
- package/public/charting_library/bundles/68.8b4124c875484d11fd94.js +0 -1
- package/public/charting_library/bundles/68.fa7424ae9c5fe5483aac.css +0 -1
- package/public/charting_library/bundles/68.fa7424ae9c5fe5483aac.rtl.css +0 -1
- package/public/charting_library/bundles/69.094b4a764d3dc17820cf.css +0 -1
- package/public/charting_library/bundles/69.094b4a764d3dc17820cf.rtl.css +0 -1
- package/public/charting_library/bundles/69.43756a5c7477730eb0c4.js +0 -1
- package/public/charting_library/bundles/7.2c7c4f8a49c6380227de.js +0 -3
- package/public/charting_library/bundles/70.c27146ec029eda556108.css +0 -1
- package/public/charting_library/bundles/70.c27146ec029eda556108.rtl.css +0 -1
- package/public/charting_library/bundles/70.cb9d1bb5a00896c1bb97.js +0 -1
- package/public/charting_library/bundles/71.15e639d294c4209f256e.css +0 -1
- package/public/charting_library/bundles/71.15e639d294c4209f256e.rtl.css +0 -1
- package/public/charting_library/bundles/71.6a9d0842f5e48f68399c.js +0 -1
- package/public/charting_library/bundles/72.07441fd67b864b86147b.css +0 -1
- package/public/charting_library/bundles/72.07441fd67b864b86147b.rtl.css +0 -1
- package/public/charting_library/bundles/72.e3925aaf38d2c8997638.js +0 -1
- package/public/charting_library/bundles/73.6b8b9e5e2c8e2b753cb8.css +0 -1
- package/public/charting_library/bundles/73.6b8b9e5e2c8e2b753cb8.rtl.css +0 -1
- package/public/charting_library/bundles/73.8ca1a096c5bdc2e5fb8a.js +0 -1
- package/public/charting_library/bundles/7393f661fc7d4389ea6d4dabd2a5aeea.png +0 -0
- package/public/charting_library/bundles/74.34dcc0d3cd1bbfa5e951.js +0 -1
- package/public/charting_library/bundles/74.8c591c252b2e7ad8f744.css +0 -1
- package/public/charting_library/bundles/74.8c591c252b2e7ad8f744.rtl.css +0 -1
- package/public/charting_library/bundles/75.1c9a3a6524248ddf88bf.js +0 -1
- package/public/charting_library/bundles/75.fefbc386c59bf7d4f9f7.css +0 -1
- package/public/charting_library/bundles/75.fefbc386c59bf7d4f9f7.rtl.css +0 -1
- package/public/charting_library/bundles/76.5d20bed213399f326603.js +0 -1
- package/public/charting_library/bundles/76.f14d71a31295d8cd8d8b.css +0 -1
- package/public/charting_library/bundles/76.f14d71a31295d8cd8d8b.rtl.css +0 -1
- package/public/charting_library/bundles/77.3e4ccccc7d3eb03c488f.js +0 -1
- package/public/charting_library/bundles/77.9c35f7046b848fbfd7f5.css +0 -1
- package/public/charting_library/bundles/77.9c35f7046b848fbfd7f5.rtl.css +0 -1
- package/public/charting_library/bundles/78.0d502ab4d94441708606.css +0 -1
- package/public/charting_library/bundles/78.0d502ab4d94441708606.rtl.css +0 -1
- package/public/charting_library/bundles/78.1d1d47a915b06f1496fb.js +0 -1
- package/public/charting_library/bundles/79.86e92b77f8cf32e6bc37.js +0 -1
- package/public/charting_library/bundles/79.b990749a4839f9123f26.css +0 -1
- package/public/charting_library/bundles/79.b990749a4839f9123f26.rtl.css +0 -1
- package/public/charting_library/bundles/7e0cc5f7d7f5151500dd60b8d6ca60a1.png +0 -0
- package/public/charting_library/bundles/8.e66ab8f27911a033604f.css +0 -1
- package/public/charting_library/bundles/8.e66ab8f27911a033604f.rtl.css +0 -1
- package/public/charting_library/bundles/8.ffab20b86db484062268.js +0 -1
- package/public/charting_library/bundles/80.5bdd53d5fc42d40eee28.css +0 -1
- package/public/charting_library/bundles/80.5bdd53d5fc42d40eee28.rtl.css +0 -1
- package/public/charting_library/bundles/80.b5bc6acec3b531a510a9.js +0 -1
- package/public/charting_library/bundles/81.552e046aa828739c508b.css +0 -1
- package/public/charting_library/bundles/81.552e046aa828739c508b.rtl.css +0 -1
- package/public/charting_library/bundles/81.e6a1f76017a44b03480b.js +0 -1
- package/public/charting_library/bundles/82.8c2919e6c8f54e36e9e6.js +0 -1
- package/public/charting_library/bundles/82.e06fe84c8cdead4bd52e.css +0 -1
- package/public/charting_library/bundles/82.e06fe84c8cdead4bd52e.rtl.css +0 -1
- package/public/charting_library/bundles/83.e238aa056c5d4827cbdd.css +0 -1
- package/public/charting_library/bundles/83.e238aa056c5d4827cbdd.rtl.css +0 -1
- package/public/charting_library/bundles/83.f3e53bb5a5940e084955.js +0 -1
- package/public/charting_library/bundles/84.8acc496b4deeeeefb5af.js +0 -1
- package/public/charting_library/bundles/84.bb4fc57627c8626019fd.css +0 -1
- package/public/charting_library/bundles/84.bb4fc57627c8626019fd.rtl.css +0 -1
- package/public/charting_library/bundles/85.39c78fbeaabae306f343.js +0 -1
- package/public/charting_library/bundles/85.e0ba32bafcab02208901.css +0 -1
- package/public/charting_library/bundles/85.e0ba32bafcab02208901.rtl.css +0 -1
- package/public/charting_library/bundles/86.4bbbb9e6262243419986.js +0 -1
- package/public/charting_library/bundles/86.9244fc2bcc2370425a15.css +0 -1
- package/public/charting_library/bundles/86.9244fc2bcc2370425a15.rtl.css +0 -1
- package/public/charting_library/bundles/87.605cbc508223ec27341c.css +0 -1
- package/public/charting_library/bundles/87.605cbc508223ec27341c.rtl.css +0 -1
- package/public/charting_library/bundles/87.cf03fa0a76bfcadd157d.js +0 -1
- package/public/charting_library/bundles/88.158dd8a18e176936a343.css +0 -1
- package/public/charting_library/bundles/88.158dd8a18e176936a343.rtl.css +0 -1
- package/public/charting_library/bundles/88.d1e3aec63ece25f6b8a9.js +0 -1
- package/public/charting_library/bundles/89.5f142643917701de773b.css +0 -1
- package/public/charting_library/bundles/89.5f142643917701de773b.rtl.css +0 -1
- package/public/charting_library/bundles/89.d8aa43b4b9378722d572.js +0 -1
- package/public/charting_library/bundles/898929f1acdb622689e0fc0c95c8fcd0.png +0 -0
- package/public/charting_library/bundles/9.84ecbc930e51cb26d06a.js +0 -1
- package/public/charting_library/bundles/9.8ab09f93a5113a634119.css +0 -1
- package/public/charting_library/bundles/9.8ab09f93a5113a634119.rtl.css +0 -1
- package/public/charting_library/bundles/90.877114560c4828a97702.css +0 -1
- package/public/charting_library/bundles/90.877114560c4828a97702.rtl.css +0 -1
- package/public/charting_library/bundles/90.ce47bb68fc3fc88b5590.js +0 -1
- package/public/charting_library/bundles/91.2142b248a2bb29549a99.css +0 -1
- package/public/charting_library/bundles/91.2142b248a2bb29549a99.rtl.css +0 -1
- package/public/charting_library/bundles/91.a9b79ef7ba0a62311a53.js +0 -1
- package/public/charting_library/bundles/92.76d5ca7ebec10a1a7a12.js +0 -1
- package/public/charting_library/bundles/92.e46f0aa06bcdbddf3831.css +0 -1
- package/public/charting_library/bundles/92.e46f0aa06bcdbddf3831.rtl.css +0 -1
- package/public/charting_library/bundles/93.17d34ca77a7fc85a24d9.css +0 -1
- package/public/charting_library/bundles/93.17d34ca77a7fc85a24d9.rtl.css +0 -1
- package/public/charting_library/bundles/93.6de56ef1975f4a31e542.js +0 -1
- package/public/charting_library/bundles/94.231bea5fb12b806ef287.js +0 -1
- package/public/charting_library/bundles/94.b204218cb73b576333a1.css +0 -1
- package/public/charting_library/bundles/94.b204218cb73b576333a1.rtl.css +0 -1
- package/public/charting_library/bundles/95.51244d1c4baf49d08807.css +0 -1
- package/public/charting_library/bundles/95.51244d1c4baf49d08807.rtl.css +0 -1
- package/public/charting_library/bundles/95.6f7da80aac5cf2bf77d6.js +0 -1
- package/public/charting_library/bundles/96.43bb935eee30715afff7.js +0 -1
- package/public/charting_library/bundles/96.be9ad3d6a7c91501bb55.css +0 -1
- package/public/charting_library/bundles/96.be9ad3d6a7c91501bb55.rtl.css +0 -1
- package/public/charting_library/bundles/a6506134daec7169f68f563f084a9d41.svg +0 -1
- package/public/charting_library/bundles/add-compare-dialog.f980c19f222ff9cb8fe6.js +0 -9
- package/public/charting_library/bundles/b1a63a011fd92dfb93db6db243bb036c.woff2 +0 -0
- package/public/charting_library/bundles/change-interval-dialog.e928f8dec65c9244cafe.js +0 -2
- package/public/charting_library/bundles/chart-bottom-toolbar.b2e895a5fd3f204fb6b6.js +0 -15
- package/public/charting_library/bundles/chart-event-hint.94e94e93f9fdee936b66.js +0 -2
- package/public/charting_library/bundles/chart-screenshot-hint.14bfec43c52bc3d28f82.js +0 -2
- package/public/charting_library/bundles/chart-widget-gui.226991e9f53aba124fc2.js +0 -54
- package/public/charting_library/bundles/compare-model.0e6bbdc5f5942c9a716e.js +0 -5
- package/public/charting_library/bundles/context-menu-renderer.7f6f59270ef0f3afa2ed.js +0 -4
- package/public/charting_library/bundles/currency-label-menu.a7a0c0e44d64b092f2cc.js +0 -4
- package/public/charting_library/bundles/custom-intervals-add-dialog.bb64431fb1c6d852f9f1.js +0 -3
- package/public/charting_library/bundles/drawing-toolbar.8cc497633535648562e7.js +0 -13
- package/public/charting_library/bundles/ed68e83c16f77203e73dbc4c3a7c7fa1.cur +0 -0
- package/public/charting_library/bundles/export-data.c819cfa996e2815ff11d.js +0 -2
- package/public/charting_library/bundles/f55394b616ed1ae9462c37daab941d93.png +0 -0
- package/public/charting_library/bundles/floating-toolbars.d78a058b82ab09013aac.js +0 -20
- package/public/charting_library/bundles/full-tooltips-popup.96fc751e06523b742440.js +0 -3
- package/public/charting_library/bundles/general-chart-properties-dialog.b08948e0c90aebf07ebd.js +0 -5
- package/public/charting_library/bundles/general-property-page.32bdfdbafbd81d9e83c6.js +0 -6
- package/public/charting_library/bundles/go-to-date-dialog-impl.3481c4fcfde2f4d46426.js +0 -14
- package/public/charting_library/bundles/hammerjs.e5489031ed611f47bf09.js +0 -7
- package/public/charting_library/bundles/header-toolbar.4bff61e047f9b8379494.js +0 -9
- package/public/charting_library/bundles/library.579e6e3fd95b660ad833.css +0 -1
- package/public/charting_library/bundles/library.579e6e3fd95b660ad833.rtl.css +0 -1
- package/public/charting_library/bundles/library.8b0dd8732414a2bcbcb1.js +0 -756
- package/public/charting_library/bundles/line-tools-icons.090f39d92664af3915a5.js +0 -29
- package/public/charting_library/bundles/load-chart-dialog.6cc1a47b17698c0108cb.js +0 -4
- package/public/charting_library/bundles/lollipop-tooltip-renderer.6705b971a2e73c26ecad.js +0 -4
- package/public/charting_library/bundles/lt-pane-views.4d2ee6c5330cd3760eb0.js +0 -102
- package/public/charting_library/bundles/lt-property-pages-with-definitions.a5e8283e77afa66b5636.js +0 -24
- package/public/charting_library/bundles/manage-drawings-dialog.1c0c3737002fa63fe6a6.js +0 -1
- package/public/charting_library/bundles/moment.78e587a83a009ca48cda.js +0 -17
- package/public/charting_library/bundles/new-confirm-inputs-dialog.00d79c2263e005170345.js +0 -2
- package/public/charting_library/bundles/new-edit-object-dialog.0ed1c3834cfc0e834aed.js +0 -19
- package/public/charting_library/bundles/object-tree-dialog.8e2b7eb9ba2f1dbfbc11.js +0 -58
- package/public/charting_library/bundles/react.9f2899b40ad0e104f6c9.js +0 -45
- package/public/charting_library/bundles/redux.43c3f6d214bcf2d1fbd1.js +0 -9
- package/public/charting_library/bundles/restricted-toolset.08fefbae2bc0877b0ef2.js +0 -27
- package/public/charting_library/bundles/runtime.dfe30490f666a6b5d4fe.js +0 -5
- package/public/charting_library/bundles/series-icons-map.ec8043f64d8b06dbce29.js +0 -2
- package/public/charting_library/bundles/series-pane-views.eefe35e1c508ac16c102.js +0 -1
- package/public/charting_library/bundles/share-chart-to-social-utils.c225af2051efd23269e0.js +0 -1
- package/public/charting_library/bundles/show-theme-save-dialog.f81ebf1b2ce08f4399fd.js +0 -1
- package/public/charting_library/bundles/simple-dialog.bd79f02afd512f0f36dd.js +0 -6
- package/public/charting_library/bundles/source-properties-editor.e858d44541ebb6f974a2.js +0 -2
- package/public/charting_library/bundles/study-market.3efd7bf7bc6e6fc7db2d.js +0 -7
- package/public/charting_library/bundles/study-pane-views.9a873dcf74adedf7600b.js +0 -5
- package/public/charting_library/bundles/study-property-pages-with-definitions.ca4fc2ef5a4deff8c0bb.js +0 -4
- package/public/charting_library/bundles/study-template-dialog.fe56a9893a3695e93531.js +0 -11
- package/public/charting_library/bundles/symbol-info-dialog-impl.17daedab6f893acdeae4.js +0 -4
- package/public/charting_library/bundles/symbol-search-dialog.fd3311eee8604f807c80.js +0 -1
- package/public/charting_library/bundles/take-chart-image-impl.c0e6073dcac3041eecf2.js +0 -2
- package/public/charting_library/bundles/vendors.6f5e0d8d267cb3e63ee0.js +0 -42
- package/public/charting_library/charting_library.cjs.js +0 -1
- package/public/charting_library/charting_library.d.ts +0 -2087
- package/public/charting_library/charting_library.esm.js +0 -1
- package/public/charting_library/charting_library.js +0 -1
- package/public/charting_library/charting_library.standalone.js +0 -1
- package/public/charting_library/datafeed-api.d.ts +0 -274
- package/public/charting_library/en-tv-chart.f0bc1e45.html +0 -1
- package/public/charting_library/package.json +0 -8
- package/public/index.html +0 -23
- package/src/App.css +0 -26
- package/src/App.tsx +0 -89
- package/src/charting-library-interfaces.d.ts +0 -36
- package/src/datafeed.ts +0 -289
- package/src/helpers.ts +0 -53
- package/src/index.css +0 -5
- package/src/index.tsx +0 -10
- package/src/main.tsx +0 -151
- package/src/streaming.ts +0 -124
- package/tsconfig.json +0 -97
- package/tsup.config.ts +0 -10
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.scrollable-2w4-r8AL{-ms-overflow-style:none;-webkit-overflow-scrolling:touch;flex:1 1 auto;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-2w4-r8AL{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-2w4-r8AL{min-height:auto}}.scrollable-2w4-r8AL::-webkit-scrollbar{height:5px;width:5px}.scrollable-2w4-r8AL::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-2w4-r8AL::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-2w4-r8AL::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-2w4-r8AL::-webkit-scrollbar-corner{display:none}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.scrollable-2w4-r8AL{-ms-overflow-style:none;-webkit-overflow-scrolling:touch;flex:1 1 auto;min-height:145px;overflow-x:hidden;overflow-y:auto;scrollbar-color:#9598a1 #0000;scrollbar-width:thin}html.theme-dark .scrollable-2w4-r8AL{scrollbar-color:#363a45 #0000}@media screen and (max-height:290px){.scrollable-2w4-r8AL{min-height:auto}}.scrollable-2w4-r8AL::-webkit-scrollbar{height:5px;width:5px}.scrollable-2w4-r8AL::-webkit-scrollbar-thumb{background-color:#9598a1;border:1px solid #f0f3fa;border-radius:3px}html.theme-dark .scrollable-2w4-r8AL::-webkit-scrollbar-thumb{background-color:#363a45;border-color:#1e222d}.scrollable-2w4-r8AL::-webkit-scrollbar-track{background-color:initial;border-radius:3px}.scrollable-2w4-r8AL::-webkit-scrollbar-corner{display:none}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="8" height="8" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="#2A2E39" fill-opacity="0.4" d="M0 0h4v4H0zM4 4h4v4H4z"/></svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([["add-compare-dialog"],{"/KDZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n("q1tI");class o extends a.PureComponent{constructor(e){super(e),this._handleChange=()=>{this.forceUpdate()},this.state={query:window.matchMedia(this.props.rule)}}componentDidMount(){this._subscribe(this.state.query)}componentDidUpdate(e,t){this.state.query!==t.query&&(this._unsubscribe(t.query),this._subscribe(this.state.query))}componentWillUnmount(){this._unsubscribe(this.state.query)}render(){return this.props.children(this.state.query.matches)}static getDerivedStateFromProps(e,t){return e.rule!==t.query.media?{query:window.matchMedia(e.rule)}:null}_subscribe(e){e.addListener(this._handleChange)}_unsubscribe(e){e.removeListener(this._handleChange)}}},"8R5U":function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 121 120" width="121" height="120"><path fill="#1E222D" d="M53.88 18.36a43.4 43.4 0 0 1 11.24 0 1 1 0 0 0 .26-1.98 45.42 45.42 0 0 0-11.76 0 1 1 0 1 0 .26 1.98zM43.04 21.26a1 1 0 0 0-.77-1.85A44.95 44.95 0 0 0 32.1 25.3a1 1 0 0 0 1.22 1.58 42.95 42.95 0 0 1 9.72-5.62zM75.42 19.96a1 1 0 0 1 1.3-.55A44.95 44.95 0 0 1 86.9 25.3a1 1 0 0 1-1.22 1.58 42.95 42.95 0 0 0-9.72-5.62 1 1 0 0 1-.54-1.3zM25.38 34.82a1 1 0 1 0-1.58-1.22 44.95 44.95 0 0 0-5.89 10.17 1 1 0 0 0 1.85.77 42.95 42.95 0 0 1 5.62-9.72zM16.86 55.38a1 1 0 0 0-1.98-.26 45.42 45.42 0 0 0 0 11.76 1 1 0 1 0 1.98-.26 43.4 43.4 0 0 1 0-11.24zM103 54.26a1 1 0 0 1 1.12.86 45.4 45.4 0 0 1 0 11.76 1 1 0 0 1-1.98-.26 43.37 43.37 0 0 0 0-11.24 1 1 0 0 1 .86-1.12zM19.76 77.46a1 1 0 0 0-1.85.77A44.95 44.95 0 0 0 23.8 88.4a1 1 0 0 0 1.58-1.22 42.95 42.95 0 0 1-5.62-9.72zM100.54 76.92a1 1 0 0 1 .54 1.3A44.95 44.95 0 0 1 95.2 88.4a1 1 0 0 1-1.58-1.22 42.95 42.95 0 0 0 5.62-9.72 1 1 0 0 1 1.3-.54zM33.32 95.12a1 1 0 1 0-1.22 1.58 44.94 44.94 0 0 0 10.17 5.88 1 1 0 0 0 .77-1.84 42.97 42.97 0 0 1-9.72-5.62zM87.08 95.3a1 1 0 0 1-.18 1.4 44.94 44.94 0 0 1-10.17 5.88 1 1 0 0 1-.77-1.84 42.98 42.98 0 0 0 9.72-5.62 1 1 0 0 1 1.4.18zM53.88 103.64a1 1 0 0 0-.26 1.98 45.4 45.4 0 0 0 11.76 0 1 1 0 0 0-.26-1.98 43.37 43.37 0 0 1-11.24 0zM62.81 53.17a1 1 0 0 0-.78 1.84 6.62 6.62 0 0 1 3.49 3.5 1 1 0 1 0 1.84-.78 8.62 8.62 0 0 0-4.55-4.56z"/><path fill="#1E222D" d="M45.5 61a14 14 0 1 1 24.28 9.5l7.92 7.92a1 1 0 0 1-1.42 1.42l-7.96-7.97A14 14 0 0 1 45.5 61zm14-12a12 12 0 1 0 0 24 12 12 0 0 0 0-24z"/><circle fill="#2196F3" cx="97.5" cy="39" r="13"/><path fill="#fff" d="M98.5 34a1 1 0 1 0-2 0v4h-4a1 1 0 1 0 0 2h4v4a1 1 0 1 0 2 0v-4h4a1 1 0 0 0 0-2h-4v-4z"/></svg>'},"8d0Q":function(e,t,n){"use strict";var a=n("q1tI");function o(){const[e,t]=Object(a.useState)(!1);return[e,{onMouseOver:function(e){r(e)&&t(!0)},onMouseOut:function(e){r(e)&&t(!1)}}]}function r(e){return!e.currentTarget.contains(e.relatedTarget)}function c(e){const[t,n]=Object(a.useState)(!1);return Object(a.useEffect)(()=>{const t=t=>{if(null===e.current)return;const a=e.current.contains(t.target);n(a)}
|
|
2
|
-
;return document.addEventListener("mouseover",t),()=>document.removeEventListener("mouseover",t)},[]),t}n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return c}))},B2fo:function(e,t,n){e.exports={label:"label-AT0tDw0n"}},DtPX:function(e,t,n){e.exports={dialog:"dialog-1o8lbzhQ",tablet:"tablet-1o8lbzhQ"}},F0Qt:function(e){e.exports=JSON.parse('{"wrapper":"wrapper-21v50zE8","input":"input-24iGIobO","box":"box-3574HVnv","icon":"icon-2jsUbtec","noOutline":"noOutline-3VoWuntz","intent-danger":"intent-danger-1Sr9dowC","check":"check-382c8Fu1","dot":"dot-3gRd-7Qt"}')},GqiZ:function(e,t,n){e.exports={button:"button-3vkvsUbb",bordersVisible:"bordersVisible-3vkvsUbb",selected:"selected-3vkvsUbb"}},N5tr:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return v}));var a=n("q1tI"),o=n.n(a),r=n("TSYQ"),c=n("tWVy"),l=n("JWMC"),i=n("ijHL"),s=n("v1bN");const u=s;function d(e){const{reference:t,...n}=e,a={...n,ref:t};return o.a.createElement(e.href?"a":"div",a)}function m(e){e.stopPropagation()}function v(e){const{id:t,role:n,"aria-selected":u,className:v,title:h,labelRowClassName:p,labelClassName:b,shortcut:f,forceShowShortcuts:g,icon:w,isActive:S,isDisabled:y,isHovered:x,appearAsDisabled:E,label:O,link:C,showToolboxOnHover:k,target:I,rel:N,toolbox:j,reference:M,onMouseOut:D,onMouseOver:T,suppressToolboxClick:_=!0,theme:z=s}=e,B=Object(i.b)(e),A=Object(a.useRef)(null);return o.a.createElement(d,{...B,id:t,role:n,"aria-selected":u,className:r(v,z.item,w&&z.withIcon,{[z.isActive]:S,[z.isDisabled]:y||E,[z.hovered]:x}),title:h,href:C,target:I,rel:N,reference:function(e){A.current=e,"function"==typeof M&&M(e);"object"==typeof M&&(M.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:a,onClickArg:o,trackEventObject:r}=e;if(y)return;r&&Object(l.trackEvent)(r.category,r.event,r.label);a&&a(o,t);n||Object(c.b)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:a}=e;n&&a&&Object(l.trackEvent)(n.category,n.event,n.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:a}=e;if(1===t.button&&C&&n){let e=n.label;a&&(e+="_mouseWheelClick"),Object(l.trackEvent)(n.category,n.event,e)}},onMouseOver:T,onMouseOut:D},void 0!==w&&o.a.createElement("div",{className:z.icon,dangerouslySetInnerHTML:{__html:w}}),o.a.createElement("div",{className:r(z.labelRow,p)},o.a.createElement("div",{className:r(z.label,b)},O)),(void 0!==f||g)&&o.a.createElement("div",{className:z.shortcut},(P=f)&&P.split("+").join(" + ")),void 0!==j&&o.a.createElement("div",{onClick:_?m:void 0,className:r(z.toolbox,{[z.showOnHover]:k})},j));var P}},"P4l+":function(e,t,n){},Q5EB:function(e,t,n){e.exports={wrap:"wrap-38TyPnxL",header:"header-38TyPnxL",item:"item-38TyPnxL"}},Sn4D:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var a=n("q1tI"),o=n.n(a),r=n("Eyy1"),c=n("TSYQ"),l=n("x0D+"),i=n("0YpW"),s=n("AiMB"),u=n("mkWe"),d=n("qFKp"),m=n("X0gx"),v=n("sHQ4");function h(e){
|
|
3
|
-
const{position:t="Bottom",onClose:n,children:h,className:p,theme:b=v}=e,f=Object(r.ensureNotNull)(Object(a.useContext)(u.a)),[g,w]=Object(a.useState)(0),S=Object(a.useRef)(null),y=Object(a.useContext)(m.a);return Object(a.useEffect)(()=>{const e=Object(r.ensureNotNull)(S.current);return e.focus({preventScroll:!0}),y.subscribe(f,n),Object(i.a)(!0),d.CheckMobile.iOS()&&Object(l.disableBodyScroll)(e),w(f.addDrawer()),()=>{y.unsubscribe(f,n);const t=f.removeDrawer();d.CheckMobile.iOS()&&Object(l.enableBodyScroll)(e),0===t&&Object(i.a)(!1)}},[]),o.a.createElement(s.a,null,o.a.createElement("div",{className:c(v.wrap,v["position"+t])},g===f.currentDrawer&&o.a.createElement("div",{className:v.backdrop,onClick:n}),o.a.createElement("div",{className:c(v.drawer,b.drawer,v["position"+t],p),ref:S,tabIndex:-1,"data-name":e["data-name"]},h)))}},X0gx:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n("q1tI"),o=n.n(a),r=n("tWVy");const c=o.a.createContext(r.a)},XG33:function(e,t,n){e.exports={scrollable:"scrollable-1zurvWNw",spinnerWrap:"spinnerWrap-1zurvWNw",item:"item-1zurvWNw",heading:"heading-1zurvWNw",checkboxWrap:"checkboxWrap-1zurvWNw",checkbox:"checkbox-1zurvWNw",emptyState:"emptyState-1zurvWNw",image:"image-1zurvWNw",text:"text-1zurvWNw"}},Xy1d:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 15l5 5L23 9"/></svg>'},"a+BI":function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),o=n.n(a),r=n("YFKU"),c=n("8+VR"),l=n("Kxc7"),i=n("kNVT"),s=n("TSYQ"),u=n.n(s),d=n("cvc5"),m=n.n(d),v=n("Eyy1"),h=n("Iivm"),p=n("tmL0"),b=n("vqb8"),f=n("jPOK"),g=n("zM7N"),w=n("oiZD"),S=n("VogD"),y=n("zjoO");const x=o.a.createContext(null);var E=n("8d0Q"),O=n("OoQL");const C=o.a.createContext(null);var k=n("N5tr"),I=n("Sn4D"),N=n("mkWe"),j=n("GqiZ");function M(e){const{theme:t=j,children:n,onClick:a,isSelected:r,areBordersVisible:c,isItemSelected:l,className:i,value:s,name:d}=e;return o.a.createElement("button",{type:"button",className:u()(i,t.button,r&&t.selected,c&&!r&&!l&&t.bordersVisible),name:d,value:s,onClick:a},n)}function D(e){const{value:t,onClick:n,...r}=e,c=Object(a.useCallback)(e=>n(t,e),[t,n]);return o.a.createElement(M,{...r,value:String(t),onClick:c})}var T=n("xlAh"),_=n("Q5EB");const z={sameScale:Object(r.t)("Same % scale"),newPriceScale:Object(r.t)("New price scale"),newPane:Object(r.t)("New pane")};function B(e){const{fullSymbolName:t,isSelected:n,className:a}=e,{isMobile:c,searchRef:l,setMode:s}=Object(O.a)(S.a),{compareModel:d,selectedCompareOption:m,setHoveredItemId:v,clearInput:h,allowExtendTimeScale:p}=Object(O.a)(x),{callback:b}=Object(O.a)(C);return c?o.a.createElement(N.b,null,o.a.createElement(I.a,{position:"Bottom",onClose:f.bind(null,!1)},o.a.createElement("div",{className:_.header},Object(r.t)("Add to")),o.a.createElement(k.b,{className:_.item,onClick:g,onClickArg:T.a.SameScale,label:z.sameScale}),o.a.createElement(k.b,{className:_.item,onClick:g,
|
|
4
|
-
onClickArg:T.a.NewPriceScale,label:z.newPriceScale}),o.a.createElement(k.b,{className:_.item,onClick:g,onClickArg:T.a.NewPane,label:z.newPane}))):o.a.createElement("div",{className:u()(_.wrap,a),"data-name":"compare-buttons-group"},o.a.createElement(D,{onClick:g,value:T.a.SameScale,isItemSelected:Boolean(n),isSelected:n&&m===T.a.SameScale},z.sameScale),o.a.createElement(D,{onClick:g,value:T.a.NewPriceScale,isItemSelected:Boolean(n),isSelected:n&&m===T.a.NewPriceScale},z.newPriceScale),o.a.createElement(D,{onClick:g,value:T.a.NewPane,isItemSelected:Boolean(n),isSelected:n&&m===T.a.NewPane},z.newPane));function f(e){c&&b&&b(),h&&e&&h(l,s)}function g(e,n){if(n.preventDefault(),d&&t&&void 0!==e){Object(i.getSymbolSearchCompleteOverrideFunction)()(t).then(t=>{d.applyStudy(t,e,p),v(""),f(!0)})}}}function A(e){const{isSelected:t,fullSymbolName:n,onExpandClick:r,actions:l,id:s,isOffset:u}=e,{isMobile:d,toggleExpand:m,searchSpreads:v,searchRef:h,setMode:p}=Object(O.a)(S.a),{compareModel:b,hoveredItemId:f,setHoveredItemId:g,clearInput:w,allowExtendTimeScale:k}=Object(O.a)(x),[I,N]=Object(a.useState)(!1),j=Object(a.useRef)(null),M=Object(E.b)(j),D=Object(a.useMemo)(()=>({callback:A}),[A]),_=!Boolean(r)&&!Boolean(l),z=s===f;return o.a.createElement(C.Provider,{value:D},o.a.createElement(y.a,{...e,reference:j,onClick:function(t){if(Boolean(r)&&s&&!u)return t.preventDefault(),void m(s);if(!I&&d)return void N(!0);if(v&&e.onClick)return void e.onClick(t);if((c.mobiletouch?z:!I)&&n){Object(i.getSymbolSearchCompleteOverrideFunction)()(n).then(e=>{b.applyStudy(e,T.a.SameScale,k)}),g(""),w&&w(h,p)}c.mobiletouch&&!d&&!z&&s&&g(s)},hoverComponent:function(){if(!_)return!1;if(d)return I;if(c.mobiletouch)return z;return Boolean(M||t)}()?B:void 0}));function A(){N(!1)}}var P=n("8R5U"),R=n("mjks"),W=n("Xy1d"),L=n("XG33");function q(e){const{handleListWidth:t}=Object(v.ensureNotNull)(Object(a.useContext)(S.a)),{compareModel:n,selectedCompareIndex:c,selectedItemRef:l}=Object(v.ensureNotNull)(Object(a.useContext)(x)),i=Object(b.a)({watchedValue:n.isDataReady()}),s=Object(b.a)({watchedValue:n.studies()}),d=Object(b.a)({watchedValue:n.highlightedSymbol()}),E=Object(a.useMemo)(()=>s.filter(e=>e.checked),[s]),O=Object(a.useMemo)(()=>s.filter(e=>!e.checked),[s]);return Object(a.useEffect)(()=>(n.chartModel().dataSourceCollectionChanged().subscribe(n,n.handleSourcesChange),()=>n.chartModel().dataSourceCollectionChanged().unsubscribe(n,n.handleSourcesChange)),[n]),o.a.createElement(m.a,{onMeasure:function(e){t(e.width)}},o.a.createElement(p.a,{className:L.scrollable},function(){if(!i)return o.a.createElement("div",{className:L.spinnerWrap},o.a.createElement(f.a,null));if(!Boolean(E.length)&&!Boolean(O.length)){const e=w.watchedTheme.value()===g.a.Dark?R:P;return o.a.createElement("div",{className:L.emptyState},o.a.createElement(h.a,{className:L.image,icon:e}),o.a.createElement("div",{className:L.text},Object(r.t)("No symbols here yet — why not add some?")))}
|
|
5
|
-
return o.a.createElement(o.a.Fragment,null,Boolean(E.length)&&o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:L.heading},Object(r.t)("Added symbols")),E.map((e,t)=>o.a.createElement(y.a,{"data-role":"added-symbol-item",className:L.item,key:e.id,id:e.id,title:e.title,dangerousDescriptionHTML:e.description,exchangeName:e.exchangeName,marketType:e.marketType,country:e.country,providerId:e.providerId,onClick:C.bind(null,e),isHighlighted:e.id===d,isSelected:k(e),itemRef:k(e)?l:void 0,actions:o.a.createElement("div",{className:L.checkboxWrap},o.a.createElement(M,{className:L.checkbox,onClick:C.bind(null,e),isSelected:k(e)},o.a.createElement(h.a,{icon:W})))}))),Boolean(O.length)&&o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:L.heading},Object(r.t)("Recent symbols")),O.map(e=>o.a.createElement(A,{"data-role":"recent-symbol-item",className:u()(L.item,e.id===d&&L.highlighted),key:e.id,id:e.id,title:e.title,dangerousDescriptionHTML:e.description,exchangeName:e.exchangeName,marketType:e.marketType,country:e.country,providerId:e.providerId,fullSymbolName:e.symbol,isSelected:k(e),itemRef:k(e)?l:void 0}))))}()));function C(e,t){t.preventDefault(),n.removeStudy(e)}function k(e){return s.indexOf(e)===c}}var H=n("Vdly");class V extends o.a.PureComponent{constructor(e){super(e),this._selectedItemRef=o.a.createRef(),this._getContextValue=()=>{const{compareModel:e}=this.props,{selectedCompareOption:t,selectedCompareIndex:n,hoveredItemId:a,allowExtendTimeScale:o}=this.state;return{compareModel:e,selectedCompareOption:t,setSelectedCompareOption:this._setSelectedCompareOption,hoveredItemId:a,setHoveredItemId:this._setHoveredItemId,selectedCompareIndex:n,setSelectedCompareIndex:this._setSelectedCompareIndex,selectedItemRef:this._selectedItemRef,clearInput:this._clearInput,allowExtendTimeScale:o,toggleAllowExtendTimeScale:this._toggleAllowExtendTimeScale}},this._clearInput=(e,t)=>{e&&e.current&&(e.current.value="",t("compare"))},this._setSelectedCompareOption=e=>{this.setState({selectedCompareOption:e})},this._setHoveredItemId=e=>{this.setState({hoveredItemId:e})},this._setSelectedCompareIndex=(e,t)=>{this.setState({selectedCompareIndex:e},t)},this._toggleAllowExtendTimeScale=()=>{const e=!this.state.allowExtendTimeScale;H.setValue("showAddSymbolDialog.extendCheckboxState",e),this.setState({allowExtendTimeScale:e})},this.state={selectedCompareOption:0,selectedCompareIndex:-1,hoveredItemId:void 0,allowExtendTimeScale:Boolean(H.getBool("showAddSymbolDialog.extendCheckboxState"))}}render(){const{children:e}=this.props;return o.a.createElement(x.Provider,{value:this._getContextValue()},e)}}var F=n("/3z9"),Q=n("g89m"),U=n("DtPX");const X=Object.keys(T.a).length/2;function Y(e){
|
|
6
|
-
const{openedItems:t,searchRef:n,feedItems:r,selectedIndex:c,toggleExpand:l,onSearchComplete:i,mode:u,setMode:d,setSelectedIndex:m,isMobile:v,isTablet:h,onClose:p,upperCaseEnabled:f}=Object(O.a)(S.a),{compareModel:g,hoveredItemId:w,setHoveredItemId:y,selectedCompareOption:E,setSelectedCompareOption:C,selectedCompareIndex:k,setSelectedCompareIndex:I,selectedItemRef:N,clearInput:j,allowExtendTimeScale:M}=Object(O.a)(x),D=Object(b.a)({watchedValue:g.studies()}),T=r[c],_="compare"===u;return Object(a.useEffect)(()=>{w&&y(""),k&&I(-1)},[u]),o.a.createElement(Q.a,{...e,className:s(U.dialog,!v&&h&&U.tablet),onKeyDown:function(e){var a;const o=Object(F.hashFromEvent)(e),s=_?k:c,u=_?D:r;switch(o){case 38:if(e.preventDefault(),0===s)return;if(-1===s)return void z(0);z(s-1);break;case 40:if(e.preventDefault(),s===u.length-1)return;z(s+1);break;case 37:{const n=A();if(n&&t.has(n))return e.preventDefault(),void l(n);if(!E||n)return;e.preventDefault(),C(E-1);break}case 39:{const n=A();if(n&&!t.has(n))return e.preventDefault(),void l(n);if(E===X-1||n)return;e.preventDefault(),C(E+1);break}case 13:{if(_)return void function(){if(-1===k)return;const e=D[k];e.checked?g.removeStudy(e):g.applyStudy(e.symbol,E,M);I(-1)}();const t=A();if(t)return e.preventDefault(),void l(t);e.preventDefault();const o=null===(a=null==n?void 0:n.current)||void 0===a?void 0:a.value.trim();o&&j&&(i([{symbol:f?o.toUpperCase():o,resolved:!1,compareOption:E,allowExtendTimeScale:M}]),j(n,d));break}case 27:e.preventDefault(),p()}},dataName:"compare-dialog",draggable:!0});function z(e){_?I(e,B):m(e)}function B(){var e;null===(e=N.current)||void 0===e||e.scrollIntoView({block:"nearest"})}function A(){if(!T)return;const{id:e,isOffset:t,onExpandClick:n}=T;return!t&&Boolean(n)&&e?e:void 0}}var G=n("i8i4"),K=n.n(G),J=n("CJov"),Z=n("uTDg"),$=(n("p04v"),n("sQaR"));class ee extends $.a{constructor(e){super(),this._props=e}show(){if(this.visible().value())return;const e=o.a.createElement(J.a.Provider,{value:null},o.a.createElement(Z.a,{...this._props,initialMode:this._props.initialMode||"symbolSearch",onClose:()=>this.hide()}));K.a.render(e,this._container),this._setVisibility(!0)}hide(){var e,t;K.a.unmountComponentAtNode(this._container),this._visibility.setValue(!1),null===(t=(e=this._props).onClose)||void 0===t||t.call(e)}}var te=n("TgrR"),ne=n("QHWU"),ae=n("ki38");function oe(e){const{searchRef:t,setMode:n}=Object(O.a)(S.a),{currentMode:r}=Object(O.a)(ae.a);return Object(a.useEffect)(()=>{const e=t.current;if(e)return e.addEventListener("input",c),()=>{e&&e.removeEventListener("input",c)}},[]),o.a.createElement(ne.a,{...e});function c(){var e,a,o,c;t.current&&r&&("compare"!==r.current||""===(null===(a=null===(e=null==t?void 0:t.current)||void 0===e?void 0:e.value)||void 0===a?void 0:a.trim())?"symbolSearch"===r.current&&""===(null===(c=null===(o=null==t?void 0:t.current)||void 0===o?void 0:o.value)||void 0===c?void 0:c.trim())&&n("compare"):n("symbolSearch"))}}var re=n("vCF3"),ce=n("tOje"),le=n("B2fo");function ie(e){
|
|
7
|
-
const{allowExtendTimeScale:t,toggleAllowExtendTimeScale:n}=Object(v.ensureNotNull)(Object(a.useContext)(x));return o.a.createElement(ce.a,null,o.a.createElement("label",null,o.a.createElement(re.a,{checked:t,value:t?"on":"off",onChange:n}),o.a.createElement("span",{className:le.label},Object(r.t)("Allow extend time scale"))))}n.d(t,"getCompareDialogRenderer",(function(){return ue}));const se=l.enabled("secondary_series_extend_time_scale");function ue(e){return new ee({wrapper:(t=e,e=>o.a.createElement(V,{...e,compareModel:t})),dialog:Y,contentItem:A,initialScreen:q,searchInput:oe,footer:se?o.a.createElement(ie):void 0,initialMode:"compare",dialogTitle:Object(r.t)("Compare symbol"),autofocus:!c.mobiletouch,dialogWidth:"fixed",onSearchComplete:t=>{const{compareOption:n,allowExtendTimeScale:a}=t[0];if(void 0!==n){Object(i.getSymbolSearchCompleteOverrideFunction)()(t[0].symbol).then(t=>{e.applyStudy(t,n,a)})}},symbolTypes:Object(te.d)(),showSpreadActions:l.enabled("show_spread_operators")&&l.enabled("compare_symbol_search_spread_operators")});var t}},mjks:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 121 120" width="121" height="120"><path fill="#D1D4DC" d="M53.88 18.36a43.4 43.4 0 0 1 11.24 0 1 1 0 0 0 .26-1.98 45.42 45.42 0 0 0-11.76 0 1 1 0 1 0 .26 1.98zM43.04 21.26a1 1 0 0 0-.77-1.85A44.95 44.95 0 0 0 32.1 25.3a1 1 0 0 0 1.22 1.58 42.95 42.95 0 0 1 9.72-5.62zM75.42 19.96a1 1 0 0 1 1.3-.55A44.95 44.95 0 0 1 86.9 25.3a1 1 0 0 1-1.22 1.58 42.95 42.95 0 0 0-9.72-5.62 1 1 0 0 1-.54-1.3zM25.38 34.82a1 1 0 1 0-1.58-1.22 44.95 44.95 0 0 0-5.89 10.17 1 1 0 0 0 1.85.77 42.95 42.95 0 0 1 5.62-9.72zM16.86 55.38a1 1 0 0 0-1.98-.26 45.42 45.42 0 0 0 0 11.76 1 1 0 1 0 1.98-.26 43.4 43.4 0 0 1 0-11.24zM103 54.26a1 1 0 0 1 1.12.86 45.4 45.4 0 0 1 0 11.76 1 1 0 0 1-1.98-.26 43.37 43.37 0 0 0 0-11.24 1 1 0 0 1 .86-1.12zM19.76 77.46a1 1 0 0 0-1.85.77A44.95 44.95 0 0 0 23.8 88.4a1 1 0 0 0 1.58-1.22 42.95 42.95 0 0 1-5.62-9.72zM100.54 76.92a1 1 0 0 1 .54 1.3A44.95 44.95 0 0 1 95.2 88.4a1 1 0 0 1-1.58-1.22 42.95 42.95 0 0 0 5.62-9.72 1 1 0 0 1 1.3-.54zM33.32 95.12a1 1 0 1 0-1.22 1.58 44.94 44.94 0 0 0 10.17 5.88 1 1 0 0 0 .77-1.84 42.97 42.97 0 0 1-9.72-5.62zM87.08 95.3a1 1 0 0 1-.18 1.4 44.94 44.94 0 0 1-10.17 5.88 1 1 0 0 1-.77-1.84 42.98 42.98 0 0 0 9.72-5.62 1 1 0 0 1 1.4.18zM53.88 103.64a1 1 0 0 0-.26 1.98 45.4 45.4 0 0 0 11.76 0 1 1 0 0 0-.26-1.98 43.37 43.37 0 0 1-11.24 0zM62.81 53.17a1 1 0 0 0-.78 1.84 6.62 6.62 0 0 1 3.49 3.5 1 1 0 1 0 1.84-.78 8.62 8.62 0 0 0-4.55-4.56z"/><path fill="#D1D4DC" d="M45.5 61a14 14 0 1 1 24.28 9.5l7.92 7.92a1 1 0 0 1-1.42 1.42l-7.96-7.97A14 14 0 0 1 45.5 61zm14-12a12 12 0 1 0 0 24 12 12 0 0 0 0-24z"/><circle fill="#1976D2" cx="97.5" cy="39" r="13"/><path fill="#D1D4DC" d="M98.5 34a1 1 0 1 0-2 0v4h-4a1 1 0 1 0 0 2h4v4a1 1 0 1 0 2 0v-4h4a1 1 0 0 0 0-2h-4v-4z"/></svg>'},mkWe:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return c}));var a=n("q1tI"),o=n.n(a);class r extends o.a.PureComponent{constructor(e){super(e),this._addDrawer=()=>{
|
|
8
|
-
const e=this.state.currentDrawer+1;return this.setState({currentDrawer:e}),e},this._removeDrawer=()=>{const e=this.state.currentDrawer-1;return this.setState({currentDrawer:e}),e},this.state={currentDrawer:0}}render(){return o.a.createElement(c.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const c=o.a.createContext(null)},os48:function(e,t,n){e.exports={footer:"footer-3r-9t_XG"}},sHQ4:function(e,t,n){e.exports={wrap:"wrap-164vy-kj",positionBottom:"positionBottom-164vy-kj",backdrop:"backdrop-164vy-kj",drawer:"drawer-164vy-kj",positionLeft:"positionLeft-164vy-kj"}},tOje:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n("q1tI"),o=n.n(a),r=n("TSYQ"),c=n.n(r),l=n("os48");function i(e){const{className:t,children:n}=e;return o.a.createElement("div",{className:c()(l.footer,t)},n)}},tUxN:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11" height="9" fill="none"><path stroke-width="2" d="M0.999878 4L3.99988 7L9.99988 1"/></svg>'},tmL0:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n("q1tI"),o=n.n(a),r=n("x0D+"),c=n("Eyy1"),l=n("qFKp");function i(e){const{reference:t,children:n,...c}=e,i=Object(a.useRef)(null),u=Object(a.useCallback)(e=>{t&&(t.current=e),l.CheckMobile.iOS()&&(null!==i.current&&Object(r.enableBodyScroll)(i.current),i.current=e,null!==i.current&&Object(r.disableBodyScroll)(i.current,{allowTouchMove:s(i)}))},[t]);return o.a.createElement("div",{ref:u,...c},n)}function s(e){return t=>{const n=Object(c.ensureNotNull)(e.current),a=document.activeElement;return!n.contains(t)||null!==a&&n.contains(a)&&a.contains(t)}}},v1bN:function(e,t,n){e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-2IihgTnv",hovered:"hovered-2IihgTnv",isDisabled:"isDisabled-2IihgTnv",isActive:"isActive-2IihgTnv",shortcut:"shortcut-2IihgTnv",toolbox:"toolbox-2IihgTnv",withIcon:"withIcon-2IihgTnv",icon:"icon-2IihgTnv",labelRow:"labelRow-2IihgTnv",label:"label-2IihgTnv",showOnHover:"showOnHover-2IihgTnv"}},vCF3:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n("q1tI"),o=n("TSYQ"),r=n("Iivm"),c=n("tUxN"),l=n("F0Qt");n("P4l+");function i(e){const t=o(l.box,l["intent-"+e.intent],{[l.check]:!Boolean(e.indeterminate),[l.dot]:Boolean(e.indeterminate),[l.noOutline]:-1===e.tabIndex}),n=o(l.wrapper,e.className);return a.createElement("span",{className:n,title:e.title},a.createElement("input",{id:e.id,tabIndex:e.tabIndex,className:l.input,type:"checkbox",name:e.name,checked:e.checked,disabled:e.disabled,value:e.value,autoFocus:e.autoFocus,role:e.role,onChange:function(){e.onChange&&e.onChange(e.value)},ref:e.reference}),a.createElement("span",{className:t},a.createElement(r.a,{icon:c,className:l.icon})))}},"x0D+":function(e,t,n){var a,o,r;o=[t],void 0===(r="function"==typeof(a=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}
|
|
9
|
-
Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var a={get passive(){n=!0}};window.addEventListener("testPassive",null,a),window.removeEventListener("testPassive",null,a)}var o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),r=[],c=!1,l=-1,i=void 0,s=void 0,u=function(e){return r.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},d=function(e){var t=e||window.event;return!!u(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},m=function(){setTimeout((function(){void 0!==s&&(document.body.style.paddingRight=s,s=void 0),void 0!==i&&(document.body.style.overflow=i,i=void 0)}))};e.disableBodyScroll=function(e,a){if(o){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!r.some((function(t){return t.targetElement===e}))){var m={targetElement:e,options:a||{}};r=[].concat(t(r),[m]),e.ontouchstart=function(e){1===e.targetTouches.length&&(l=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,a,o,r;1===t.targetTouches.length&&(a=e,r=(n=t).targetTouches[0].clientY-l,!u(n.target)&&(a&&0===a.scrollTop&&0<r||(o=a)&&o.scrollHeight-o.scrollTop<=o.clientHeight&&r<0?d(n):n.stopPropagation()))},c||(document.addEventListener("touchmove",d,n?{passive:!1}:void 0),c=!0)}}else{h=a,setTimeout((function(){if(void 0===s){var e=!!h&&!0===h.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(s=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===i&&(i=document.body.style.overflow,document.body.style.overflow="hidden")}));var v={targetElement:e,options:a||{}};r=[].concat(t(r),[v])}var h},e.clearAllBodyScrollLocks=function(){o?(r.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),c&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),c=!1),r=[],l=-1):(m(),r=[])},e.enableBodyScroll=function(e){if(o){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,r=r.filter((function(t){return t.targetElement!==e})),c&&0===r.length&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),c=!1)}else 1===r.length&&r[0].targetElement===e?(m(),r=[]):r=r.filter((function(t){return t.targetElement!==e}))}})?a.apply(t,o):a)||(e.exports=r)},xlAh:function(e,t,n){"use strict";var a;n.d(t,"a",(function(){return a})),function(e){e[e.SameScale=0]="SameScale",e[e.NewPriceScale=1]="NewPriceScale",e[e.NewPane=2]="NewPane"}(a||(a={}))}}]);
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([["change-interval-dialog"],{Gtzb:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));class r{constructor(){this._storage=new Map}setAsOpened(e,t){this._storage.set(e,t)}setAsClosed(e){this._storage.delete(e)}isOpened(e){return this._storage.has(e)}getDialogPayload(e){return this._storage.get(e)}}const i=new r},R5JZ:function(e,t,n){"use strict";function r(e,t,n,r,i){function o(i){if(e>i.timeStamp)return;const o=i.target;void 0!==n&&null!==t&&null!==o&&o.ownerDocument===r&&(t.contains(o)||n(i))}return i.click&&r.addEventListener("click",o,!1),i.mouseDown&&r.addEventListener("mousedown",o,!1),i.touchEnd&&r.addEventListener("touchend",o,!1),i.touchStart&&r.addEventListener("touchstart",o,!1),()=>{r.removeEventListener("click",o,!1),r.removeEventListener("mousedown",o,!1),r.removeEventListener("touchend",o,!1),r.removeEventListener("touchstart",o,!1)}}n.d(t,"a",(function(){return r}))},iT0o:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),i=n.n(r),o=n("i8i4"),a=n.n(o),l=n("TSYQ"),s=n.n(l),c=n("YFKU"),u=n("wHCJ"),d=n("ldG2"),f=n("PT1i"),m=n("WXjp"),p=n("Iivm"),v=n("xJ0h");const g=Object(c.t)("Type the interval number for minute charts (i.e. 5 if it is going to be a five minute chart). Or number plus letter for H (Hourly), D (Daily), W (Weekly), M (Monthly) intervals (i.e. D or 2H)"),h=Object(c.t)("Type the interval number for minute charts (i.e. 5 if it's going to be a five minute chart). Or number plus letter for other intervals: S for 1 second chart (15S for 15 second chart, etc.), H (Hourly), D (Daily), W (Weekly), M (Monthly) intervals (i.e. D or 2H)");function b(e){const{className:t,isSecondsEnabled:n}=e;return i.a.createElement(p.a,{icon:v,className:s()("apply-common-tooltip",t),title:n?h:g})}var O=n("h24c"),w=n("pPtI");var E=n("LxhU"),y=n("kXN+");function j(e){const{initVal:t,selectOnInit:n,onClose:o}=e,a=Object(r.useRef)(null),[l,p]=Object(r.useState)(t.toUpperCase()),v=Object(r.useMemo)(()=>Object(O.d)(l),[l]),g=function(e,t){return Object(r.useMemo)(()=>{let n=!t.error&&Object(O.c)(e);if(!n)return!1;const r=t.unit;if("R"===r&&t.qty>Object(w.getMaxResolutionValue)("R"))n=!1;else if(null===r||"H"===r){t.qty*("H"===r?60:1)>Object(w.getMaxResolutionValue)("1")&&(n=!1)}else"S"===r?t.qty>Object(w.getMaxResolutionValue)("S")&&(n=!1):"T"===r&&1!==t.qty&&(n=!1);return n},[e,t])}(l,v),h=Object(r.useMemo)(()=>{if(!g)return null;const e=v.qty+(v.unit||"");return Object(w.getTranslatedResolutionModel)(e).hint},[g,v]);return Object(r.useLayoutEffect)(()=>{var e,t;n?null===(e=a.current)||void 0===e||e.select():null===(t=a.current)||void 0===t||t.focus()},[n]),i.a.createElement(m.a,{className:y.dialog,"data-dialog-name":"change-interval-dialog",isOpened:!0,onClickOutside:o,onFocus:function(){var e;null===(e=a.current)||void 0===e||e.focus()},onKeyDown:function(e){27===e.keyCode&&(null==o||o())}},i.a.createElement("div",{className:y.dialogInner},i.a.createElement("div",{className:y.titleWrapper},i.a.createElement("div",{
|
|
2
|
-
className:y.title},Object(c.t)("Change interval")),i.a.createElement(b,{className:y.infoHint,isSecondsEnabled:Object(w.isSecondsEnabled)()})),i.a.createElement("form",{className:y.form,onSubmit:function(e){e.preventDefault();const t=f.linking.interval.value(),n=E.Interval.normalize(l);n&&t!==n&&g&&(r=n,Object(w.setLastUsedResolution)(r),f.linking.interval.setValue(r));var r;null==o||o()}},i.a.createElement(u.a,{className:s()(y.inputWrapper,d.b.FontSizeLarge),inputClassName:y.input,type:"text",size:"large",reference:a,value:l,maxLength:8,intent:g?void 0:"danger",onChange:function(e){const{value:t}=e.target;p(t.toUpperCase())}})),g?i.a.createElement("div",{className:y.hint},h):i.a.createElement("div",{className:s()(y.hint,y.error)},Object(c.t)("Not applicable"))))}var C=n("Gtzb");function N(e){if(C.b.isOpened("ChangeIntervalDialog")||C.b.isOpened("SymbolSearch"))return;const t=document.createElement("div"),{initVal:n,selectOnInit:r,onClose:o}=e,l=i.a.createElement(j,{initVal:n,selectOnInit:r,onClose:function(){a.a.unmountComponentAtNode(t),C.b.setAsClosed("ChangeIntervalDialog"),null==o||o()}});a.a.render(l,t),C.b.setAsOpened("ChangeIntervalDialog")}n.d(t,"showChangeIntervalDialog",(function(){return N}))},ijHL:function(e,t,n){"use strict";function r(e){return o(e,a)}function i(e){return o(e,l)}function o(e,t){const n=Object.entries(e).filter(t),r={};for(const[e,t]of n)r[e]=t;return r}function a(e){const[t,n]=e;return 0===t.indexOf("data-")&&"string"==typeof n}function l(e){return 0===e[0].indexOf("aria-")}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return l}))},"kXN+":function(e,t,n){e.exports={dialog:"dialog-23lGwisF",dialogInner:"dialogInner-23lGwisF",titleWrapper:"titleWrapper-23lGwisF",title:"title-23lGwisF",infoHint:"infoHint-23lGwisF",form:"form-23lGwisF",inputWrapper:"inputWrapper-23lGwisF",input:"input-23lGwisF",hint:"hint-23lGwisF",error:"error-23lGwisF"}},xJ0h:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M8 8.5h1.5V14"/><circle fill="currentColor" cx="9" cy="5" r="1"/><path stroke="currentColor" d="M16.5 9a7.5 7.5 0 1 1-15 0 7.5 7.5 0 0 1 15 0z"/></svg>'}}]);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([["chart-bottom-toolbar"],{"+GaQ":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("q1tI");function a(e){if(e.map){return i.Children.toArray(e.children).map(e.map)}return e.children}},"02pg":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n("q1tI"),a=n("TSYQ"),s=n("XiJV");function o(e){return i.createElement("div",{className:a(s.separator,e.className)})}},"1TxM":function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return h}));var i=n("q1tI"),a=n.n(i),s=n("17x9"),o=n.n(s);const r=a.a.createContext({});function l(e,t){o.a.checkPropTypes(t,e,"context","RegistryContext")}function c(e){const{validation:t,value:n}=e;return l(n,t),a.a.createElement(r.Provider,{value:n},e.children)}function h(){return r}},"20PO":function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" d="M9.7 9l4.65-4.65-.7-.7L9 8.29 4.35 3.65l-.7.7L8.29 9l-4.64 4.65.7.7L9 9.71l4.65 4.64.7-.7L9.71 9z"/></svg>'},"2mG+":function(e,t,n){e.exports={button:"button-2-onvH7F"}},"5o6O":function(e,t,n){e.exports={tabs:"tabs-3I2ohC86",tab:"tab-3I2ohC86",noBorder:"noBorder-3I2ohC86",disabled:"disabled-3I2ohC86",active:"active-3I2ohC86",defaultCursor:"defaultCursor-3I2ohC86",slider:"slider-3I2ohC86",content:"content-3I2ohC86"}},"6KyJ":function(e,t,n){"use strict";var i,a=n("q1tI"),s=n("TSYQ"),o=n("K9GE"),r=n("YZ9j");n("O7m7");!function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(i||(i={}));class l extends a.PureComponent{constructor(e){super(e),this._stateChangeTimeout=null,this.state={state:i.Initial}}render(){const{className:e,color:t="black"}=this.props,n=s(r.item,{[r[t]]:Boolean(t)});return a.createElement("span",{className:s(r.loader,e,this._getStateClass())},a.createElement("span",{className:n}),a.createElement("span",{className:n}),a.createElement("span",{className:n}))}componentDidMount(){this.setState({state:i.Appear}),this._stateChangeTimeout=setTimeout(()=>{this.setState({state:i.Active})},2*o.b)}componentWillUnmount(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)}_getStateClass(){switch(this.state.state){case i.Initial:return r["loader-initial"];case i.Appear:return r["loader-appear"];default:return""}}}n.d(t,"a",(function(){return l}))},"9VJd":function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" d="M5.5 13v-2.5m8.5 11h6.5a2 2 0 0 0 2-2v-9m-17 0v-2c0-1.1.9-2 2-2h13a2 2 0 0 1 2 2v2m-17 0h17"/><path fill="currentColor" d="M10 4h1v4h-1V4zM17 4h1v4h-1V4z"/><path stroke="currentColor" d="M4 18.5h7.5m0 0L8 22m3.5-3.5L8 15"/></svg>'},"9dlw":function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n("q1tI"),a=n.n(i),s=n("i8i4"),o=n.n(s),r=n("AiMB"),l=n("DTHj"),c=n("X0gx"),h=n("8Rai")
|
|
2
|
-
;function d(e){const{controller:t,children:n,isOpened:s,closeOnClickOutside:d=!0,doNotCloseOn:u,onClickOutside:m,onClose:g,...p}=e,b=Object(i.useContext)(c.a),v=Object(h.a)({handler:function(e){m&&m(e);if(!d)return;if(u&&e.target instanceof Node){const t=o.a.findDOMNode(u);if(t instanceof Node&&t.contains(e.target))return}g()},mouseDown:!0,touchStart:!0});return s?a.a.createElement(r.a,{top:"0",left:"0",right:"0",bottom:"0",pointerEvents:"none"},a.a.createElement("span",{ref:v,style:{pointerEvents:"auto"}},a.a.createElement(l.b,{...p,onClose:g,onScroll:function(t){const{onScroll:n}=e;n&&n(t)},customCloseDelegate:b,ref:t},n))):null}},ApAi:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="none" stroke="currentColor" d="M11 1.5h3.5a2 2 0 0 1 2 2V7m0 5v2.5a2 2 0 0 1-2 2H11m-4 0H3.5a2 2 0 0 1-2-2V11m0-4V3.5a2 2 0 0 1 2-2H7"/></svg>'},"J+f8":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("q1tI");const a=i.createContext(!1)},J3OW:function(e,t,n){e.exports={button:"button-15caiVtH",separator:"separator-15caiVtH"}},K3s3:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c}));var i=n("q1tI"),a=n("TSYQ"),s=n("Eyy1"),o=n("5o6O");const r=o;function l(e){const t=a(e.className,o.tab,{[o.active]:e.isActive,[o.disabled]:e.isDisabled,[o.defaultCursor]:!!e.shouldUseDefaultCursor,[o.noBorder]:!!e.noBorder});return i.createElement("div",{className:t,onClick:e.onClick,ref:e.reference,"data-type":"tab-item","data-value":e.value,"data-name":"tab-item-"+e.value.toString().toLowerCase()},e.children)}function c(e){return class extends i.PureComponent{constructor(){super(...arguments),this.activeTab={current:null}}componentDidUpdate(){Object(s.ensureNotNull)(this._slider).style.transition="transform 350ms",this._componentDidUpdate()}componentDidMount(){this._componentDidUpdate()}render(){const{className:t}=this.props,n=this._generateTabs();return i.createElement("div",{className:a(t,o.tabs),"data-name":this.props["data-name"]},n,i.createElement(e,{reference:e=>{this._slider=e}}))}_generateTabs(){return this.activeTab.current=null,i.Children.map(this.props.children,e=>{const t=e,n=Boolean(t.props.isActive),a={reference:e=>{n&&(this.activeTab.current=e),t.props.reference&&t.props.reference(e)}};return i.cloneElement(t,a)})}_componentDidUpdate(){const e=Object(s.ensureNotNull)(this._slider).style;if(this.activeTab.current){const t=this.activeTab.current.offsetWidth,n=this.activeTab.current.offsetLeft;e.transform=`translateX(${n}px)`,e.width=t+"px",e.opacity="1"}else e.opacity="0"}}}c((function(e){return i.createElement("div",{className:o.slider,ref:e.reference})}))},KKsp:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("q1tI"),a=n("TSYQ"),s=n.n(a),o=n("NOPy");function r(e){const{size:t="normal",className:n}=e;return i.createElement("div",{className:s()(o.separator,"small"===t&&o.small,"normal"===t&&o.normal,"large"===t&&o.large,n)})}},MfqI:function(e,t,n){"use strict";n.r(t)
|
|
3
|
-
;var i=n("q1tI"),a=n.n(i),s=n("i8i4"),o=n("YFKU"),r=n("17x9"),l=n("TSYQ"),c=n("cvc5"),h=n("Kxc7"),d=n("82wv"),u=n("Iksw"),m=n("tWVy"),g=n("/KDZ"),p=n("N5tr"),b=n("KKsp"),v=n("Eyy1"),f=n("JWMC"),_=n("1TxM"),C=n("aIyQ"),S=n.n(C),y=n("dfhE");class E{constructor(e){this._state={ranges:[]},this._change=new S.a,this._rangeChangedListenerBound=this._onRangeChanged.bind(this);const{chartWidget:t}=this._context=e;t.withModel(null,()=>{const e=t.model(),n=e.mainSeries();n.onStatusChanged().subscribe(this,this._updateAvailableRanges),h.enabled("update_timeframes_set_on_symbol_resolve")&&n.dataEvents().symbolResolved().subscribe(this,this._updateAvailableRanges),n.priceScale().properties().childs().lockScale.subscribe(this,this._updateAvailableRanges);const i=e.model().appliedTimeFrame();i.subscribe(this._rangeChangedListenerBound),this._rangeChangedListenerBound(i.value()),this._updateAvailableRanges()})}state(){return this._state}onChange(){return this._change}selectRange(e){this._setState({activeRange:e.value.value});const{chartWidgetCollection:t}=this._context,n={val:e.value,res:e.targetResolution};t.setTimeFrame(n)}destroy(){const{chartWidget:e}=this._context;e.withModel(null,()=>{const t=e.model(),n=t.mainSeries();n.onStatusChanged().unsubscribe(this,this._updateAvailableRanges),h.enabled("update_timeframes_set_on_symbol_resolve")&&n.dataEvents().symbolResolved().unsubscribe(this,this._updateAvailableRanges),n.priceScale().properties().childs().lockScale.unsubscribe(this,this._updateAvailableRanges),t.model().appliedTimeFrame().unsubscribe(this._rangeChangedListenerBound)}),this._change.destroy()}_setState(e){this._state=Object.assign({},this._state,e),this._change.fire(this._state)}_onRangeChanged(e){let t;null!==e&&"period-back"===e.val.type&&(t=e.val.value),this._setState({activeRange:t})}_updateAvailableRanges(){const{availableTimeFrames:e,chartWidget:t}=this._context;if(!t.hasModel())return;const n=t.model().mainSeries(),i=n.status();if(i===y.STATUS_LOADING||i===y.STATUS_RESOLVING)return;const a=e(n.symbolInfo(),n.status());0!==a.length&&this._setState({ranges:a})}}const x=Object(_.b)();function w(e){var t;return(t=class extends i.PureComponent{constructor(e,t){super(e,t),this._handleUpdate=e=>{this.setState(e)},this._handleSelectRange=e=>{Object(f.trackEvent)("GUI","Chart Bottom Toolbar","range "+e.value),this._binding.selectRange(e)},Object(_.c)(t,{availableTimeFrames:r.any.isRequired,chartWidgetCollection:r.any.isRequired,chartWidget:r.any.isRequired}),N.has(t.chartWidget)||N.set(t.chartWidget,new E(t));const n=this._binding=Object(v.ensureDefined)(N.get(t.chartWidget));this.state=n.state()}componentDidMount(){this._binding.onChange().subscribe(this,this._handleUpdate)}componentWillUnmount(){this._binding.onChange().unsubscribe(this,this._handleUpdate)}render(){return i.createElement(e,{goToDateButton:this.props.goToDateButton,className:this.props.className,ranges:this.state.ranges,activeRange:this.state.activeRange,onSelectRange:this._handleSelectRange})}}).contextType=x,t}const N=new WeakMap
|
|
4
|
-
;var R=n("cdbK"),T=n("l4ku"),k=n("02pg"),M=n("2uTr"),A=n("9VJd"),W=n("J3OW");function O(e){const{ranges:t,activeRange:n,onSelectRange:i}=e;return a.a.createElement(a.a.Fragment,null,t.map(e=>a.a.createElement(T.a,{key:e.value.value,label:e.description||e.text,active:n===e.value.value,checked:n===e.value.value,checkable:!0,disabled:!1,onClick:s.bind(null,e),doNotCloseOnClick:!1,subItems:[]})));function s(e){e&&i&&i(e),Object(m.b)()}}function B(e){const{onGoToDateClick:t}=e;return a.a.createElement(a.a.Fragment,null,a.a.createElement(k.a,{className:W.separator}),a.a.createElement(T.a,{icon:A,label:Object(M.appendEllipsis)(Object(o.t)("Go to")),onClick:t,active:!1,checked:!1,checkable:!1,disabled:!1,doNotCloseOnClick:!1,subItems:[]}))}const j={title:window.t("Date Range"),goToDate:Object(M.appendEllipsis)(window.t("Go to"))},I=Object(_.b)();class D extends i.PureComponent{constructor(e,t){super(e,t),this._handleGoToDateClick=()=>{const{chartWidget:e}=this.context;Object(R.showGoToDateDialog)(e),Object(m.b)()},this._handleRangeSelect=e=>{e&&this.props.onSelectRange&&this.props.onSelectRange(e),Object(m.b)()},this._renderChildren=e=>{const{ranges:t,activeRange:n,goToDateButton:a}=this.props;return e?i.createElement(i.Fragment,null,i.createElement(O,{ranges:t,activeRange:n,onSelectRange:this._handleRangeSelect}),a&&i.createElement(B,{onGoToDateClick:this._handleGoToDateClick})):i.createElement(i.Fragment,null,t.map(e=>i.createElement(p.b,{key:e.value.value,label:e.description||e.text,isActive:n===e.value.value,onClick:this._handleRangeSelect,onClickArg:e})),a&&i.createElement(b.a,null),a&&i.createElement(p.b,{label:j.goToDate,onClick:this._handleGoToDateClick}))},Object(_.c)(t,{chartWidget:r.any.isRequired})}render(){return i.createElement(g.a,{rule:"screen and (max-width: 428px)"},e=>i.createElement(d.a,{className:W.button,content:j.title,arrow:!0,verticalAttachEdge:u.c.Top,verticalDropDirection:u.d.FromBottomToTop,horizontalMargin:4,"data-name":"date-ranges-menu",isDrawer:e},this._renderChildren(e)))}}D.contextType=I;const L=w(D);var z=n("K3s3"),P=n("W9Y+");function F(e){const t=l(e.className,P.item,{[P.isActive]:e.isActive,[P.isFirst]:e.isFirst,[P.isLast]:e.isLast});return i.createElement("div",{className:t,onClick:e.onClick,ref:e.reference},e.children)}var U=n("nPPD"),q=n("RZ2Z");const H=Object(U.a)(z.a,q);var K=n("qSb5");const G=Object(z.c)((function(e){return i.createElement("div",{className:l(e.className,H.slider),ref:e.reference},i.createElement("div",{className:H.inner}))}));const X=w((function(e){const{className:t,ranges:n,activeRange:a,onSelectRange:s}=e;return i.createElement(G,{className:l(K.sliderRow,t),"data-name":"date-ranges-tabs"},n.map((e,t)=>i.createElement(F,{key:e.value.value,value:e.value.value,isFirst:0===t,isLast:t===n.length-1,isActive:a===e.value.value,onClick:s&&s.bind(null,e)},i.createElement("div",{title:e.description||e.text,className:"apply-common-tooltip"},e.text))))}));var V=n("Iivm"),Y=n("/DW5"),Z=n("ul7r"),Q=n("c7H2");const J=Object(Y.b)({keys:["Alt","G"],text:"{0} + {1}"
|
|
5
|
-
}),$=Object(_.b)();class ee extends i.PureComponent{constructor(e,t){super(e,t),this._handleClick=()=>{const{chartWidget:e}=this.context;Object(f.trackEvent)("GUI","Chart Bottom Toolbar","go to"),Object(R.showGoToDateDialog)(e)},Object(_.c)(t,{chartWidget:r.any.isRequired})}render(){const{className:e,ranges:t}=this.props;return t.length>0&&i.createElement("div",{className:l("apply-common-tooltip",Q.button,e),"data-name":"go-to-date","data-tooltip-hotkey":J,onClick:this._handleClick,title:Object(o.t)("Go to")},i.createElement(V.a,{className:Q.icon,icon:Z}))}}ee.contextType=$;const te=w(ee);var ne=n("URQ3");function ie(e){const{reference:t,className:n,children:a,...s}=e;return i.createElement("button",{...s,className:l(n,ne.button),ref:t},i.createElement("span",{className:ne.inner},a))}var ae=n("/+9u"),se=n("4kQX"),oe=n("7KDR"),re=n("5VQP");class le extends i.PureComponent{constructor(e){super(e),this._element=null,this._menu=null,this._handleRef=e=>{this._element=e},this._showMenu=()=>{if(this._menu&&this._menu.isShown())return this._menu.hide(),void this._menu.destroy();const{getActions:e,right:t}=this.props,n=Object(v.ensureNotNull)(this._element),i=e();0!==i.length&&re.ContextMenuManager.createMenu(i).then(e=>{this._menu=e,e.show((e,i)=>{const a=n.getBoundingClientRect();return{clientX:t?a.right-e:a.left,clientY:a.top-Math.min(i,a.top),overrideHeight:a.top<i?a.top:void 0}},this._element||void 0)})}}render(){const{children:e}=this.props;return i.createElement("span",{onClick:this._showMenu,ref:this._handleRef},e)}}var ce=n("jCNj"),he=n("2mG+");const de={hint:window.t("Timezone")};const ue=Object(_.b)();class me extends i.PureComponent{constructor(e,t){super(e,t),this._timeFormatter=new se.TimeFormatter,this._tickInterval=void 0,this._tickClock=()=>{const{chartApiInstance:e}=this.context;if(void 0!==this._timezone){const t=Object(ce.utc_to_cal)(this._timezone,e.serverTime());this.setState({time:this._timeFormatter.format(t)})}},this._getActions=()=>{if(!this.props.withMenu)return[];const{chartWidget:e}=this.context;return function(e){e.updateActions();const t=e.actions();return t&&t.applyTimeZone instanceof oe.Action?t.applyTimeZone.getSubItems():[]}(e)},Object(_.c)(t,{chartWidget:r.any.isRequired,chartApiInstance:r.any.isRequired}),this.state={time:""}}componentDidMount(){const{chartWidget:e}=this.context;this._tickInterval=setInterval(this._tickClock,1e3),e.withModel(null,()=>{const t=e.model();t.model().mainSeries().dataEvents().symbolResolved().subscribe(this,this.updateTimezonesButton),t.model().properties().timezone.subscribe(this,this.updateTimezonesButton)})}componentWillUnmount(){const{chartWidget:e}=this.context;clearInterval(this._tickInterval),e.withModel(null,()=>{const t=e.model();t.model().mainSeries().dataEvents().symbolResolved().unsubscribe(this,this.updateTimezonesButton),t.model().properties().timezone.unsubscribe(this,this.updateTimezonesButton)})}render(){const{className:e,withMenu:t}=this.props,{time:n}=this.state,a=void 0!==this._timezone?Object(ae.a)(this._timezone.name()).string:null
|
|
6
|
-
;return i.createElement(le,{getActions:this._getActions},i.createElement(ie,{className:l(e,he.button,"apply-common-tooltip"),title:t?de.hint:void 0,disabled:!t,"data-name":"time-zone-menu"},n&&a&&`${n} (${a})`))}updateTimezonesButton(){const{chartWidget:e}=this.context;if(!e.hasModel())return;if(null===e.model().mainSeries().symbolInfo())return;let t=e.model().model().timezone();if("exchange"===t){const n=Object(v.ensureNotNull)(e.model().mainSeries().symbolInfo()).timezone;n&&(t=n)}this._timezone=Object(ce.get_timezone)(t),this._tickClock()}}me.contextType=ue;var ge=n("z6ID");function pe(e){return i.createElement("span",{className:l(ge.separator,e.className)})}var be=n("tU7i"),ve=n("qFKp");class fe{constructor(e,t,n){this._highlighted=!1,this._chartWidget=e,this._priceScaleGetter=t,this._owner=n,this._setHighlight=this._setHighlight.bind(this),this._removeHighlight=this._removeHighlight.bind(this)}destroy(){this._highlighted&&this._removeHighlight()}handlers(){const e=ve.CheckMobile.any();return{onMouseEnter:e?void 0:this._setHighlight,onMouseLeave:e?void 0:this._removeHighlight}}_setHighlight(){const e=this._chartWidget.model().model(),t=e.paneForSource(e.mainSeries()),n=this._priceScaleGetter();if(null===t||null===n)return;const i=this._chartWidget.paneByState(t);if(null!==i){const t=i.rightPriceAxisesContainer().findAxisWidgetForScale(n);let a=null;null!==t&&(a=t.axisInfo());const s=i.leftPriceAxisesContainer().findAxisWidgetForScale(n);null!==s&&(a=s.axisInfo());const o=i.highlightedPriceAxis();null!==a&&o.value().axis!==a&&(o.setValue({owner:this._owner,axis:a}),e.lightUpdate(),this._highlighted=!0)}}_removeHighlight(){const e=this._chartWidget.model().model(),t=e.paneForSource(e.mainSeries());if(null===t)return;const n=this._chartWidget.paneByState(t);if(null!==n){const t=n.highlightedPriceAxis(),i=t.value();null!==i.axis&&i.owner===this._owner&&(t.setValue({owner:this._owner,axis:null}),e.lightUpdate(),this._highlighted=!1)}}}const _e=Object(_.b)();const Ce=Object(_.b)();const Se=Object(_.b)();const ye=Object(_.b)();var Ee=n("+GaQ"),xe=n("XAms"),we=n("T4/F"),Ne=n("ApAi"),Re=n("PP+v");const Te={extLabel:window.t("ext"),extHint:window.t("Extended Hours is available only for intraday charts"),percentageHint:window.t("Toggle Percentage"),logLabel:window.t("log",{context:"scale"}),logHint:window.t("Toggle Log Scale"),autoLabel:window.t("auto",{context:"scale"}),autoHint:window.t("Toggle Auto Scale"),fullscreenHint:window.t("Toggle Maximize Chart"),adjLabel:window.t("adj",{context:"adjustments"}),adjHint:window.t("Adjust data for dividends"),adjForDividendsOnlyHint:window.t("Data is adjusted for dividends only"),adjForSplitsOnlyHint:window.t("Data is adjusted for splits only")},ke=(Me=e=>i.createElement(be.b,{text:Te.logLabel,title:Te.logHint,className:e.className,isActive:e.isLogarithm,isGrouped:!0,onClick:e.onClick,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"logarithm"}),(Ae=class extends i.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{
|
|
7
|
-
const e=this.context.chartWidget.model(),t=Object(v.ensureNotNull)(this.state.series),n=t.priceScale(),i=n.mode();t.priceScale().isLockScale()||e.setPriceScaleMode({log:!i.log},n,window.t("Toggle Log Scale"))},Object(_.c)(t,{chartWidget:r.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new fe(this.context.chartWidget,()=>this._priceScale,"logarithm")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),n=t.priceScale();this._handleMainSeriesPriceScaleChanged(n),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleModeChanged({},n.mode()),this.setState({isActive:t.priceScale().isLog(),series:t})})}componentWillUnmount(){const e=this.context.chartWidget;e.withModel(null,()=>{e.model().mainSeries().priceScaleChanged().unsubscribe(this,this._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null),this._priceAxisHighlighter.destroy()}render(){const{className:e}=this.props,{isActive:t,series:n}=this.state;return i.createElement(Me,{...this._priceAxisHighlighter.handlers(),className:e,isLogarithm:t,isDisabled:null===n,onClick:this._handleSelect})}_handleMainSeriesPriceScaleChanged(e){null!==this._priceScale&&this._priceScale.modeChanged().unsubscribe(this,this._handleModeChanged),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleModeChanged),this._handleModeChanged({},e.mode())}_handleModeChanged(e,t){Boolean(t.log)!==this.state.isActive&&this.setState({isActive:Boolean(t.log)})}}).contextType=_e,Ae);var Me,Ae;const We=function(e){var t;return(t=class extends i.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=Object(v.ensureNotNull)(this.state.series).priceScale(),n=t.mode();e.setPriceScaleMode({autoScale:!n.autoScale},t,window.t("Toggle Auto Scale"))},Object(_.c)(t,{chartWidget:r.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new fe(this.context.chartWidget,()=>this._priceScale,"auto")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),n=t.priceScale();this._handleMainSeriesPriceScaleChanged(n),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleModeChanged({},n.mode()),this.setState({isActive:t.priceScale().isAutoScale(),series:t})})}componentWillUnmount(){const e=this.context.chartWidget;e.withModel(null,()=>{e.model().mainSeries().priceScaleChanged().unsubscribe(this,this._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null),this._priceAxisHighlighter.destroy()}render(){const{className:t}=this.props,{isActive:n,series:a}=this.state;return i.createElement(e,{...this._priceAxisHighlighter.handlers(),className:t,isAuto:n,isDisabled:null===a,onClick:this._handleSelect})}_handleMainSeriesPriceScaleChanged(e){
|
|
8
|
-
null!==this._priceScale&&this._priceScale.modeChanged().unsubscribe(this,this._handleModeChanged),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleModeChanged),this._handleModeChanged({},e.mode())}_handleModeChanged(e,t){Boolean(t.autoScale)!==this.state.isActive&&this.setState({isActive:Boolean(t.autoScale)})}}).contextType=Ce,t}(e=>i.createElement(be.b,{text:Te.autoLabel,title:Te.autoHint,className:e.className,isActive:e.isAuto,isGrouped:!0,onClick:e.onClick,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"auto"})),Oe=function(e){var t;return(t=class extends i.PureComponent{constructor(e,t){super(e,t),this._priceScale=null,this._handleSelect=()=>{const e=this.context.chartWidget.model(),t=Object(v.ensureNotNull)(this.state.series),n=t.priceScale(),i=n.mode();t.priceScale().isLockScale()||e.setPriceScaleMode({percentage:!i.percentage},n,window.t("Toggle Percentage Scale"))},Object(_.c)(t,{chartWidget:r.any.isRequired}),this.state={isActive:!1,series:null},this._priceAxisHighlighter=new fe(this.context.chartWidget,()=>this._priceScale,"percentage")}componentDidMount(){const e=this.context.chartWidget;e.withModel(null,()=>{const t=e.model().mainSeries(),n=t.priceScale();this._handleMainSeriesPriceScaleChanged(n),t.priceScaleChanged().subscribe(this,this._handleMainSeriesPriceScaleChanged),this._handleScaleChange({},n.mode()),this.setState({isActive:t.priceScale().isPercentage(),series:t})})}componentWillUnmount(){const e=this.context.chartWidget;e.withModel(null,()=>{e.model().mainSeries().priceScaleChanged().unsubscribe(this,this._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null),this._priceAxisHighlighter.destroy()}render(){const{className:t}=this.props,{isActive:n,series:a}=this.state;return i.createElement(e,{...this._priceAxisHighlighter.handlers(),className:t,isPercentage:n,isDisabled:null===a,onClick:this._handleSelect})}_handleMainSeriesPriceScaleChanged(e){null!==this._priceScale&&this._priceScale.modeChanged().unsubscribe(this,this._handleScaleChange),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleScaleChange),this._handleScaleChange({},e.mode())}_handleScaleChange(e,t){Boolean(t.percentage)!==this.state.isActive&&this.setState({isActive:Boolean(t.percentage)})}}).contextType=Se,t}(e=>i.createElement(be.b,{icon:we,title:Te.percentageHint,className:e.className,isActive:e.isPercentage,isDisabled:e.isDisabled,isGrouped:!0,onClick:e.onClick,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,"data-name":"percentage"}));const Be=Object(Y.b)({keys:["Alt","Enter"],text:"{0} + {1}"}),je=function(e){var t;return(t=class extends i.PureComponent{constructor(e,t){super(e,t),this._handleClick=e=>{const{resizerDetacher:t,chartWidgetCollection:n}=this.context;e.shiftKey&&t.detachable.value()?t.detach():this.state.isFullscreen?t.exitFullscreen():t.requestFullscreen()},this._handleLayoutChange=e=>{this.setState({isFullscreen:e})},this._handlePhoneSize=()=>{0
|
|
9
|
-
},Object(_.c)(t,{chartWidgetCollection:r.any.isRequired,resizerDetacher:r.any.isRequired});const{resizerDetacher:n}=t;this.state={isFullscreen:n.fullscreen.value(),isChangeLayoutButton:this._isChangeLayoutButton()}}componentDidMount(){const{resizerDetacher:e,chartWidgetCollection:t}=this.context,{mobileChangeLayoutEnabled:n}=this.props;e.fullscreen.subscribe(this._handleLayoutChange)}componentWillUnmount(){const{resizerDetacher:e,chartWidgetCollection:t}=this.context,{mobileChangeLayoutEnabled:n}=this.props;e.fullscreen.unsubscribe(this._handleLayoutChange)}render(){const{className:t}=this.props,{isFullscreen:n,isChangeLayoutButton:a}=this.state;return i.createElement(e,{className:t,isFullscreen:n,onClick:this._handleClick})}_isChangeLayoutButton(){return!1}}).contextType=ye,t}(e=>i.createElement(be.b,{icon:Ne,title:Te.fullscreenHint,className:e.className,isActive:e.isFullscreen,onClick:e.onClick,"data-tooltip-hotkey":Be,"data-name":"fullscreen"})),Ie={properties:!0,fullscreen:!0,preventPhoneLayout:!0},De={fullscreen:Number.MIN_SAFE_INTEGER,preventPhoneLayout:Number.MIN_SAFE_INTEGER,properties:Number.MIN_SAFE_INTEGER,separator:-2,timeZones:-1,auto:0,logarithm:1,percentage:2,session:3,adj:4},Le=(()=>{const e=new Map;return e.set(ke,"logarithm"),e.set(Oe,"percentage"),e.set(We,"auto"),e.set(je,"fullscreen"),e})();function ze(e){0}const Pe={dateRangeMode:"hidden",separator:!0,timeZones:!0,fullscreen:!0,preventPhoneLayout:!0,properties:!0,auto:!0,logarithm:!0,percentage:!0,session:!0,adj:!0},Fe=Object(_.b)();class Ue extends i.PureComponent{constructor(e,t){var n,a;super(e,t),this._timezoneButtonRef=null,this._layout=Object.assign({},Pe),this._raf=null,this._toolbar=null,this._rangeExpanded=null,this._rangeCollapsed=null,this._seriesComponents={},this._injector=(n=()=>this._layout,a=(e,t)=>this._seriesComponents[t]=e,(e,t,s)=>{if(i.isValidElement(e)&&"string"!=typeof e.type){const{props:o}=e;if("string"==typeof o.className){const r={className:l(o.className,0===t&&Re.first,t===s.length-1&&Re.last)},c=n(),h=Object(v.ensureDefined)(Le.get(e.type));return i.createElement("div",{key:null===e.key?void 0:e.key,className:l(Re.inline,c[h]&&Re.collapsed),ref:e=>a(e,h),onClick:()=>ze()},i.cloneElement(e,r))}}return e}),this._handleResize=()=>{null===this._raf&&(this._raf=requestAnimationFrame(()=>{const e=this._layout,t=Object(v.ensureNotNull)(this._toolbar),n=Object(v.ensureNotNull)(this._rangeExpanded),i=(a=function(e){const t={};return Object.keys(e).forEach(n=>{const i=e[n];if(null!==i){const e=s.findDOMNode(i);null!==e&&(t[n]=e)}}),t}(this._seriesComponents),Object.keys(a).map(e=>({name:e,width:a[e].offsetWidth})).sort((e,t)=>De[e.name]-De[t.name]));var a;const o=t.offsetWidth,r=i.reduce((e,t)=>e+t.width,0),l=n.offsetWidth,c=!Boolean(n.textContent)||o-r-l<=0?"collapsed":"expanded";if(Object.assign(e,{dateRangeMode:c}),"expanded"!==c){const t=o-Object(v.ensureNotNull)(this._rangeCollapsed).offsetWidth-0;let n=0,a=0;for(const s of i)n+=s.width,s.name in Ie?(a+=s.width,Object.assign(e,{[s.name]:!1})):Object.assign(e,{
|
|
10
|
-
[s.name]:t<=n});t<=a&&Object.assign(e,{dateRangeMode:"hidden"})}else Object.assign(e,{separator:!1,timeZones:!1,fullscreen:!1,preventPhoneLayout:!1,properties:!1,auto:!1,logarithm:!1,percentage:!1,session:!1,adj:!1});this._applyResizing(),this._raf=null}))},this._handleTimezoneButtonRef=e=>{this._timezoneButtonRef=e},this._handleMeasure=()=>{null!==this._toolbar&&this.resizeUI()},this._handleFullscreenableChange=e=>{this._setStateWithResize({isFullscreenable:e})},this._handlePreventPhoneLayoutButtonVisibility=()=>{0},this._handleToolbarRef=e=>this._toolbar=e,this._handleRangeCollapsedRef=e=>this._rangeCollapsed=e,this._handleRangeExpandedRef=e=>this._rangeExpanded=e,this._handleTimeZonesRef=e=>{this._seriesComponents.timeZones=e},this._handleSessionsRef=e=>{this._seriesComponents.session=e},this._handleSeparatorRef=e=>{this._seriesComponents.separator=e},Object(_.c)(t,{onContentBoxChanged:r.any.isRequired,chartApiInstance:r.any.isRequired,chartWidget:r.any.isRequired,chartWidgetCollection:r.any.isRequired,resizerDetacher:r.any.isRequired});const{resizerDetacher:o}=this.context;this.state={isFullscreenable:o.fullscreenable.value(),isPreventPhoneLayoutButton:this._isPreventPhoneLayoutButton()}}componentDidMount(){const{onContentBoxChanged:e,resizerDetacher:t,chartWidgetCollection:n,chartWidget:i}=this.context;e.subscribe(this,this._handleResize),t.fullscreenable.subscribe(this._handleFullscreenableChange),this.updateTimezonesButton(),this.resizeUI()}componentWillUnmount(){const{onContentBoxChanged:e,resizerDetacher:t,chartWidgetCollection:n,chartWidget:i}=this.context;e.unsubscribe(this,this._handleResize),t.fullscreenable.unsubscribe(this._handleFullscreenableChange),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null)}render(){const e=this._layout,{timeFramesWidgetEnabled:t,timeWidgetEnabled:n,percentageScaleButtonEnabled:a,logScaleButtonEnabled:s,autoScaleButtonEnabled:o,fullscreenButtonEnabled:r}=this.props;return i.createElement("div",{className:Re.toolbar,ref:this._handleToolbarRef,onContextMenu:xe.a},t&&i.createElement(Ee.a,null,i.createElement("div",{className:l(Re.dateRangeWrapper,"collapsed"!==e.dateRangeMode&&Re.collapsed),ref:this._handleRangeCollapsedRef},i.createElement("div",{className:l(Re.dateRangeCollapsed)},i.createElement(L,{goToDateButton:this.props.goToDateEnabled}))),i.createElement(c,{onMeasure:this._handleMeasure},i.createElement("div",{className:l(Re.dateRangeWrapper,"expanded"!==e.dateRangeMode&&Re.collapsed),ref:this._handleRangeExpandedRef},i.createElement("div",{className:l(Re.dateRangeExpanded)},i.createElement(X,null),this.props.goToDateEnabled&&i.createElement(pe,null),this.props.goToDateEnabled&&i.createElement(te,null))))),i.createElement("div",{className:Re.seriesControlWrapper},n&&i.createElement(c,{onMeasure:this._handleMeasure},i.createElement("div",{className:l(Re.inline,e.timeZones&&Re.collapsed),ref:this._handleTimeZonesRef},i.createElement("div",{className:Re.inline,onClick:this._trackTimezonesButtonClick},i.createElement(me,{className:Re.timezone,
|
|
11
|
-
withMenu:this.props.timezoneMenuEnabled,ref:this._handleTimezoneButtonRef})))),!1,i.createElement("div",{ref:this._handleSeparatorRef,className:l(Re.inline,e.separator&&Re.collapsed)},i.createElement(pe,null)),i.createElement(Ee.a,{map:this._injector},!1,a&&!h.enabled("fundamental_widget")&&i.createElement(Oe,{className:Re.icon}),s&&i.createElement(ke,{className:Re.item}),o&&i.createElement(We,{className:Re.item}),r&&this.state.isFullscreenable&&i.createElement(je,{className:Re.icon,mobileChangeLayoutEnabled:this.props.mobileChangeLayoutEnabled}),!1)))}updateTimezonesButton(){null!==this._timezoneButtonRef&&this._timezoneButtonRef.updateTimezonesButton()}resizeUI(){this._handleResize()}_updateButtonsVisibility(){0}_trackTimezonesButtonClick(){ze()}_setStateWithResize(e){Object.assign(this._layout,Pe),this._applyResizing(),this.setState(e,()=>this._handleResize())}_applyResizing(){const{dateRangeMode:e,...t}=this._layout;this._rangeExpanded&&this._rangeExpanded.classList.toggle(Re.collapsed,"expanded"!==e),this._rangeCollapsed&&this._rangeCollapsed.classList.toggle(Re.collapsed,"collapsed"!==e),Object.keys(t).forEach(e=>{const n=e,i=this._seriesComponents[n];i&&i.classList.toggle(Re.collapsed,t[n])})}_isPreventPhoneLayoutButton(){return!1}}Ue.contextType=Fe;const qe={onContentBoxChanged:r.any,computeContentBox:r.any,chartWidget:r.any,chartApiInstance:r.any,chartWidgetCollection:r.any,resizerDetacher:r.any,availableTimeFrames:r.any};class He extends i.PureComponent{constructor(e){super(e),this._setActiveChart=e=>{this._defineRegistry(e),this.setState({chartWidget:e})};const t=this.props.chartWidgetCollection.activeChartWidget.value();this.state={chartWidget:t},this._defineRegistry(t)}componentDidMount(){this.props.chartWidgetCollection.activeChartWidget.subscribe(this._setActiveChart)}componentWillUnmount(){this.props.chartWidgetCollection.activeChartWidget.unsubscribe(this._setActiveChart)}render(){const{chartWidget:e}=this.state;if(!e)return null;const{options:t}=this.props,n={timeFramesWidgetEnabled:t.timeFramesWidgetEnabled,goToDateEnabled:t.timeFramesWidget.goToDateEnabled,timeWidgetEnabled:t.timeWidgetEnabled,timezoneMenuEnabled:t.timeWidget&&t.timeWidget.timezoneMenuEnabled,sessionIdButtonEnabled:t.sessionIdButtonEnabled,adjustForDividendsButtonEnabled:t.adjustForDividendsButtonEnabled,logScaleButtonEnabled:t.logScaleButtonEnabled,percentageScaleButtonEnabled:t.percentageScaleButtonEnabled,autoScaleButtonEnabled:t.autoScaleButtonEnabled,fullscreenButtonEnabled:t.fullscreenButtonEnabled,mobileChangeLayoutEnabled:t.mobileChangeLayoutEnabled};return i.createElement(_.a,{validation:qe,value:this._registry},i.createElement(Ue,{key:e.id(),...n}))}_defineRegistry(e){const{onContentBoxChanged:t,computeContentBox:n,chartApiInstance:i,chartWidgetCollection:a,options:{timeFramesWidgetEnabled:s,timeFramesWidget:o}}=this.props,r=s?o.availableTimeFrames:void 0;this._registry={onContentBoxChanged:t,computeContentBox:n,chartWidget:e,availableTimeFrames:r,chartApiInstance:i,chartWidgetCollection:a,
|
|
12
|
-
resizerDetacher:e.getResizerDetacher()}}}n.d(t,"BottomToolbarRenderer",(function(){return Ke}));class Ke{constructor(e,t,n,a,o,r,l){this._container=e;const c=i.createElement(He,{onContentBoxChanged:t,computeContentBox:n,chartWidgetCollection:a,chartApiInstance:o,chartWidgetOptions:r,options:l});s.render(c,e),e.setAttribute("data-initialized","true")}destroy(){s.unmountComponentAtNode(this._container),this._container.removeAttribute("data-initialized")}}},N5tr:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return m}));var i=n("q1tI"),a=n.n(i),s=n("TSYQ"),o=n("tWVy"),r=n("JWMC"),l=n("ijHL"),c=n("v1bN");const h=c;function d(e){const{reference:t,...n}=e,i={...n,ref:t};return a.a.createElement(e.href?"a":"div",i)}function u(e){e.stopPropagation()}function m(e){const{id:t,role:n,"aria-selected":h,className:m,title:g,labelRowClassName:p,labelClassName:b,shortcut:v,forceShowShortcuts:f,icon:_,isActive:C,isDisabled:S,isHovered:y,appearAsDisabled:E,label:x,link:w,showToolboxOnHover:N,target:R,rel:T,toolbox:k,reference:M,onMouseOut:A,onMouseOver:W,suppressToolboxClick:O=!0,theme:B=c}=e,j=Object(l.b)(e),I=Object(i.useRef)(null);return a.a.createElement(d,{...j,id:t,role:n,"aria-selected":h,className:s(m,B.item,_&&B.withIcon,{[B.isActive]:C,[B.isDisabled]:S||E,[B.hovered]:y}),title:g,href:w,target:R,rel:T,reference:function(e){I.current=e,"function"==typeof M&&M(e);"object"==typeof M&&(M.current=e)},onClick:function(t){const{dontClosePopup:n,onClick:i,onClickArg:a,trackEventObject:s}=e;if(S)return;s&&Object(r.trackEvent)(s.category,s.event,s.label);i&&i(a,t);n||Object(o.b)()},onContextMenu:function(t){const{trackEventObject:n,trackRightClick:i}=e;n&&i&&Object(r.trackEvent)(n.category,n.event,n.label+"_rightClick")},onMouseUp:function(t){const{trackEventObject:n,trackMouseWheelClick:i}=e;if(1===t.button&&w&&n){let e=n.label;i&&(e+="_mouseWheelClick"),Object(r.trackEvent)(n.category,n.event,e)}},onMouseOver:W,onMouseOut:A},void 0!==_&&a.a.createElement("div",{className:B.icon,dangerouslySetInnerHTML:{__html:_}}),a.a.createElement("div",{className:s(B.labelRow,p)},a.a.createElement("div",{className:s(B.label,b)},x)),(void 0!==v||f)&&a.a.createElement("div",{className:B.shortcut},(D=v)&&D.split("+").join(" + ")),void 0!==k&&a.a.createElement("div",{onClick:O?u:void 0,className:s(B.toolbox,{[B.showOnHover]:N})},k));var D}},NOPy:function(e,t,n){e.exports={separator:"separator-eqcGT_ow",small:"small-eqcGT_ow",normal:"normal-eqcGT_ow",large:"large-eqcGT_ow"}},O7m7:function(e,t,n){},"PP+v":function(e,t,n){e.exports={toolbar:"toolbar-2yU8ifXU",dateRangeWrapper:"dateRangeWrapper-2yU8ifXU",seriesControlWrapper:"seriesControlWrapper-2yU8ifXU",dateRangeExpanded:"dateRangeExpanded-2yU8ifXU",dateRangeCollapsed:"dateRangeCollapsed-2yU8ifXU",item:"item-2yU8ifXU",first:"first-2yU8ifXU",last:"last-2yU8ifXU",inline:"inline-2yU8ifXU",timezone:"timezone-2yU8ifXU",session:"session-2yU8ifXU",icon:"icon-2yU8ifXU",hidden:"hidden-2yU8ifXU",collapsed:"collapsed-2yU8ifXU"}},RZ2Z:function(e,t,n){e.exports={
|
|
13
|
-
slider:"slider-3GYrNsPp",inner:"inner-3GYrNsPp"}},"T4/F":function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14"><g fill="none" stroke="currentColor"><circle cx="3.5" cy="3.5" r="2"/><circle cx="10.5" cy="10.5" r="2"/><path stroke-linecap="square" d="M9.5 1.5l-5 11"/></g></svg>'},URQ3:function(e,t,n){e.exports={button:"button-2pZNJ24z",hover:"hover-2pZNJ24z",inner:"inner-2pZNJ24z"}},"W9Y+":function(e,t,n){e.exports={item:"item-3SbREAgE",hover:"hover-3SbREAgE",isActive:"isActive-3SbREAgE",isFirst:"isFirst-3SbREAgE",isLast:"isLast-3SbREAgE"}},XXQ5:function(e,t,n){e.exports={item:"item-1-SF84yU",emptyIcons:"emptyIcons-1-SF84yU",loading:"loading-1-SF84yU",disabled:"disabled-1-SF84yU",interactive:"interactive-1-SF84yU",hovered:"hovered-1-SF84yU",icon:"icon-1-SF84yU",label:"label-1-SF84yU",fullWidth:"fullWidth-1-SF84yU",title:"title-1-SF84yU",nested:"nested-1-SF84yU",shortcut:"shortcut-1-SF84yU",remove:"remove-1-SF84yU"}},XiJV:function(e,t,n){e.exports={separator:"separator-3No0pWrk"}},Xy1d:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-width="1.5" d="M7 15l5 5L23 9"/></svg>'},Xzy5:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M8 5l3.5 3.5L8 12"/></svg>'},YZ9j:function(e){e.exports=JSON.parse('{"loader":"loader-8x1ZxRwP","item":"item-2-89r_cd","tv-button-loader":"tv-button-loader-23vqS1uY","black":"black-20Ytsf0V","white":"white-1ucCcc2I","gray":"gray-XDhHSS-T","loader-initial":"loader-initial-1deQDeio","loader-appear":"loader-appear-2krFtMrd"}')},c7H2:function(e,t,n){e.exports={button:"button-yLOygoSG",hover:"hover-yLOygoSG",icon:"icon-yLOygoSG"}},l4ku:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var i=n("q1tI"),a=n.n(i),s=n("TSYQ"),o=n("Iivm"),r=n("6KyJ"),l=n("J+f8"),c=n("w+Rv"),h=n("Xy1d"),d=n("Xzy5"),u=n("20PO"),m=n("XXQ5");function g(e){const{isTitle:t,isLoading:n,isHovered:g,active:p,checkable:b,disabled:v,checked:f,icon:_,iconChecked:C,hint:S,subItems:y,label:E,onClick:x,children:w,toolbox:N,fullWidthLabel:R}=e,T=Object(i.useContext)(l.a),k=!!y.length;return n?a.a.createElement("li",{className:s(m.item,m.loading)},a.a.createElement(r.a,{color:"gray"})):a.a.createElement("li",{className:s(m.item,m.interactive,t&&m.title,v&&m.disabled,g&&m.hovered,p&&m.active,T&&m.emptyIcons),onClick:x},a.a.createElement(o.a,{className:s(m.icon),icon:function(){if(b&&f)return C||_||h;return _}()}),a.a.createElement("span",{className:s(m.label,R&&m.fullWidth)},E),!!N&&a.a.createElement(o.a,{onClick:function(){N&&N.action()},className:m.remove,icon:u}),!k&&S&&a.a.createElement(c.a,{className:m.shortcut,text:S}),k&&a.a.createElement(o.a,{className:m.nested,icon:d}),w)}},nPPD:function(e,t,n){"use strict";function i(e,t,n={}){const i=Object.assign({},t);for(const a of Object.keys(t)){const s=n[a]||a;s in e&&(i[a]=[e[s],t[a]].join(" "))}return i}
|
|
14
|
-
function a(e,t,n={}){return Object.assign({},e,i(e,t,n))}n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}))},qSb5:function(e,t,n){e.exports={sliderRow:"sliderRow-1emAA4_D"}},ul7r:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18" fill="none"><path stroke="currentColor" d="M1.5 8V6.5m7.5 9h5.5a2 2 0 0 0 2-2v-7m-15 0v-2c0-1.1.9-2 2-2h11a2 2 0 0 1 2 2v2m-15 0h15"/><path fill="currentColor" d="M5 1h1v3H5V1zM12 1h1v3h-1V1z"/><path stroke="currentColor" d="M0 12.5h7.5m0 0L4 16m3.5-3.5L4 9"/></svg>'},v1bN:function(e,t,n){e.exports={"tablet-small-breakpoint":"screen and (max-width: 428px)",item:"item-2IihgTnv",hovered:"hovered-2IihgTnv",isDisabled:"isDisabled-2IihgTnv",isActive:"isActive-2IihgTnv",shortcut:"shortcut-2IihgTnv",toolbox:"toolbox-2IihgTnv",withIcon:"withIcon-2IihgTnv",icon:"icon-2IihgTnv",labelRow:"labelRow-2IihgTnv",label:"label-2IihgTnv",showOnHover:"showOnHover-2IihgTnv"}},"w+Rv":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n("q1tI"),a=n("TSYQ"),s=n.n(a),o=n("ycgn");function r(e){const{text:t="",className:n}=e;return i.createElement("span",{className:s()(o.shortcut,n)},t)}},"x0D+":function(e,t,n){var i,a,s;a=[t],void 0===(s="function"==typeof(i=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var i={get passive(){n=!0}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var a="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&/iP(ad|hone|od)/.test(window.navigator.platform),s=[],o=!1,r=-1,l=void 0,c=void 0,h=function(e){return s.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},d=function(e){var t=e||window.event;return!!h(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)},u=function(){setTimeout((function(){void 0!==c&&(document.body.style.paddingRight=c,c=void 0),void 0!==l&&(document.body.style.overflow=l,l=void 0)}))};e.disableBodyScroll=function(e,i){if(a){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(e&&!s.some((function(t){return t.targetElement===e}))){var u={targetElement:e,options:i||{}};s=[].concat(t(s),[u]),e.ontouchstart=function(e){1===e.targetTouches.length&&(r=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n,i,a,s;1===t.targetTouches.length&&(i=e,s=(n=t).targetTouches[0].clientY-r,!h(n.target)&&(i&&0===i.scrollTop&&0<s||(a=i)&&a.scrollHeight-a.scrollTop<=a.clientHeight&&s<0?d(n):n.stopPropagation()))},o||(document.addEventListener("touchmove",d,n?{passive:!1}:void 0),o=!0)}}else{g=i,setTimeout((function(){if(void 0===c){var e=!!g&&!0===g.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(c=document.body.style.paddingRight,
|
|
15
|
-
document.body.style.paddingRight=t+"px")}void 0===l&&(l=document.body.style.overflow,document.body.style.overflow="hidden")}));var m={targetElement:e,options:i||{}};s=[].concat(t(s),[m])}var g},e.clearAllBodyScrollLocks=function(){a?(s.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),o&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),o=!1),s=[],r=-1):(u(),s=[])},e.enableBodyScroll=function(e){if(a){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,s=s.filter((function(t){return t.targetElement!==e})),o&&0===s.length&&(document.removeEventListener("touchmove",d,n?{passive:!1}:void 0),o=!1)}else 1===s.length&&s[0].targetElement===e?(u(),s=[]):s=s.filter((function(t){return t.targetElement!==e}))}})?i.apply(t,a):i)||(e.exports=s)},ycgn:function(e,t,n){e.exports={item:"item-f5BaKrKq",interactive:"interactive-f5BaKrKq",hovered:"hovered-f5BaKrKq",disabled:"disabled-f5BaKrKq",active:"active-f5BaKrKq",shortcut:"shortcut-f5BaKrKq",iconCell:"iconCell-f5BaKrKq",icon:"icon-f5BaKrKq",checkmark:"checkmark-f5BaKrKq",content:"content-f5BaKrKq",label:"label-f5BaKrKq",checked:"checked-f5BaKrKq",toolbox:"toolbox-f5BaKrKq",showToolboxOnHover:"showToolboxOnHover-f5BaKrKq",arrowIcon:"arrowIcon-f5BaKrKq",subMenu:"subMenu-f5BaKrKq",invisibleHotkey:"invisibleHotkey-f5BaKrKq"}},z6ID:function(e,t,n){e.exports={separator:"separator-13-1nlsQ"}}}]);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([["chart-event-hint"],{"+EG+":function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n("q1tI");class o extends r.Component{shouldComponentUpdate(){return!1}render(){return r.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})}}const i=r.createContext(null)},"79vt":function(e,t,n){e.exports={container:"container-113jHcZc",content:"content-113jHcZc",arrowHolder:"arrowHolder-113jHcZc","arrowHolder--below":"arrowHolder--below-113jHcZc","arrowHolder--above":"arrowHolder--above-113jHcZc","arrowHolder--before":"arrowHolder--before-113jHcZc","arrowHolder--after":"arrowHolder--after-113jHcZc","arrowHolder--above-fix":"arrowHolder--above-fix-113jHcZc","arrowHolder--before-rtl-fix":"arrowHolder--before-rtl-fix-113jHcZc","arrowHolder--after-ltr-fix":"arrowHolder--after-ltr-fix-113jHcZc",label:"label-113jHcZc",closeButton:"closeButton-113jHcZc"}},AiMB:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));var r=n("q1tI"),o=n("i8i4"),i=n("e3/o"),s=n("jAh7"),a=n("+EG+");class c extends r.PureComponent{constructor(){super(...arguments),this._uuid=Object(i.guid)()}componentWillUnmount(){this._manager().removeWindow(this._uuid)}render(){const e=this._manager().ensureWindow(this._uuid,this.props.layerOptions);return e.style.top=this.props.top||"",e.style.bottom=this.props.bottom||"",e.style.left=this.props.left||"",e.style.right=this.props.right||"",e.style.pointerEvents=this.props.pointerEvents||"",o.createPortal(r.createElement(l.Provider,{value:this},this.props.children),e)}moveToTop(){this._manager().moveToTop(this._uuid)}_manager(){return null===this.context?Object(s.b)():this.context}}c.contextType=a.b;const l=r.createContext(null)},Iivm:function(e,t,n){"use strict";var r=n("q1tI");const o=r.forwardRef((e,t)=>{const{icon:n="",...o}=e;return r.createElement("span",{...o,ref:t,dangerouslySetInnerHTML:{__html:n}})});n.d(t,"a",(function(){return o}))},PN5r:function(e,t,n){"use strict";n.r(t);var r=n("q1tI"),o=n.n(r),i=n("i8i4"),s=n("TSYQ"),a=n("Iivm"),c=(n("AiMB"),n("To8B")),l=n("79vt");r.PureComponent;function d(e){const{className:t,containerClassName:n,contentClassName:o,reference:i,style:d,arrow:h=!0,arrowClassName:u,arrowReference:p,onClose:m,arrowStyle:w,children:f,..._}=e;return r.createElement("div",{..._,className:t,ref:i,style:d},h&&r.createElement("div",{className:u,ref:p,style:w}),r.createElement("div",{className:s(l.container,n)},r.createElement("div",{className:s(l.content,o)},f),m&&r.createElement(a.a,{className:l.closeButton,icon:c,onClick:m})))}var h=n("g2Cz");function u(e){const{text:t,onClose:n}=e;return o.a.createElement("div",{className:h.container},o.a.createElement("div",{className:h.centerElement},o.a.createElement(d,{arrow:!1,onClose:n},o.a.createElement("div",{className:h.text},t))))}n.d(t,"ChartEventHintRenderer",(function(){return p}));class p{constructor(e){this._wrap=document.createElement("div"),this._container=e}
|
|
2
|
-
show(e,t){if(!this._wrap)return;this.hide(),this._container.append(this._wrap);const n={text:e,onClose:()=>{t&&t(),this.hide()}};i.render(r.createElement(u,{...n}),this._wrap)}hide(){this._wrap&&(i.unmountComponentAtNode(this._wrap),this._wrap.remove())}destroy(){this.hide(),delete this._wrap}}},To8B:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="currentColor" d="M9.707 9l4.647-4.646-.707-.708L9 8.293 4.354 3.646l-.708.708L8.293 9l-4.647 4.646.708.708L9 9.707l4.646 4.647.708-.707L9.707 9z"/></svg>'},g2Cz:function(e,t,n){e.exports={container:"container-RnpzRzG6",centerElement:"centerElement-RnpzRzG6",text:"text-RnpzRzG6"}},jAh7:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n("Eyy1");class o{constructor(){this._storage=[]}add(e){this._storage.push(e)}remove(e){this._storage=this._storage.filter(t=>e!==t)}has(e){return this._storage.includes(e)}getItems(){return this._storage}}class i{constructor(e=document){this._storage=new o,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}setContainer(e){const t=this._container,n=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach(e=>{e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)})}(t,n),this._container=n}registerWindow(e){this._storage.has(e)||this._storage.add(e)}ensureWindow(e,t={position:"fixed",direction:"normal"}){const n=this._windows.get(e);if(void 0!==n)return n;this.registerWindow(e);const r=this._document.createElement("div");if(r.style.position=t.position,r.style.zIndex=this._index.toString(),r.dataset.id=e,void 0!==t.index){const e=this._container.childNodes.length;if(t.index>=e)this._container.appendChild(r);else if(t.index<=0)this._container.insertBefore(r,this._container.firstChild);else{const e=this._container.childNodes[t.index];this._container.insertBefore(r,e)}}else"reverse"===t.direction?this._container.insertBefore(r,this._container.firstChild):this._container.appendChild(r);return this._windows.set(e,r),++this._index,r}unregisterWindow(e){this._storage.remove(e);const t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))}getZindex(e){const t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")}moveToTop(e){if(this.getZindex(e)!==this._index){this.ensureWindow(e).style.zIndex=(++this._index).toString()}}removeWindow(e){this.unregisterWindow(e)}}const s=new WeakMap;function a(e=document){const t=e.getElementById("overlap-manager-root");if(null!==t)return Object(r.ensureDefined)(s.get(t));{const t=new i(e),n=function(e){const t=e.createElement("div");return t.style.position="absolute",t.style.zIndex=150..toString(),t.style.top="0px",t.style.left="0px",t.id="overlap-manager-root",t}(e);return s.set(n,t),t.setContainer(n),e.body.appendChild(n),t}}}}]);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([["chart-screenshot-hint"],{"+PSo":function(t,e,n){t.exports={container:"container-2PMGBrHh",bottomPadding:"bottomPadding-2PMGBrHh",centerElement:"centerElement-2PMGBrHh",notice:"notice-2PMGBrHh","notice-showed":"notice-showed-2PMGBrHh"}},"/f/q":function(t,e,n){},ByBs:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9" width="9" height="9"><path stroke="currentColor" stroke-width="1.2" d="M1 1l7 7m0-7L1 8"/></svg>'},Iivm:function(t,e,n){"use strict";var o=n("q1tI");const s=o.forwardRef((t,e)=>{const{icon:n="",...s}=t;return o.createElement("span",{...s,ref:e,dangerouslySetInnerHTML:{__html:n}})});n.d(e,"a",(function(){return s}))},K5qS:function(t){t.exports=JSON.parse('{"container":"container-9ckn123c","container-danger":"container-danger-3U4WdGto","icon":"icon-2ZK1Y3zH","header":"header-287NeSeQ","container-warning":"container-warning-1jkRTadj","container-success":"container-success-2srhYBbo","container-default":"container-default-2MDEpAUG","text-wrap":"text-wrap-26IUyzzc","close-button":"close-button-2LkcSirN"}')},KkTf:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 17" width="17" height="17"><path stroke="currentColor" stroke-width="1.2" d="M1 1l15 15m0-15L1 16"/></svg>'},LeKP:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 11" width="11" height="11"><path stroke="currentColor" stroke-width="1.2" d="M1 1l9 9m0-9l-9 9"/></svg>'},N9IK:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 23 23" width="23" height="23"><path stroke="currentColor" stroke-width="1.2" d="M1 1l21 21m0-21L1 22"/></svg>'},SJs6:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" fill-rule="evenodd" d="M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0zm4.15 5.87a.75.75 0 0 0-1.3-.74l-3.51 6.15-2.31-2.31a.75.75 0 0 0-1.06 1.06l3 3a.75.75 0 0 0 1.18-.16l4-7z"/></svg>'},USSy:function(t,e,n){"use strict";n.r(e);var o=n("q1tI"),s=n.n(o),r=n("i8i4"),i=n("hbEN"),c=n("TSYQ"),a=n("Iivm"),l=n("N9IK"),h=n("KkTf"),u=n("zvJH"),w=n("LeKP"),d=n("ByBs"),m=n("yMrP");n("wk5D");function g(t="l"){switch(t){case"l":return l;case"m":return h;case"s":return u;case"xs":return w;case"xxs":return d;default:return h}}const p=o.forwardRef((t,e)=>{const{className:n,size:s,...r}=t,i=c(m["close-button"],m["button-"+s],n);return o.createElement("button",{...r,type:"button",className:i,ref:e},o.createElement(a.a,{icon:g(s),className:m["close-icon"]}))});var v=n("ZZTB"),f=n("c6oV"),x=n("SJs6"),b=n("K5qS");n("/f/q");const B={danger:v,warning:v,success:x,default:f};function k(t){const{informerIntent:e,content:n,className:s,header:r,isIconShown:i=!0,isCloseButtonShown:l,icon:h,onCloseClick:u,closeButtonLabel:w="Close"}=t;return o.createElement("div",{className:c(b.container,b["container-"+e],s)},i&&o.createElement(a.a,{className:b.icon,icon:null!=h?h:B[e]}),o.createElement("div",{className:b["text-wrap"]},o.createElement("span",{
|
|
2
|
-
className:b.header},r)," ",n),l&&o.createElement(p,{"aria-label":w,onClick:u,className:b["close-button"],size:"xs"}))}var M=n("+PSo");function P(t){const[e,n]=Object(o.useState)(!1);return Object(o.useLayoutEffect)(()=>{const t=setTimeout(()=>n(!0),50),e=setTimeout(()=>n(!1),2500);return()=>{clearTimeout(t),clearTimeout(e)}},[]),s.a.createElement("div",{className:c(M.container,t.bottomPadding&&M.bottomPadding)},s.a.createElement("div",{className:M.centerElement},s.a.createElement(k,{content:t.text,informerIntent:"success",className:c(M.notice,e&&M["notice-showed"])})))}n.d(e,"ChartScreenshotHintRenderer",(function(){return E}));class E{constructor(t,e){this._showed=!1,this._wrap=document.createElement("div"),this._container=t,this._debouncedHide=Object(i.default)(()=>this.hide(),3e3),this._bottomPadding=e.bottomPadding}show(t){this._wrap&&!this._showed&&(this._showed=!0,this._container.append(this._wrap),r.render(o.createElement(P,{text:t,bottomPadding:this._bottomPadding}),this._wrap),this._debouncedHide())}hide(){this._wrap&&(this._showed=!1,r.unmountComponentAtNode(this._wrap),this._wrap.remove())}destroy(){this.hide(),delete this._wrap}}},ZZTB:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0zM7.75 5.48a1.27 1.27 0 1 1 2.5 0l-.67 4.03a.59.59 0 0 1-1.16 0l-.67-4.03zM8 13a1 1 0 1 1 2 0 1 1 0 0 1-2 0z"/></svg>'},c6oV:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" width="18" height="18"><path fill="currentColor" d="M9 0a9 9 0 1 0 0 18A9 9 0 0 0 9 0zm1 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM9 8a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1z"/></svg>'},wk5D:function(t,e,n){},yMrP:function(t){t.exports=JSON.parse('{"close-button":"close-button-1WFSq2PU","close-icon":"close-icon-3unB1Yrw","button-l":"button-l-uIo2rThA","button-m":"button-m-3MMteafV","button-s":"button-s-Nv9EL6Kl","button-xs":"button-xs-3f-PiL7F","button-xxs":"button-xxs-1ElYVuPk"}')},zvJH:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path stroke="currentColor" stroke-width="1.2" d="M1 1l11 11m0-11L1 12"/></svg>'}}]);
|